impl

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2020 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (*NISTCatalog) GetID

func (n *NISTCatalog) GetID() string

GetID returns the NIST catalogID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL