fields

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CVE

type CVE struct {
	Severity string `json:"severity"`
	Found    int    `json:"found"`
	Allowed  int    `json:"allowed"`
}

CVE abstracts the CVEs from any generic scan report

func (CVE) String

func (c CVE) String() string

String output for human eyes

func (CVE) Test

func (c CVE) Test() error

Test compares the thresholds to the number of findings

Jump to

Keyboard shortcuts

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