This commit is contained in:
@@ -23,3 +23,7 @@ id = "private-key"
|
|||||||
description = "Private key detected"
|
description = "Private key detected"
|
||||||
regex = "-----BEGIN( RSA| EC| DSA)? PRIVATE KEY-----"
|
regex = "-----BEGIN( RSA| EC| DSA)? PRIVATE KEY-----"
|
||||||
tags = ["key", "pem", "compose"]
|
tags = ["key", "pem", "compose"]
|
||||||
|
|
||||||
|
[[allowlists]]
|
||||||
|
description = "Ignore example and sample env files"
|
||||||
|
paths = ['''.*\.env\.sample$''', '''.*\.env\.example$''', '''.*example.*''']
|
||||||
|
|||||||
Reference in New Issue
Block a user