Skip to content

Commit 85edb8c

Browse files
committed
🔒 Update secrets
1 parent 850e14c commit 85edb8c

File tree

3 files changed

+43
-25
lines changed

3 files changed

+43
-25
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/setup-python@v6
5353
- name: Install tools
54-
run: pip install detect-secrets==1.0.3 && pip list
54+
run: pip install detect-secrets[gibberish]==1.5.0 && pip list
5555
- uses: actions/checkout@v5
5656
with:
5757
fetch-depth: 0
@@ -61,7 +61,7 @@ jobs:
6161
# with:
6262
# config-path: .gitleaks.toml
6363
- name: Check for secrets using detect-secrets
64-
run: git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline --exclude-files '.*go\.sum$' --exclude-files '.*\.html$' --exclude-files '.*\.properties$' --exclude-files 'ci.yml'
64+
run: git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
6565
working-directory: .
6666

6767
build-and-test:

.secrets.baseline

Lines changed: 40 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.3",
2+
"version": "1.5.0",
33
"plugins_used": [
44
{
55
"name": "ArtifactoryDetector"
@@ -20,6 +20,15 @@
2020
{
2121
"name": "CloudantDetector"
2222
},
23+
{
24+
"name": "DiscordBotTokenDetector"
25+
},
26+
{
27+
"name": "GitHubTokenDetector"
28+
},
29+
{
30+
"name": "GitLabTokenDetector"
31+
},
2332
{
2433
"name": "HexHighEntropyString",
2534
"limit": 3.0
@@ -30,6 +39,9 @@
3039
{
3140
"name": "IbmCosHmacDetector"
3241
},
42+
{
43+
"name": "IPPublicDetector"
44+
},
3345
{
3446
"name": "JwtTokenDetector"
3547
},
@@ -43,9 +55,18 @@
4355
{
4456
"name": "NpmDetector"
4557
},
58+
{
59+
"name": "OpenAIDetector"
60+
},
4661
{
4762
"name": "PrivateKeyDetector"
4863
},
64+
{
65+
"name": "PypiTokenDetector"
66+
},
67+
{
68+
"name": "SendGridDetector"
69+
},
4970
{
5071
"name": "SlackDetector"
5172
},
@@ -58,6 +79,9 @@
5879
{
5980
"name": "StripeDetector"
6081
},
82+
{
83+
"name": "TelegramBotTokenDetector"
84+
},
6185
{
6286
"name": "TwilioKeyDetector"
6387
}
@@ -66,20 +90,26 @@
6690
{
6791
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
6892
},
69-
{
70-
"path": "detect_secrets.filters.common.is_baseline_file",
71-
"filename": ".secrets.baseline"
72-
},
7393
{
7494
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
7595
"min_level": 2
7696
},
97+
{
98+
"path": "detect_secrets.filters.gibberish.should_exclude_secret",
99+
"limit": 3.7
100+
},
77101
{
78102
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
79103
},
80104
{
81105
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
82106
},
107+
{
108+
"path": "detect_secrets.filters.heuristic.is_lock_file"
109+
},
110+
{
111+
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
112+
},
83113
{
84114
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
85115
},
@@ -89,6 +119,9 @@
89119
{
90120
"path": "detect_secrets.filters.heuristic.is_sequential_string"
91121
},
122+
{
123+
"path": "detect_secrets.filters.heuristic.is_swagger_file"
124+
},
92125
{
93126
"path": "detect_secrets.filters.heuristic.is_templated_secret"
94127
},
@@ -129,25 +162,9 @@
129162
"filename": "client/docs/WorkspaceAPI.md",
130163
"hashed_secret": "a971ecb6f8d59edcdb891d80bc3965504aa1f6ec",
131164
"is_verified": false,
132-
"line_number": 333
133-
}
134-
],
135-
"client/model_pat_creation_item.go": [
136-
{
137-
"type": "Secret Keyword",
138-
"filename": "client/model_pat_creation_item.go",
139-
"hashed_secret": "e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4",
140-
"is_verified": false,
141-
"line_number": 54
142-
},
143-
{
144-
"type": "Secret Keyword",
145-
"filename": "client/model_pat_creation_item.go",
146-
"hashed_secret": "a4e598507eef10354f3836a8bd7235dfed8e08b9",
147-
"is_verified": false,
148-
"line_number": 227
165+
"line_number": 505
149166
}
150167
]
151168
},
152-
"generated_at": "2025-09-15T10:49:33Z"
169+
"generated_at": "2025-10-17T16:43:56Z"
153170
}

changes/20251017174536.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:lock: Update secrets

0 commit comments

Comments
 (0)