Skip to content

Commit 43b564f

Browse files
samuelho-devclaude
andcommitted
fix: fix gitleaks SHA and update trivy-scan to safe action version
- gitleaks-action: SHA 1f2d10fb...beba84ae does not exist (miscopied). Updated to v2.3.9 (ff98106e) which is the latest stable release. - trivy-action: Updated from v0.33.1 (b6643a29, compromised range) to v0.35.0 (57a97c7e, post-compromise safe release). Pinned trivy binary to v0.65.0 to avoid SARIF generation regression in v0.69.x (empty artifactLocation.uri fields rejected by upload-sarif). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 814fe5e commit 43b564f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/gitleaks-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Run Gitleaks scan
6969
id: scan
70-
uses: gitleaks/gitleaks-action@1f2d10fb689bc07a5f56f48d6db61f94beba84ae # v2.4.0
70+
uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373
GITLEAKS_CONFIG: ${{ inputs.config-path }}

.github/workflows/trivy-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Run Trivy scanner
7878
id: scan
79-
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1
79+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
8080
with:
8181
scan-type: ${{ inputs.scan-type }}
8282
scan-ref: ${{ inputs.scan-ref }}
@@ -88,6 +88,7 @@ jobs:
8888
skip-dirs: ${{ inputs.skip-dirs }}
8989
timeout: ${{ inputs.timeout }}
9090
trivyignores: '.trivyignore'
91+
version: 'v0.65.0'
9192

9293
- name: Count findings
9394
id: count

0 commit comments

Comments
 (0)