Skip to content
ES EN

SCA Scan

Software Composition Analysis (SCA) identifies known vulnerabilities (CVEs) in your project’s third-party libraries and dependencies. Gerion uses Google’s OSV-Scanner, which queries the OSV database.

Run

Ventana de terminal
gerion sca-scan [PATH]
Ventana de terminal
# Scan the current directory
gerion sca-scan .
# Save results as JSON
gerion sca-scan . --format json --output-file sca.json
# Send results to the Gerion API
gerion sca-scan . --api-url $GERION_API_URL --api-key $GERION_API_KEY

Supported ecosystems

EcosystemRecognized files
Node.jspackage-lock.json, yarn.lock, pnpm-lock.yaml
Pythonrequirements.txt, Pipfile.lock, poetry.lock, pyproject.toml
Gogo.mod, go.sum
RustCargo.lock
Java / Mavenpom.xml
Java / Gradlegradle.lockfile
RubyGemfile.lock
PHPcomposer.lock
.NETpackages.lock.json, packages.config
SwiftPackage.resolved
Dart / Flutterpubspec.lock
Conan (C/C++)conan.lock
Linux (Alpine)installed system packages
Linux (Debian/Ubuntu)dpkg database

Options

OptionDescription
--formatOutput format: json | markdown | sarif
--output-fileSave results to a file (disables API submission)
--api-urlGerion API Gateway URL
--api-keyM2M API key
--timeoutTimeout in seconds (default: 180)
--log-leveldebug | info | warning | error

Automatic false positives

If the installed package version is greater than or equal to the version that fixes the vulnerability, Gerion automatically marks the finding as a false positive and does not include it in the results.