Skip to content

Commit 4579070

Browse files
authored
Merge pull request #772 from bcgov/yj
chore: added zap scan
2 parents cea8468 + 45f8f2a commit 4579070

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/deploy-test.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,24 @@ jobs:
132132
git add .
133133
134134
git commit -m "Update image tag to ${vtag//v} on $datetime"
135-
git push origin test
135+
git push origin test
136+
137+
zap-scan:
138+
needs: [deploy-emerald]
139+
runs-on: ubuntu-22.04
140+
timeout-minutes: 10
141+
permissions:
142+
contents: read
143+
issues: write
144+
145+
steps:
146+
- uses: hmarr/debug-action@a701ed95a46e6f2fb0df25e1a558c16356fae35a
147+
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5
148+
with:
149+
ref: main
150+
- name: ZAP Scan
151+
uses: zaproxy/action-full-scan@c8994d4f913cf872ec9964ac2d998c9bec369060
152+
with:
153+
token: ${{ secrets.GITHUB_TOKEN }}
154+
target: https://dev.strdata.gov.bc.ca/
155+
rules_file_name: '.zap/rules.tsv'

0 commit comments

Comments
 (0)