Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certification ¶
type Certification struct { Key string `yaml:"name" json:"name"` Standards map[string]map[string]interface{} `yaml:"standards" json:"standards"` }
Certification struct is a collection of specific standards and controls Schema info: https://github.com/opencontrol/schemas#certifications
func (Certification) GetControlKeysFor ¶
func (certification Certification) GetControlKeysFor(standardKey string) []string
GetControlKeysFor returns the control keys for the given standard key.
func (Certification) GetKey ¶
func (certification Certification) GetKey() string
GetKey returns the name of the certification.
func (Certification) GetSortedStandards ¶
func (certification Certification) GetSortedStandards() []string
GetSortedStandards returns a list of sorted standard names
func (*Certification) MarshalJSON ¶
func (certification *Certification) MarshalJSON() (b []byte, e error)
MarshalJSON provides JSON support
Click to show internal directories.
Click to hide internal directories.