openvibers/openvibe.media Commits

gitleaks: allow the owner-subject test's made-up INTERNAL_API_KEY, matched on path and value

OP OpenVibers committed 23 Sept 2026 · ce6a02ae08 · 1 file, +6 −0


Changes

ddiff --git a/.gitleaks.toml b/.gitleaks.toml
iindex d3a9a94..b852c11 100644
---- a/.gitleaks.toml
++++ b/.gitleaks.toml
@@@ -15,3 +15,9 @@ description = "Throwaway app keys the local smoke test provisions for its own te
condition = "AND"
paths = ['''^scripts/smoke-test\.sh$''']
regexes = ['''^(smoke-[a-z]+-key-[0-9]+|wrong-key)$''']
++
++[[allowlists]]
++description = "Made-up INTERNAL_API_KEY in the owner-subject test's environment (test/owner-subject.test.js); it opens nothing"
++condition = "AND"
++paths = ['''^test/owner-subject\.test\.js$''']
++regexes = ['''^internal-key-0123456789abcdef$''']