Commit Graph

827 Commits

Author SHA1 Message Date
Jimmy Zelinskie
20af787437 config: fix default fallback 2016-03-17 15:17:18 -04:00
Quentin Machu
e34171025d contrib: Add colors / Modify spacing in the analyze-local-images's output 2016-03-17 13:27:58 -04:00
Quentin Machu
93ffc5a1e5 contrib: Show feature line only if there's a vuln in analyze-local-images 2016-03-17 13:27:58 -04:00
Quentin Machu
19b730ea67 Merge pull request #101 from Quentin-M/ctrb_minseverity
contrib: Add minimum severity support to analyze-local-images
2016-03-17 12:37:35 -04:00
Quentin Machu
910288fc97 contrib: Add minimum severity support to analyze-local-images 2016-03-17 11:41:00 -04:00
Jimmy Zelinskie
d73cfd116d Merge pull request #100 from jzelinskie/namespaces
api/v1: create namespace type
2016-03-16 15:35:00 -04:00
Jimmy Zelinskie
68250f392b api/v1: create namespace type
This change creates a struct type for namespaces rather than using a
string. This enables us to extend namespaces in the future to contain
metadata. This change also required renaming other field references of
namespaces to "NamespaceName".

Fixes #99
2016-03-16 15:28:59 -04:00
Quentin Machu
f14e4de4d8 api: fix anchor link in docs 2016-03-15 12:46:56 -04:00
Quentin Machu
4b6c5893bb Merge pull request #96 from jzelinskie/rootyamlkey
config: add top-level YAML namespace 'clair'
2016-03-09 16:30:37 -05:00
Quentin Machu
81363b4411 Merge pull request #85 from keloyang/allowHost
Allow host
2016-03-09 16:28:23 -05:00
Jimmy Zelinskie
4fc32d2271 config: add top-level YAML namespace 'clair'
This enables Clair to use YAML configuration files that contain more
than just a Clair configuration.

Fixes #95.
2016-03-09 15:19:05 -05:00
Jimmy Zelinskie
f6ba17dfc7 README: Update Docker Compose instructions 2016-03-09 12:20:20 -05:00
Jimmy Zelinskie
1c5a7a4667 Merge pull request #94 from unageanu/support-docker-compose
Dockerfile: Add docker-compose.yml
2016-03-09 12:09:07 -05:00
unageanu
0cd7f719a7 update docker-compose.yml. 2016-03-09 16:56:20 +09:00
unageanu
80f150f93b Dckerfile: Add docker-compose.yml 2016-03-09 16:45:47 +09:00
Jimmy Zelinskie
363cde29f4 psql: add debug message for duplicate layers 2016-03-08 14:39:53 -05:00
Quentin Machu
7bea9cbe45 Merge pull request #82 from liangchenye/getvulns
*: list vulnerabilities by namespace
2016-03-08 02:28:28 -05:00
yangshukui
6915f6c5c1 fix allowhost
Signed-off-by: yangshukui <yangshukui@huawei.com>
2016-03-08 14:41:14 +08:00
liangchenye
1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-03-08 11:48:52 +08:00
Quentin Machu
68d0369128 Merge pull request #91 from Quentin-M/fix_pprof
cmd/clair: fix pprof
2016-03-07 16:49:26 -05:00
Quentin Machu
19e9d1234e clair: catch both SIGINT and SIGTERM for graceful shutdown 2016-03-07 16:38:10 -05:00
Quentin Machu
09dda9bfd7 cmd/clair: fix pprof 2016-03-07 16:24:25 -05:00
liangchenye
27e5e42340 use tokenMarshal/unmarshal in page encoding
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-03-07 14:59:26 +08:00
liangchenye
48ffb2687a use encrypt page in listVuln api
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-03-07 14:07:07 +08:00
liangchenye
a541e964e0 New API: list vulnerabilities by namespace
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-03-07 14:07:07 +08:00
Jimmy Zelinskie
ee28073d61 Merge pull request #90 from jzelinskie/README-deps
readme: add dependencies to getting started
2016-03-03 15:56:30 -05:00
Jimmy Zelinskie
b3837673fe readme: add dependencies to getting started 2016-03-03 15:44:49 -05:00
Quentin Machu
1202a25b46 Merge pull request #89 from Quentin-M/fv_find_before_lock
database: Find the FeatureVersion we try to insert before doing any lock
2016-03-03 14:33:54 -05:00
Quentin Machu
9b191fb598 database: Find the FeatureVersion we try to insert before doing any lock
This commit is issued in order to limit the bottleneck that the
exclusive database lock on Vulnerability_Affects_FeautreVersion
introduces, when we inserting FeatureVersions. This slowdowns a bit
the FeatureVersion insertion on a mostly empty database but should
increase a lot the throughput and parallelism on a populated database.
2016-03-03 14:15:06 -05:00
Quentin Machu
5a716f93ad Merge pull request #83 from coreos/readme-feature-namespace
README: Add FeatureDetector and NamespaceDetector
2016-02-28 15:38:06 -05:00
Quentin Machu
20ecc847d9 README: Add FeatureDetector and NamespaceDetector 2016-02-27 21:19:36 -05:00
Jimmy Zelinskie
0979b01a44 readme: add terminology and generic customization 2016-02-27 15:02:52 -05:00
Jimmy Zelinskie
8ae93abffe Merge pull request #81 from coolljt0725/fix_readme
docs: fix the docker cli of running clair in README.md
2016-02-27 14:27:57 -05:00
Lei Jitang
859b1942a5 docs: fix the docker cli of running clair in README.md
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-02-27 16:49:41 +08:00
Quentin Machu
76c7136f8e Merge pull request #79 from liangchenye/v1doc
readme: make API description consistence
2016-02-26 09:22:49 -05:00
liangchenye
d47616a339 readme: make API description consistence
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-26 15:54:59 +08:00
Jimmy Zelinskie
af0ddceaa2 readme: s/notification/notifications 2016-02-25 15:52:21 -05:00
Jimmy Zelinskie
2140995a54 readme: clarify "marked as read" notifications 2016-02-25 13:49:24 -05:00
Jimmy Zelinskie
d1e9a21e0e Merge pull request #77 from coreos/simplify
various: gofmt -s
2016-02-24 19:44:43 -05:00
Jimmy Zelinskie
500fc4e407 various: gofmt -s 2016-02-24 19:29:36 -05:00
Jimmy Zelinskie
440b5d58cd README: fix godoc badge copypasta 2016-02-24 18:08:16 -05:00
Jimmy Zelinskie
9445fef35a Merge pull request #76 from coreos/sp
various: spelling corrections
2016-02-24 18:03:53 -05:00
Jimmy Zelinskie
8fd0aa162b various: spelling corrections 2016-02-24 18:00:36 -05:00
Jimmy Zelinskie
548a2be262 Merge pull request #71 from Quentin-M/sql
Clair 1.0 Mega PR
2016-02-24 17:56:34 -05:00
Jimmy Zelinskie
001c0a73d3 contrib: adapt analyze-local-images for new API 2016-02-24 16:43:19 -05:00
Jimmy Zelinskie
ec8cf9fb26 README: add documentation with links 2016-02-24 16:40:40 -05:00
Jimmy Zelinskie
1557a27a8c Revert "v1: pagination now deterministic"
This reverts commit 24f329fea674e04c76f5e87c22eea1800e6bc413.

This was unnecessary.
2016-02-24 16:40:40 -05:00
Quentin Machu
3563cf9061 api: fix pagination token that's returned to match what has been passed 2016-02-24 16:40:40 -05:00
Jimmy Zelinskie
4fd4049fee v1: update documented error codes 2016-02-24 16:40:40 -05:00
Quentin Machu
e78d076d02 api/worker: adjust error codes in postLayer 2016-02-24 16:40:40 -05:00