-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix(terraform): modules with the count meta-argument are not ignored #5665
Comments
I agree, filtering/ignore for Terraform files using |
I believe (#6137) is the one that you were affected by @felipeng? If so we can track it there. Please let me know if this particular issue still affects you. And if so, if it's possible for you to provide an example which we can use to repro it. Thank you. |
hey @simar7 is not related with that, here is an example:
This ignores the AVD-AWS-0107 check for the whole module which is the intention. However, if I would like to ignore just the first rule it doesn't work, example:
|
@nikpivkin could you take a look? |
@simar7 I left comment #6137 (comment) |
Discussed in #5642
Originally posted by parviste November 23, 2023
Description
In tfsec it's possible to ignore issues within modules (https://aquasecurity.github.io/tfsec/v1.28.4/guides/configuration/ignores/#ignoring-module-issues). This does not seem to be possible using trivy,
It would be nice if filtering using inline comments would also apply to resources within a module, i.e.
would ignore all the corresponding warnings coming from resources within the module.
The usecase is that I have a module which is secure enough in a particular context, so I don't care about warnings there, but I would care if it were used in a different context. Therefore, I don't want to add the ignore comments in the module itself.
Target
None
Scanner
Misconfiguration
The text was updated successfully, but these errors were encountered: