fleet/server/vulnerabilities/oval/input/package_info_test_object.go
Juan Fernandez 9d01ba33c6
Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241)
Extended the OVAL parser/analyzer so that we can scan RHEL based systems.
2022-06-23 16:44:45 -04:00

12 lines
532 B
Go

package oval_input
// PackageInfoTestObjectXML see
// https://oval.mitre.org/language/version5.10.1/ovaldefinition/documentation/linux-definitions-schema.html#dpkginfo_object
// and
// https://oval.mitre.org/language/version5.10.1/ovaldefinition/documentation/linux-definitions-schema.html#rpminfo_object
// In the case of 'rpminfo_object' the 'behaviors' child element is not used for testing installed
// rpm packages.
type PackageInfoTestObjectXML struct {
Id string `xml:"id,attr"`
Name ObjectNameXML `xml:"name"`
}