Skip to content

Commit

Permalink
Trufflehog, iamge security scan
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderM91 committed Oct 16, 2024
1 parent 4e1530b commit 03f2711
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ jobs:
run: |
docker build --platform ${{ matrix.platforms }} -t spryker/php:${{ matrix.tags }} -f ${{ matrix.context }}/${{ matrix.dockerfile }} .
- name: Scan Docker image with Trufflehog
continue-on-error: false
run: |
docker run --rm trufflesecurity/trufflehog:latest docker --image spryker/php:${{ matrix.tags }} --only-verified
- name: Scan Docker image with Trivy
uses: aquasecurity/[email protected]
with:
Expand All @@ -87,11 +92,6 @@ jobs:
severity: 'LOW,MEDIUM,HIGH,CRITICAL'
ignore-unfixed: true

- name: Scan Docker image with Trufflehog
continue-on-error: false
run: |
docker run --rm trufflesecurity/trufflehog:latest docker --image spryker/php:${{ matrix.tags }} --only-verified
- name: Show scan result
run: |
echo "Trivy scan completed for spryker/php:${{ matrix.tags }}"

0 comments on commit 03f2711

Please sign in to comment.