Skip to content

Commit d4ab25b

Browse files
committed
wip
1 parent e6a6382 commit d4ab25b

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

scripts/config/gitleaks.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,21 @@ regex = '''[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'''
1212
regexTarget = "match"
1313
regexes = [
1414
# Exclude the private network IPv4 addresses as well as the DNS servers for Google and OpenDNS
15-
'''(127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|172\.(1[6-9]|2[0-9]|3[0-1])\.[0-9]{1,3}\.[0-9]{1,3}|192\.168\.[0-9]{1,3}\.[0-9]{1,3}|0\.0\.0\.0|255\.255\.255\.255|8\.8\.8\.8|8\.8\.4\.4|208\.67\.222\.222|208\.67\.220\.220)''',
16-
# Exclude known false positive Azure client IDs
17-
'''abfa0a7c-a6b6-4736-8310-5855508787cd''',
18-
'''205478c0-bd83-4e1b-a9d6-db63a3e1e1c8''',
19-
'''ec156ff8-a8d1-4d15-830c-5b80698ca432''',
20-
'''4633458b-17de-408a-b874-0445c86b69e6''',
21-
'''f58310d9-a9f6-439a-9e8d-f62e7b41a168''',
22-
'''acdd72a7-3385-48ef-bd42-f606fba81ae7''',
23-
'''b24988ac-6180-42a0-ab88-20f7382dd24c''',
24-
'''ba92f5b4-2d11-453d-a403-e96b0029c9fe'''
15+
'''(127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|172\.(1[6-9]|2[0-9]|3[0-1])\.[0-9]{1,3}\.[0-9]{1,3}|192\.168\.[0-9]{1,3}\.[0-9]{1,3}|0\.0\.0\.0|255\.255\.255\.255|8\.8\.8\.8|8\.8\.4\.4|208\.67\.222\.222|208\.67\.220\.220)'''
2516
]
2617

2718

28-
2919
[allowlist]
3020
paths = ['''.terraform.lock.hcl''', '''poetry.lock''', '''yarn.lock''']
21+
22+
regexes = [
23+
# Known false-positive Azure client / role IDs
24+
'''abfa0a7c-a6b6-4736-8310-5855508787cd''',
25+
'''205478c0-bd83-4e1b-a9d6-db63a3e1e1c8''',
26+
'''ec156ff8-a8d1-4d15-830c-5b80698ca432''',
27+
'''4633458b-17de-408a-b874-0445c86b69e6''',
28+
'''f58310d9-a9f6-439a-9e8d-f62e7b41a168''',
29+
'''acdd72a7-3385-48ef-bd42-f606fba81ae7''',
30+
'''b24988ac-6180-42a0-ab88-20f7382dd24c''',
31+
'''ba92f5b4-2d11-453d-a403-e96b0029c9fe'''
32+
]

0 commit comments

Comments
 (0)