Documentation ¶
Index ¶
- Constants
- func BackMatterToMap(backMatter oscalTypes_1_1_2.BackMatter) (resourceMap map[string]string)
- 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) (componentDefinition oscalTypes_1_1_2.ComponentDefinition, err 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) (resourceMap map[string]string)
Returns a map of the uuid - description of the back-matter resources
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) (componentDefinition oscalTypes_1_1_2.ComponentDefinition, err 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.