Commit Graph

35 Commits

Author SHA1 Message Date
ruokai.lai
121611834f make it one sentence 2017-03-07 17:24:15 +11:00
ruokai.lai
cca55ed764 add in a sum for total errors. 0 return 1 when there are any errors, so that it can break our CI pipeline when needed 2017-03-07 12:11:20 +11: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
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
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
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
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
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
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
910288fc97 contrib: Add minimum severity support to analyze-local-images 2016-03-17 11:41: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
yangshukui
6915f6c5c1 fix allowhost
Signed-off-by: yangshukui <yangshukui@huawei.com>
2016-03-08 14:41:14 +08:00
Jimmy Zelinskie
500fc4e407 various: gofmt -s 2016-02-24 19:29:36 -05:00
Jimmy Zelinskie
001c0a73d3 contrib: adapt analyze-local-images for new API 2016-02-24 16:43:19 -05:00
liangchenye
9bad9be19b update analyze-local-image with new API
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-24 16:39:25 -05:00
Matthias Nüßler
2300ae9ad7 Add output for package causing vulnerability
Include the name of package that caused the vulnerability in the
output.
2016-02-18 15:03:28 +01:00
liangchenye
fee0bb5e49 contrib: load image history from 'manifest.json' first due to
docker 1.10 changes.

Fixes #69

Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-14 14:15:07 +08:00
Quentin Machu
e834301941 Merge pull request #49 from liangchenye/master
Add DataDetector to support ACI and other layout format
2016-01-07 10:44:40 -05:00
David Xia
f2009513d5 Fix typo in doc 2016-01-04 13:14:12 -05:00
Liang Chenye
4b11491067 add ImageFormat to worker_test and programs under contrib
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 21:01:22 -08:00
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>
2015-12-14 22:35:38 -05:00
Quentin Machu
941a10cc2b Merge pull request #35 from mrqwer88/check_openvz_mirror_with_clair
add tool for check openvz mirrors with clair to contrib
2015-12-04 18:04:04 -05:00
Sergei A Mamonov
75aff0382a contrib: check-openvz-mirror-with-clair fix license 2015-11-30 23:11:18 +03:00
Sergei A Mamonov
8b137e8a95 contrib: add copyright in check-openvz-mirror-with-clair 2015-11-30 00:13:19 +03:00
Quentin Machu
7df8e7fb1a contrib: add copyright in analyze-local-images 2015-11-29 15:56:34 -05:00
Sergei A Mamonov
0919113d8b add tool for check openvz mirrors with clair to contrib 2015-11-29 23:11:36 +03:00
Quentin Machu
867279a5c9 contrib: Improve analyze-local-images docs and launch command.
Fixes #32
2015-11-24 16:37:11 -05:00
Quentin Machu
9391417b2d contrib: Wait for extraction to finish before continuing. 2015-11-24 11:11:01 -05:00
Michael Stapelberg
f81bc29b9e Fix installation command in README.md
The package name was missing an “s”, and “go install” only works when you already have downloaded the package.
2015-11-23 22:35:09 +01:00
Andrew Lewis
8d071e28ff contrib: Don't pass -z to tar in analyze-local-images 2015-11-23 16:42:23 +02:00
Quentin Machu
46f7645a53 contrib: Add a tool to analyze local Docker images 2015-11-20 15:32:45 -05:00