Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build-home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,24 @@ jobs:
output: 'trivy-results-home.sarif'
ignore-unfixed: true

- name: Scan image with Sysdig
id: scan
uses: sysdiglabs/scan-action@v6
with:
sysdig-secure-token: ${{ secrets.SYSDIG_SECURE_TOKEN }}
sysdig-secure-url: ${{ vars.SYSDIG_SECURE_ENDPOINT }}
image-tag: '${{ env.DEV_REGISTRY }}/home:${{ env.BRANCH }}'
stop-on-failed-policy-eval: false # TODO - switch to true once we're ready to use sysdig as our primary scanner
stop-on-processing-error: true
severity-at-least: high
group-by-package: true

- name: Upload Sysdig scan results
if: success() || failure()
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: ${{ github.workspace }}/sarif.json

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v4
with:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/build-mats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,24 @@ jobs:
with:
sarif_file: 'trivy-results-${{ env.APP_LOWERCASE }}.sarif'

- name: Scan image with Sysdig
id: scan
uses: sysdiglabs/scan-action@v6
with:
sysdig-secure-token: ${{ secrets.SYSDIG_SECURE_TOKEN }}
sysdig-secure-url: ${{ vars.SYSDIG_SECURE_ENDPOINT }}
image-tag: '${{ env.DEV_REGISTRY }}/${{ env.APP_LOWERCASE }}:${{ env.BRANCH }}'
stop-on-failed-policy-eval: false # TODO - switch to true once we're ready to use sysdig as our primary scanner
stop-on-processing-error: true
severity-at-least: high
group-by-package: true

- name: Upload Sysdig scan results
if: success() || failure()
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: ${{ github.workspace }}/sarif.json

- name: Upload Resource Metrics
if: always()
uses: actions/upload-artifact@v7
Expand Down
Loading