-
-
Notifications
You must be signed in to change notification settings - Fork 0
ci: mark deliberate secret-shaped test fixtures for rust-secrets #81
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -309,7 +309,7 @@ fn security_forbidden_pattern_detection() { | |
|
|
||
| // Test secret patterns | ||
| let secret_patterns = vec![ | ||
| r#"password = "thisisasecret123456""#, | ||
| r#"password = "thisisasecret123456""#, // scanner-allow: rust-secrets | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛑 Gitleaks has detected a secret with rule-id If this secret is a false positive, you can add the fingerprint below to your |
||
| r#"secret = "thisisasecret123456""#, | ||
| r#"api_key = "thisisasecret123456""#, | ||
| ]; | ||
|
|
||
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.
🛑 Gitleaks has detected a secret with rule-id
generic-api-keyin commit 2641199.If this secret is a true positive, please rotate the secret ASAP.
If this secret is a false positive, you can add the fingerprint below to your
.gitleaksignorefile and commit the change to this branch.