Commit Graph

331 Commits

Author SHA1 Message Date
Jimmy Zelinskie
fd586bb39e Merge pull request #229 from vbatts/redhatrelease_detector
Redhatrelease detector
2016-09-06 15:06:45 -04:00
Jimmy Zelinskie
8d974c75ae Merge pull request #236 from robszumski/doc-link
readme: add link to docs dir
2016-08-24 14:03:50 -04:00
Rob Szumski
f0f69bb7ad readme: clarify docs on github 2016-08-24 10:56:06 -07:00
Rob Szumski
bf3be2ef1f readme: add link to docs dir 2016-08-24 10:25:32 -07:00
Jimmy Zelinskie
e714ca0688 Merge pull request #235 from jzelinskie/doc-move
docs: move to standard Documentation dir
2016-08-24 12:11:15 -04:00
Jimmy Zelinskie
cb5ba4debf readme: link docs to coreos.com 2016-08-24 11:19:52 -04:00
Jimmy Zelinskie
dbef1f8bce docs: move to standard Documentation dir 2016-08-23 17:11:30 -04:00
Quentin Machu
643ddc0cb4 updater: enable fetching of RHEL 5 vulnerabilities (#217)
The RHEL updater currently ignores vulnerabilities for CentOS <= 5.
s the naming of the constant firstConsideredRHEL suggests it, it
should actually considers CentOS 5 and ignores CentOS < 5.

Fixes #215
2016-07-15 19:04:38 +02:00
Fabian Ruff
cc22bd284c Switch to https for ubuntu cve tracker
Fixes #168
2016-05-25 20:27:39 -04:00
Jimmy Zelinskie
da446b65d6 pgsql: use subquery to plan GetNotification query (#182)
This change enables the query planner to wait and sort the result set of
our query rather than attempting to re-use the layer table's index for
the ORDER BY clause. Because the result set is always small, this makes
queries that were previous tens of seconds, now tens of milliseconds.
2016-05-20 13:28:19 -04:00
Jimmy Zelinskie
be3d697dc4 pgsql: remove unnecessary join used in GetNotification (#179) 2016-05-20 13:28:13 -04:00
Jimmy Zelinskie
53e62577bc api/worker: s/Authorization/Headers (#167)
This allows clients to specify any HTTP headers that need to be used in
order to allow Clair to download a layer, rather than just the
Authorization header.
2016-05-05 13:48:10 -04:00
Jimmy Zelinskie
de96f09c1a Merge pull request #166 from jzelinskie/authlayer
api/worker: introduce optional authorization
2016-05-04 15:59:49 -04:00
Jimmy Zelinskie
9b5afc79ca api/worker: introduce optional authorization
This allows clients to specify the contents of the HTTP Authorization
header so that Clair can access protected resources.
2016-05-04 15:47:14 -04:00
Quentin Machu
01efa56929 Merge pull request #158 from Quentin-M/contrib_cleanup_signals
contrib: Catch signals to delete tmp folder in local-analyze-images
2016-04-26 17:35:50 -04:00
Quentin Machu
ff3c6eccc8 contrib: Catch signals to delete tmp folder in local-analyze-images
- Create the temporary folder earlier in the app (main instead of save)
- Catch SIGINT/SIGKILL signals to delete the temporary folder and exit
2016-04-25 16:38:17 -04:00
Jimmy Zelinskie
4246c5244b README: add master branch warning 2016-04-20 13:17:44 -04:00
Quentin Machu
51e4086298 *: Create a ROADMAP 2016-04-19 16:29:19 -04:00
Quentin Machu
d8c62e7c84 Merge pull request #143 from jzelinskie/travis
travis: test against Go 1.6
2016-04-19 12:25:14 -04:00
Quentin Machu
58fd619e32 Merge pull request #142 from jzelinskie/healthfix
api: WriteHeader on health endpoint
2016-04-19 12:22:54 -04:00
Jimmy Zelinskie
0423f976b7 travis: test against Go 1.6 2016-04-19 12:20:54 -04:00
Jimmy Zelinskie
7aa88690af api: WriteHeader on health endpoint
Fixes #141.
2016-04-19 12:17:13 -04:00
JG²
af2c688634 config: not properly loaded error (#140)
* config: not properly loaded error

When a wrong config file was used, it result in a panic.
Adding some check condition to validate the Unmarshaled configuration
before using it

fixes #134

* check if datasource is set

* move error locally instead of utils/errors
2016-04-18 13:11:44 -04:00
Quentin Machu
8d5a330acf Merge pull request #139 from coreos/webhook_proxy
Add proxy parameter to webhook notifier
2016-04-12 15:02:40 -04:00
Quentin Machu
927af43be0 notifier: Verify that the given webhook endpoint is an absolute URL 2016-04-12 14:30:30 -04:00
Quentin Machu
2fb815dc37 notifier: Add proxy parameter to webhook notifier 2016-04-12 14:30:25 -04:00
Quentin Machu
87f28fc3af Merge pull request #137 from coreos/fix_k8s
README: Fix Kubernetes instructions
2016-04-11 15:21:06 -04:00
Quentin Machu
4ab49ee0a0 README: Fix Kubernetes instructions 2016-04-11 13:51:20 -04:00
Quentin Machu
f0642bb47f Merge pull request #126 from harsha-y/master
utils: fix typo in errors.go
2016-03-26 01:12:51 -04:00
Harsha Yalamanchili
ed1a2b6ffd fix typo in errors.go 2016-03-25 16:40:26 -07:00
Jimmy Zelinskie
1a695231c6 Merge pull request #118 from coreos/cleanup_contrib
contrib: Use `return` instead of `os.Exit(1)` in analyze-local-images
2016-03-25 14:34:22 -04:00
Quentin Machu
21e7300903 Merge pull request #123 from coreos/contrib_fix_deadlink
contrib: Fix dead link from analyze-local-images' README
2016-03-25 13:07:22 -04:00
Quentin Machu
55e9c0d854 contrib: Fix dead link from analyze-local-images' README 2016-03-25 12:13:12 -04:00
Quentin Machu
1040dbbff9 contrib: Use return instead of os.Exit(1) in analyze-local-images
In order to cleanup properly the allocated resources (`defer`).

Fixes #117
2016-03-24 15:16:46 -04:00
Jimmy Zelinskie
74d1f7fdd3 Merge pull request #116 from BWITS/master
run clair container in background
2016-03-24 14:54:56 -04:00
Bill Wang
b6fc2c02f3 run clair container in background 2016-03-24 00:04:33 +11:00
Jimmy Zelinskie
2121e76f98 Merge pull request #110 from jzelinskie/config-fixes
misc config improvements
2016-03-18 17:27:20 -04:00
Jimmy Zelinskie
4f98de6d8a Merge pull request #111 from jzelinskie/dockerfile-update
dockerfile: update deps and move to Go 1.6
2016-03-18 17:27:04 -04:00
Jimmy Zelinskie
8918f40599 dockerfile: update deps and move to Go 1.6 2016-03-18 16:26:06 -04:00
Jimmy Zelinskie
7ca9127bbe main: default config to /etc/clair/config.yml 2016-03-18 16:07:35 -04:00
Jimmy Zelinskie
30055af03e config: fallover correctly to default config 2016-03-18 16:06:53 -04:00
Brandon Philips
6883cb9b01 Merge pull request #108 from philips/add-k8s-contrib
README: add instructions for kubernetes
2016-03-18 17:37:49 +00:00
Brandon Philips
9ce0956f1a README: add instructions for kubernetes
Add a quick and easy way to run this on top of kubernetes. It isn't
production ready but gives people a starting point.
2016-03-18 10:37:24 -07:00
Jimmy Zelinskie
aef5f9dde4 Merge pull request #107 from Quentin-M/reduce_logo
README: Reduce logo size
2016-03-18 12:55:28 -04:00
Quentin Machu
e72f0e6923 README: Reduce logo size 2016-03-18 12:51:44 -04:00
Jimmy Zelinskie
52942dfc16 Merge pull request #106 from Quentin-M/logo
README: Add logo
2016-03-18 12:48:07 -04:00
Quentin Machu
79ba99bbea database: Fix invalid error message 2016-03-18 12:25:01 -04:00
Quentin Machu
9573acbc1b README: Add logo 2016-03-18 12:06:23 -04:00
Quentin Machu
093107c6d8 Merge pull request #105 from coreos/crtrb_forcecolor
contrib: Add a ability to force colored output in analyze-local-images
2016-03-17 19:27:58 -04:00
Quentin Machu
251df954ce contrib: Add a ability to force colored output in analyze-local-images
Just like `ls`, this commit introduces the ability to specify `-color
always` or `-color never` to force colorization, regardless of whether
the TTY is a terminal or not.
2016-03-17 19:19:29 -04:00