save progress
This commit is contained in:
17
offline/rules/secrets/sources/private-key-generic.json
Normal file
17
offline/rules/secrets/sources/private-key-generic.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "stellaops.secrets.private-key-generic",
|
||||
"version": "1.0.0",
|
||||
"name": "Generic Private Key",
|
||||
"description": "Detects generic private keys in PEM format (PKCS#8)",
|
||||
"type": "regex",
|
||||
"pattern": "-----BEGIN PRIVATE KEY-----[\\s\\S]{100,}-----END PRIVATE KEY-----",
|
||||
"severity": "critical",
|
||||
"confidence": "high",
|
||||
"keywords": ["BEGIN PRIVATE KEY", "END PRIVATE KEY"],
|
||||
"filePatterns": ["*.pem", "*.key", "*.txt", "*.env", "*.yml", "*.yaml", "*.json", "*.config"],
|
||||
"enabled": true,
|
||||
"tags": ["cryptography", "private-key", "pkcs8"],
|
||||
"references": [
|
||||
"https://www.rfc-editor.org/rfc/rfc5958"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user