-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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): Fix CKV_AZURE_227 for Azure V4 #6906
Conversation
checkov/terraform/checks/resource/azure/FunctionAppMinTLSVersion.py
Outdated
Show resolved
Hide resolved
if (node_pool.get('enable_host_encryption') == [True] or | ||
node_pool.get('host_encryption_enabled') == [True]): | ||
return CheckResult.PASSED | ||
self.evaluated_keys = ['default_node_pool/[0]/enable_host_encryption', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update the evaluated_keys here? What is the reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For highlighting in the platform (and fix suggestions, but not relevant for this check)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some minor comments
* Fix CKV_AZURE_227 * Fix CKV_AZURE_145 * fix flake8 * add flexible servers * fix flake8 * Fix CKV_AZURE_11 * Update checks * Update check * Update check * Add types
* Fix CKV_AZURE_227 * Fix CKV_AZURE_145 * fix flake8 * add flexible servers * fix flake8 * Fix CKV_AZURE_11 * Update checks * Update check * Update check * Add types
User description
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
Fixes #6881
Fixes #6902
Checklist:
Generated description
Below is a concise technical summary of the changes proposed in this PR:
This pull request includes updates to security checks, refactoring of existing checks, and additional test cases for Azure resources. The changes aim to enhance security measures, improve check accuracy, and ensure comprehensive test coverage.
Modified files (10)
Latest Contributors(2)
Modified files (13)
Latest Contributors(2)