Documentation
¶
Index ¶
Constants ¶
View Source
const ( CPE = "oval:org.open-scap.cpe.rhel:def:" CPEDict = "/usr/share/openscap/cpe/openscap-cpe-oval.xml" CVEUrl = "https://www.redhat.com/security/data/metrics/ds/" DistCVENameFmt = "com.redhat.rhsa-RHEL%d.ds.xml.bz2" ArfResultFile = "results-arf.xml" TmpDir = "/tmp" Linux = "Linux" OpenSCAP = "OpenSCAP" ImageShortIDLen = 11 )
Variables ¶
View Source
var (
RHELDistNumbers = [...]int{5, 6, 7}
)
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner interface { // Scan will scan the image Scan(string, *docker.Image) error // ScannerName is the scanner's name ScannerName() string // ResultFileName returns the name of the results file ResultsFileName() string }
Scanner is the interface of OpenSCAP scanner
func NewDefaultScanner ¶
NewDefaultScanner returns a new OpenSCAP scanner
Click to show internal directories.
Click to hide internal directories.