Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { XMLName xml.Name `xml:"Benchmark" json:"-"` Name string `xml:"-" json:"benchmark"` Profiles []Profile `xml:"Profile" json:"profiles"` Groups []Group `xml:"Group" json:"group"` }
func (Benchmark) GetProfile ¶
func (Benchmark) GetProfileRules ¶
type Profile ¶
type Profile struct { XMLName xml.Name `xml:"Profile" json:"-"` Id string `xml:"id,attr" json:"id"` Title string `xml:"title" json:"title"` Description string `xml:"description" json:"description"` Selects []Select `xml:"select" json:"select"` RefineValues []RefinedValue `xml:"refine-value,omitempty" json:"refine-value,omitempty"` }
type RefinedValue ¶
type Rule ¶
type Rule struct { XMLName xml.Name `xml:"Rule" json:"-"` Id string `xml:"id,attr" json:"id"` Title string `xml:"title" json:"title"` Description string `xml:"description" json:"description"` References []Reference `xml:"reference" json:"references"` Rationale string `xml:"rationale" json:"rationale"` Idents []Ident `xml:"ident" json:"ident,omitempty"` }
type YamlRule ¶
type YamlRule struct { ID string `yaml:"id,omitempty"` Title string `yaml:"title,omitempty"` Description string `yaml:"description,omitempty"` Rationale string `yaml:"rationale,omitempty"` Severity string `yaml:"severity,omitempty"` Identifiers idents `yaml:"identifiers,omitempty"` References references `yaml:"references,omitempty"` }
Click to show internal directories.
Click to hide internal directories.