Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶
type Advisory struct { Gem string Cve string Osvdb string Ghsa string Title string Url string Description string CvssV2 float64 `yaml:"cvss_v2"` CvssV3 float64 `yaml:"cvss_v3"` PatchedVersions []string `yaml:"patched_versions"` UnaffectedVersions []string `yaml:"unaffected_versions"` Related Related }
type AdvisoryDB ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner() *Scanner
func (*Scanner) Detect ¶
func (s *Scanner) Detect(pkgName string, pkgVer *version.Version) ([]vulnerability.DetectedVulnerability, error)
func (*Scanner) ParseLockfile ¶
Click to show internal directories.
Click to hide internal directories.