General Arguments
The following arguments are available on all commands:scan
Aliases:sc
Fingerprints a directory or file and queries the SCANOSS Knowledge Base to identify open-source
components, licences, vulnerabilities, and dependencies. Results are written to STDOUT by default.
--dependenciesand--dependencies-onlyrequirescancode-toolkitto be installed.
fingerprint
Aliases:fp, wfp
Computes Winnowing fingerprints for a directory or file and writes them to a .wfp file or
STDOUT. This step does not query the SCANOSS Knowledge Base, use scan for a full lookup.
dependencies
Aliases:dp, dep
Scans source code for declared dependencies without performing a Knowledge Base lookup.
Requires scancode-toolkit.
file_count
Aliases:fc
Walks the source tree and produces a summary of file types found.
convert
Aliases:cv, cnv, cvrt
Converts a SCANOSS results file between supported output formats without re-scanning.
folder-scan
Aliases:fs
Scans a directory using folder-level hashing to identify components. Produces broader component
matches than file-level scanning and is well-suited for detecting vendored or copied directories.
folder-hash
Aliases:fh
Generates cryptographic hashes for all files in a directory tree and writes them to a JSON file
or STDOUT. Use this to pre-compute folder hashes before running folder-scan.
container-scan
Aliases:cs
Pulls a Docker container image and scans its layers for open-source dependencies. Requires Docker
to be installed and running.
crypto
Aliases:cr
Retrieves cryptographic information for components identified by PURL. Requires a SCANOSS API key.
Subcommands
algorithms
Aliases:alg
Returns the cryptographic algorithms used by the specified component versions.
hints
Returns encryption hints for the specified component versions.versions-in-range
Aliases:vr
Given a list of PURLs with version ranges, returns the subset of versions that do or do not
contain cryptographic algorithms.
Common Arguments
The following arguments apply to allcrypto subcommands:
component
Aliases:comp
Queries the SCANOSS Knowledge Base for metadata about specific components identified by PURL.
Requires a SCANOSS API key.
Subcommands
vulns
Returns known vulnerabilities for the specified component versions.licenses
Returns the licences associated with the specified component versions.semgrep
Returns Semgrep static analysis results for the specified component versions.versions
Returns the available versions for the specified component.search
Searches the SCANOSS Knowledge Base for components matching a query.provenance
Aliases:prov
Returns contributor provenance information for the specified component versions.
status
Aliases:sts, st
Returns the development lifecycle status for one or more components. Provides information including component status, repository status, first and last indexed dates, and version-specific details.
Common Arguments
The following arguments apply to allcomponent subcommands:
results
Reads a SCANOSS results file and filters or formats its contents.inspect
Aliases:ins
Policy-checking commands that analyse a SCANOSS results file for compliance issues such as
copyleft licences, undeclared components, and more.
Subcommands
copyleft
Identifies files or components with copyleft licences in a results file.undeclared
Identifies components present in scan results that are not declared in the SBOM settings.license-summary
Generates a licence summary from a results file.component-summary
Generates a component summary from a results file.dependency-track project-violations
Retrieves policy violations for a project from a Dependency-Track server.gitlab matches
Generates a GitLab-compatible match summary from a results file.Common Arguments
The following arguments apply to allinspect subcommands:
export
Exports SCANOSS results to external platforms.Subcommands
dt
Exports a CycloneDX SBOM to a Dependency-Track server.delta
Aliases:dl
Copies files identified in a diff report into a delta folder for further processing.
Subcommands
copy
Copies changed files into a target delta folder based on a diff input file.utilities
Aliases:ut, utils
A collection of network and certificate diagnostics utilities.
The
cert-download subcommand accepts the following arguments:
The
pac-proxy subcommand accepts the following arguments: