summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-04-20 13:26:21 +0200
committerMax Magorsch <arzano@gentoo.org>2020-04-20 13:26:21 +0200
commiteb3710c2671246889b8d45b752cb251c02349aad (patch)
treeee0acd0d9afd8cc133c10122fa188788401c0b34 /pkg/cveimport
parentCorrectly display the user name in comments (diff)
downloadglsamaker-eb3710c2671246889b8d45b752cb251c02349aad.tar.gz
glsamaker-eb3710c2671246889b8d45b752cb251c02349aad.tar.bz2
glsamaker-eb3710c2671246889b8d45b752cb251c02349aad.zip
Add a page to manually enter a cve
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'pkg/cveimport')
-rw-r--r--pkg/cveimport/update.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/cveimport/update.go b/pkg/cveimport/update.go
index a15e447..8dcf454 100644
--- a/pkg/cveimport/update.go
+++ b/pkg/cveimport/update.go
@@ -82,6 +82,7 @@ func importCVEs(year string) {
}
}
cveitem.Description = description
+ cveitem.ManuallyCreated = false
_, err := connection.DB.Model(cveitem).OnConflict("(id) DO UPDATE").Insert()
if err != nil {