{
  "description": "Test the current project for open-source vulnerabilities and license issues with snyk test. Other scan types (code, container, iac), monitor and ecosystem-specific options are left out.",
  "name": "snyk",
  "subcommands": [
    {
      "name": "test",
      "description": "Check the project in the working directory for open-source vulnerabilities and license issues.",
      "options": [
        {
          "names": [
            "--all-projects"
          ],
          "description": "Auto-detect all projects in the working directory, including Yarn workspaces."
        },
        {
          "names": [
            "--dev"
          ],
          "description": "Include dev dependencies"
        },
        {
          "names": [
            "--org"
          ],
          "description": "Organization ID",
          "args": {
            "name": "org",
            "isOptional": false
          }
        },
        {
          "names": [
            "--file"
          ],
          "description": "Manifest file",
          "args": {
            "name": "file",
            "isOptional": false,
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--detection-depth"
          ],
          "description": "Detection depth",
          "args": {
            "name": "detection_depth",
            "isOptional": false
          }
        },
        {
          "names": [
            "--exclude"
          ],
          "description": "Comma-separated directory or file names to skip.",
          "args": {
            "name": "exclude",
            "description": "Comma-separated directory or file names to skip.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--severity-threshold"
          ],
          "description": "Severity threshold",
          "args": {
            "name": "severity_threshold",
            "isOptional": false,
            "suggestions": [
              {
                "name": "low",
                "description": "Low"
              },
              {
                "name": "medium",
                "description": "Medium"
              },
              {
                "name": "high",
                "description": "High"
              },
              {
                "name": "critical",
                "description": "Critical"
              }
            ]
          }
        },
        {
          "names": [
            "--fail-on"
          ],
          "description": "Fail on",
          "args": {
            "name": "fail_on",
            "isOptional": false,
            "suggestions": [
              {
                "name": "all",
                "description": "All"
              },
              {
                "name": "upgradable",
                "description": "Upgradable"
              },
              {
                "name": "patchable",
                "description": "Patchable"
              }
            ]
          }
        },
        {
          "names": [
            "--json"
          ],
          "description": "JSON output"
        },
        {
          "names": [
            "--json-file-output"
          ],
          "description": "Save JSON to file",
          "args": {
            "name": "json_file_output",
            "isOptional": false,
            "template": "filepaths"
          },
          "isDangerous": true
        }
      ]
    }
  ]
}
