vulnerabilityprojection

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	TenantID     shared.ID
	EngagementID shared.ID
	Occurrence   vulnerabilityoccurrence.Occurrence
	Assessment   vulnerabilityrisk.Assessment
	Title        string
	Description  string
	Sources      []string
	Confidence   string
	Now          time.Time
}

type Service

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

func NewService

func NewService(findings ports.FindingRepository) (*Service, error)

func (*Service) Project

func (s *Service) Project(ctx context.Context, request Request) (finding.Finding, error)

func (*Service) SetWorkflowSources added in v0.2.0

func (s *Service) SetWorkflowSources(occurrences ports.VulnerabilityOccurrenceStore, assessments ports.VulnerabilityRiskAssessmentStore)

Jump to

Keyboard shortcuts

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