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