-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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(misconf): render causes for Terraform #8360
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: nikpivkin <[email protected]>
Looks good! but I wonder if we should put this behind a flag. It might be a bit too verbose to do as a default since essentially there could be several instances where output gets rendered. Maybe a misconfiguration specific boolean flag such as WDYT? |
Makes sense. @aquasecurity/trivy Maybe there's a better term than |
@simar7 Should the |
Yeah makes sense to me. |
I'd say let's go with |
maybe show-cause ? |
@itaysk Is the |
@nikpivkin yes, sorry I should have thorougly understood this before commenting. @simar7 isn't this what we discussed about Helm charts? |
We'll still need to implement logic to preserve positions. |
Signed-off-by: nikpivkin <[email protected]>
Description
This PR enriches the output by adding the evaluated block attributes that are causes of misconfiguration. A
RenderedCause
object with fields has been added to the JSON report:Raw
- contains raw content,Highlighted
- contains highlighted content.Example:
Related issues
Checklist