Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeQL Action v2 to v3 & Upload Artifact v3 to v4 #1300

Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/docker-bench-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
docker-bench-security | tee results/docker_bench_security_report.txt

- name: Upload Security Bench Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docker_bench_security-report
path: results/docker_bench_security_report.txt
2 changes: 1 addition & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error /openfl-docker/Dockerfile.base
docker run -v ${PWD}/openfl-docker:/openfl-docker --rm -i hadolint/hadolint hadolint -t error -f json /openfl-docker/Dockerfile.base > hadolint_output.json
- name: Upload Hadolint JSON Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hadolint-report
path: hadolint_output.json
10 changes: 5 additions & 5 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'

Expand All @@ -55,7 +55,7 @@ jobs:
.

- name: Upload Code Vulnerability Scan Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-code-report-json
path: trivy-code-results.json
Expand All @@ -74,7 +74,7 @@ jobs:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'

- name: Upload Docker Vulnerability Scan
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-docker-report-json
path: trivy-docker-results.json
Expand All @@ -91,7 +91,7 @@ jobs:
.

- name: Upload Code Vulnerability Scan Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-code-spdx-report-json
path: trivy-code-spdx-results.json
Expand All @@ -110,7 +110,7 @@ jobs:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'

- name: Upload Docker Vulnerability Scan
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: trivy-docker-spdx-report-json
path: trivy-docker-spdx-results.json
Loading