与coreos clair交互的简单命令行工具
claircli的Python项目详细描述
claircli
claircli是一个简单的命令行工具,可以与CoreOS Clair
- 使用clair分析loacl/远程docker图像
- 生成html/json报告,html报告模板来自analysis-template.html
安装
pip install claircli
命令
claircli -h
usage: claircli [-h] [-V] {batch-analyze,fuzzy-analyze} ...
Simple command line tool to interact with CoreOS Clair
optional arguments:
-h, --help show this help message and exit
-V, --version show program's version number and exit
subcommands:
Subcommands of claircli
{batch-analyze,fuzzy-analyze}
batch-analyze Batch analyze docker images with clair
fuzzy-analyze Fuzzy analyze docker images with clair
可选白名单yaml文件
这是一个示例yaml文件。您可以有一个空文件,或者只有common
或<distribution>
的混合文件。
common:CVE-2017-6055:XMLCVE-2017-5586:OpenTextubuntu:CVE-2017-5230:XSXCVE-2017-5586:OpenTextalpine:CVE-2017-3261:SE