Neptune

neptune attest

Create in-toto/DSSE attestation envelopes for SBOMs

neptune attest

Creates an in-toto / DSSE attestation envelope for an SBOM, with optional cosign signing for supply chain verification.

Usage

neptune attest <SBOM_FILE> [OPTIONS]

Arguments

ArgumentDescription
<SBOM_FILE>Path to the SBOM JSON file (CycloneDX, SPDX, or Neptune JSON)

Options

FlagDefaultDescription
--source-hash <SHA256>auto-detectedSHA-256 hash of the source firmware
--signSign the attestation with cosign
--cosign-key <FILE>keylessPath to cosign private key
-o, --output <FILE><sbom>.intoto.jsonlOutput file path

Examples

# Create unsigned attestation
neptune attest sbom.json

# Sign with cosign (keyless)
neptune attest sbom.json --sign

# Sign with explicit key
neptune attest sbom.json --sign --cosign-key key.pem

On this page