Documentation
¶
Index ¶
- type Option
- type Validator
- func (v *Validator) ValidateOnCompDef(ctx context.Context, compDef *oscalTypes_1_1_2.ComponentDefinition, ...) (results []oscalTypes_1_1_2.Result, err error)
- func (v *Validator) ValidateOnControlImplementations(ctx context.Context, ...) (map[string]oscalTypes_1_1_2.Finding, []oscalTypes_1_1_2.Observation, error)
- func (v *Validator) ValidateOnPath(ctx context.Context, path, target string) (assessmentResult *oscalTypes_1_1_2.AssessmentResults, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func WithAllowExecution ¶
func WithComposition ¶
func WithComposition(composer *composition.Composer, path string) Option
func WithResourcesDir ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) ValidateOnCompDef ¶
func (v *Validator) ValidateOnCompDef(ctx context.Context, compDef *oscalTypes_1_1_2.ComponentDefinition, target string) (results []oscalTypes_1_1_2.Result, err error)
func (*Validator) ValidateOnControlImplementations ¶
func (v *Validator) ValidateOnControlImplementations(ctx context.Context, 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 (*Validator) ValidateOnPath ¶
func (v *Validator) ValidateOnPath(ctx context.Context, path, target string) (assessmentResult *oscalTypes_1_1_2.AssessmentResults, err error)
Click to show internal directories.
Click to hide internal directories.