Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶ added in v0.9.0
type Advisory struct {
// contains filtered or unexported fields
}
Advisory encapsulates composer.VulnSrc
func NewAdvisory ¶ added in v0.9.0
func NewAdvisory() *Advisory
NewAdvisory is the factory method of Advisory
func (*Advisory) DetectVulnerabilities ¶ added in v0.9.0
func (s *Advisory) DetectVulnerabilities(pkgName, pkgVer string) ([]types.DetectedVulnerability, error)
DetectVulnerabilities returns the vulnerabilities in a package
Click to show internal directories.
Click to hide internal directories.