Closed kevincantu closed 2 years ago
I get similar issues to this, although with AWS resources
Thanks for contributing to Checkov! We've automatically marked this issue as stale to keep our issues list tidy, because it has not had any activity for 6 months. It will be closed in 14 days if no further activity occurs. Commenting on this issue will remove the stale tag. If you want to talk through the issue or help us understand the priority and context, feel free to add a comment or join us in the Checkov slack channel at https://slack.bridgecrew.io Thanks!
Closing issue due to inactivity. If you feel this is in error, please re-open, or reach out to the community via slack: https://slack.bridgecrew.io Thanks!
I'm on macOS Big Sur, running Python 3.9.5 and the pip install of Checkov v2.0.192 with some Terraform v0.12.31 compatible code.
My Terraform code defines a GKE cluster and four node groups. I've satisfied Checkov in directory mode by adding about a dozen skips for particular things in Terraform comments, so that this reports no failed checks:
After some initial success with https://github.com/bridgecrewio/checkov/pull/1221, I expected a run with the
--file
flag to be ok with that stuff but maybe show me an additional failed check... But actually this occurs:But this really doesn't add up!
I have nearly identical node pools here and here, but only one of the two showed up in the failures above! Why would that skip instruction work in one and not the other??
And in this file I have had to add a bunch of skips to satisfy directory-mode, but only half of them appeared in the failures in plan-mode:
There's a parser bug in here or something!