domain

package
v0.0.0-...-b180f38 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceState

type ComplianceState struct {
	Score           float64
	LastAssessed    time.Time
	ControlsStatus  map[string]ControlStatus
	RiskLevel       RiskLevel
	Recommendations []string
}

type ControlStatus

type ControlStatus struct {
	Implemented    bool
	EffectiveScore float64
	LastTested     time.Time
	Findings       []Finding
}

type DomainChecker

type DomainChecker interface {
	// Check performs the domain-specific validation
	Check(ctx context.Context, config *proto.ValidationConfig) ([]Finding, error)

	// ValidateControls ensures all required security controls are in place
	ValidateControls(ctx context.Context) error

	// AssessCompliance evaluates compliance with domain requirements
	AssessCompliance(ctx context.Context) (*ComplianceState, error)

	// GenerateReport creates a detailed report of the domain's compliance status
	GenerateReport(ctx context.Context) (*DomainReport, error)
}

DomainChecker defines the interface that all CISSP domain checkers must implement

type RiskLevel

type RiskLevel string
const (
	RiskLevelLow      RiskLevel = "LOW"
	RiskLevelMedium   RiskLevel = "MEDIUM"
	RiskLevelHigh     RiskLevel = "HIGH"
	RiskLevelCritical RiskLevel = "CRITICAL"
)

Jump to

Keyboard shortcuts

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