Skip to content

Merge pull request #681 from DTS-STN/dependabot/npm_and_yarn/frontend… #600

Merge pull request #681 from DTS-STN/dependabot/npm_and_yarn/frontend…

Merge pull request #681 from DTS-STN/dependabot/npm_and_yarn/frontend… #600

Workflow file for this run

name: Dynamic Application Security Tests
on:
push:
branches: [main]
defaults:
run:
working-directory: ./frontend
jobs:
zap-proxy-scan:
name: ZAP Proxy Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker Build
run: docker build -t senior-journey .
env:
CI: true
- name: Docker run
run: docker run -d -p 3000:3000 senior-journey
env:
CI: true
- name: OWASP ZAP FULL Scan
uses: zaproxy/[email protected]
with:
target: "http://localhost:3000"
fail_action: "false"
token: ${{ secrets.GITHUB_TOKEN }}