Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): HTML format for vulnerability assessments
One feature that our customers has expressed interest in is the ability to output scan results to HTML so that other teams have clear, actionable insights to understand vulnerabilities so they can remediate. This change is introducing a new flag `--html` to the following commands: * `lacework vulnerability container scan` * `lacework vulnerability container scan-status` * `lacework vulnerability container show-assessment` The flag will generate a vulnerability assessment in HTML format in addition to the regular human-readable output. ``` $ lacework vuln ctr show sha256:593efe1a651b4cbc752a99e1771781fa3e5e30dd99579614114feaafb2aae3d3 -p demo --html CONTAINER IMAGE DETAILS | VULNERABILITIES ------------------------------------------------------------------------------------------+--------------------------------- ID sha256:b86dab42a3b576de2833a9d2b2a06fcbd3608acf10a1152634f9b8aeeb7a2e51 | SEVERITY COUNT FIXABLE Digest sha256:593efe1a651b4cbc752a99e1771781fa3e5e30dd99579614114feaafb2aae3d3 | -----------+-------+---------- Registry index.docker.io | Critical 7 5 Repository mikeoclw/se | High 52 33 Size 390.1 MB | Medium 240 159 Created At 2020-08-28T22:31:48+0000 | Low 254 125 Tags | Info 361 24 | The container vulnerability assessment was stored at 'mikeoclw-se-sha256:593efe1a651b4cbc752a99e1771781fa3e5e30dd99579614114feaafb2aae3d3.html' ``` The HTML is a standalone file that can be downloaded that shared without additional artifacts and it looks exactly like the Lacework Console! JIRA: ALLY-222 Signed-off-by: Salim Afiune Maya <[email protected]>
- Loading branch information