From 51949b2d14ab4ff6079e439344ccf409d45a1bf3 Mon Sep 17 00:00:00 2001 From: Andrew Kubyshkin Date: Thu, 23 May 2024 17:07:37 +0500 Subject: [PATCH 1/3] VCST-1107: Use latest zaproxy/action-baseline --- .github/workflows/platfotm-owasp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platfotm-owasp.yml b/.github/workflows/platfotm-owasp.yml index 254704bbee5..2e8b91b0f5f 100644 --- a/.github/workflows/platfotm-owasp.yml +++ b/.github/workflows/platfotm-owasp.yml @@ -38,9 +38,9 @@ jobs: validateSwagger: 'false' - name: OWASP ZAP Full Scan - uses: zaproxy/action-baseline@v0.4.0 + uses: zaproxy/action-baseline@v0.12.0 with: token: ${{ secrets.GITHUB_TOKEN }} - docker_name: 'owasp/zap2docker-stable' + # docker_name: 'owasp/zap2docker-stable' target: 'http://localhost:8090' cmd_options: '-a -d' From f582f4e0f88f7a7f383b48c52584091b72b8a68c Mon Sep 17 00:00:00 2001 From: Andrew Kubyshkin Date: Thu, 23 May 2024 17:26:31 +0500 Subject: [PATCH 2/3] VCST-1107: Remove docker_name --- .github/workflows/platfotm-owasp.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/platfotm-owasp.yml b/.github/workflows/platfotm-owasp.yml index 2e8b91b0f5f..93b9fe01650 100644 --- a/.github/workflows/platfotm-owasp.yml +++ b/.github/workflows/platfotm-owasp.yml @@ -41,6 +41,5 @@ jobs: uses: zaproxy/action-baseline@v0.12.0 with: token: ${{ secrets.GITHUB_TOKEN }} - # docker_name: 'owasp/zap2docker-stable' target: 'http://localhost:8090' cmd_options: '-a -d' From 00a4f94808c2535dce6d62df6e127adedcdf504c Mon Sep 17 00:00:00 2001 From: Andrew Kubyshkin Date: Thu, 23 May 2024 18:23:47 +0500 Subject: [PATCH 3/3] VCST-1107: Replace docker login --- .github/workflows/platfotm-owasp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/platfotm-owasp.yml b/.github/workflows/platfotm-owasp.yml index 93b9fe01650..5cac049aec2 100644 --- a/.github/workflows/platfotm-owasp.yml +++ b/.github/workflows/platfotm-owasp.yml @@ -22,9 +22,9 @@ jobs: uses: VirtoCommerce/vc-github-actions/setup-vcbuild@master - name: Docker Login - uses: azure/docker-login@v1 + uses: docker/login-action@v3 with: - login-server: ghcr.io + registry: ghcr.io username: $GITHUB_ACTOR password: ${{ secrets.GITHUB_TOKEN }}