validate

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 14 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

func ValidateOnCompDef(compDef *oscalTypes_1_1_2.ComponentDefinition, target string) (results []oscalTypes_1_1_2.Result, err error)

ValidateOnCompDef takes a single ComponentDefinition object It will perform a validation and return a slice of results that can be written to an assessment-results object

func ValidateOnControlImplementations added in v0.4.5

func ValidateOnControlImplementations(controlImplementations *[]oscalTypes_1_1_2.ControlImplementationSet, validationStore *validationstore.ValidationStore, target string) (map[string]oscalTypes_1_1_2.Finding, []oscalTypes_1_1_2.Observation, error)

func ValidateOnPath

func ValidateOnPath(path string, target string) (assessmentResult *oscalTypes_1_1_2.AssessmentResults, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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