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" HTMLResultFile = "results.html" TmpDir = "/tmp" Linux = "Linux" OpenSCAP = "openscap" ImageShortIDLen = 11 Unknown = "Unknown" LinuxVersionPH = "Unknown" OpenSCAPVersion = "1.2" CVEDetailsUrl = "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" )
Variables ¶
View Source
var (
RHELDistNumbers = [...]int{5, 6, 7}
)
Functions ¶
func NewDefaultScanner ¶
NewDefaultScanner returns a new OpenSCAP scanner
func ParseResults ¶
Types ¶
type OpenSCAPReport ¶
OpenSCAPReport holds the both Arf and HTML versions of openscap report.
Click to show internal directories.
Click to hide internal directories.