Opens in a new tab
PexLens logo
PexLens logo
Pricing
Add your offcanvas content in here
Add your offcanvas content in here

Package inventory

What a PexLens inventory contains, which formats you can take, and what it does not promise.

An inventory from PexLens describes one package version: its identity, the components PexLens recorded, and license strings when the upstream metadata had them. People often call this an SBOM. In a review, a customer questionnaire, or an audit, it is the document that answers “what was in the thing you shipped or assessed?” The verdict answers a different question, which is whether you trusted it.

Keep those documents together and do not merge them. An inventory of a malicious version is still a useful inventory. It tells you what you almost installed. It does not become safe because it is written in a standard format.

What it contains

Expect the package identity, the version, the components PexLens recorded for that version, and license names when they were present upstream. Do not expect a rebuilt picture of your entire application, and do not expect every transitive dependency from a lockfile to have been recompiled for the occasion. The inventory is a statement of what PexLens knows about that version. If your application’s full tree is the question, generate that tree from the build, and use PexLens for the versions inside it that you need assessed.

Formats

FormatWhen to use it
CycloneDXThe usual choice for a customer, an auditor, or a tool that expects CycloneDX JSON. This is the default.
SPDXWhen the receiving system expects SPDX JSON.
JSONWhen you want the PexLens inventory without wrapping it in a standard specification.

Ask for one version when the review is about that release. Ask for a list when you are inventorying many names. Each item in a list succeeds or fails on its own, so one unknown name does not discard the rest. Pin a version when the receiving party cares which release you mean. Leave the version off only when “latest stored” is an acceptable answer.

Licenses

License fields are informational. They appear so a person can read what the upstream metadata said. PexLens does not block a package because its license is missing, unexpected, or incompatible with your program. If you have a license standard, enforce it in your own review. Do not look for that block in the verdict.

Hand over the inventory and the verdict as a pair. Either document alone answers only half of what an assessor usually asked.