Documentation ¶
Index ¶
Constants ¶
View Source
const ( CdxPrefix = "cdx:" RADPrefix = "rad:kbom:" K8sComponentType = "k8s:component:type" K8sComponentName = "k8s:component:name" K8sComponentVersion = "k8s:component:version" ClusterType = "cluster" NodeType = "node" ContainerType = "container" )
View Source
const ( Company = "RAD Security" BOMFormat = "rad" SpecVersion = "0.3" StdOutput = "stdout" FileOutput = "file" )
Variables ¶
View Source
var CycloneDXJsonFormat = Format{
Name: "cyclonedx-json",
FileExtension: "json",
}
View Source
var CycloneDXXMLFormat = Format{
Name: "cyclonedx-xml",
FileExtension: "xml",
}
View Source
var GenerateCmd = &cobra.Command{
Use: "generate",
Short: "Generate KBOM for the provided K8s cluster",
RunE: runGenerate,
}
View Source
var JSONFormat = Format{
Name: "json",
FileExtension: "json",
}
View Source
var YAMLFormat = Format{
Name: "yaml",
FileExtension: "yaml",
}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.