Skip to content
name: OWASP ZAP Integration with GitHub Actions
on: [push]
jobs:
zap_scan:
runs-on: ubuntu-latest
name: Scan the webapplication
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: ZAP Scan
uses: zaproxy/action-api-scan@v0.6.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
format: openapi
target: 'https://www.testphp.vulnweb.com/'
rules_file_name: '.zap/rules.tsv'
cmd_options: '-a'