You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves Gitleaks security scan failures by removing hardcoded token values from files and example code in README.md.
Why
Security Compliance: Automated Gitleaks scans detected hardcoded tokens and high-entropy secret patterns in test suites and documentation.
Underlying Issue: Mock credentials and sample tokens used in tests and README.md triggered security scanner alerts.
Intent: Clear CI/CD security checks while adhering to proper secret handling practices.
Goal
Intended Outcome: Pass all automated Gitleaks scans in CI/CD pipelines.
Working Functionality: Ensure tests continue to run properly using sanitized dummy placeholders or mock environment variables, and README.md displays safe example tokens.
Non-Goals: Modifying core production application logic or secret rotation (as exposed values were only test/example tokens).
Testing
Only the hard coded tokens were changed and no additional unit tests are required.
Deployment Concerns: None. No production code logic was altered.
Tech Debt
Addressing Tech Debt: Reduces security tech debt by removing hard coded credentials from documentation and tests, setting a clean pattern for future code examples.
Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves Gitleaks security scan failures by removing hardcoded token values from files and example code in README.md.
Why
Goal
Testing
Tech Debt