Run Auth Tests #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Auth Tests | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Authentication Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Authentication plan tests | |
id: "test-auth-plans" | |
if: ${{ ! cancelled() }} | |
env: | |
AUTH_SCANS_CREDS: ${{ secrets.AUTH_SCANS_CREDS }} | |
run: | | |
docker pull ghcr.io/zaproxy/zaproxy:nightly | |
echo "$AUTH_SCANS_CREDS" | tee -a scans/auth/all_vars.env > /dev/null | |
chmod -R a+w $(pwd) | |
docker run --rm -v $(pwd):/zap/wrk/:rw --env-file scans/auth/all_vars.env -t zaproxy/zap-nightly /zap/wrk/scans/auth/auth_plan_tests.sh |