# Extends the default gitleaks rules. Keep allowlists narrow: match the # exact fixture value, never a whole rule, file or directory. [extend] useDefault = true [[allowlists]] description = "Plan 3 integration fixtures use the literal instance key plan3-fixture for offline test apps; it is not a credential." regexTarget = "line" regexes = ['''InstanceKey:\s*"plan3-fixture"'''] [[allowlists]] description = "Offline expiry tests use this unsigned fake token with exp=1; it is not a credential." regexTarget = "secret" regexes = ['''^e30\.eyJleHAiOjF9\.sig$'''] [[allowlists]] 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." regexTarget = "secret" regexes = ['''^tx-equipo-test-key-0123456789$'''] [[allowlists]] 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." regexTarget = "secret" regexes = ['''^sk-go-equipo-test-key-0123456789$'''] [[allowlists]] 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." regexTarget = "line" regexes = ['''\["equipo\.person\.v1\.TOKENFIXTURE", "equipo\.person\.v1\.OTHER"\]'''] [[allowlists]] 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." regexTarget = "secret" regexes = ['''^0123456789abcdef0123456789abcdef$''', '''^MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY=$''']