You can use Snyk to test your code in different ways:
- Scan open-source code with
- Scan application code with
snyk code test.
- Scan container images with
snyk container test.
- Scan Infrastructure as Code (IaC) files with
snyk iac test.
Snyk provides automatic scanning functions with recurring tests, allowing you to catch new vulnerabilities automatically. After you import a project, Snyk automatically runs periodic checks to see if your code is affected by newly disclosed vulnerabilities.
snyk monitorCLI command to create a snapshot of a project on the Snyk website that will be continuously monitored for new vulnerabilities.
Snyk can be enabled to scan every Pull Request (PR) submitted on your monitored repositories for vulnerabilities, to help prevent new vulnerabilities being added to your codebase.