Module implementing the interface to CycloneDX.
None |
CycloneDXEnvironmentParser | Class implementing a parser to get package data for a named environment. |
_addCycloneDXDependency | Function to add a dependency to the given list of components. |
_amendMetaData | Function to amend the SBOM meta data according the given data. |
_prettifyJSON | Function to prettify the SBOM JSON output generated by CycloneDX. |
_prettifyXML | Function to prettify the SBOM XML output generated by CycloneDX. |
addCycloneDXDependencies | Function to add dependency data to the list of created components. |
addCycloneDXVulnerabilities | Function to add vulnerability data to the list of created components. |
createCycloneDXFile | Function to create a CyccloneDX SBOM file. |
findCyccloneDXComponent | Function to find a component in a given list of components. |
Class implementing a parser to get package data for a named environment.
None |
None |
CycloneDXEnvironmentParser | Constructor |
None |
Constructor
Function to add a dependency to the given list of components.
Function to amend the SBOM meta data according the given data.
The modifications done are:
Function to prettify the SBOM JSON output generated by CycloneDX.
Function to prettify the SBOM XML output generated by CycloneDX.
Note: Prettifying an XML tree works only with Python 3.9 and above!
Function to add dependency data to the list of created components.
Function to add vulnerability data to the list of created components.
Function to create a CyccloneDX SBOM file.
Function to find a component in a given list of components.