Start scanning

You can use Snyk to scan your code manually and automatically using the Snyk CLI, the Snyk Web UI, the Snyk API, and by running PR Checks.

Scans (tests) may be limited on your account, depending on your Pricing Plan. For more information, see What counts as a test?

FeaturesSnyk Web UISnyk CLISnyk APIPR Checks

Auto scanning

Manual scanning

Local scans

Incorporate into the CI/CD pipelines

Obtain results precisely reflecting the Project vulnerabilities and configurations

Scan using the CLI

See Getting started with the CLI for more details.

Use the following Snyk CLI commands for specific scanning methods:

CommandFunctionMore details

Scan open-source code

Scan application code

Scan container images

Scan infrastructure as code (IaC) files

Constantly monitor a Project for new vulnerabilities.

Scan using the Web UI

A scan runs when you import a Snyk Project (see Import a Project) or click the Retest now button on a Project. Snyk then automatically runs periodic scans on that imported Project, to see if your code is affected by newly disclosed vulnerabilities.

See Explore Snyk through the Web UI.

The default scanning frequency and available frequencies vary depending on the type of Project: for more information, see Usage settings. You can also set the frequency in the Project Settings (see View and edit project settings) or use the Snyk REST API; see the Updates project by project ID endpoint.

Scan using the API

The Snyk API v1 offers a set of endpoints to test your code. Scans are counted when calls are made to the https://snyk.io/api/v1/test endpoint.

See the API documentation and the API v1 Test docs for more information.

Using PR Checks

Snyk can scan every new Pull Request (PR) submitted on your monitored repositories to help prevent new vulnerabilities from being added to your codebase.

See Run PR Checks for details.

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.