Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReportNotLoaded = errors.New("report not loaded")
Functions ¶
func DetectedVulnerabilitiesTable ¶
func DetectedVulnerabilitiesTable(vulns []types.DetectedVulnerability) (*table.Table, error)
Types ¶
type Report ¶
Report is an extended struct for `github.com/aquasecurity/trivy/pkg/types.Report`.
func (*Report) ResultsCount ¶
func (*Report) SeverityCounts ¶
SeverityCounts returns the number of vulnerabiltiies detected by severity.
func (*Report) VulnerabiliesTable ¶
VulnerabiliesTable returns a table of vulnerabilities with a column for result set. It is formatted with Markdown links which can be rendered in XLSX using `github.com/grokify/gocharts/data/table`.
func (*Report) VulnerabilityCount ¶
Click to show internal directories.
Click to hide internal directories.
