Skip to content

Commit

Permalink
chore: disable scheduled zap scans
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeLyttle committed Nov 29, 2024
1 parent 414c89a commit d7b7e34
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ jobs:
# target: test

# Run sequentially to reduce chances of rate limiting
zap_scan:
runs-on: ubuntu-latest
name: ZAP Scans
env:
DOMAIN: apps.silver.devops.gov.bc.ca
PREFIX: ${{ github.event.repository.name }}-test
steps:
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.12.0
with:
allow_issue_writing: true
artifact_name: "zap_backend"
cmd_options: "-a"
issue_title: "ZAP: Backend"
target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}/api
# zap_scan:
# runs-on: ubuntu-latest
# name: ZAP Scans
# env:
# DOMAIN: apps.silver.devops.gov.bc.ca
# PREFIX: ${{ github.event.repository.name }}-test
# steps:
# - name: ZAP Scan
# uses: zaproxy/action-full-scan@v0.12.0
# with:
# allow_issue_writing: true
# artifact_name: "zap_backend"
# cmd_options: "-a"
# issue_title: "ZAP: Backend"
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}/api

- name: ZAP Scan - Frontend
uses: zaproxy/action-full-scan@v0.12.0
with:
allow_issue_writing: true
artifact_name: "zap_frontend"
cmd_options: "-a"
issue_title: "ZAP: Frontend"
target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}
# - name: ZAP Scan - Frontend
# uses: zaproxy/action-full-scan@v0.12.0
# with:
# allow_issue_writing: true
# artifact_name: "zap_frontend"
# cmd_options: "-a"
# issue_title: "ZAP: Frontend"
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}

0 comments on commit d7b7e34

Please sign in to comment.