-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): add --details flag to vulnerability cmd #83
Conversation
2b6b7dd
to
646943a
Compare
This change is adding a new flag to the vulnerability command called `--details`, this flag will extend the report shown to the end-user. The new information presented with this flag is the list of CVE's with its severity, version and, if any, fix version, plus the layer that the vulnerability was introduced by. Example: ``` $ lacework vulnerability report sha256:123ab...xyz --details ``` This flag is available to all sub-commands inside the `vulnerability` cmd. (`scan run`, `scan show`, and `report` as shown above) Closes #82 Signed-off-by: Salim Afiune Maya <[email protected]>
646943a
to
227a7b2
Compare
Signed-off-by: Salim Afiune Maya <[email protected]>
Signed-off-by: Salim Afiune Maya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great feature @afiunelw. Huge thumbs up on this!
Signed-off-by: Salim Afiune Maya <[email protected]>
The team continues to review the output displayed, as of this message, the current output An open question is:
Another alternative is to display the entire content of the layer, this could make Any feedback would be highly appreciated! 💯 |
We have received feedback that indicates that showing the HASH of the layer is a little bit obscure, we are switching to display the content of the layer instead, with that, users will have immediate feedback and understanding of where vulnerabilities come from. Signed-off-by: Salim Afiune Maya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is adding a new flag to the vulnerability command called
--details
, this flag will extend the report shown to the end-user.The new information presented with this flag is the list of CVE's with
its severity, version and, if any, fix version, plus the layer that the
vulnerability was introduced by.
Example:
This flag is available to all sub-commands inside the
vulnerability
cmd. (
lacework vul scan run
,lacework vul scan show
, andlacework vul report
, as shown above 👆🏽)Closes #82
Signed-off-by: Salim Afiune Maya [email protected]