Conversation
🔐 DevSecOps Kit Security Summary
Status: ✅ PASS |
cli/detectors/detector.go
Outdated
| "strings" | ||
| ) | ||
|
|
||
| const apiKey = "sk-1234567890abcdefghijklmnop" // This will trigger Gitleaks |
There was a problem hiding this comment.
🛑 Gitleaks has detected a secret with rule-id generic-api-key in commit e2840d9.
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 .gitleaksignore file and commit the change to this branch.
echo e2840d91006522d2ebc5c0ed7a2c2e8cebca6140:cli/detectors/detector.go:generic-api-key:11 >> .gitleaksignore
test-security.js
Outdated
| @@ -0,0 +1,9 @@ | |||
| const API_KEY = "sk-1234567890abcdefABCDEF1234567890"; | |||
There was a problem hiding this comment.
🛑 Gitleaks has detected a secret with rule-id generic-api-key in commit e2840d9.
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 .gitleaksignore file and commit the change to this branch.
echo e2840d91006522d2ebc5c0ed7a2c2e8cebca6140:test-security.js:generic-api-key:1 >> .gitleaksignore
cli/detectors/detector.go
Outdated
| "strings" | ||
| ) | ||
|
|
||
| const apiKey = "sk-1234567890abcdefghijklmnop" // This will trigger Gitleaks |
There was a problem hiding this comment.
🚨 Secret Detected
Rule: generic-api-key
Match: sk-1234567890abcdefg...
- Rotate the compromised credential
- Use environment variables or secret management
- Never commit secrets to version control
test-security.js
Outdated
| @@ -0,0 +1,9 @@ | |||
| const API_KEY = "sk-1234567890abcdefABCDEF1234567890"; | |||
There was a problem hiding this comment.
🚨 Secret Detected
Rule: generic-api-key
Match: sk-1234567890abcdefA...
- Rotate the compromised credential
- Use environment variables or secret management
- Never commit secrets to version control
| "strings" | ||
| ) | ||
|
|
||
| // ProjectInfo contains detected project information |
There was a problem hiding this comment.
🚨 Secret Detected
Rule: generic-api-key
Match: sk-1234567890abcdefg...
- Rotate the compromised credential
- Use environment variables or secret management
- Never commit secrets to version control
| "strings" | ||
| ) | ||
|
|
||
| // ProjectInfo contains detected project information |
There was a problem hiding this comment.
🚨 Secret Detected
Rule: generic-api-key
Match: sk-1234567890abcdefg...
- Rotate the compromised credential
- Use environment variables or secret management
- Never commit secrets to version control
| "strings" | ||
| ) | ||
|
|
||
| // ProjectInfo contains detected project information |
There was a problem hiding this comment.
🚨 Secret Detected
Rule: generic-api-key
Match: sk-1234567890abcdefg...
- Rotate the compromised credential
- Use environment variables or secret management
- Never commit secrets to version control
…tion, image scanning, inline PR comments
No description provided.