openvibers/openvibe.media Commits
gitleaks: allow the owner-subject test's made-up INTERNAL_API_KEY, matched on path and value
Changes
@@@ -15,3 +15,9 @@ description = "Throwaway app keys the local smoke test provisions for its own tecondition = "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$''']
@@ -15,3 +15,9 @@ description = "Throwaway app keys the local smoke test provisions for its own te
@@ -15,3 +15,9 @@ description = "Throwaway app keys the local smoke test provisions for its own te
condition = "AND"
condition = "AND"
paths = ['''^scripts/smoke-test\.sh$''']
paths = ['''^scripts/smoke-test\.sh$''']
regexes = ['''^(smoke-[a-z]+-key-[0-9]+|wrong-key)$''']
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$''']