openvibers/openvibe.live .gitleaks.toml

.gitleaks.toml

main 1.2 KB · 30 lines · ini

1# gitleaks configuration, used by the shared security workflow
2# (OpenVibers/OpenVibe.Shared/.github/workflows/security.yml). The default rules stay on; every
3# allowlist below is one proven false positive, matched on path AND value so nothing else is hidden.
4[extend]
5useDefault = true
6
7[[allowlists]]
8description = "A made-up Stripe secret in the site-config test that proves a secret never leaves the admin API (real keys are longer and mixed-case)"
9condition = "AND"
10paths = ['''^test/site-config\.test\.js$''']
11regexes = ['''^sk_live_[a-z]{10}$''']
12
13[[allowlists]]
14description = "Placeholder JWT and API tokens in the API documentation"
15condition = "AND"
16paths = ['''^docs/api-tokens\.md$''']
17regexes = ['''^YOUR_JWT$''', '''^hbt_YOUR_TOKEN_HERE$''', '''^hbt_a1b2c3d4e5f6\.\.\.$''']
18
19[[allowlists]]
20description = "Stream key in the initial Cozmo bridge example, rotated on 2026-09-23; the current file has a placeholder"
21condition = "AND"
22paths = ['''^control-bridge-example-cozmo\.py$''']
23commits = ["ac0d6a47f8d4e7f86bb2a9323bd7d3047da9c821"]
24
25[[allowlists]]
26description = "RFC 6455 sample WebSocket key in the drill-mode test"
27condition = "AND"
28paths = ['''^test/drill-mode\.test\.js$''']
29regexes = ['''^dGhlIHNhbXBsZSBub25jZQ==$''']
30