Skip to content

Commit b17697a

Browse files
authored
Merge pull request #828 from bcgov/yj
chore: zap api scan
2 parents 415a48d + fbc7eb6 commit b17697a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/zap-api-scan.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Run ZAP API Scan
33
on:
44
workflow_dispatch:
55
inputs:
6+
host_url:
7+
type: string
8+
description: The URL of the host to scan
9+
default: https://uat.strdata.gov.bc.ca
610
spec_url:
711
type: string
812
description: The URL of the OpenAPI/GraphQL spec
@@ -41,4 +45,4 @@ jobs:
4145
format: openapi
4246
target: ${{ github.event.inputs.spec_url }}
4347
rules_file_name: '.zap/rules.tsv'
44-
cmd_options: '-a'
48+
cmd_options: '-o {{ github.event.inputs.host_url }}'

0 commit comments

Comments
 (0)