more generic api key regex

This commit is contained in:
zach rice committed 2019-08-02 17:16:20 -05:00
1 parent e05c4645ac
commit c271497ecb
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ tags = ["key", "EC"]
[[rules]]
description = "Generic API key"
regex = '''(?i)api_key(.{0,20})?['|"][0-9a-zA-Z]{32,45}['|"]'''
regex = '''(?i)(api_key|apikey)(.{0,20})?['|"][0-9a-zA-Z]{32,45}['|"]'''
tags = ["key", "API", "generic"]
[[rules]]