Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageDetailsWithVulnerabilities ¶
type PackageDetailsWithVulnerabilities struct { internal.PackageDetails Vulnerabilities database.Vulnerabilities `json:"vulnerabilities"` Ignored database.Vulnerabilities `json:"ignored"` }
type Report ¶
type Report struct { lockfile.Lockfile // Packages is a map of packages and any vulnerabilities that they're affected by Packages []PackageDetailsWithVulnerabilities `json:"packages"` }
func (Report) HasIgnoredVulnerabilities ¶
func (Report) HasKnownVulnerabilities ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func (*Reporter) PrintDatabaseLoadErr ¶
func (*Reporter) PrintError ¶
PrintError writes the given message to stderr, regardless of if the reporter is outputting as JSON or not
func (*Reporter) PrintJSONResults ¶
func (r *Reporter) PrintJSONResults()
PrintJSONResults prints any results that this reporter has collected to stdout as JSON.
func (*Reporter) PrintKnownEcosystems ¶
func (r *Reporter) PrintKnownEcosystems()
func (*Reporter) PrintResult ¶
Click to show internal directories.
Click to hide internal directories.