From 8930de942d5fababf88dad48627aeb29c34fddba Mon Sep 17 00:00:00 2001 From: asecurityguru <100665517+asecurityguru@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:08:30 +0530 Subject: [PATCH] Fixed issues in owasp-zap-scan.yml --- .github/workflows/owasp-zap-scan.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/owasp-zap-scan.yml b/.github/workflows/owasp-zap-scan.yml index 7a24237c..e02b0b2b 100644 --- a/.github/workflows/owasp-zap-scan.yml +++ b/.github/workflows/owasp-zap-scan.yml @@ -8,13 +8,10 @@ jobs: name: Scan the web applications steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - ref: master + ref: main - name: ZAP Scan - uses: zaproxy/action-baseline@v0.6.1 + uses: zaproxy/action-baseline@v0.14.0 with: - docker_name: 'owasp/zap2docker-stable' - target: 'http://testphp.vulnweb.com/' - rules_file_name: '.zap/rules.tsv' - cmd_options: '-a' + target: 'https://www.zaproxy.org'