requirementstore

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequirementStore

type RequirementStore struct {
	// contains filtered or unexported fields
}

func NewRequirementStore

func NewRequirementStore(controlImplementations *[]oscalTypes.ControlImplementationSet) *RequirementStore

NewRequirementStore creates a new requirement store from component defintion

func (*RequirementStore) GenerateFindings

func (r *RequirementStore) GenerateFindings(validationStore *validationstore.ValidationStore) map[string]oscalTypes.Finding

GenerateFindings generates the findings in the store

func (*RequirementStore) GetStats

func (r *RequirementStore) GetStats(validationStore *validationstore.ValidationStore) Stats

GetStats returns the stats of the store

func (*RequirementStore) ResolveLulaValidations

func (r *RequirementStore) ResolveLulaValidations(validationStore *validationstore.ValidationStore)

ResolveLulaValidations resolves the linked Lula validations with the requirements and populates the ValidationStore.validationMap

type Stats

type Stats struct {
	TotalRequirements        int
	TotalValidations         int
	ExecutableValidations    bool
	ExecutableValidationsMsg string
	TotalFindings            int
}

Jump to

Keyboard shortcuts

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