Skip to content

Scheduled

Scheduled #12

Workflow file for this run

name: Scheduled
on:
schedule: [cron: "0 11 * * 6"] # 3 AM PST = 12 PM UDT, Saturdays
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
zap_scan:
runs-on: ubuntu-latest
name: Penetration Tests
env:
DOMAIN: apps.silver.devops.gov.bc.ca
PREFIX: ${{ github.event.repository.name }}-test
strategy:
matrix:
name: [backend, frontend]
include:
- name: backend
target: https://nr-forest-client-test-backend.apps.silver.devops.gov.bc.ca
- name: frontend
target: https://forestclient-tst.nrs.gov.bc.ca
steps:
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.9.0
with:
allow_issue_writing: true
artifact_name: "zap_${{ matrix.name }}"
cmd_options: "-a"
issue_title: "ZAP: ${{ matrix.name }}"
target: ${{ matrix.target }}