Gitleaks: ignore legit non-sensitive API keys and tokens in docs/ and test/ (#2068)

This commit is contained in:
Jeremy Daer
2025-12-10 14:23:55 -08:00
committed by GitHub
parent d750c9e5f2
commit 94e991df07
3 changed files with 4 additions and 9 deletions
+2 -1
View File
@@ -6,5 +6,6 @@ paths = [
'''log''', '''log''',
'''tmp''', '''tmp''',
'''.*\.yml\.enc''', '''.*\.yml\.enc''',
'''docs''', '''docs/''',
'''test/''',
] ]
-6
View File
@@ -1,9 +1,3 @@
d8463077:gems/fizzy-saas/bin/setup:generic-api-key:54 d8463077:gems/fizzy-saas/bin/setup:generic-api-key:54
c4073c1c:app/models/integration/basecamp.rb:generic-api-key:3 c4073c1c:app/models/integration/basecamp.rb:generic-api-key:3
c4073c1c:app/models/integration/basecamp.rb:generic-api-key:4 c4073c1c:app/models/integration/basecamp.rb:generic-api-key:4
02a42167:test/models/webhook_test.rb:slack-webhook-url:57
2fc9215b:test/models/webhook/delivery_test.rb:slack-webhook-url:156
2fc9215b:test/models/webhook_test.rb:slack-webhook-url:57
a515ea3b:test/fixtures/webhooks.yml:generic-api-key:5
a515ea3b:test/fixtures/webhooks.yml:generic-api-key:11
1f21c12c:test/vcr_cassettes/command/ai/translator_test-test_combine_commands_and_filters.yml:github-oauth:73012
+2 -2
View File
@@ -1,11 +1,11 @@
jasons_api_token: jasons_api_token:
identity: jason identity: jason
token: 018cf1425682700098f24f0799e3fe20 # gitleaks:allow randomly generated token: 018cf1425682700098f24f0799e3fe20
description: My Superscript description: My Superscript
permission: read permission: read
davids_api_token: davids_api_token:
identity: david identity: david
token: x18cf1425682700098f24f0799e3fe20 # gitleaks:allow randomly generated token: x18cf1425682700098f24f0799e3fe20
description: My Superscript description: My Superscript
permission: write permission: write