Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Use category with Grype scan SARIF results (#3137)

Wouter Born7c5ef9fe0640
diff --git a/.github/workflows/build-manager-image.yml b/.github/workflows/build-manager-image.yml
index 770b48d8d..d118b2b5c 100644
--- a/.github/workflows/build-manager-image.yml
+++ b/.github/workflows/build-manager-image.yml
@@ -106,6 +106,7 @@ jobs:
if: ${{ always() && steps.meta.outputs.should_push == 'true' }}
with:
sarif_file: ${{ steps.manager-anchore-scan.outputs.sarif }}
+ category: grype-manager
- name: Inspect Anchore scan SARIF report
if: ${{ always() && steps.meta.outputs.should_push == 'true' }}
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 332fe95ac..bcba1f916 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -866,6 +866,7 @@ jobs:
uses: github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
sarif_file: ${{ steps.manager-anchore-scan.outputs.sarif }}
+ category: grype-manager
- name: Inspect Anchore scan SARIF report
if: |