Directories
¶
| Path | Synopsis |
|---|---|
|
scanoss-cli
command
|
|
|
internal
|
|
|
cliconfig
Package cliconfig stores and resolves the CLI's own settings — the API endpoint and credentials the user keeps in $HOME/.scanoss/settings.json.
|
Package cliconfig stores and resolves the CLI's own settings — the API endpoint and credentials the user keeps in $HOME/.scanoss/settings.json. |
|
logging
Package logging is where this module's logging is wired: the sink every package reports through, and the handler the CLI installs into it.
|
Package logging is where this module's logging is wired: the sink every package reports through, and the handler the CLI installs into it. |
|
output
Package output writes scan output to a file or, when no path is given, to stdout.
|
Package output writes scan output to a file or, when no path is given, to stdout. |
|
version
Package version reports the CLI build version, resolved in order from: ldflags (release builds) → the embedded module version (go install @tag) → a "dev" fallback.
|
Package version reports the CLI build version, resolved in order from: ldflags (release builds) → the embedded module version (go install @tag) → a "dev" fallback. |
|
libscanoss
|
|
|
core
command
|
|
|
pkg
|
|
|
dependencies/parsers
Package parsers provides functionality to parse dependency manifests from various package management systems and extract dependency information as standardized Package URLs (PURLs).
|
Package parsers provides functionality to parse dependency manifests from various package management systems and extract dependency information as standardized Package URLs (PURLs). |
|
dependencies/resolve
Package resolve defines a dependency graph with edges, as resolved from a project's lockfiles.
|
Package resolve defines a dependency graph with edges, as resolved from a project's lockfiles. |
|
dependencies/resolve/lockfile
Package lockfile builds a resolve.Graph from a lockfile, without running any package manager or other process.
|
Package lockfile builds a resolve.Graph from a lockfile, without running any package manager or other process. |
|
filter
Package filter decides which files a scan should process.
|
Package filter decides which files a scan should process. |
|
manifests
Package manifests is the single source of truth for the dependency-manifest file names/patterns the SDK understands (package.json, go.mod, pom.xml, …).
|
Package manifests is the single source of truth for the dependency-manifest file names/patterns the SDK understands (package.json, go.mod, pom.xml, …). |
|
postprocess
Package postprocess applies a scan's bill-of-materials rules to its results: what the user says about the components the scan found, once the scan has found them.
|
Package postprocess applies a scan's bill-of-materials rules to its results: what the user says about the components the scan found, once the scan has found them. |
|
sbom
Package sbom generates SBOM documents (CycloneDX, SPDX Lite) from a neutral inventory of components.
|
Package sbom generates SBOM documents (CycloneDX, SPDX Lite) from a neutral inventory of components. |
|
sbom/depsource
Package depsource builds an sbom.Inventory from a project's dependency files.
|
Package depsource builds an sbom.Inventory from a project's dependency files. |
|
sbom/scansource
Package scansource adapts SCANOSS SDK values — a v3 scan result and the licenses, vulnerabilities, cryptography and geoprovenance decoration responses — into the neutral sbom.Inventory consumed by the sbom package.
|
Package scansource adapts SCANOSS SDK values — a v3 scan result and the licenses, vulnerabilities, cryptography and geoprovenance decoration responses — into the neutral sbom.Inventory consumed by the sbom package. |
|
scanoss
Package scanoss is a Go SDK for the SCANOSS component services (cryptography, vulnerabilities, licenses, geoprovenance).
|
Package scanoss is a Go SDK for the SCANOSS component services (cryptography, vulnerabilities, licenses, geoprovenance). |
|
scanpipeline
Package scanpipeline runs the scan pipeline that assembles a neutral sbom.Inventory.
|
Package scanpipeline runs the scan pipeline that assembles a neutral sbom.Inventory. |
|
settings
Package settings loads a project's scanoss.json (or settings.json): the BOM rules (include/identify/ignore/remove/replace) and the skip rules (patterns and size bounds per operation).
|
Package settings loads a project's scanoss.json (or settings.json): the BOM rules (include/identify/ignore/remove/replace) and the skip rules (patterns and size bounds per operation). |
|
wfp
Package wfp turns files into WFP (Winnowing Fingerprint) fingerprints — the payload a SCANOSS scan uploads.
|
Package wfp turns files into WFP (Winnowing Fingerprint) fingerprints — the payload a SCANOSS scan uploads. |
Click to show internal directories.
Click to hide internal directories.