-
Notifications
You must be signed in to change notification settings - Fork 346
fix(query): added cases for Azure App Service resources: azurerm_linux_web_app
and azurerm_windows_web_app
(Issue #7719)
#7722
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
base: master
Are you sure you want to change the base?
Conversation
…TPS Enforce Disabled
…TPS Enforce Disabled
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
20838717 | Triggered | Generic Password | 8dc6e38 | assets/queries/azureResourceManager/sql_server_database_with_alerts_disabled/test/negative8.bicep | 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 secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- 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.
Hi @tplisson, After reviewing the official Terraform documentation, I agree that we currently do not support the latest Terraform Azure App Service resources you mentioned. I just have one request: could you please revert the changes you made to the Terraform queries documentation? We have an automated action that updates this documentation, so we don’t need to manually add new test cases there. Once that’s done, I’ll approve the PR and move forward with the necessary next steps to ensure your changes are included in the next KICS release (or as soon as possible). |
Great! Thanks @cx-artur-ribeiro for your great reactivity. |
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.
Great work @tplisson, thanks for your contribution!
@cx-andre-pereira @cx-artur-ribeiro |
Hey @tplisson, You will be notified once the pull request is merged. |
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
Closes #7719
Reason for Proposed Changes
azurerm_linux_web_app
andazurerm_windows_web_app
. Only the legacy resourceazurerm_app_service
was currently taken into account, although it is now outdated and deprecated since version 3.0 of the AzureRM provider.Proposed Changes
azurerm_linux_web_app
andazurerm_windows_web_app
I submit this contribution under the Apache-2.0 license.