From 4eecaf9ba312fe8d747a95e76047fb5f7eb7c2b4 Mon Sep 17 00:00:00 2001 From: andrew-jameson Date: Thu, 1 Feb 2024 11:09:03 -0500 Subject: [PATCH 1/3] can we just remove return code? --- scripts/zap-scanner.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/zap-scanner.sh b/scripts/zap-scanner.sh index d03259221..d66f12371 100755 --- a/scripts/zap-scanner.sh +++ b/scripts/zap-scanner.sh @@ -199,5 +199,3 @@ if [ "$ENVIRONMENT" = "nightly" ]; then echo "export ZAP_${TARGET}_FAIL_COUNT=$ZAP_FAIL_COUNT" } >> "$BASH_ENV" fi - -exit $ZAP_EXIT From 02bdaedce8d15d66246fac546d00e38b5a329d8c Mon Sep 17 00:00:00 2001 From: andrew-jameson Date: Thu, 1 Feb 2024 11:12:52 -0500 Subject: [PATCH 2/3] hijacking github workflow to get owasp triggered in pipeline --- .github/workflows/build-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 5aef71099..fedb904e5 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -42,6 +42,7 @@ jobs: project-slug: ${{ github.repository }} branch: ${{ (github.event_name == 'pull_request') && github.head_ref || github.ref_name }} payload: '{ + "run_owasp_scan": true, "build_and_test_all": true, "triggered": true }' \ No newline at end of file From e7124ad0fd95711a95862a610c9cdc9344536656 Mon Sep 17 00:00:00 2001 From: andrew-jameson Date: Wed, 10 Apr 2024 14:36:13 -0400 Subject: [PATCH 3/3] new commit --- .circleci/owasp/workflows.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/owasp/workflows.yml b/.circleci/owasp/workflows.yml index bfa2796ac..100959ead 100644 --- a/.circleci/owasp/workflows.yml +++ b/.circleci/owasp/workflows.yml @@ -14,6 +14,7 @@ branches: only: - develop + - feat/2768-owasp-scan-new - nightly-owasp-scan: target_env: staging filters: