Merge pull request #49 from DTS-STN/fix-fr-content #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dynamic Application Security Tests | |
on: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
working-directory: ./astro-frontend | |
jobs: | |
zap-proxy-scan: | |
name: ZAP Proxy Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Docker Build | |
run: docker build -t astro-frontend . | |
env: | |
CI: true | |
- name: Docker run | |
run: docker run -d -p 4321:4321 astro-frontend | |
env: | |
CI: true | |
- name: OWASP ZAP FULL Scan | |
uses: zaproxy/[email protected] | |
with: | |
target: "http://localhost:4321" | |
fail_action: "false" | |
token: ${{ secrets.GITHUB_TOKEN }} |