validate

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfirmExecution bool // --confirm-execution
View Source
var RunNonInteractively bool // --non-interactive

Functions

func ValidateCommand

func ValidateCommand() *cobra.Command

func ValidateOnCompDef

ValidateOnCompDef takes a single ComponentDefinition object It will perform a validation and add data to a referenced report object

func ValidateOnPath

func ValidateOnPath(path string) (findingMap map[string]oscalTypes_1_1_2.Finding, observations []oscalTypes_1_1_2.Observation, err error)

ValidateOnPath takes 1 -> N paths to OSCAL component-definition files It will then read those files to perform validation and return an ResultObject

func WriteReport

func WriteReport(report oscalTypes_1_1_2.AssessmentResults, assessmentFilePath string) error

This is the OSCAL document generation for final output. This should include some ability to consolidate controls met in multiple input documents under single control entries This should include fields that reference the source of the control to the original document ingested TODO: This is unused - remove?

Types

This section is empty.

Jump to

Keyboard shortcuts

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