OSV-Scanner command to scan a whole repository's lockfiles?
IntermediateProductionRapid-Fire Tool Questions
Answer
osv-scanner scan source -r .
osv-scanner scan image registry.example.com/app:1.4.2
OSV-Scanner v2 introduced the scan source and scan image subcommands; -r walks directories recursively.
More on Rapid-Fire Tool Questions
Gitleaks command to scan only staged changes before a commit?BeginnerTrivy command to fail a build only on fixable critical vulnerabilities?BeginnerGenerate a CycloneDX SBOM for an image with Syft and scan it with Grype?BeginnerCosign keyless verify command that pins the GitHub Actions workflow identity?IntermediateRun Checkov against a Terraform plan instead of raw HCL?BeginnerSemgrep command to scan with OWASP rules and fail on findings?Beginner