Permit Service - ZAP Scan #461
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: Permit Service - ZAP Scan | |
| on: | |
| schedule: | |
| - cron: "0 8 * * *" # Runs at 08:00 UTC (Midnight PST) | |
| workflow_dispatch: | |
| jobs: | |
| zap_scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: ZAP API Full Scan | |
| uses: zaproxy/[email protected] | |
| with: | |
| target: "https://mds-permits-test.apps.silver.devops.gov.bc.ca/openapi.json " | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload ZAP Report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: zap-report | |
| path: report_html.html |