From 215350f78e5ea2dcc144ed1098698879ee0ec6c7 Mon Sep 17 00:00:00 2001 From: Max Saperstone Date: Tue, 12 Mar 2024 09:17:48 -0400 Subject: [PATCH] Updating GHA (#1207) * Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump zaproxy/action-baseline from 0.9.0 to 0.11.0 Bumps [zaproxy/action-baseline](https://github.com/zaproxy/action-baseline) from 0.9.0 to 0.11.0. - [Release notes](https://github.com/zaproxy/action-baseline/releases) - [Changelog](https://github.com/zaproxy/action-baseline/blob/master/CHANGELOG.md) - [Commits](https://github.com/zaproxy/action-baseline/compare/v0.9.0...v0.11.0) --- updated-dependencies: - dependency-name: zaproxy/action-baseline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Bump zaproxy/action-full-scan from 0.7.0 to 0.9.0 Bumps [zaproxy/action-full-scan](https://github.com/zaproxy/action-full-scan) from 0.7.0 to 0.9.0. - [Release notes](https://github.com/zaproxy/action-full-scan/releases) - [Changelog](https://github.com/zaproxy/action-full-scan/blob/master/CHANGELOG.md) - [Commits](https://github.com/zaproxy/action-full-scan/compare/v0.7.0...v0.9.0) --- updated-dependencies: - dependency-name: zaproxy/action-full-scan dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/container-scan.yml | 6 +++--- .github/workflows/dependency-checks.yml | 8 ++++---- .github/workflows/functional_testing.yml | 4 ++-- .github/workflows/unit-test.yml | 12 ++++++------ .github/workflows/zap_scans.yml | 4 ++-- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 49ad88f4..d0a9235d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/container-scan.yml b/.github/workflows/container-scan.yml index b33e6732..7bdfc116 100644 --- a/.github/workflows/container-scan.yml +++ b/.github/workflows/container-scan.yml @@ -34,7 +34,7 @@ jobs: - name: Upload Anchore Scan SARIF Report 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan-api.outputs.sarif }} category: api @@ -63,7 +63,7 @@ jobs: - name: Upload Anchore Scan SARIF Report 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan-ui.outputs.sarif }} category: ui @@ -92,7 +92,7 @@ jobs: - name: Upload Anchore Scan SARIF Report 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan-sql.outputs.sarif }} category: sql diff --git a/.github/workflows/dependency-checks.yml b/.github/workflows/dependency-checks.yml index 89b072e0..b4cbd46d 100644 --- a/.github/workflows/dependency-checks.yml +++ b/.github/workflows/dependency-checks.yml @@ -27,14 +27,14 @@ jobs: - name: Upload Lint Sarif 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: reports/dependency-check-report.sarif category: api - name: Publish Result 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: OWASP Dependency Check API Results path: reports @@ -59,14 +59,14 @@ jobs: - name: Upload Lint Sarif 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: reports/dependency-check-report.sarif category: ui - name: Publish Result 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: OWASP Dependency Check UI Results path: reports \ No newline at end of file diff --git a/.github/workflows/functional_testing.yml b/.github/workflows/functional_testing.yml index 07fb1024..80db4b8a 100644 --- a/.github/workflows/functional_testing.yml +++ b/.github/workflows/functional_testing.yml @@ -74,7 +74,7 @@ jobs: - name: Archive Test Results 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Functional Test Results path: 'Selenium Test Results' @@ -145,7 +145,7 @@ jobs: - name: Archive Test Results 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Accessibility Test Results path: 'Selenium Test Results' \ No newline at end of file diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index c097fd28..587a5a49 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -31,7 +31,7 @@ jobs: - name: Upload Lint Sarif 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: api/api-results.sarif category: api @@ -41,7 +41,7 @@ jobs: - name: Upload Coverage 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: api-coverage path: api/coverage/lcov.info @@ -74,7 +74,7 @@ jobs: - name: Upload Lint Sarif 📊 if: always() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ui/ui-results.sarif category: ui @@ -84,7 +84,7 @@ jobs: - name: Upload Coverage 📊 if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ui-coverage path: ui/coverage/lcov.info @@ -99,13 +99,13 @@ jobs: uses: actions/checkout@v4 - name: Get API Coverage - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: api-coverage path: api/ - name: Get UI Coverage - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-coverage path: ui/ diff --git a/.github/workflows/zap_scans.yml b/.github/workflows/zap_scans.yml index ecb94be6..41c4e7e2 100644 --- a/.github/workflows/zap_scans.yml +++ b/.github/workflows/zap_scans.yml @@ -53,7 +53,7 @@ jobs: run: docker-compose -f docker-compose.yml up -d --build - name: ZAP Scan - uses: zaproxy/action-baseline@v0.9.0 + uses: zaproxy/action-baseline@v0.11.0 with: target: 'http://localhost:70' allow_issue_writing: false @@ -103,7 +103,7 @@ jobs: run: docker-compose -f docker-compose.yml up -d --build - name: ZAP Scan - uses: zaproxy/action-full-scan@v0.7.0 + uses: zaproxy/action-full-scan@v0.9.0 with: target: 'http://localhost:70' allow_issue_writing: false \ No newline at end of file