Documentation
¶
Index ¶
- Constants
- func BackMatterToMap(backMatter oscalTypes.BackMatter) map[string]types.Validation
- func GenerateAssessmentResults(findingMap map[string]oscalTypes.Finding, ...) (oscalTypes.AssessmentResults, error)
- func GenerateFindingsMap(findings []oscalTypes.Finding) map[string]oscalTypes.Finding
- func NewAssessmentResults(data []byte) (oscalTypes.AssessmentResults, error)
- func NewOscalComponentDefinition(data []byte) (oscalTypes.ComponentDefinition, error)
Constants ¶
View Source
const OSCAL_VERSION = "1.1.1"
Variables ¶
This section is empty.
Functions ¶
func BackMatterToMap ¶
func BackMatterToMap(backMatter oscalTypes.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.Finding, observations []oscalTypes.Observation) (oscalTypes.AssessmentResults, error)
func GenerateFindingsMap ¶
func GenerateFindingsMap(findings []oscalTypes.Finding) map[string]oscalTypes.Finding
func NewAssessmentResults ¶
func NewAssessmentResults(data []byte) (oscalTypes.AssessmentResults, error)
func NewOscalComponentDefinition ¶
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.