introducing secretGroup, the best group (#734)

* working on deduping

* my eyes... oh god my poor eyes

* more readme

* more readme

* more readme

* more readme and formatting
This commit is contained in:
Zachary Rice authored and GitHub committed 2021-12-02 20:04:36 -06:00
1 parent 9358e84588
commit 98d5648f6e
22 files changed
+248 -107

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@ title = "gitleaks config"
id = "discord-api-key"
description = "Discord API key"
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]'''
entropyGroup = 5
secretGroup = 5
entropy = 3.5
+1 -1
View File
@@ -4,5 +4,5 @@ title = "gitleaks config"
id = "discord-api-key"
description = "Discord API key"
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]'''
entropyGroup = 3
secretGroup = 3
entropy = 3.5
+1 -1
View File
@@ -5,4 +5,4 @@ description = "Generic API Key"
id = "generic-api-key"
regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]'''
entropy = 3.7
entropyGroup = 4
secretGroup = 4
+1 -1
View File
@@ -6,4 +6,4 @@ id = "generic-api-key"
regex = '''(?i)((key|api|token|secret|password)[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([0-9a-zA-Z\-_=]{8,64})['\"]'''
path = '''.py'''
entropy = 3.7
entropyGroup = 4
secretGroup = 4
+1 -1
View File
@@ -1,2 +1,2 @@
RuleID,Commit,File,Secret,Context,StartLine,EndLine,StartColumn,EndColumn,Author,Message,Date,Email
RuleID,Commit,File,Secret,Match,StartLine,EndLine,StartColumn,EndColumn,Author,Message,Date,Email
test-rule,0000000000000000,auth.py,a secret,line containing secret,1,2,1,2,John Doe,opps,10-19-2003,johndoe@gmail.com
1 RuleID Commit File Secret Context Match StartLine EndLine StartColumn EndColumn Author Message Date Email
2 test-rule 0000000000000000 auth.py a secret line containing secret line containing secret 1 2 1 2 John Doe opps 10-19-2003 johndoe@gmail.com
+1 -1
View File
@@ -5,7 +5,7 @@
"EndLine": 2,
"StartColumn": 1,
"EndColumn": 2,
"Context": "line containing secret",
"Match": "line containing secret",
"Secret": "a secret",
"File": "auth.py",
"Commit": "0000000000000000",