This Terraform configuration leverages the IaC Confluent API Key Rotation Terraform module to create and rotate the API Keys. It then uses AWS Secrets Manager to store the current active API Key for the Schema Registry Cluster and Kafka Cluster. Plus add parameters to the AWS System Manager Parameter Store.
⚠️ GitGuardian has uncovered 3 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
| -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- |
| [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326834) | Triggered | Snowflake Credentials | 5e2779a4c40a22d1eaecd85a76dcb8d2595b4559 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/5e2779a4c40a22d1eaecd85a76dcb8d2595b4559#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faR116) |
| [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326835) | Triggered | Snowflake Credentials | d170c0fb824ef19f6e10b6b723f426bed2df47e2 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/d170c0fb824ef19f6e10b6b723f426bed2df47e2#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faL116) |
| [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326836) | Triggered | Snowflake Credentials | 5e2779a4c40a22d1eaecd85a76dcb8d2595b4559 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/5e2779a4c40a22d1eaecd85a76dcb8d2595b4559#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faR72) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code.
2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices.
3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/snowpark_api_credentials#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment).
4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials
- install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
⚠️ GitGuardian has uncovered 3 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326834) | Triggered | Snowflake Credentials | 5e2779a4c40a22d1eaecd85a76dcb8d2595b4559 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/5e2779a4c40a22d1eaecd85a76dcb8d2595b4559#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faR116) | | [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326835) | Triggered | Snowflake Credentials | d170c0fb824ef19f6e10b6b723f426bed2df47e2 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/d170c0fb824ef19f6e10b6b723f426bed2df47e2#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faL116) | | [13524538](https://dashboard.gitguardian.com/workspace/579875/incidents/13524538?occurrence=164326836) | Triggered | Snowflake Credentials | 5e2779a4c40a22d1eaecd85a76dcb8d2595b4559 | scripts/run-terraform-locally.sh | [View secret](https://github.com/j3-signalroom/iac-confluent-resources-tf/commit/5e2779a4c40a22d1eaecd85a76dcb8d2595b4559#diff-bb667d6bfcbe8c4531e42f0c03f2e4e5f7b2e5663fc0e446b5bd2ef461e9b0faR72) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/snowpark_api_credentials#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.