SCA

Supported scan options

To scan without building, use a lockfile or a dependency file that records package versions. For a Gradle project without gradle.lockfile, you can use gradle/verification-metadata.xml if available.

Scanning with a build

1. Scan an exported SBOM

Scan the SBOM generated during the build to check the project's packages and versions.

2. Scan build artifacts

You can also scan a built JAR file or an installed node_modules directory.

Scanning without a build

Language Dependency files
C/C++
  • conan.lock
Dart
  • pubspec.lock
Elixir
  • mix.lock
Go
  • go.mod
Haskell
  • cabal.project.freeze
  • stack.yaml.lock
Java
  • buildscript-gradle.lockfile
  • gradle.lockfile
  • gradle/verification-metadata.xml
  • pom.xml
JavaScript
  • package-lock.json
  • pnpm-lock.yaml
  • yarn.lock
.NET
  • deps.json
PHP
  • composer.lock
Python
  • Pipfile.lock
  • poetry.lock
  • requirements.txt
  • pdm.lock
  • uv.lock
R
  • renv.lock
Ruby
  • Gemfile.lock
Rust
  • Cargo.lock

Rust source reachability

Rust SCA looks for evidence in source code that the project uses crates.io packages listed in Cargo.lock. If a package is flagged as malicious, check whether the project uses it.

Image and container scanning

You can also scan Docker container images.