Documentation ¶
Index ¶
- func AppendControlInImplementation(cd implementation.ComponentDefinition, guid uuid.UUID, c Catalog, ...) implementation.ComponentDefinition
- func CompileImplementation(cdList []cdMap, CSVS [][]string, cat Catalog, components []component) implementation.Implementation
- func CreateComponentConfiguration(guid uuid.UUID, componentConfName, narrative string) *implementation.ComponentConfiguration
- func CreateComponentDefinition(gm guidMap, cdm cdMap, componentConfName string, c Catalog, ...)
- func GenerateImplementation(CSVS [][]string, c Catalog) implementation.Implementation
- func GenerateImplementationParameter(param catalog.Param, guidance []string) implementation.Parameter
- type Catalog
- type NISTCatalog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendControlInImplementation ¶
func AppendControlInImplementation(cd implementation.ComponentDefinition, guid uuid.UUID, c Catalog, control string) implementation.ComponentDefinition
AppendControlInImplementation appends a control in the implementation
func CompileImplementation ¶
func CompileImplementation(cdList []cdMap, CSVS [][]string, cat Catalog, components []component) implementation.Implementation
CompileImplementation compiles all checks from maps to implementation json
func CreateComponentConfiguration ¶
func CreateComponentConfiguration(guid uuid.UUID, componentConfName, narrative string) *implementation.ComponentConfiguration
CreateComponentConfiguration creates component configuration
func CreateComponentDefinition ¶
func CreateComponentDefinition(gm guidMap, cdm cdMap, componentConfName string, c Catalog, control, narrative, guid string, cdID string, parameterID, parameterString string)
CreateComponentDefinition creates a component definition
func GenerateImplementation ¶
func GenerateImplementation(CSVS [][]string, c Catalog) implementation.Implementation
GenerateImplementation generates implementation from component excel sheet
func GenerateImplementationParameter ¶
func GenerateImplementationParameter(param catalog.Param, guidance []string) implementation.Parameter
GenerateImplementationParameter GenerateImplementationParameter
Types ¶
type Catalog ¶
type Catalog interface { GetControl(p string) string GetID() string // contains filtered or unexported methods }
Catalog catalog interface to determine control id pattern
type NISTCatalog ¶
type NISTCatalog struct {
ID string
}
NISTCatalog NIST80053 catalog
func (*NISTCatalog) GetControl ¶
func (*NISTCatalog) GetControl(p string) string
GetControl GetControl
Click to show internal directories.
Click to hide internal directories.