feat(query): implements ELBv2_LB_Access_Log_Disabled--terraform/aws#7594
Conversation
…0689--FN-ELBv2_ALB_Access_Log_Disabled--terraform/aws
cx-artur-ribeiro
left a comment
There was a problem hiding this comment.
Hey André, other than the change on the descriptionId field on the new query, it looks good to me 😄.
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 4266022 | Triggered | Generic Password | af1e7e3 | assets/queries/cloudFormation/aws/amplify_branch_basic_auth_config_password_exposed/test/negative7.yaml | View secret |
| 9419039 | Triggered | Username Password | cbc7937 | assets/queries/cloudFormation/aws/amplify_branch_basic_auth_config_password_exposed/test/positive5.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. 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 for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit 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.
…0689--FN-ELBv2_ALB_Access_Log_Disabled--terraform/aws
…aws' of https://github.com/cx-andre-pereira/kics into AST-40689--FN-ELBv2_ALB_Access_Log_Disabled--terraform/aws
Reason for Proposed Changes
terraform/aws.aws_lbresources) either lackaccess_logscompletely or if that field does not haveenabledset to true. DocumentationProposed Changes
access_logsoraccess_logs.enabled) or the case ofaccess_logs.enabledbeing set to a value that is nottrueNote: There is a slight change in the query naming compared to the original since , in terraform, ALBs are now referred as
aws_lb, the legacy naming scheme wasaws_albbut the query name itself references the current naming convention.I submit this contribution under the Apache-2.0 license.