forked from red-hat-data-services/red-hat-ai-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
22 lines (19 loc) · 690 Bytes
/
.gitleaks.toml
File metadata and controls
22 lines (19 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Gitleaks configuration file
# Documentation: https://github.com/gitleaks/gitleaks
title = "Gitleaks Configuration"
[extend]
# useDefault will extend the base configuration with the default gitleaks config:
# https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
useDefault = true
[allowlist]
description = "Global allowlist"
paths = [
'''\.pre-commit-config\.yaml$''',
'''\.gitleaks\.toml$''',
'''\.secrets\.baseline$''', # used for detect-secrets
'''examples/model-serve-flow/assets/flow_diagram.excalidraw'''
]
regexes = [
'''"image/png": ".*"''', # Ignores base64 image strings in JSON
'''"hash": ".*"''', # Ignores hashes in metadata
]