Repository SBOMs
Avrea generates a Software Bill of Materials (SBOM) for a connected repository when you ask for one: a commit-pinned record of the repository's production dependencies, their versions, and their licences. Open a repository in the console and select the SBOM tab.
Detection reads dependency manifests and lockfiles inside an isolated,
egress-restricted VM. Repository code is not executed, with one exception: a
Python project whose setup.py computes its dependencies is installed inside
that VM so they can be read. When a
manifest does not declare a licence, the identifier is backfilled from the
package's public registry (PyPI, crates.io, npm, Maven Central, NuGet,
rubygems.org). A package whose licence still cannot be established is
reported as NOASSERTION rather than guessed.
What a snapshot contains
Section titled “What a snapshot contains”Each SBOM is pinned to a single commit and records when it was generated. The summary view shows:
- Counts — total dependencies, unresolved licences (
NOASSERTION), copyleft-licensed packages, and ecosystems. The dependency, unresolved, and copyleft counts link straight to the matching subset of the dependency list. - Licence distribution — how many dependencies carry each SPDX identifier.
- Copyleft dependencies — the packages whose licence carries a copyleft obligation (GPL/LGPL/MPL/EPL/CDDL/EUPL families).
- Artifacts — downloadable exports: CycloneDX (
bom.cyclonedx.json), SPDX (bom.spdx.json), and the machine-readable dependency inventory (inventory.json) that powers the dependency browser.
Generating an SBOM
Section titled “Generating an SBOM”SBOMs are produced automatically for connected repositories. Avrea checks the default branch on initial discovery and after pushes, and refreshes the SBOM when dependency inputs change. This includes manifests, lockfiles and licence metadata. Uncertain changes also cause a refresh, so custom dependency files are not missed. Documentation-only changes that do not affect package metadata can reuse the previous snapshot. For npm-only repositories, ordinary JavaScript, TypeScript and stylesheet edits can also reuse the previous snapshot when they cannot affect package discovery or metadata.
Changes arriving during a scan are retained for a subsequent scan of the latest relevant commit. Pushes are grouped until two minutes have passed without another push, with a ten-minute maximum grouping window during continuous changes. These are scheduling windows; runner capacity and scan duration can add time. Work waiting behind an older scan is checked approximately once a minute. The SBOM page shows the pending target and keeps the last recorded snapshot available while the refresh runs. Automatic checks are periodic as well, so a missed push notification does not permanently prevent an update. Automatic SBOM generation is independent of AI Insights.
Generate SBOM on the SBOM tab starts a run on demand against the default-branch tip. A few rules keep runs cheap and predictable:
- One analysis runs per repository at a time. Requesting a run while one is active joins the running scan instead of queueing a second.
- After a successful scan, the repository has a ten-minute cooldown before the next one. A failed scan can be retried immediately.
- Generation takes a few minutes; the page tracks the run and refreshes itself when the result lands.
Browsing dependencies
Section titled “Browsing dependencies”Browse all dependencies opens the full per-package table: name, version, ecosystem, licence, and the manifest the dependency was discovered in. Narrow it by:
- text search over package names and licence identifiers,
- ecosystem quick filters (one badge per detected ecosystem),
- licence quick filters — resolved,
NOASSERTION, or copyleft only.
The licence filter is carried in the URL, so a filtered view can be shared or bookmarked.
History and per-commit views
Section titled “History and per-commit views”History lists every recorded SBOM for the repository: commit, branch, dependency, unresolved and copyleft counts, and when it was recorded. Each row links to a commit-pinned snapshot page with the same summary, dependency browser, and artifact downloads as the latest view, so an SBOM stays retrievable for the commit it was generated for.
Development dependencies
Section titled “Development dependencies”Add ?include_dev=true to the latest, commit, or history endpoint to include
development dependencies. The response's includes_dev field identifies the
selected scope, and its summary and artifact list describe that same scope.
Download the filenames returned in artifacts to get the corresponding JSON,
CycloneDX, or SPDX document. Switching scope does not require another scan.
By default, packages used only for development are excluded. Packages shared by production and development are retained, as are packages whose scope cannot be established; exports identify their scopes explicitly.
Older snapshots may need regeneration before development dependencies are
available. A latest or commit request returns 409 in that case. History
with include_dev=true lists only snapshots with that variant available.
Supported ecosystems
Section titled “Supported ecosystems”Python, Go, npm (including pnpm, yarn, and bun lockfiles), Rust (Cargo), PHP (Composer), Java (Maven), .NET (NuGet), Ruby (Bundler), container base images from Dockerfiles, and upstream projects bundled in the source tree. Both direct and transitive dependencies are recorded where the ecosystem's lockfile provides them.