Expand description
SBOM serialization and transformation.
Two complementary strategies live here:
- [
enricher]/[merger]/[pruner] patch the original raw JSON in place, preserving the source format’s structure exactly. - [
emit] synthesizes a fresh document from the canonical model, enabling cross-format conversion (e.g. SPDX → CycloneDX).
Re-exports§
pub use emit::EmitError;pub use emit::EmitTarget;pub use emit::FidelityReport;pub use emit::emit;pub use emit::emit_cyclonedx;pub use emit::emit_spdx;pub use emit::preserve_source_json;
Modules§
- emit
- Cross-format SBOM emission.
Structs§
- Merge
Config - Configuration for SBOM merging
- Tailor
Config - Configuration for SBOM tailoring
Enums§
- Deduplication
Strategy - Strategy for deduplicating components during merge
- Merge
Error - Errors that can occur during SBOM merging
Functions§
- enrich_
sbom_ json - Enrich a raw SBOM JSON with vulnerability and EOL data from the parsed model.
- merge_
sbom_ json - Merge two SBOM JSON documents into one.
- tailor_
sbom_ json - Tailor (filter) an SBOM by removing components that don’t match the criteria.