# Extends the default gitleaks rules. Keep allowlists narrow: match the
2
# exact fixture value, never a whole rule, file or directory.
3
[extend]
4
useDefault = true
5
6
[[allowlists]]
7
description = "Plan 3 integration fixtures use the literal instance key plan3-fixture for offline test apps; it is not a credential."
8
regexTarget = "line"
9
regexes = ['''InstanceKey:\s*"plan3-fixture"''']
10
11
[[allowlists]]
12
description = "Offline expiry tests use this unsigned fake token with exp=1; it is not a credential."
13
regexTarget = "secret"
14
regexes = ['''^e30\.eyJleHAiOjF9\.sig$''']
15
16
[[allowlists]]
17
description = "The fake TensorX on 127.0.0.1 accepts only this fixed test key, delivered to a real Pi in the Pi tests (connectors spec S2); it is not a credential."
18
regexTarget = "secret"
19
regexes = ['''^tx-equipo-test-key-0123456789$''']
20
21
[[allowlists]]
22
description = "The fake OpenCode Go on 127.0.0.1 accepts only this fixed test key, delivered to a real OpenCode in the OpenCode tests (connectors spec S5); it is not a credential."
description = "Native push tests compare the fake device bearers the native fixtures have always used (equipo.person.v1.TOKENFIXTURE, equipo.person.v1.OTHER); they are not credentials."
description = "The protocol 37 worker hello fixture (wiretest frames/hello-worker-conns.json) uses the seal key 0123456789abcdef0123456789abcdef, as text and as base64; it is not a credential."