types

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NancyAdvisories

type NancyAdvisories struct {
	Coordinates     string                  `json:"Coordinates"`
	Reference       string                  `json:"Reference"`
	Vulnerabilities []*NancyVulnerabilities `json:"Vulnerabilities"`
}

NancyAdvisories represents a nancy advisory section that we care about.

type NancyOut

type NancyOut struct {
	Vulnerable    []NancyAdvisories `json:"vulnerable"`
	Audited       []interface{}
	Exclusions    []interface{}
	Invalid       []interface{}
	NumAudited    int
	NumVulnerable int
	Version       string
}

NancyOut represents the output of a nancy run that we care about.

type NancyVulnerabilities

type NancyVulnerabilities struct {
	ID          string `json:"Id"`
	Title       string `json:"Title"`
	Description string `json:"Description"`
	CvssScore   string `json:"CvssScore"`
	CvssVector  string `json:"CvssVector"`
	Cve         string `json:"Cve"`
	Cwe         string `json:"Cwe"`
	Reference   string `json:"Reference"`
}

NancyVulnerabilities represents a nancy vulnerability.

Jump to

Keyboard shortcuts

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