containerscan

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BestPracticeViolation

type BestPracticeViolation struct {
	Code   string `json:"code"`
	Title  string `json:"title"`
	Level  string `json:"level"`
	Alerts string `json:"alerts"`
}

type Report

type Report struct {
	ImageName                  string                  `json:"imageName"`
	VulnerabilityScanTimestamp string                  `json:"vulnerabilityScanTimestamp"`
	Vulnerabilities            []Vulnerability         `json:"vulnerabilities"`
	BestPracticeViolations     []BestPracticeViolation `json:"bestPracticeViolations"`
}

func ParseReport

func ParseReport(scanReportPath string) (Report, error)

type Vulnerability

type Vulnerability struct {
	VulnerabilityId string `json:"vulnerabilityId"`
	PackageName     string `json:"packageName"`
	Severity        string `json:"severity"`
	Description     string `json:"description"`
	Target          string `json:"target"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL