-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
Description
Description
Add support for reading SPDX 2.3 attestations in DSSE envelope format (in-toto attestation).
Motivation
Currently, Trivy supports CycloneDX attestations but lacks support for SPDX attestations. This feature would enable Trivy to scan SPDX-based SBOMs wrapped in in-toto attestation format.
Proposed Implementation
- Add
FormatAttestSPDXJSONformat constant - Implement detection logic for DSSE-wrapped SPDX attestations
- Support
https://spdx.dev/Documentpredicate type - Reuse existing SPDX unmarshaling logic
Scope
- Reading SPDX attestations (generation is out of scope)
- SPDX 2.3 version support
- DSSE envelope format following in-toto spec
References
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
No status