Commit 9543022
authored
fix: onboard new trufflehog action (#280)
This PR updates version of Trufflehog action - secrets scanning tool.
edplato/trufflehog-actions-scan@v0.9l-beta is an quite old action (last
update Dec 9, 2021) basaed on Trufflehog CLI version 2.2.1 (code missing
on github for releases older than v3)
New action is officially Trufflehog supported
[action](https://github.com/trufflesecurity/trufflehog?tab=readme-ov-file#octocat-trufflehog-github-action)
Arguments removed:
--max-dept - trufflehog scan with default settings shall fulfill our
needs
([reference](https://github.com/marketplace/actions/trufflehog-oss#octocat-trufflehog-github-action))
--allow - all related files (trufflehog-false-positive.json) in github
are empty. If need comes for marking false positives, then inline
comment `trufflehog:ignore` can be used
Tests negative:
https://github.com/splunk/splunk-add-on-for-servicenow/actions/runs/9280369321/job/25540435238
https://github.com/splunk/splunk-add-on-for-amazon-web-services/actions/runs/9268640851/job/25540437971
Test positive:
https://github.com/splunk/test-addonfactory-repo/actions/runs/9281576021/job/25540353760
Test negative with added file to excluded:
https://github.com/splunk/test-addonfactory-repo/actions/runs/9282480287/job/255405985921 parent 76b3ef3 commit 9543022
File tree
3 files changed
+13
-20
lines changed- .github/workflows
3 files changed
+13
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
| 267 | + | |
| 268 | + | |
269 | 269 | | |
270 | | - | |
271 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 185 | + | |
191 | 186 | | |
192 | 187 | | |
193 | 188 | | |
194 | | - | |
| 189 | + | |
195 | 190 | | |
196 | 191 | | |
197 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | | - | |
| 9 | + | |
0 commit comments