types

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 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 Out

type Out struct {
	Vulnerabilities []Vulnerability `json:"vulnerabilities"`
}

Out represents the json output of a pip safety run.

type Vulnerability

type Vulnerability struct {
	// Vulnerability_id                               string
	PackageName                                string   `json:"package_name"`
	VulnerableSpec                             []string `json:"vulnerable_spec"`
	AllVulnerableSpecs                         []string `json:"all_vulnerable_specs"`
	AnalyzedVersion                            string   `json:"analyzed_version"`
	Advisory                                   string   `json:"advisory"`
	PublishedDate                              string   `json:"published_date"`
	FixedVersions                              []string `json:"fixed_versions"`
	ClosestVersionsWithoutKnownVulnerabilities []string `json:"closest_version_without_known_vulnerabilities"`
	Resources                                  []string `json:"resources"`
	CVE                                        string   `json:"cve"`
	Severity                                   string   `json:"severity"`
	AffectedVersions                           []string `json:"affected_versions"`
	MoreInfoURL                                string   `json:"more_info_url"`
}

Vulnerability describes a pip safety vulnerability entry.

Jump to

Keyboard shortcuts

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