> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/developer-tools/snyk-cli.md).

# Snyk CLI

- [Overview](https://docs.snyk.io/developer-tools/snyk-cli/overview.md): The Snyk CLI for scanning and monitoring your Projects from the command line
- [Getting started with the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/getting-started-with-the-snyk-cli.md): How to get started with the Snyk CLI, from installation to your first scan
- [Install the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/install-the-snyk-cli.md)
- [Verifying CLI standalone binaries](https://docs.snyk.io/developer-tools/snyk-cli/install-the-snyk-cli/verifying-cli-standalone-binaries.md): How to verify the shasum and signature of Snyk CLI standalone binaries
- [Install or upgrade to version of Node.js required for Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/install-the-snyk-cli/install-or-upgrade-to-version-of-node.js-required-for-snyk-cli.md): How to install or upgrade to the Node.js version required for the Snyk CLI
- [Prerequisites for CLI and Jenkins plugin on Alpine Linux operating system](https://docs.snyk.io/developer-tools/snyk-cli/install-the-snyk-cli/prerequisites-for-cli-and-jenkins-plugin-on-alpine-linux-operating-system.md): Prerequisites for the Snyk CLI and Jenkins plugin on Alpine Linux
- [Using CLI releases before version 1.1230.0 on an Apple M1 or M2 machine](https://docs.snyk.io/developer-tools/snyk-cli/install-the-snyk-cli/using-cli-releases-before-version-1.1230.0-on-an-apple-m1-or-m2-machine.md): How to run Snyk CLI releases before 1.1230.0 on Apple M1 or M2 machines
- [Authenticate to use the CLI](https://docs.snyk.io/developer-tools/snyk-cli/authenticate-to-use-the-cli.md): How to authenticate the Snyk CLI after installation
- [Upgrade the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/upgrade-the-snyk-cli.md): How to upgrade the Snyk CLI to stay secure and current
- [Configure the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/configure-the-snyk-cli.md): How to configure the Snyk CLI using environment variables
- [Environment variables for Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli.md): The environment variables you can use to configure the Snyk CLI
- [Configure Snyk CLI to connect to Snyk API](https://docs.snyk.io/developer-tools/snyk-cli/configure-the-snyk-cli/configure-snyk-cli-to-connect-to-snyk-api.md): How to configure how the Snyk CLI connects to the Snyk API, including the platform URL and region
- [Proxy configuration for Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/configure-the-snyk-cli/proxy-configuration-for-snyk-cli.md): How to configure a proxy for the Snyk CLI
- [Debugging the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/debugging-the-snyk-cli.md): How to debug the Snyk CLI when working with your Projects
- [CLI help](https://docs.snyk.io/developer-tools/snyk-cli/commands.md): Help reference for the Snyk CLI commands
- [AI-BOM](https://docs.snyk.io/developer-tools/snyk-cli/commands/aibom.md): The snyk aibom command that generates an AI bill of materials
- [AI-BOM test](https://docs.snyk.io/developer-tools/snyk-cli/commands/aibom-test.md): The snyk aibom test command that tests an AI bill of materials
- [Auth](https://docs.snyk.io/developer-tools/snyk-cli/commands/auth.md): The snyk auth command that authenticates the CLI with your Snyk account
- [Code](https://docs.snyk.io/developer-tools/snyk-cli/commands/code.md): The snyk code command for finding security issues with Snyk Code
- [Code test](https://docs.snyk.io/developer-tools/snyk-cli/commands/code-test.md): The snyk code test command that runs a Snyk Code static analysis test
- [Config](https://docs.snyk.io/developer-tools/snyk-cli/commands/config.md): The snyk config command that manages Snyk CLI configuration
- [Config environment](https://docs.snyk.io/developer-tools/snyk-cli/commands/config-environment.md): The snyk config environment command for setting the Snyk API environment
- [Container](https://docs.snyk.io/developer-tools/snyk-cli/commands/container.md): The snyk container commands that test and monitor container images
- [Container monitor](https://docs.snyk.io/developer-tools/snyk-cli/commands/container-monitor.md): The snyk container monitor command that monitors a container image
- [Container SBOM](https://docs.snyk.io/developer-tools/snyk-cli/commands/container-sbom.md): The snyk container sbom command that generates an SBOM for a container image
- [Container test](https://docs.snyk.io/developer-tools/snyk-cli/commands/container-test.md): The snyk container test command that tests a container image for vulnerabilities
- [Fix](https://docs.snyk.io/developer-tools/snyk-cli/commands/fix.md): The snyk fix --agentic command, which applies and verifies vulnerability fixes
- [IaC](https://docs.snyk.io/developer-tools/snyk-cli/commands/iac.md): The snyk iac commands that test infrastructure as code files
- [IaC test](https://docs.snyk.io/developer-tools/snyk-cli/commands/iac-test.md): The snyk iac test command that tests infrastructure as code files for misconfigurations
- [IaC describe](https://docs.snyk.io/developer-tools/snyk-cli/commands/iac-describe.md): The snyk iac describe command that detects drift in infrastructure as code
- [IaC update-exclude-policy](https://docs.snyk.io/developer-tools/snyk-cli/commands/iac-update-exclude-policy.md): The snyk iac update-exclude-policy command for managing IaC exclusions
- [Ignore](https://docs.snyk.io/developer-tools/snyk-cli/commands/ignore.md): The snyk ignore command that ignores a specified issue
- [Log4shell](https://docs.snyk.io/developer-tools/snyk-cli/commands/log4shell.md): The snyk log4shell command that scans for the Log4Shell vulnerability
- [Monitor](https://docs.snyk.io/developer-tools/snyk-cli/commands/monitor.md): The snyk monitor command that snapshots and monitors a Project
- [Policy](https://docs.snyk.io/developer-tools/snyk-cli/commands/policy.md): The snyk policy command that displays the .snyk policy for a Project
- [SBOM](https://docs.snyk.io/developer-tools/snyk-cli/commands/sbom.md): The snyk sbom command that generates an SBOM for a Project
- [SBOM test](https://docs.snyk.io/developer-tools/snyk-cli/commands/sbom-test.md): The snyk sbom test command that tests an SBOM for vulnerabilities
- [Secrets test](https://docs.snyk.io/developer-tools/snyk-cli/commands/secrets-test.md): The snyk secrets test command, which scans for hard-coded secrets and credentials
- [Test](https://docs.snyk.io/developer-tools/snyk-cli/commands/test.md): The snyk test command that tests a Project for vulnerabilities
- [COS](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos.md): Use the snyk cos commands to find vulnerabilities with Snyk Continuous Offensive Security (COS).
- [COS target](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target.md): Use the snyk cos target commands to create, inspect, and export targets.
- [COS target add](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target-add.md): Use snyk cos target add to create a target from a configuration file.
- [COS target list](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target-list.md): Use snyk cos target list to list all targets.
- [COS target show](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target-show.md): Use snyk cos target show to view the details of a target.
- [COS target dump](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target-dump.md): Use snyk cos target dump to export a target as YAML.
- [COS target template](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-target-template.md): Use this sample configuration file with snyk cos target add.
- [COS scan](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan.md): Use the snyk cos scan commands to scan your applications for vulnerabilities.
- [COS scan start](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan-start.md): Use snyk cos scan start to start a new scan on a target.
- [COS scan status](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan-status.md): Use snyk cos scan status to view the current status of a scan.
- [COS scan report](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan-report.md): Use snyk cos scan report to return the report for a completed scan.
- [COS scan list](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan-list.md): Use snyk cos scan list to list scans and their statuses.
- [COS scan cancel](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-scan-cancel.md): Use snyk cos scan cancel to cancel a running scan.
- [COS finding](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-finding.md): Use the snyk cos finding commands to list and inspect findings.
- [COS finding list](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-finding-list.md): Use snyk cos finding list to list the findings for a target or scan.
- [COS finding show](https://docs.snyk.io/developer-tools/snyk-cli/commands/cos-finding-show.md): Use snyk cos finding show to view the details of a finding.
- [CLI commands and options summary](https://docs.snyk.io/developer-tools/snyk-cli/cli-commands-and-options-summary.md): A summary of Snyk CLI commands and options
- [Snyk CLI analytics](https://docs.snyk.io/developer-tools/snyk-cli/snyk-cli-analytics.md): How Snyk CLI analytics work and how to control them
- [Releases and channels for the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/releases-and-channels-for-the-snyk-cli.md): The Snyk CLI release channels and versioning
- [Security concept of operations for Snyk](https://docs.snyk.io/developer-tools/snyk-cli/security-concept-of-operations-for-snyk.md): The security concept of operations for the Snyk CLI and applications
- [Access requirements](https://docs.snyk.io/developer-tools/snyk-cli/security-concept-of-operations-for-snyk/access-requirements.md): The access requirements for using Snyk applications such as the CLI
- [Securing data at rest](https://docs.snyk.io/developer-tools/snyk-cli/security-concept-of-operations-for-snyk/securing-data-at-rest.md): How the Snyk CLI secures its configuration data at rest
- [Using FIPS-validated cryptography](https://docs.snyk.io/developer-tools/snyk-cli/security-concept-of-operations-for-snyk/using-fips-validated-cryptography.md): How to use FIPS-validated cryptography with the Snyk CLI
- [Code execution warning for Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/code-execution-warning-for-snyk-cli.md): Why the Snyk CLI may execute code from your Project during analysis
- [Scan and maintain Projects using the CLI (examples)](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli.md): How to scan and maintain Projects with the Snyk CLI
- [CLI tools](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools.md): CLI tools that extend the Snyk CLI with additional capabilities
- [snyk-delta](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-delta.md): The snyk-delta tool that finds the difference in issues between two tests
- [snyk-filter](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-filter.md): The snyk-filter tool for custom filtering of Snyk CLI results
- [snyk-to-html](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-to-html.md): The snyk-to-html tool that converts Snyk CLI output to HTML
- [snyk-scm-contributors-count](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count.md): The snyk-scm-contributors-count tool that counts contributing developers in your SCM
- [Flowchart](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/flowchart.md): Flowchart of the SCM-Contributors-Count tool
- [Usage](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/usage.md): Modes and levels for the scm-contributors-count tool
- [Output](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/output.md): The output result of running the SCM-Contributors-Count tool
- [Flags](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/flags.md): The flags for each SCM script
- [Scripts for SCM contributors count](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count.md): A detailed guide to the specific SCM-Contributor-Count scripts
- [Azure DevOps](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/azure-devops.md): Flow, technology, and examples for the Azure DevOps scm-contributors-count script
- [Azure - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/azure-devops/azure-flow-and-tech.md): How the scm-contributors-count tool counts Azure DevOps contributors
- [Azure - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/azure-devops/azure-examples.md): The list of options and some examples for Azure
- [Bitbucket Cloud](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-cloud.md): Flow, technology, and examples for the Bitbucket Cloud scm-contributors-count script
- [Bitbucket Cloud - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-cloud/bitbucket-cloud-flow-and-tech.md): How the scm-contributors-count tool counts Bitbucket Cloud contributors
- [Bitbucket Cloud - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-cloud/bitbucket-cloud-examples.md): The list of options and some examples for Bitbucket Cloud
- [Bitbucket Server](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-server.md): Flow, technology, and examples for the Bitbucket Server scm-contributors-count script
- [Bitbucket Server - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-server/bitbucket-server-flow-and-tech.md): How the scm-contributors-count tool counts Bitbucket Server contributors
- [Bitbucket Server - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/bitbucket-server/bitbucket-server-examples.md): The list of options and some examples for Bitbucket Server
- [GitHub](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github.md): Flow, technology, and examples for the GitHub scm-contributors-count script
- [GitHub - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github/github-flow-and-tech.md): How the scm-contributors-count tool counts GitHub contributors
- [GitHub - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github/github-examples.md): The list of options and some examples for GitHub
- [GitHub Enterprise](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github-enterprise.md): Flow, technology, and examples for the GitHub Enterprise scm-contributors-count script
- [GitHub Enterprise - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github-enterprise/github-enterprise-flow-and-tech.md): How the scm-contributors-count tool counts GitHub Enterprise contributors
- [Github Enterprise - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/github-enterprise/github-enterprise-examples.md): The list of options and examples for GitHub Enterprise
- [GitLab and GitLab Server](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/gitlab-and-gitlab-server.md): Flow and tech for GitLab and GitLab Server
- [GitLab - Flow and Tech](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/gitlab-and-gitlab-server/gitlab-flow-and-tech.md): How the scm-contributors-count tool counts GitLab contributors
- [GitLab - Examples](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/scripts-for-scm-contributors-count/gitlab-and-gitlab-server/gitlab-examples.md): The list of options and some examples for GitLab
- [Consolidate results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/consolidate-results.md): How to use the consolidateResults command
- [Creating and using the import file](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/creating-and-using-the-import-file.md): How to generate the import file and use it with the snyk-api-import tool
- [API rate limit control for scm-contributors-count](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-tools/snyk-scm-contributors-count/api-rate-limit-control-for-scm-contributors-count.md): How to control API rate limits for the scm-contributors-count tool
- [Snyk CLI for Open Source](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source.md): How to use the Snyk CLI for Snyk Open Source to scan manifests
- [Open Source Projects that must be built before testing with the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source/open-source-projects-that-must-be-built-before-testing-with-the-snyk-cli.md): Open Source Projects that must be built before testing with the Snyk CLI
- [Use options to customize the snyk test command](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source/use-options-to-customize-the-snyk-test-command.md): How to customize the snyk test command with options for Snyk Open Source
- [Review the Snyk Open Source CLI results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source/review-the-snyk-open-source-cli-results.md): How to review Snyk Open Source results from the CLI
- [Integrate Snyk into your workflow using the CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-open-source/integrate-snyk-into-your-workflow-using-the-cli.md): How to integrate Snyk Open Source into your workflow using the CLI
- [Snyk CLI for Snyk Code](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code.md): How to use the Snyk CLI for Snyk Code static analysis
- [Set the Snyk Organization for CLI tests](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code/set-the-snyk-organization-for-the-cli-tests.md): How to set the Snyk Organization used for Snyk Code CLI tests
- [Scan source code with Snyk Code using the CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code/scan-source-code-with-snyk-code-using-the-cli.md): How to scan source code with Snyk Code using the CLI
- [Exclude directories and files from Snyk Code CLI tests](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code/exclude-directories-and-files-from-snyk-code-cli-tests.md): How to exclude directories and files from Snyk Code CLI tests
- [View Snyk Code CLI results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-code/view-snyk-code-cli-results.md): How to view Snyk Code results from the CLI
- [Snyk CLI for Snyk Container](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-container.md): How to use the Snyk CLI for Snyk Container image scanning
- [Scan and monitor images](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-container/scan-and-monitor-images.md): How to scan and monitor container images with the Snyk CLI
- [Understand Snyk Container CLI results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-container/understand-snyk-container-cli-results.md): How to understand Snyk Container results from the CLI
- [Advanced use of Snyk Container CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-snyk-container/advanced-use-of-snyk-container-cli.md): Advanced Snyk Container CLI usage, including scanning archives
- [Snyk CLI for IaC](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac.md): How to use the Snyk CLI for Snyk IaC scanning
- [Test your IaC files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files.md): How to test infrastructure as code files with the Snyk CLI
- [Terraform files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/terraform-files.md): How to test Terraform files with Snyk IaC using the CLI
- [CloudFormation files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/cloudformation-files.md): How to test AWS CloudFormation files with Snyk IaC using the CLI
- [AWS CDK files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/aws-cdk-files.md): How to test AWS CDK files with Snyk IaC using the CLI
- [Kubernetes files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/kubernetes-files.md): How to test Kubernetes files with Snyk IaC using the CLI
- [ARM files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/arm-files.md): How to test Azure ARM files with Snyk IaC using the CLI
- [Kustomize files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/kustomize-files.md): How to test Kustomize files with Snyk IaC using the CLI
- [Helm charts](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/helm-charts.md): How to test Helm charts with Snyk IaC using the CLI
- [Serverless files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/test-your-iac-files/serverless-files.md): How to test serverless files with Snyk IaC using the CLI
- [Share CLI results with the Snyk Web UI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/share-cli-results-with-the-snyk-web-ui.md): How to share Snyk IaC CLI results with the Snyk Web UI
- [IaC ignores using the .snyk policy file](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/iac-ignores-using-the-.snyk-policy-file.md): How to ignore Snyk IaC issues using the .snyk policy file
- [IaC exclusions using the command line](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/iac-exclusions-using-the-command-line.md): How to exclude Snyk IaC issues using the command line
- [Understand the IaC CLI test results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/understand-the-iac-cli-test-results.md): How to understand Snyk IaC CLI test results
- [Snyk IaC CLI test results (v. 1.938.0 and earlier)](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/understand-the-iac-cli-test-results/snyk-iac-cli-test-results-v.-1.938.0-and-earlier.md): How to read Snyk IaC CLI test results in version 1.938.0 and earlier
- [Snyk IaC CLI test results (v. 1.939.0 and later)](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-iac/understand-the-iac-cli-test-results/snyk-iac-cli-test-results-v.-1.939.0-and-later.md): How to read Snyk IaC CLI test results in version 1.939.0 and later
- [Snyk CLI for Snyk Secrets](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-secrets.md): How to use the Snyk CLI to scan your source code for hardcoded secrets
- [Secrets scanning in the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-cli-for-secrets/secrets-scanning-in-the-snyk-cli.md): How to scan for hard-coded secrets with the Snyk CLI, including pre-commit hooks
- [A .snyk policy file in a different directory from the manifest file](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/a-.snyk-policy-file-in-a-different-directory-from-the-manifest-file.md): How to use a .snyk policy file in a different directory from the manifest file
- [Failing of builds in Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/failing-of-builds-in-snyk-cli.md): How the snyk test command fails builds based on vulnerabilities found
- [Ignore vulnerabilities using the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/ignore-vulnerabilities-using-the-snyk-cli.md): How to ignore vulnerabilities using the Snyk CLI
- [Invalid string length error when scanning projects](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/invalid-string-length-error-when-scanning-projects.md): How to resolve the invalid string length error when scanning Projects with the CLI
- [Scan all unmanaged JAR files](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/scan-all-unmanaged-jar-files.md): How to scan all unmanaged JAR files with the Snyk CLI
- [Log4shell command use](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/log4shell-command-use.md): How to use the snyk log4shell command to scan for the Log4Shell vulnerability
- [Monitor your Projects at regular intervals](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/monitor-your-projects-at-regular-intervals.md): How to monitor your Projects at regular intervals with the Snyk CLI
- [How to select the Organization to use in the CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/how-to-select-the-organization-to-use-in-the-cli.md): How to select the Snyk Organization to use in the CLI
- [Group Projects by branch or version for monitoring](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/group-projects-by-branch-or-version-for-monitoring.md): How to group Projects by branch or version when monitoring with the CLI
- [Setup.py file failing to scan or finding zero dependencies](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/setup.py-file-failing-to-scan-or-finding-zero-dependencies.md): How to resolve a setup.py file failing to scan or finding zero dependencies
- [Severity thresholds for CLI tests](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/set-severity-thresholds-for-cli-tests.md): How to set severity thresholds for Snyk CLI tests
- [@snyk/protect package](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/snyk-protect-package.md): The @snyk/protect package for applying patches to vulnerabilities
- [Test public npm packages before use](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/test-public-npm-packages-before-use.md): How to test public npm packages with the Snyk CLI before using them
- [CLI test results](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/cli-test-results.md): How to read Snyk CLI test results after running snyk test
- [Fix vulnerabilities using the Snyk CLI](https://docs.snyk.io/developer-tools/snyk-cli/scan-and-maintain-projects-using-the-cli/fix-vulnerabilities-using-the-snyk-cli.md): How to fix vulnerabilities using the Snyk CLI


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.snyk.io/developer-tools/snyk-cli.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
