Skip to content

Commit 73cff9c

Browse files
committed
Update security scan categories to avoid conflicts
Change SARIF upload categories to use unique namespaced names: - trivy-image-scan -> security-analysis/trivy-image - trivy-filesystem-scan -> security-analysis/trivy-filesystem This ensures GitHub Security tab references the correct workflow and prevents conflicts with old cached workflow references. Signed-off-by: Ihor Dvoretskyi <[email protected]>
1 parent 51b0f5d commit 73cff9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: always()
4444
with:
4545
sarif_file: 'trivy-results.sarif'
46-
category: 'trivy-image-scan'
46+
category: 'security-analysis/trivy-image'
4747

4848
- name: Generate SBOM
4949
uses: anchore/sbom-action@v0
@@ -74,4 +74,4 @@ jobs:
7474
if: always()
7575
with:
7676
sarif_file: 'trivy-fs-results.sarif'
77-
category: 'trivy-filesystem-scan'
77+
category: 'security-analysis/trivy-filesystem'

0 commit comments

Comments
 (0)