|
@@ -480,8 +480,8 @@ keywords = [
|
|
|
"auth",
|
|
"auth",
|
|
|
"access",
|
|
"access",
|
|
|
]
|
|
]
|
|
|
-
|
|
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
|
|
+# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
|
|
|
|
+[rules.allowlist]
|
|
|
stopwords = [
|
|
stopwords = [
|
|
|
"000000",
|
|
"000000",
|
|
|
"aaaaaa",
|
|
"aaaaaa",
|
|
@@ -2168,8 +2168,8 @@ description = "Possible Kubernetes Secret detected, posing a risk of leaking cre
|
|
|
regex = '''(?i)(?:\bkind:[ \t]*["']?secret["']?(?:.|\s){0,200}?\bdata:(?:.|\s){0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["']?[a-z0-9]{10,}={0,3}["']?|\{\{[ \t\w"|$:=,.-]+}}|""|''))|\bdata:(?:.|\s){0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["']?[a-z0-9]{10,}={0,3}["']?|\{\{[ \t\w"|$:=,.-]+}}|""|''))(?:.|\s){0,200}?\bkind:[ \t]*["']?secret["']?)'''
|
|
regex = '''(?i)(?:\bkind:[ \t]*["']?secret["']?(?:.|\s){0,200}?\bdata:(?:.|\s){0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["']?[a-z0-9]{10,}={0,3}["']?|\{\{[ \t\w"|$:=,.-]+}}|""|''))|\bdata:(?:.|\s){0,100}?\s+([\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:["']?[a-z0-9]{10,}={0,3}["']?|\{\{[ \t\w"|$:=,.-]+}}|""|''))(?:.|\s){0,200}?\bkind:[ \t]*["']?secret["']?)'''
|
|
|
path = '''(?i)\.ya?ml$'''
|
|
path = '''(?i)\.ya?ml$'''
|
|
|
keywords = ["secret"]
|
|
keywords = ["secret"]
|
|
|
-
|
|
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
|
|
+# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
|
|
|
|
+[rules.allowlist]
|
|
|
regexes = [
|
|
regexes = [
|
|
|
'''[\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:\{\{[ \t\w"|$:=,.-]+}}|""|'')''',
|
|
'''[\w.-]+:(?:[ \t]*(?:\||>[-+]?)\s+)?[ \t]*(?:\{\{[ \t\w"|$:=,.-]+}}|""|'')''',
|
|
|
]
|
|
]
|
|
@@ -2354,8 +2354,8 @@ regex = '''(?i)<add key=\"(?:(?:ClearText)?Password)\"\s*value=\"(.{8,})\"\s*/>'
|
|
|
path = '''(?i)nuget\.config$'''
|
|
path = '''(?i)nuget\.config$'''
|
|
|
entropy = 1
|
|
entropy = 1
|
|
|
keywords = ["<add key="]
|
|
keywords = ["<add key="]
|
|
|
-
|
|
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
|
|
+# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
|
|
|
|
+[rules.allowlist]
|
|
|
regexes = [
|
|
regexes = [
|
|
|
'''33f!!lloppa''',
|
|
'''33f!!lloppa''',
|
|
|
'''hal\+9ooo_da!sY''',
|
|
'''hal\+9ooo_da!sY''',
|
|
@@ -2684,16 +2684,12 @@ description = "Discovered a SumoLogic Access ID, potentially compromising log ma
|
|
|
regex = '''(?i:(?:sumo)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3})(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(su[a-zA-Z0-9]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
|
regex = '''(?i:(?:sumo)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3})(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(su[a-zA-Z0-9]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
|
|
entropy = 3
|
|
entropy = 3
|
|
|
keywords = ["sumo"]
|
|
keywords = ["sumo"]
|
|
|
-
|
|
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
|
|
+# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
|
|
|
|
+[rules.allowlist]
|
|
|
regexTarget = "line"
|
|
regexTarget = "line"
|
|
|
regexes = [
|
|
regexes = [
|
|
|
'''sumOf''',
|
|
'''sumOf''',
|
|
|
]
|
|
]
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
-paths = [
|
|
|
|
|
- '''tests/.+$''',
|
|
|
|
|
-]
|
|
|
|
|
|
|
|
|
|
[[rules]]
|
|
[[rules]]
|
|
|
id = "sumologic-access-token"
|
|
id = "sumologic-access-token"
|
|
@@ -2777,8 +2773,8 @@ keywords = [
|
|
|
"hvs",
|
|
"hvs",
|
|
|
"s.",
|
|
"s.",
|
|
|
]
|
|
]
|
|
|
-
|
|
|
|
|
-[[rules.allowlists]]
|
|
|
|
|
|
|
+# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
|
|
|
|
+[rules.allowlist]
|
|
|
regexes = [
|
|
regexes = [
|
|
|
'''s\.[A-Za-z]{24}''',
|
|
'''s\.[A-Za-z]{24}''',
|
|
|
]
|
|
]
|