Kate Murphy
081ae34af1
ext: remove duplicate vectorValuesToLetters definition
6 years ago
Kate Murphy
4f0da12b12
ext: pass through CVSSv3 impact and exploitability score
6 years ago
Jimmy Zelinskie
8efc3e4038
ext: remove unneeded use of init()
6 years ago
Jimmy Zelinskie
699d1143e5
ext: fixup incorrect copyright year
6 years ago
Kate Murphy
b81e4454fb
ext: Parse CVSSv3 data from JSON NVD feed
6 years ago
Kate Murphy
14277a8f5d
ext: Add JSON NVD parsing tests
6 years ago
Kate Murphy
aab46f5658
ext: Parse NVD JSON feed instead of XML
...
The JSON feed provides some values that are not available in the XML
feed such as CVSSv3.
6 years ago
Jean Michel MacKay
30848d9eb7
Fixed extra newline
6 years ago
Jean Michel MacKay
56b4f23ae2
Move downloadFeed out to a seperate function
6 years ago
Jean Michel MacKay
f34f94320a
Embed nvd's downloading and storing of meta data into a function to help with resource management
6 years ago
Jean Michel MacKay
3959f416fa
Fix up error and changing close to defer close
6 years ago
Jean Michel MacKay
49cbdd7a7c
Using httputil for NVD
...
nvd was missed when moving to httputil, this fixes it
6 years ago
Jimmy Zelinskie
ce6b00887b
vulnmdsrc: update NVD URLs
...
This connects us via a domain hosted on AWS which should provide
performance benefits for users running Clair on AWS and alleviate load
from the NIST campus network.
Fixes #575 .
6 years ago
Jimmy Zelinskie
f32f438a98
Merge branch 'master' into nvdupdates
6 years ago
honglichang(常红立)
0d5f300c5b
fix nvd path
...
1. stop clair, not del nvd xml
6 years ago
ErikThoreson
df1dd5c149
adding publisher datetime and updating nvd feed download
6 years ago
Grégoire Unbekandt
e953a259b0
nvd: fix the name of a field
...
The xml's field "availability-impact" wasn't collected due to a typo.
7 years ago
Sida Chen
9306e99368
converted to structured logging by using logrus
...
changed from capnslog to logrus for logging JSON structured message.
finished issue #383
8 years ago
Jimmy Zelinskie
9c63a63944
clair: mv updater clair and mv severity to db
8 years ago
Jimmy Zelinskie
343e24eb7e
clair: remove `types` package
...
This removes the `types` package instead moving the contents to the
top-level clair package.
This change also renames the `Priority` type to `Severity` in order to
reduce confusion.
This change also removes the IsValid method and replaces it with a safe
constructor to avoid the creation of invalid values.
Many docstrings were tweaked in the making of this commit.
8 years ago
Jimmy Zelinskie
78cef02fda
pkg: cerrors -> commonerr
8 years ago
Jimmy Zelinskie
4a990372ff
refactor: move updaters and notifier into ext
8 years ago