aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-19 12:05:49 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-19 12:05:49 -0500
commitd4d9a43e49b5746a55af665078b24a6b92d7d8c4 (patch)
tree97eabd160256459b66cefc84aefbee10b4db7bee
parent9fc9685dc711003ee9fe74154c8717e73d801aa2 (diff)
downloadcvez-d4d9a43e49b5746a55af665078b24a6b92d7d8c4.tar.bz2
cvez-d4d9a43e49b5746a55af665078b24a6b92d7d8c4.zip
dbstore/dbstore.go: add all queries for AddCveFeed()
-rw-r--r--dbstore/dbstore.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/dbstore/dbstore.go b/dbstore/dbstore.go
index dae747d..6c4fb14 100644
--- a/dbstore/dbstore.go
+++ b/dbstore/dbstore.go
@@ -651,6 +651,15 @@ func (me DbStore) addFeed(ctx context.Context, tx Tx, feed nvd_feed.Feed) (int64
var addCveFeedQueryIds = []string {
"feed/insert",
"feed/insert-cve",
+ "feed/insert-cve-desc",
+ "feed/insert-cve-problem",
+ "feed/insert-cve-problem-desc",
+ "feed/insert-cve-ref",
+ "feed/insert-cve-ref-tag",
+ "feed/insert-desc",
+ "feed/insert-item",
+ "feed/insert-item-cvss-v2",
+ "feed/insert-item-cvss-v3",
}
// Add CVE feed.