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
9 years ago
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
9 years ago
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.
9 years ago
Joseph Schorr
80ddc7f949
contrib: Pretty up analyze-local-images
9 years ago
Quentin Machu
e34171025d
contrib: Add colors / Modify spacing in the analyze-local-images's output
9 years ago
Quentin Machu
93ffc5a1e5
contrib: Show feature line only if there's a vuln in analyze-local-images
9 years ago
Quentin Machu
910288fc97
contrib: Add minimum severity support to analyze-local-images
9 years ago
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
9 years ago
yangshukui
6915f6c5c1
fix allowhost
...
Signed-off-by: yangshukui <yangshukui@huawei.com>
9 years ago
Jimmy Zelinskie
001c0a73d3
contrib: adapt analyze-local-images for new API
9 years ago
liangchenye
9bad9be19b
update analyze-local-image with new API
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
Matthias Nüßler
2300ae9ad7
Add output for package causing vulnerability
...
Include the name of package that caused the vulnerability in the
output.
9 years ago
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>
9 years ago
Liang Chenye
4b11491067
add ImageFormat to worker_test and programs under contrib
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
7df8e7fb1a
contrib: add copyright in analyze-local-images
9 years ago
Quentin Machu
9391417b2d
contrib: Wait for extraction to finish before continuing.
9 years ago
Andrew Lewis
8d071e28ff
contrib: Don't pass -z to tar in analyze-local-images
9 years ago
Quentin Machu
46f7645a53
contrib: Add a tool to analyze local Docker images
9 years ago