model

package
v0.0.0-...-b6fc690 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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 VulnerabilitiesResponse

type VulnerabilitiesResponse struct {
	Vulnerabilities []VulnerableIngredientsFilter `json:"vulnerabilities"`
}

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