Skip to content

Commit

Permalink
add baseline scan
Browse files Browse the repository at this point in the history
  • Loading branch information
kuanfandevops committed Jan 18, 2024
1 parent 3814cf4 commit 249a8ca
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/zap-baseline-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ZAP Baseline Scan
on:
workflow_dispatch:
inputs:
envname:
description: 'dev or test'
required: true
default: 15
jobs:

zap-baseline-scan:
runs-on: ubuntu-latest
steps:
- name: ZAP Full Scan on Frontend
uses: zaproxy/[email protected]
with:
target: "https://itvr-${{ github.event.inputs.envname }}.apps.silver.devops.gov.bc.ca"
issue_title: "ZAP ${{ github.event.inputs.envname }} Frontend Baseline Scan Report"
- name: ZAP Full Scan on Backend
uses: zaproxy/[email protected]
with:
target: 'https://itvr-backend-${{ github.event.inputs.envname }}.apps.silver.devops.gov.bc.ca'
issue_title: "ZAP ${{ github.event.inputs.envname }} Backend Baseline Scan Report"
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
uses: zaproxy/[email protected]
with:
target: 'https://itvr-test.apps.silver.devops.gov.bc.ca'
issue_title: ZAP Test Frontend Baseline Scan Report
- name: ZAP Full Scan on Backend
uses: zaproxy/[email protected]
with:
target: 'https://itvr-backend-test.apps.silver.devops.gov.bc.ca'
target: 'https://itvr-backend-test.apps.silver.devops.gov.bc.ca'
issue_title: ZAP Test Backend Baseline Scan Report

0 comments on commit 249a8ca

Please sign in to comment.