Skip to content

Commit

Permalink
Change dockerimage for zap
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasnim1147 committed Oct 27, 2024
1 parent 7f1f08f commit e6e6cd0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@ jobs:
node app --setup="${SETUP}" --ci="${CI}"
- name: Run OWASP ZAP Docker Scan
uses: zaproxy/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
target: 'https://localhost:4567/'
rules_file_name: '.zap/rules.tsv'
cmd_options: '-a'
run: |
docker run -v $(pwd):/zap/wrk/:rw -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t http://localhost:4567 -r zap_report.html -a
env:
TARGET: 'http://localhost:4567'

- name: Run ESLint
run: npm run lint
Expand Down

0 comments on commit e6e6cd0

Please sign in to comment.