Skip to content

Commit

Permalink
try with paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Dec 4, 2021
1 parent 2bf41e0 commit 5c01210
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,11 @@ title = "gitleaks config"

[allowlist]
description = "Allowlisted files"
paths = [
'''.automation/test''',
'''megalinter-reports'''
]
files = ['''^\.?gitleaks.toml$''',
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
'''(go.mod|go.sum)$''']
regexes = [
'''(.*)automation/test(.*)''',
'''(.*?)megalinter-reports(.*)'''
]

0 comments on commit 5c01210

Please sign in to comment.