Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsightsVulnerabilitySeverityToModelSeverity ¶
func InsightsVulnerabilitySeverityToModelSeverity(sev *InsightsVulnerabilitySeverity) (*models.InsightVulnerabilitySeverity, error)
Types ¶
type InsightsVulnerabilitySeverity ¶
type InsightsVulnerabilitySeverity struct { Risk *insightapi.PackageVulnerabilitySeveritiesRisk `json:"risk,omitempty"` Score *string `json:"score,omitempty"` Type *insightapi.PackageVulnerabilitySeveritiesType `json:"type,omitempty"` }
Unpacked vulnerability severity declaration as per Insights API for conversion to modelspec
Click to show internal directories.
Click to hide internal directories.