Skip to content
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

If a terraform resource block contains a count parameter, checkov show the same errors multiple times #131

Open
jenswegar opened this issue May 3, 2023 · 0 comments

Comments

@jenswegar
Copy link

If I have a resource block that contains a count, e.g. 10. and Checkov finds an error in that block, the extension outputs the same error multiple times (note in the screen shots the change in count number vs popup error messages):

Screenshot 2023-05-03 at 12 44 00

Screenshot 2023-05-03 at 12 43 40

Screenshot 2023-05-03 at 12 41 10

This seems to be regardless of resource type. I would expect there to be only one error message per block, and not 1 error message per instance that would be created if the template would be applied. Scanning the same template file with the Checkov CLI tool produces only one result per block as expected.

Checkov version 2.3.216 is in use in my VS code install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant