Quentin Machu
5fdd9d1a07
*: add metadata support along with NVD CVSS
2016-02-24 16:36:45 -05:00
Quentin Machu
431c0ccb03
updater: add a clean function to fetchers
2016-02-24 16:36:45 -05:00
Quentin Machu
3ecb8b69cb
updater: ignore "ubuntu-core" in the Ubuntu fetcher
2016-02-24 16:34:54 -05:00
Quentin Machu
4bdbd5e6db
*: fix several tests
2016-02-24 16:34:54 -05:00
Quentin Machu
8e852348a1
updater: ensure that ubuntu's notes are unique
2016-02-24 16:34:54 -05:00
Quentin Machu
baed60e19b
prometheus: add initial Prometheus support
2016-02-24 16:34:54 -05:00
Quentin Machu
b8b7be3f81
*: remove health checker
2016-02-24 16:34:54 -05:00
Quentin Machu
99de759224
updater: namespace and split Ubuntu/RHEL vulnerabilities
2016-02-24 16:34:54 -05:00
Quentin Machu
82175dcfe9
*: add missing copyright headers
2016-02-24 16:34:54 -05:00
Quentin Machu
85fa3f9a38
updater/worker: adapt several tests
2016-02-24 16:34:54 -05:00
Quentin Machu
847c649288
updater: update RHEL fetcher and add not-affected capability
2016-02-24 16:34:54 -05:00
Quentin Machu
ea59b0e45f
updater: update Ubuntu fetcher and add not-affected capability
2016-02-24 16:34:54 -05:00
Quentin Machu
7e72eb10b6
updater: ignore Debian's "temp" vulnerabilities
2016-02-24 16:34:54 -05:00
Quentin Machu
77387af2ac
updater: port updater and its fetchers
2016-02-24 16:34:54 -05:00
Quentin Machu
452f7018ec
updater: move each fetcher to its own package
2016-02-24 16:32:21 -05:00
Quentin Machu
3a786ae020
database: add lock support
2016-02-24 16:32:21 -05:00
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
2016-02-24 16:32:21 -05:00
Stephane Jourdan
e91365f4b3
updater: fix typos
2016-02-23 18:07:41 +01:00
Quentin Machu
712aa11b8b
updater: Add support for Ubuntu Vivid Core and ignore Vivid PhoneOverlay
...
Reacts to https://bazaar.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master/revision/10488
2016-01-25 13:04:39 -05:00
Quentin Machu
c055c33cf8
updater: Fix Ubuntu's partial update bug.
...
Deferring file closing causes `too many open files` (exceeding fs.file-max) on some platforms!
2015-12-16 15:42:32 -05:00
Lei Jitang
cd1106dcdc
fix type ctrl^C not stop updating
...
when clair has network problem during updating vulnerability and failed
to update vulnerability, it will keep updating and even if type ctrl^C
can't stop the clair. This patch make clair to stop updating if type
ctrl^C.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2015-12-14 00:48:01 -05:00
Quentin Machu
eb7e5d5c74
main: Use configuration file instead of flags and simplify app extension.
...
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.
Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
a7b683d4ba
updater: Refactor and merge fetcher responses
...
Fixes #17 and lays the groundwork for #19 .
2015-12-01 16:18:45 -05:00
Jimmy Zelinskie
bf7e1a52f2
stop reporting failures as successful updates
...
Fixes #20 .
2015-11-20 15:36:34 -05:00
Quentin Machu
2452a8fc48
updater: Always use bzr revno
to get Ubuntu db's revision number.
...
Fixes #7
2015-11-16 18:33:39 -05:00
Quentin Machu
3ec262dd51
Initial commit
2015-11-13 14:11:28 -05:00