Skip to content

Commit a4758d2

Browse files
committed
fix(cicd): use the ZAP API instead of the full scan
1 parent c01660a commit a4758d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,10 @@ jobs:
190190
run: npm start > /dev/null &
191191

192192
- name: Run ZAP Scan
193-
uses: zaproxy/action-full-scan@6eade0f93b10fad8cfb4e63b979703a2cbd0cc98 # tag=v0.4.0
193+
uses: zaproxy/action-api-scan@v0.1.1
194194
with:
195-
target: http://localhost:3000
195+
target: http://localhost:3000/swagger/json
196+
format: openapi
196197

197198
# -- PRE-RELEASE ------------------------------------------------------------
198199
pre-release:

0 commit comments

Comments
 (0)