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 this module's version, resolved in order from: ldflags (release builds) → the module version in the build info (go install @tag, or the version a program importing the SDK requires) → a "dev" fallback.
|
Package version reports this module's version, resolved in order from: ldflags (release builds) → the module version in the build info (go install @tag, or the version a program importing the SDK requires) → a "dev" fallback. |
|
libscanoss
|
|
|
core
command
|
|
|
pkg
|
|
|
dependencies/internal/pyscope
Package pyscope decides which pyproject.toml dependencies are only needed to develop the project.
|
Package pyscope decides which pyproject.toml dependencies are only needed to develop the project. |
|
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 or by its build tools.
|
Package resolve defines a dependency graph with edges, as resolved from a project's lockfiles or by its build tools. |
|
dependencies/resolve/internal/build
Package build is the only way the resolvers under resolve add to a graph, so the graph invariants (limits, edge ends, reasons, ordering) hold for every one of them.
|
Package build is the only way the resolvers under resolve add to a graph, so the graph invariants (limits, edge ends, reasons, ordering) hold for every one of them. |
|
dependencies/resolve/internal/graphtest
Package graphtest checks the invariants every resolve.Graph keeps, for the tests of the resolvers under resolve.
|
Package graphtest checks the invariants every resolve.Graph keeps, for the tests of the resolvers under resolve. |
|
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. |
|
dependencies/resolve/toolchain
Package toolchain builds a resolve.Graph by running an ecosystem's own tools on a manifest, such as the go command on go.mod or mvn on pom.xml, for projects whose lockfile does not record the whole graph.
|
Package toolchain builds a resolve.Graph by running an ecosystem's own tools on a manifest, such as the go command on go.mod or mvn on pom.xml, for projects whose lockfile does not record the whole graph. |
|
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). |
|
snippetmatch
Package snippetmatch annotates a scan inventory's snippet matches with the local snippet-classifier's verdict on whether each match is a false positive — a match whose reported OSS line range does not correspond to its reported local range.
|
Package snippetmatch annotates a scan inventory's snippet matches with the local snippet-classifier's verdict on whether each match is a false positive — a match whose reported OSS line range does not correspond to its reported local range. |
|
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. |
|
wfp/wfp2
Package wfp2 generates WFP2 (token-aware) fingerprint minutiae: a language-aware winnowing that detects the source language, strips comments and normalizes the source to a byte stream (identifiers, type-runs, reserved words and punctuation each mapped to fixed codes) before winnowing it.
|
Package wfp2 generates WFP2 (token-aware) fingerprint minutiae: a language-aware winnowing that detects the source language, strips comments and normalizes the source to a byte stream (identifiers, type-runs, reserved words and punctuation each mapped to fixed codes) before winnowing it. |
Click to show internal directories.
Click to hide internal directories.