diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-04-20 13:26:21 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-04-20 13:26:21 +0200 |
commit | eb3710c2671246889b8d45b752cb251c02349aad (patch) | |
tree | ee0acd0d9afd8cc133c10122fa188788401c0b34 /pkg/models/cve/feed.go | |
parent | Correctly display the user name in comments (diff) | |
download | glsamaker-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/models/cve/feed.go')
-rw-r--r-- | pkg/models/cve/feed.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/models/cve/feed.go b/pkg/models/cve/feed.go index 598c3ab..cad8c3a 100644 --- a/pkg/models/cve/feed.go +++ b/pkg/models/cve/feed.go @@ -59,6 +59,7 @@ type DefCveItem struct { LastModifiedDate string `json:"lastModifiedDate,omitempty"` PublishedDate string `json:"publishedDate,omitempty"` + ManuallyCreated bool `json:"-"` Comments []Comment `pg:",fk:cve_id"` Packages []gpackage.Package Bugs []bugzilla.Bug `pg:"many2many:def_cve_item_to_bugs,joinFK:bug_id"` |