Versions in this module Expand all Collapse all v0 v0.0.8 May 27, 2024 v0.0.1 May 27, 2024 Changes in this version + const EcosystemCrates + const EcosystemGo + const EcosystemMaven + const EcosystemNpm + const EcosystemNuGet + const EcosystemPackagist + const EcosystemPyPI + const EcosystemRubygems + const RangeTypeGit + type Advisory struct + Aliases []string + CVSSScoreV3 float64 + CVSSVectorV3 string + DatabaseSpecific json.RawMessage + Description string + Ecosystem types.Ecosystem + PatchedVersions []string + PkgName string + References []string + Severity types.Severity + Title string + VulnerabilityID string + VulnerableVersions []string + type Affected struct + DatabaseSpecific json.RawMessage + EcosystemSpecific EcosystemSpecific + Package Package + Ranges []Range + Severities []Severity + Versions []string + type Credit struct + Name string + type DefaultVersionRange struct + func (r *DefaultVersionRange) Contains(ver string) (bool, error) + func (r DefaultVersionRange) SetFixed(fixed string) + func (r DefaultVersionRange) SetLastAffected(lastAffected string) + func (r DefaultVersionRange) String() string + type Ecosystem string + type EcosystemSpecific struct + Imports []Import + type Entry struct + Affected []Affected + Aliases []string + Credits []Credit + DatabaseSpecific json.RawMessage + Details string + ID string + Modified time.Time + Published time.Time + References []Reference + SchemaVersion string + Severities []Severity + Summary string + Withdrawn *time.Time + type Import struct + GOARCH []string + GOOS []string + Path string + Symbols []string + type MavenVersionRange struct + func (r *MavenVersionRange) Contains(ver string) (bool, error) + func (r MavenVersionRange) SetFixed(fixed string) + func (r MavenVersionRange) SetLastAffected(lastAffected string) + func (r MavenVersionRange) String() string + type NpmVersionRange struct + func (r *NpmVersionRange) Contains(ver string) (bool, error) + func (r NpmVersionRange) SetFixed(fixed string) + func (r NpmVersionRange) SetLastAffected(lastAffected string) + func (r NpmVersionRange) String() string + type OSV struct + func New(dir string, sourceID types.SourceID, ...) OSV + func (o OSV) Name() types.SourceID + func (o OSV) Update(root string) error + type Package struct + Ecosystem Ecosystem + Name string + type PyPIVersionRange struct + func (r *PyPIVersionRange) Contains(ver string) (bool, error) + func (r PyPIVersionRange) SetFixed(fixed string) + func (r PyPIVersionRange) SetLastAffected(lastAffected string) + func (r PyPIVersionRange) String() string + type Range struct + Events []RangeEvent + Type RangeType + type RangeEvent struct + Fixed string + Introduced string + LastAffected string + type RangeType string + type Reference struct + Type ReferenceType + URL string + type ReferenceType string + type RubyGemsVersionRange struct + func (r *RubyGemsVersionRange) Contains(ver string) (bool, error) + func (r RubyGemsVersionRange) SetFixed(fixed string) + func (r RubyGemsVersionRange) SetLastAffected(lastAffected string) + func (r RubyGemsVersionRange) String() string + type SemVerRange struct + func (r *SemVerRange) Contains(ver string) (bool, error) + func (r SemVerRange) SetFixed(fixed string) + func (r SemVerRange) SetLastAffected(lastAffected string) + func (r SemVerRange) String() string + type Severity struct + Score string + Type string + type Transformer interface + TransformAdvisories func([]Advisory, Entry) ([]Advisory, error) + type VersionRange interface + Contains func(ver string) (bool, error) + SetFixed func(fixed string) + SetLastAffected func(lastAffected string) + String func() string + func NewVersionRange(ecosystem Ecosystem, from string) VersionRange