Documentation
¶
Index ¶
- type Service
- func (s *Service) EvaluateOccurrence(ctx context.Context, upserted vulnerabilityoccurrence.UpsertResult) error
- func (s *Service) SetActionStore(actions ports.VulnerabilityActionStore)
- func (s *Service) SetRollout(policy *vulnerabilityrollout.Policy)
- func (s *Service) SetSLAAssessor(assessor ports.SLAAssessor)
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 NewService ¶
func NewService(advisories ports.AdvisoryMaterializer, assessments ports.VulnerabilityRiskAssessmentStore, projection *vulnerabilityprojection.Service, clock ports.Clock) (*Service, error)
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) 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.
Click to show internal directories.
Click to hide internal directories.