Skip to content

Commit

Permalink
Merge pull request #1688 from Skyllarr/ELY-2327
Browse files Browse the repository at this point in the history
[ELY-2327] Add .gitleaks.toml file with allowlist
  • Loading branch information
Skyllarr committed Feb 1, 2023
2 parents beecf50 + 79ec4e1 commit 80c8079
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Gitleaks is a tool that detects potential leaks of secrets. This file defines an allowlist to avoid false positives.
# The tool checks the commit history, some files that are not present anymore but contained example secrets has to be put in the allowlist as well
[allowlist]
description = "Allowlist"
# ignore secrets present in the below folders and files
paths = [
# test folders containing example secrets
'''auth\/client\/src\/test\/resources\/org\/wildfly\/security\/auth\/client''',
'''tests\/base\/src\/test\/resources''',
'''tests\/base\/src\/test\/java\/org\/wildfly\/security\/util''',
# blog posts containing example secrets
'''blog\/ssh-auth-for-git-persistence\/index.html''',
'''blog\/using-remote-client-ip-for-authorization\/index.html''',
# below test folders do not exist anymore
'''src\/test\/java\/org\/wildfly\/security\/tool''',
'''src\/test\/java\/org\/wildfly\/security\/auth''',
'''src\/test\/resources''',
# ignore this file
'''^\.?gitleaks.toml$'''
]

0 comments on commit 80c8079

Please sign in to comment.