Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { Family string `yaml:"family" json:"family"` Name string `yaml:"name" json:"name"` Description string `yaml:"description" json:"description"` }
Control struct stores data on a specific security requirement Schema info: https://github.com/opencontrol/schemas#standards-documentation
func (Control) GetDescription ¶
GetDescription returns the string description of the control.
type Standard ¶
type Standard struct { Name string `yaml:"name" json:"name"` Controls map[string]Control `yaml:",inline"` }
Standard struct is a collection of security requirements Schema info: https://github.com/opencontrol/schemas#standards-documentation
func (Standard) GetControl ¶
GetControl returns a particular control
func (Standard) GetControls ¶
GetControls returns all controls associated with the standard
func (Standard) GetSortedControls ¶
GetSortedControls returns a list of sorted controls
Click to show internal directories.
Click to hide internal directories.