forked from candlepin/candlepin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
20 lines (15 loc) · 925 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
20 lines (15 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[allowlist]
description = "Candlepin global allow list"
# Allow/Ignore list for suppressing erroneous flags on files that have either since been removed
# from the repo and/or never were security concerns to begin with.
paths = [
# Ignore legacy/removed directories
'''^(?:certs|server|spec|compose.d|proxy)\/.*''',
# Ignore false-positives in ancient comments in UserResource.java
'''^src\/main\/java\/org\/candlepin\/resource\/UserResource\.java$''',
# Ignore false-positives in unit tests which verify reading private keys and other such crypto resources
'''^src\/test\/java\/org\/candlepin\/pki\/PrivateKeyReaderTest\.java$''',
# Ignore false-positives in spec tests which verify the fetching of private keys
'''^spec-tests\/src\/test\/java\/org\/candlepin\/spec\/imports\/ImportSpecTest\.java$''',
'''^spec-tests\/src\/test\/java\/org\/candlepin\/spec\/imports\/ImportSuccessSpecTest\.java$''',
]