Skip to content

Commit

Permalink
Update devsecops.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Oct 19, 2023
1 parent d9a8ead commit 3ae3a08
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/devsecops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ on:

jobs:

akto:
runs-on: ubuntu-latest
steps:
- name: akto
env:
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
- run: cat output.txt >> $GITHUB_STEP_SUMMARY

secret-leaks:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -67,6 +57,17 @@ jobs:
run: echo "Image pushed"


akto:
runs-on: ubuntu-latest
needs: package
steps:
- name: akto
env:
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
- run: cat output.txt >> $GITHUB_STEP_SUMMARY

deploy:
runs-on: ubuntu-latest
needs: package
Expand Down

0 comments on commit 3ae3a08

Please sign in to comment.