Repository navigation
Exclude .git/config and sanitize remote urls in metadata.json(AST-188620) - #1598
Open
cx-sumit-morchhale wants to merge 4 commits into
Open
cx-sumit-morchhale wants to merge 4 commits into
cx-sumit-morchhale wants to merge 4 commits into
Conversation
|
| Secret Type | Status | Commit | File Path | View |
|---|---|---|---|---|
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 0996fc220b |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret | |
| URI | 6fb5248d7e |
internal/commands/gitmetadata_test.go |
🔎 View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Immediately rotate/revoke the exposed secret. (https://howtorotate.com/docs/introduction/getting-started/)
- Remove it from git history ( a new "remove secret" commit is NOT enough e.g. with
git-filter-repo).
To avoid such incidents in the future consider:
- Following the best practices for managing and storing secrets, including API keys and other credentials.
- Re-scan after cleanup before merging.
⚠️ These are unverified matches and do not block the merge — please review and confirm they are not real secrets.
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Changes
Supported Platforms
✅ GitHub, GitLab, Azure DevOps, Bitbucket, self-hosted Git, SSH
Test Plan