checkov icon indicating copy to clipboard operation
checkov copied to clipboard

fix(terraform): Security group attached to an Elastic DocumentDB cluster is not recognized by check CKV2_AWS_5

Open bhean opened this issue 6 months ago • 1 comments

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

Include Elastic DocumentDB as a valid associated resource for an aws_security_group for graph check CKV2_AWS_5

Fixes #6686

Checklist:

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] I have added tests that prove my feature, policy, or fix is effective and works
  • [x] New and existing tests pass locally with my changes

bhean avatar Aug 27 '24 14:08 bhean