model

package
v0.0.0-...-41e44c1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SeverityCritical = "critical"
	SeverityHigh     = "high"
	SeverityMedium   = "medium"
	SeverityLow      = "low"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Vulnerability

type Vulnerability struct {
	Severity      string `json:"severity"`
	CVEIdentifier string `json:"cve_identifier"`
	Source        string `json:"source"`
}

type VulnerableIngredientsFilter

type VulnerableIngredientsFilter struct {
	Name             string        `json:"name"`
	PrimaryNamespace string        `json:"primary_namespace"`
	Version          string        `json:"version"`
	Vulnerability    Vulnerability `json:"vulnerability"`
	VulnerabilityID  int64         `json:"vulnerability_id"`
}

Jump to

Keyboard shortcuts

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