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): CKV_AWS_228 - support new AWS Opensearch TLS policy #7007

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tarfeef101
Copy link
Contributor

@tarfeef101 tarfeef101 commented Feb 11, 2025

User description

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

Description

AWS Opensearch has a new TLS policy available since the last update to this check, so support it. AWS docs here

Fixes # (N/A)

Checklist:

  • 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

Generated description

Below is a concise technical summary of the changes proposed in this PR:

Updates the ElasticsearchTLSPolicy check to support the new AWS OpenSearch TLS policy. Modifies the ElasticsearchTLSPolicy class to include the new policy option and updates corresponding test files. Adds new test cases for both Elasticsearch and OpenSearch domains using the new TLS policy.

TopicDetails
Add Test Cases Adds new test cases for Elasticsearch and OpenSearch domains using the new TLS policy
Modified files (3)
  • tests/terraform/checks/resource/aws/example_ElasticsearchTLSPolicy/main.tf
  • tests/terraform/checks/resource/aws/example_ElasticsearchTLSPolicy/opensearch.tf
  • tests/terraform/checks/resource/aws/test_ElasticsearchTLSPolicy.py
Latest Contributors(1)
UserCommitDate
JamesWoolfendenExtend-ES-checks-to-op...April 08, 2022
Update TLS Policy Updates the ElasticsearchTLSPolicy check to include the new AWS OpenSearch TLS policy option
Modified files (1)
  • checkov/terraform/checks/resource/aws/ElasticsearchTLSPolicy.py
Latest Contributors(1)
UserCommitDate
JamesWoolfendenExtend-ES-checks-to-op...April 08, 2022
This pull request is reviewed by Baz. Join @tarfeef101 and the rest of your team on (Baz).

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.

1 participant