#[non_exhaustive]pub struct Sbom {
pub created_time: Option<i64>,
pub created_time_dt: Option<String>,
pub package: Option<Box<Package>>,
pub product: Option<Box<Product>>,
pub software_components: Option<Vec<SoftwareComponent>>,
pub type: Option<String>,
pub type_id: Option<i64>,
pub uid: Option<String>,
pub version: Option<String>,
}Expand description
Software Bill of Materials
The Software Bill of Materials object describes characteristics of a generated SBOM.
[] Category: | Name: sbom
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created_time: Option<i64>Created Time
The time when the SBOM was created.
recommended
created_time_dt: Option<String>Created Time
The time when the SBOM was created.
optional
package: Option<Box<Package>>Software Package
The software package or library that is being discovered or inventoried by an SBOM.
required
product: Option<Box<Product>>Product
Details about the upstream product that generated the SBOM e.g. cdxgen or Syft.
recommended
software_components: Option<Vec<SoftwareComponent>>Software Components
The list of software components used in the software package.
required
type: Option<String>Type
The type of SBOM, normalized to the caption of the type_id value. In the case of ‘Other’, it is defined by the source.
optional
type_id: Option<i64>Type ID
The type of SBOM.
recommended
uid: Option<String>SBOM ID
A unique identifier for the SBOM or the SBOM generation by a source tool, such as the SPDX metadata.component.bom-ref.
optional
version: Option<String>Version
The specification (spec) version of the particular SBOM, e.g., 1.6.
optional