Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateReport ¶
func GenerateReport(comparison HelmComparison, generateJSON bool, generateMD bool) string
Types ¶
type ContainerImage ¶
type ContainerImage struct { Repository string Tag string ImageName string ScanResult imageScan.ScanResult Vulnerabilities map[string]imageScan.Vulnerability }
func (ContainerImage) String ¶
func (ci ContainerImage) String() string
type HelmChart ¶
type HelmChart struct { Name string Version string HelmRepo string ContainsImages []*ContainerImage }
type HelmComparison ¶
type HelmComparison struct { Before HelmChart After HelmChart AddedImages map[string][]*ContainerImage RemovedImages map[string][]*ContainerImage ChangedImages map[string][]*ContainerImage UnChangedImages map[string][]*ContainerImage RemovedCVEs map[string]map[string]reports.Vulnerability AddedCVEs map[string]map[string]reports.Vulnerability UnchangedCVEs map[string]map[string]reports.Vulnerability }
func CompareHelmCharts ¶
func CompareHelmCharts(before, after HelmChart) HelmComparison
Click to show internal directories.
Click to hide internal directories.