Skip to content

Commit

Permalink
Create zap_scan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
raga70 authored Jun 10, 2024
1 parent 8118e24 commit b3dd713
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/zap_scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ZAP Security Scan

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
zap_scan:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: ZAP Scan
uses: zaproxy/[email protected]
with:
token: ${{ secrets.ZAPGHT }}
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
target: 'https://react-app-xwjwz3lfdq-ez.a.run.app'
rules_file_name: '.zap/rules.tsv'
cmd_options: '-a'

0 comments on commit b3dd713

Please sign in to comment.