From 633603d89a1bc157c6fe77c89dbd602caf901cb4 Mon Sep 17 00:00:00 2001 From: Ankush Jain <91221068+ankush-jain-akto@users.noreply.github.com> Date: Thu, 19 Oct 2023 12:07:49 -0700 Subject: [PATCH] Update devsecops.yml --- .github/workflows/devsecops.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/devsecops.yml b/.github/workflows/devsecops.yml index d8d18ce3126..6188724a448 100644 --- a/.github/workflows/devsecops.yml +++ b/.github/workflows/devsecops.yml @@ -13,22 +13,14 @@ on: jobs: - akto_cicd_test: + akto: runs-on: ubuntu-latest - name: Akto CI/CD steps: - - uses: actions/checkout@v2 - - uses: akto-api-security/run-scan@v1.0.3 - with: - AKTO_DASHBOARD_URL: ${{secrets.AKTO_DASHBOARD_URL}} - AKTO_API_KEY: ${{secrets.AKTO_API_KEY}} - AKTO_TEST_ID: ${{secrets.AKTO_TEST_ID}} - - name: Fetch Testing run results + - name: akto env: - AKTO_DASHBOARD_URL: ${{vars.AKTO_DASHBOARD_URL}} - AKTO_API_KEY: ${{vars.AKTO_API_KEY}} - AKTO_TEST_ID: ${{secrets.AKTO_TEST_ID}} - run: bash ./.github/scripts/akto.sh + AKTO_DASHBOARD_URL: ${{ secrets.AKTO_DASHBOARD_URL }} + AKTO_API_KEY: ${{ secrets.AKTO_API_KEY }} + run: docker run -v ${PWD}:/out -e AKTO_DASHBOARD_URL=$AKTO_DASHBOARD_URL -e TEST_IDS="JWT_NONE_ALGO REMOVE_TOKENS" -e API_COLLECTION_NAME=juice_shop_demo -e AKTO_API_KEY=$AKTO_API_KEY -e OUTPUT_LEVEL=SUMMARY aktosecurity/akto-api-testing-cli:latest secret-leaks: runs-on: ubuntu-latest