Quentin Machu
e650eab638
Merge pull request #65 from jzelinskie/fixdockerfile
...
dockerfile: syntax updates and s/xz/xz-utils
9 years ago
Jimmy Zelinskie
ea193d3ae7
dockerfile: syntax updates and s/xz/xz-utils
...
This fixes the automated build on Quay.io.
9 years ago
Quentin Machu
e834301941
Merge pull request #49 from liangchenye/master
...
Add DataDetector to support ACI and other layout format
9 years ago
Quentin Machu
4dc9ea39dd
Merge pull request #59 from davidxia/patch1
...
Fix typo in doc
9 years ago
David Xia
f2009513d5
Fix typo in doc
9 years ago
Quentin Machu
11475beb2c
Merge pull request #52 from Quentin-M/custom_notifiers
...
Custom notifiers
9 years ago
Quentin Machu
f4a4d417e7
notifier: Rename HTTP to Webhook Notifier
9 years ago
Quentin Machu
2ea86c53f3
notifier: fix a bug that prevented graceful shutdown in certain cases
...
- The notifier was never checking if it should shutdown if there were always at least one notification to send
- After a failure, the notifier is supposed to back-off, but when Clair is stopping, the backoff was interrupted immediately and did not retry. Instead it selected a new notification to send (most likely: the same one) and looped quickly/weirdly.
9 years ago
Quentin Machu
480589a83a
notifier: retry upon failure
9 years ago
Quentin Machu
3ff8bfaa93
notifier: Allow custom notifiers to be registered.
9 years ago
Quentin Machu
7ee1481e92
Merge pull request #53 from coreos/ubdater
...
updater: Fix Ubuntu's partial update bug.
9 years ago
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!
9 years ago
Quentin Machu
510b901da6
Merge pull request #46 from coreos/fix_sql_tovalue
...
database: Fix incorrect behavior of toValue when reading empty strings.
9 years ago
Quentin Machu
8c1d3c9a86
*: Fix `authentification` typo
9 years ago
Liang Chenye
4b11491067
add ImageFormat to worker_test and programs under contrib
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
9 years ago
Liang Chenye
41509ccd3e
add imageFormt to API.md; add xz to Dockerfile; fix bugs
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
32747a5f25
database: Don't ignore empty results in toValue(s)()
...
There is apparently no reason to ignore empty results - it was probably the case in the past (`null` value).
["", "v"] should be considered invalid by toValue() because it represents two values.
["", "v"] should be returned as it by toValues(), not trimming "".
Tests passes, it will hopefully not cause any issue in prod.
9 years ago
Quentin Machu
172693b604
Merge pull request #47 from coreos/sn
...
notifier: add ServerName configuration for TLS
9 years ago
Jimmy Zelinskie
34870a2a2b
move LoadTLSClientConfigForServer into API package
...
This isn't reused any where just yet, so we're best off leaving it local
to the place that needs it.
9 years ago
Jimmy Zelinskie
b3828c9c4c
notifier: add ServerName configuration for TLS
9 years ago
liangchenye
8b649af666
detect bzip2/xz; add test data
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
liangchenye
354c4b3672
always trim './'
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
d3ebc3df33
Merge pull request #51 from coolljt0725/update_analyze_local_image_doc
...
Update README.md of analyze_local_image
9 years ago
Lei Jitang
5f876d20a6
Update README.md of analyze_local_image
...
The latest Clair use config file for configuration, the command line to
run Clair instance is outdate in the README.md
Signed-off-by: Lei Jitang <leijitang@huawei.com>
9 years ago
Quentin Machu
231e16a72f
Merge pull request #50 from coolljt0725/fix_stop
...
updater: fix type ctrl^C not stop updating
9 years ago
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>
9 years ago
liangchenye
d402ae818e
use imageFormat in params for consistence
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
9f0ed4dcfb
Merge pull request #44 from Quentin-M/configfile
...
main: Use configuration file instead of flags and simplify app extension
9 years ago
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.
9 years ago
Quentin Machu
ec0decfcaf
docs: fix a typo in the model
...
Fixes #43
9 years ago
Quentin Machu
a4dcd3c13a
Merge pull request #42 from Quentin-M/triple
...
database: Update cayley and use Triple instead of Quad
9 years ago
Quentin Machu
3fe3f3a4c7
database: Update cayley and use Triple instead of Quad
9 years ago
Quentin Machu
941a10cc2b
Merge pull request #35 from mrqwer88/check_openvz_mirror_with_clair
...
add tool for check openvz mirrors with clair to contrib
9 years ago
Quentin Machu
d05a97a0a1
Merge pull request #29 from Quentin-M/notifier_tls
...
notifier: Refactor and add client certificate authentification support.
9 years ago
Quentin Machu
9946382223
api: Extracted client cert & HTTP JSON Render to utils.
9 years ago
Quentin Machu
20a126c84a
notifier: Refactor and add client certificate authentification support.
...
Fixes #23
9 years ago
Quentin Machu
f106b64bc4
Merge pull request #22 from Quentin-M/predcst
...
database: put missing predicates in consts and un-expose some of them
9 years ago
Quentin Machu
9fc29e291c
database: put missing predicates in consts and un-expose some of them
...
Fixes #16
9 years ago
Quentin Machu
1fefacfa63
Merge pull request #41 from coreos/travisfix
...
travis: disable install step
9 years ago
Jimmy Zelinskie
02d38843cb
travis: disable install step
9 years ago
Quentin Machu
46fffdfc81
Merge pull request #33 from Quentin-M/insertvulns
...
database: Improve InsertVulnerabilities.
9 years ago
Quentin Machu
15bc682f60
Merge pull request #36 from coreos/gc
...
api/database: Add the ability to delete layers
9 years ago
Quentin Machu
8285c567c8
database: Improve InsertVulnerabilities.
9 years ago
Quentin Machu
e444e93c97
api/database: Add the ability to delete layers
9 years ago
Jimmy Zelinskie
cadc182cc4
readme: add travis-ci badge
...
[ci skip]
9 years ago
Jimmy Zelinskie
1b55d387f6
travis: add missing rpm dependency
9 years ago
Quentin Machu
07268a7b5e
Merge pull request #39 from coreos/travis
...
travis: initial travis.yml
9 years ago
Quentin Machu
46f356e890
Merge pull request #37 from Quentin-M/updater_refactor
...
updater: Refactor and merge fetcher responses
9 years ago
Jimmy Zelinskie
5873ab892c
travis: initial travis.yml
9 years ago