Documentation
¶
Index ¶
- Variables
- func ValidateCommand() *cobra.Command
- func ValidateOnCompDef(compDef *oscalTypes_1_1_2.ComponentDefinition, target string) (results []oscalTypes_1_1_2.Result, err error)
- func ValidateOnControlImplementations(controlImplementations *[]oscalTypes_1_1_2.ControlImplementationSet, ...) (map[string]oscalTypes_1_1_2.Finding, []oscalTypes_1_1_2.Observation, error)
- func ValidateOnPath(path string, target string) (assessmentResult *oscalTypes_1_1_2.AssessmentResults, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfirmExecution bool // --confirm-execution
View Source
var RunNonInteractively bool // --non-interactive
Functions ¶
func ValidateCommand ¶
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.
Click to show internal directories.
Click to hide internal directories.