basic

package
v0.0.0-...-ebe1833 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ID = mapper.NewID("basic")
)

Functions

This section is empty.

Types

type ControlData

type ControlData struct {
	Mappings []layer2.Mapping
	Category string
}

ControlData represents control information including mappings and category

type Mapper

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

func NewBasicMapper

func NewBasicMapper() *Mapper

func (*Mapper) AddEvaluationPlan

func (m *Mapper) AddEvaluationPlan(catalogId string, plans ...layer4.AssessmentPlan)

func (*Mapper) Map

func (m *Mapper) Map(policy api.Policy, scope mapper.Scope) api.Compliance

Map returns static compliance metadata for a policy rule

func (*Mapper) PluginName

func (m *Mapper) PluginName() mapper.ID

type ProcedureInfo

type ProcedureInfo struct {
	ControlID     string
	RequirementID string
	Documentation string
}

ProcedureInfo represents information about a procedure including its control and requirement IDs

Jump to

Keyboard shortcuts

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