openvibers/openvibe.games Commits

gitleaks: the made-up session token's allowlist also covers its first-commit path (sqlite/sqliteStore.test.ts), so main's secrets scan is green again (#99)

OP OpenVibers committed 27 days ago · c8522681ed · 1 file, +2 −2

Changes

ddiff --git a/.gitleaks.toml b/.gitleaks.toml
iindex 4521cc2..499abe4 100644
---- a/.gitleaks.toml
++++ b/.gitleaks.toml
@@@ -5,9 +5,9 @@
useDefault = true
[[allowlists]]
--description = "Made-up player/session tokens in unit tests"
++description = "Made-up player/session tokens in unit tests (sqlite/sqliteStore.test.ts: the same token in the first commit, before the PostgreSQL move)"
condition = "AND"
--paths = ['''^packages/(persistence/src/pg/pgStore|protocol/src/codec)\.test\.ts$''']
++paths = ['''^packages/(persistence/src/pg/pgStore|persistence/src/sqlite/sqliteStore|protocol/src/codec)\.test\.ts$''']
regexes = ['''^(tok_12345678|abcdefgh12345678)$''']
[[allowlists]]