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
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
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
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
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
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
Quentin Machu
7df8e7fb1a
contrib: add copyright in analyze-local-images
2015-11-29 15:56:34 -05:00
Quentin Machu
9391417b2d
contrib: Wait for extraction to finish before continuing.
2015-11-24 11:11:01 -05: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