oscal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func NewOscalComponentDefinition(data []byte) (oscalTypes.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.

Jump to

Keyboard shortcuts

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