|
@@ -535,7 +535,7 @@ secretGroup = 3
|
|
|
[[rules]]
|
|
[[rules]]
|
|
|
id = "generic-api-key"
|
|
id = "generic-api-key"
|
|
|
description = "Generic API Key"
|
|
description = "Generic API Key"
|
|
|
-regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]'''
|
|
|
|
|
|
|
+regex = '''(?i)((key|api[^Version]|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]'''
|
|
|
entropy = 3.7
|
|
entropy = 3.7
|
|
|
secretGroup = 4
|
|
secretGroup = 4
|
|
|
|
|
|