Documentation ¶
Overview ¶
Package generate exposes cyclonedx-gomod's SBOM generation capabilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
Generator is the interface that provides abstraction for multiple BOM generation strategies.
Generators MUST only consider facts. Results MUST be reproducible. The returned BOM MUST NOT include any of the following elements:
- SerialNumber
- Metadata.Timestamp
- Metadata.Tools
- Metadata.Authors
- Metadata.Manufacture
- Metadata.Supplier
- Metadata.Licenses
It is the responsibility of the caller to ensure that these elements are set according to their context and use case.
At the very least, callers SHOULD set the SerialNumber and Metadata.Timestamp elements before publishing or forwarding the generated BOM.
Directories ¶
Path | Synopsis |
---|---|
Package app provides the functionality to generate SBOMs for applications.
|
Package app provides the functionality to generate SBOMs for applications. |
Package bin provides the functionality to generate SBOMs for binaries.
|
Package bin provides the functionality to generate SBOMs for binaries. |
Package mod provides the functionality to generate SBOMs for modules.
|
Package mod provides the functionality to generate SBOMs for modules. |
Click to show internal directories.
Click to hide internal directories.