Versions in this module Expand all Collapse all v0 v0.0.1 Oct 28, 2023 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 + Description string + Ecosystem types.Ecosystem + PatchedVersions []string + PkgName string + References []string + Severity types.Severity + Title string + VulnerabilityID string + VulnerableVersions []string + type Affected struct + 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 MockTransformer struct + func (_m *MockTransformer) ApplyTransformAdvisoriesExpectation(e TransformerTransformAdvisoriesExpectation) + func (_m *MockTransformer) ApplyTransformAdvisoriesExpectations(expectations []TransformerTransformAdvisoriesExpectation) + func (_m *MockTransformer) TransformAdvisories(_a0 []Advisory, _a1 Entry) ([]Advisory, error) + type MockVersionRange struct + func (_m *MockVersionRange) ApplyContainsExpectation(e VersionRangeContainsExpectation) + func (_m *MockVersionRange) ApplyContainsExpectations(expectations []VersionRangeContainsExpectation) + func (_m *MockVersionRange) ApplySetFixedExpectation(e VersionRangeSetFixedExpectation) + func (_m *MockVersionRange) ApplySetFixedExpectations(expectations []VersionRangeSetFixedExpectation) + func (_m *MockVersionRange) ApplySetLastAffectedExpectation(e VersionRangeSetLastAffectedExpectation) + func (_m *MockVersionRange) ApplySetLastAffectedExpectations(expectations []VersionRangeSetLastAffectedExpectation) + func (_m *MockVersionRange) ApplyStringExpectation(e VersionRangeStringExpectation) + func (_m *MockVersionRange) ApplyStringExpectations(expectations []VersionRangeStringExpectation) + func (_m *MockVersionRange) Contains(ver string) (bool, error) + func (_m *MockVersionRange) SetFixed(fixed string) + func (_m *MockVersionRange) SetLastAffected(lastAffected string) + func (_m *MockVersionRange) 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 TransformerTransformAdvisoriesArgs struct + type TransformerTransformAdvisoriesExpectation struct + Args TransformerTransformAdvisoriesArgs + Returns TransformerTransformAdvisoriesReturns + type TransformerTransformAdvisoriesReturns struct + 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 + type VersionRangeContainsArgs struct + Ver string + VerAnything bool + type VersionRangeContainsExpectation struct + Args VersionRangeContainsArgs + Returns VersionRangeContainsReturns + type VersionRangeContainsReturns struct + type VersionRangeSetFixedArgs struct + Fixed string + FixedAnything bool + type VersionRangeSetFixedExpectation struct + Args VersionRangeSetFixedArgs + type VersionRangeSetLastAffectedArgs struct + LastAffected string + LastAffectedAnything bool + type VersionRangeSetLastAffectedExpectation struct + Args VersionRangeSetLastAffectedArgs + type VersionRangeStringExpectation struct + Returns VersionRangeStringReturns + type VersionRangeStringReturns struct