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

fix(terraform): Add Condition exceptions CKV_AWS_70 #6044

Merged
merged 7 commits into from
Feb 28, 2024
Merged

Conversation

tsmithv11
Copy link
Collaborator

@tsmithv11 tsmithv11 commented Feb 23, 2024

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

Description

Added ARN Condition exceptions. Note that I did not add other conditions or String* ARN options

Reference: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@tsmithv11 tsmithv11 merged commit b3b3e8b into main Feb 28, 2024
42 checks passed
@tsmithv11 tsmithv11 deleted the ts-fix-ckv-aws-70 branch February 28, 2024 17:23
GerevSec pushed a commit to redefinedev/checkov that referenced this pull request Feb 29, 2024
* Add Condition exceptions

* Refactor

* Update S3AllowsAnyPrincipal.py

* Fix tests

* Fix bug

* reopen tests
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

Successfully merging this pull request may close these issues.

None yet

3 participants