π§© Minimum Elements: Data Field Requirements for AI SBOM
Based on [BSI: SBOM for AI β Food for Thoughts]
Lets implement check to verify if an AISBOM has the minimum required elements.
sbomqs score -c bsi-ai-v1 llama_sbom.json
Sample SBOM: llama_sbom.json
Below are the minimum elements with their CDX mappings, this is my first take.
Models Used by the AI System
- Type
β component.type = "machine-learning-model"
- Name (Identify the Model)
β component.name
- Model Creation Details & Usage
β Annotated via component.modelCard or component.properties
Learnings
- Training Techniques
β component.modelCard.modelParameters
- Training Datasets
β Represented as component of type "data"
- Datasheets
β component.externalReferences (type: "documentation")
Datasets
- Identification, Creation & Provenance
β component with type = "data"
Safety and Security
- Guardrails
β Link to external reference documentation
β component.externalReferences (type: "other")
- Considerations
β component.modelCard.considerations
System-Level Characteristics
(Placeholder β to be defined per system-level SBOM structure or runtime context)
Key Performance Indicators
- Metrics and Evaluation
β component.modelCard.quantitativeAnalysis
Licensing
- Model License
β component.licenses
Infrastructure
- System Infrastructure
β Captured via standard SBOM structure (components, services, etc.)
SBOM Verifiability
- Component-level verification
β Use hashes (e.g., SHA-256)
- SBOM-wide authenticity
β Signed using tools like Cosign
β Signature should be externally verifiable
Manufacturer
- Entity responsible for the model/system
β metadata.manufacturer
π§© Minimum Elements: Data Field Requirements for AI SBOM
Based on [BSI: SBOM for AI β Food for Thoughts]
Lets implement check to verify if an AISBOM has the minimum required elements.
Sample SBOM: llama_sbom.json
Below are the minimum elements with their CDX mappings, this is my first take.
Models Used by the AI System
β
component.type = "machine-learning-model"β
component.nameβ Annotated via
component.modelCardorcomponent.propertiesLearnings
β
component.modelCard.modelParametersβ Represented as
componentof type"data"β
component.externalReferences(type:"documentation")Datasets
β
componentwithtype = "data"Safety and Security
β Link to external reference documentation
β
component.externalReferences(type:"other")β
component.modelCard.considerationsSystem-Level Characteristics
(Placeholder β to be defined per system-level SBOM structure or runtime context)
Key Performance Indicators
β
component.modelCard.quantitativeAnalysisLicensing
β
component.licensesInfrastructure
β Captured via standard SBOM structure (
components,services, etc.)SBOM Verifiability
β Use
hashes(e.g., SHA-256)β Signed using tools like Cosign
β Signature should be externally verifiable
Manufacturer
β
metadata.manufacturer