Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewModel ¶
type ViewModel struct { PrimaryVulnerability models.VulnerabilityMetadata RelatedVulnerabilities []models.VulnerabilityMetadata MatchedPackages []*explainedPackage // I think this needs a map of artifacts to explained evidence URLs []string }
type VulnerabilityExplainer ¶
type VulnerabilityExplainer interface { ExplainByID(IDs []string) error ExplainBySeverity(severity string) error ExplainAll() error }
func NewVulnerabilityExplainer ¶
func NewVulnerabilityExplainer(w io.Writer, doc *models.Document) VulnerabilityExplainer
Click to show internal directories.
Click to hide internal directories.