Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPolkitCompliance ¶
Types ¶
type Report ¶
type Report struct {
XMLName xml.Name `xml:"xccdf-results"`
Platform string `xml:"platform,attr"`
TestSystem string `xml:"test-system"`
Version string `xml:"version"`
Stats Stats `xml:"statistics"`
Rules []Rule `xml:"rule-result"`
}
func GenerateReport ¶
type RuleResult ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) ExportPolkitXCCDF ¶
func (*Runner) GetPolkitFindings ¶
func (*Runner) Scan ¶
func (r *Runner) Scan() (*ScanResult, error)
type ScanResult ¶
type ScanResult struct {
XMLName xml.Name `xml:"xccdf-results"`
TestResult TestResult `xml:"test-result"`
}
type TestResult ¶
type TestResult struct {
RuleResults []RuleResult `xml:"rule-result"`
}
Click to show internal directories.
Click to hide internal directories.