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): Outdated check for google_container_cluster binary authorization #3612

Merged

Conversation

losisin
Copy link
Contributor

@losisin losisin commented Oct 4, 2022

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

Description

This PR tries to cover all cases how binary authorization can be enabled for google_container_cluster in different version of google provider plugin. Hopefully .... :)

Fixes #3409

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

Copy link
Contributor

@gruebel gruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice good job, just a a small suggestion

@losisin losisin requested a review from gruebel October 5, 2022 06:14
Copy link
Contributor

@gruebel gruebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, looks great 🍺

@losisin
Copy link
Contributor Author

losisin commented Oct 7, 2022

@gruebel do I need to reach out to someone else for another approve review?

@gruebel
Copy link
Contributor

gruebel commented Oct 8, 2022

hey @losisin sadly you need to wait a bit, because my colleagues have now a couple of holidays 🏖️ but when they are back, I will grab some to review your PR 💪

@gruebel
Copy link
Contributor

gruebel commented Oct 11, 2022

@losisin tried to fix the merge conflict, but I have no permission to push my change to your branch

…ation

# Conflicts:
#	checkov/terraform/checks/resource/gcp/GKEBinaryAuthorization.py
@losisin
Copy link
Contributor Author

losisin commented Oct 12, 2022

@gruebel I resolved the conflict and did pre-commit run --all-files just in case. I think we are good to go

@gruebel gruebel merged commit 65272e8 into bridgecrewio:master Oct 13, 2022
gruebel pushed a commit to gruebel/checkov that referenced this pull request Oct 14, 2022
…thorization (bridgecrewio#3612)

* fix deprecation in binary authorization

* cleanup a bit

* add suggested changes from code review

* EOF
gruebel pushed a commit to gruebel/checkov that referenced this pull request Oct 14, 2022
…thorization (bridgecrewio#3612)

* fix deprecation in binary authorization

* cleanup a bit

* add suggested changes from code review

* EOF
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.

Outdated check for google_container_cluster binary authorization
3 participants