vulnerabilityevaluation

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func (*Service) EvaluateOccurrence

func (s *Service) EvaluateOccurrence(ctx context.Context, upserted vulnerabilityoccurrence.UpsertResult) error

func (*Service) SetActionStore

func (s *Service) SetActionStore(actions ports.VulnerabilityActionStore)

func (*Service) SetReachabilityReader added in v0.2.0

func (s *Service) SetReachabilityReader(r reachabilityVerdictReader)

SetReachabilityReader wires the reachability-judgment reader so the SLA reassessment folds a publishable reachability verdict into the urgency score. When unset, the reachability input stays neutral (Unknown).

func (*Service) SetRollout

func (s *Service) SetRollout(policy *vulnerabilityrollout.Policy)

func (*Service) SetSLAAssessor

func (s *Service) SetSLAAssessor(assessor ports.SLAAssessor)

SetSLAAssessor wires SLA reassessment to the continuous-intelligence projection boundary. Nil keeps the feature disabled. Machine refreshes advance only SLA assessment provenance; the SLA store guarantees they cannot overwrite a human remediation/acceptance state.

Jump to

Keyboard shortcuts

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