Skip to content

Commit 1ab139a

Browse files
committed
refactor(osv): remove Advisory.DatabaseSpecific field
1 parent 1d9e91c commit 1ab139a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pkg/vulnsrc/osv/osv.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ type Advisory struct {
4444
CVSSVectorV3 string
4545
Modified time.Time
4646
Published time.Time
47-
48-
// From affected[].database_specific
49-
DatabaseSpecific json.RawMessage
5047
}
5148

5249
type OSV struct {
@@ -259,7 +256,6 @@ func (o OSV) parseAffected(entry Entry, vulnIDs, aliases, references []string) (
259256
CVSSScoreV3: cvssScoreV3,
260257
Modified: entry.Modified,
261258
Published: entry.Published,
262-
DatabaseSpecific: affected.DatabaseSpecific,
263259
}
264260
}
265261

0 commit comments

Comments
 (0)