Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { ID string `yaml:"id"` Title string `yaml:"title"` BenchmarkType string `yaml:"benchmarkType"` Category string `yaml:"category"` Description string `yaml:"description"` Remediation string `yaml:"remediation"` ProfileLevel int `yaml:"profileLevel"` Status string `yaml:"status"` Rationale string `yaml:"rationale"` Audit string `yaml:"audit"` NamespaceRequired int `yaml:"namespaceRequired"` PreRun func(types.RunOptions) error Run func(types.RunOptions) error PostRun func(types.RunOptions) error }
Benchmark consists the benchmark information like benchmark id, name, remediation etc.
func (*Benchmark) ReadConfig ¶
ReadConfig reads the yaml representation of struct from []file
Click to show internal directories.
Click to hide internal directories.