Documentation
¶
Index ¶
- Constants
- func BackMatterToMap(backMatter oscalTypes_1_1_2.BackMatter) map[string]types.Validation
- func GenerateAssessmentResults(findingMap map[string]oscalTypes_1_1_2.Finding, ...) (oscalTypes_1_1_2.AssessmentResults, error)
- func GenerateFindingsMap(findings []oscalTypes_1_1_2.Finding) map[string]oscalTypes_1_1_2.Finding
- func NewAssessmentResults(data []byte) (oscalTypes_1_1_2.AssessmentResults, error)
- func NewOscalComponentDefinition(data []byte) (oscalTypes_1_1_2.ComponentDefinition, error)
Constants ¶
View Source
const OSCAL_VERSION = "1.1.2"
Variables ¶
This section is empty.
Functions ¶
func BackMatterToMap ¶
func BackMatterToMap(backMatter oscalTypes_1_1_2.BackMatter) map[string]types.Validation
Map an array of resources to a map of UUID to validation object
func GenerateAssessmentResults ¶
func GenerateAssessmentResults(findingMap map[string]oscalTypes_1_1_2.Finding, observations []oscalTypes_1_1_2.Observation) (oscalTypes_1_1_2.AssessmentResults, error)
func GenerateFindingsMap ¶
func GenerateFindingsMap(findings []oscalTypes_1_1_2.Finding) map[string]oscalTypes_1_1_2.Finding
func NewAssessmentResults ¶
func NewAssessmentResults(data []byte) (oscalTypes_1_1_2.AssessmentResults, error)
func NewOscalComponentDefinition ¶
func NewOscalComponentDefinition(data []byte) (oscalTypes_1_1_2.ComponentDefinition, error)
NewOscalComponentDefinition consumes a byte array and returns a new single OscalComponentDefinitionModel object Standard use is to read a file from the filesystem and pass the []byte to this function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.