-
Notifications
You must be signed in to change notification settings - Fork 358
feat(queries): enhance rule accuracy and reduce false positives #7745
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?
feat(queries): enhance rule accuracy and reduce false positives #7745
Conversation
- OpenAPI: Improve global security field detection with operation-level security checks - ServerlessFW/SAM: Add contextual intelligence for IAM role requirements - S3 Bucket: Add intentional public bucket detection for Terraform/CloudFormation - Variable Description: Focus on complex/sensitive variables only - Snake Case: Exclude external modules and legitimate naming exceptions - K8s Namespace: Distinguish user workloads from system components - Volume Mount: Revert to original broader detection (as requested) All rules now provide enhanced contextual intelligence while maintaining security coverage. Tests updated and validated for all modified rules.
|
Hi @cx-artur-ribeiro when you get the chance to approve the WFs 🙏 |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 21271469 | Triggered | Generic Password | e8bf52b | assets/queries/terraform/azure/unrestricted_sql_server_access/test/negative3.tf | 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 @cx-artur-ribeiro, how are you? |
|
@cx-artur-ribeiro Any input here? |
|
Regarding GitGuardian checks, don’t worry. If it’s not on I’ve already reviewed your pull request and will reach out to the Application Security Team to confirm and validate some of the changes you proposed. I will then contact you to make required changes if necessary. We’re balancing a few priorities at the moment, but I’m making sure this continues to move forward. AppSec Card - AST-122235. |
Reason for Proposed Changes
Proposed Changes
I submit this contribution under the Apache-2.0 license.