save progress
This commit is contained in:
17
offline/rules/secrets/sources/heroku-api-key.json
Normal file
17
offline/rules/secrets/sources/heroku-api-key.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "stellaops.secrets.heroku-api-key",
|
||||
"version": "1.0.0",
|
||||
"name": "Heroku API Key",
|
||||
"description": "Detects Heroku API keys",
|
||||
"type": "regex",
|
||||
"pattern": "(?i)(?:heroku[_-]?api[_-]?key|HEROKU_API_KEY)['\"]?\\s*[:=]\\s*['\"]?([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})['\"]?",
|
||||
"severity": "high",
|
||||
"confidence": "high",
|
||||
"keywords": ["HEROKU_API_KEY", "heroku_api_key", "heroku"],
|
||||
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.properties", "*.sh", "Procfile"],
|
||||
"enabled": true,
|
||||
"tags": ["heroku", "paas", "credentials", "api-key"],
|
||||
"references": [
|
||||
"https://devcenter.heroku.com/articles/platform-api-quickstart"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user