Commit Graph

589 Commits

Author SHA1 Message Date
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
Quentin Machu
e4749f4e53 Merge pull request #104 from coreos/ctrb_minseverity
Pretty up analyze-local-image
2016-03-17 17:45:30 -04:00
Quentin Machu
f024576223 contrib: Add vendors to analyze-local-images 2016-03-17 15:53:33 -04:00
Joseph Schorr
80ddc7f949 contrib: Pretty up analyze-local-images 2016-03-17 15:53:16 -04:00
Quentin Machu
c89a36f824 Merge pull request #103 from jzelinskie/fix-config
config: fix default fallback
2016-03-17 15:34:54 -04:00
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