Skip to content

Commit

Permalink
🧹 Do not query the sources for scans (#3114)
Browse files Browse the repository at this point in the history
We do not need to query the sources for advisories and CVEs as we do not use the data.

Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker authored Jan 24, 2024
1 parent 15daa40 commit 6231926
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions providers-sdk/v1/upstream/gql/vulnmgmt_gql.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,7 @@ type ReportStats struct {
}

type Cve struct {
Id string
Source struct {
Id string
Name string
Url string
}
Id string
Title string
Description string
Summary string
Expand All @@ -105,12 +100,7 @@ type Cve struct {
}

type Advisory struct {
Id string
Source struct {
Id string
Name string
Url string
}
Id string
Title string
Description string

Expand Down

0 comments on commit 6231926

Please sign in to comment.