Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct {
BenchmarkType string `yaml:"benchmark_type"`
Categories []Category `yaml:"categories"`
}
Audit data model
type AuditBench ¶
type AuditBench struct {
Name string `mapstructure:"name" yaml:"name"`
ProfileApplicability string `mapstructure:"profile_applicability" yaml:"profile_applicability"`
Description string `mapstructure:"description" yaml:"description"`
AuditCommand []string `mapstructure:"audit" json:"audit"`
CheckType string `mapstructure:"check_type" yaml:"check_type"`
Remediation string `mapstructure:"remediation" yaml:"remediation"`
Impact string `mapstructure:"impact" yaml:"impact"`
DefaultValue string `mapstructure:"default_value" yaml:"default_value"`
References []string `mapstructure:"references" yaml:"references"`
EvalExpr string `mapstructure:"eval_expr" yaml:"eval_expr"`
TestSucceed bool
CommandParams map[int][]string
Category string
NonApplicable bool
TestType string `mapstructure:"type" yaml:"type"`
}
AuditBench data model
func (*AuditBench) UnmarshalYAML ¶
func (at *AuditBench) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML over unmarshall to add logic
type AuditTestTotals ¶
AuditTestTotals model
type Category ¶
type Category struct {
Name string `yaml:"name"`
SubCategory *SubCategory `yaml:"sub_category"`
}
Category data model
type SubCategory ¶
type SubCategory struct {
Name string `yaml:"name"`
AuditTests []*AuditBench `yaml:"audit_tests"`
}
SubCategory data model
Click to show internal directories.
Click to hide internal directories.