Skip to content

Commit

Permalink
1.0.60 Update Action Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Feb 7, 2024
1 parent 245885a commit d0fb4c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-push-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

-
name: Upload Database Container Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: '${{ env.DATABASE_CONTAINER_NAME }}-trivy-scan-results.sarif'
category: ${{ env.DATABASE_CONTAINER_NAME }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

-
name: Upload Database Admin Container Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: '${{ env.DATABASE_ADMIN_CONTAINER_NAME }}-trivy-scan-results.sarif'
category: ${{ env.DATABASE_ADMIN_CONTAINER_NAME }}
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

-
name: Upload LDAP Container Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: '${{ env.LDAP_CONTAINER_NAME }}-trivy-scan-results.sarif'
category: ${{ env.LDAP_CONTAINER_NAME }}
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:

-
name: Upload LDAP Admin Container Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: '${{ env.LDAP_ADMIN_CONTAINER_NAME }}-trivy-scan-results.sarif'
category: ${{ env.LDAP_ADMIN_CONTAINER_NAME }}
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:

-
name: Upload Web Container Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: '${{ env.WEB_CONTAINER_NAME}}-trivy-scan-results.sarif'
category: ${{ env.WEB_CONTAINER_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-dockerfiles-with-hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Define the threshold for failure based on severity (e.g., 'error').

- name: Upload Results to GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: hadolint-results.sarif
category: "Hadolint Dockerfile Scan"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-dockerfiles-with-kics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
ignore_on_exit: results

- name: Upload Results to GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: results.sarif
category: "KICS Dockerfile Scan"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-dockerfiles-with-trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
severity: 'CRITICAL,HIGH,MEDIUM'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@main
if: always()
with:
sarif_file: 'dockerfile-trivy-scan-results.sarif'

0 comments on commit d0fb4c7

Please sign in to comment.