Skip to content

Commit 2b6831f

Browse files
Update gitleaks.toml
Updated .toml file to fix regex syntax to work with v8
1 parent 55094be commit 2b6831f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

gitleaks.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
title = "Gitleaks config for theangrytech repos"
2-
description = "Targets JS, Terraform, Python, Cloud configs, secrets, and Git metadata"
1+
title = "Gitleaks config for MSDO repos"
2+
description = "Targets JS, Terraform, Python, Cloud configs, AWS and Azure secrets, and Git metadata"
33
version = "2"
44
redact = false # Show actual secrets in alerts
55

66
[config]
77
logLevel = "INFO"
88

9-
#Scan these specific file types
9+
# Scan these specific file types
1010
[[config.pathAllowlist]]
1111
description = "Only scan selected file extensions"
1212
regexes = [
@@ -27,7 +27,7 @@ regexes = [
2727
]
2828

2929
##########################
30-
#Common Secret Rules #
30+
# Common Secret Rules
3131
##########################
3232

3333
[[rules]]
@@ -91,7 +91,7 @@ regex = '''https://hooks.slack.com/services/T[A-Z0-9]{8}/B[A-Z0-9]{8}/[a-zA-Z0-9
9191
tags = ["slack", "webhook"]
9292

9393
##########################
94-
# Git Metadata Rules #
94+
# Git Metadata Rules
9595
##########################
9696

9797
[[rules]]
@@ -121,6 +121,6 @@ files = [
121121
".github/",
122122
"README.md"
123123
]
124-
125-
[allowlist.regexes]
126-
"dummy-api-key" = "dummy_[a-zA-Z0-9]{10,}"
124+
regexes = [
125+
"dummy_[a-zA-Z0-9]{10,}"
126+
]

0 commit comments

Comments
 (0)