|
| 1 | +# Last applied at: Fri, 24 Jan 2025 13:36:24 GMT |
| 2 | +# DevOps Shield - The ultimate DevSecOps platform designed to secure your DevOps. |
| 3 | +# https://devopsshield.com |
| 4 | +############################################################## |
| 5 | +# This is a DevOps Shield - Application Security - Code Security Template. |
| 6 | + |
| 7 | +# This workflow template uses actions that are not certified by DevOps Shield. |
| 8 | +# They are provided by a third-party and are governed by separate terms of service, privacy policy, and support documentation. |
| 9 | + |
| 10 | +# Use this workflow template for integrating code security into your pipelines and workflows. |
| 11 | + |
| 12 | +# DevOps Shield Workflow Template Details: |
| 13 | +# ------------------------------------------------------------ |
| 14 | +# Code: GH_DAST_Zed_Attack_Proxy_ZAP |
| 15 | +# Name: Zed Attack Proxy (ZAP) Penetration Testing |
| 16 | +# DevSecOpsControls: DAST |
| 17 | +# Provider: Checkmarx |
| 18 | +# Categories: Code Scanning, Penetration Testing |
| 19 | +# Description: |
| 20 | +# Zed Attack Proxy (ZAP) by Checkmarx is a free, open-source penetration testing tool. |
| 21 | +# ZAP is designed specifically for testing web applications and is both flexible and extensible. |
| 22 | +# Automate with ZAP. ZAP provides range of options for security automation. |
| 23 | +# The world's most widely used web app scanner. Free and open source. A community based GitHub Top 1000 project that anyone can contribute to. |
| 24 | +# A GitHub Action for running the ZAP Full Scan to perform Dynamic Application Security Testing (DAST). |
| 25 | +# The ZAP full scan action runs the ZAP spider against the specified target (by default with no time limit) followed by an optional ajax spider scan and then a full active scan before reporting the results. |
| 26 | +# WARNING this action will perform attacks on the target website. You should only scan targets that you have permission to test. |
| 27 | +# Read the official documentation to find out more. |
| 28 | +# For more information: |
| 29 | +# https://www.zaproxy.org/ |
| 30 | +# https://www.zaproxy.org/docs/ |
| 31 | +# https://github.com/zaproxy/ |
| 32 | +# https://www.zaproxy.org/docs/automate/ |
| 33 | +# https://www.zaproxy.org/docs/guides/zapping-the-top-10-2021/ |
| 34 | +# ------------------------------------------------------------ |
| 35 | +# Source repository: https://github.com/zaproxy/action-full-scan |
| 36 | +############################################################## |
| 37 | + |
| 38 | +name: Zed Attack Proxy (ZAP) Full Scan |
| 39 | + |
| 40 | +on: |
| 41 | + push: |
| 42 | + branches: [ main ] |
| 43 | + schedule: |
| 44 | + - cron: 0 0 * * 0 |
| 45 | + |
| 46 | +jobs: |
| 47 | + zap_scan: |
| 48 | + name: ZAP Full Scan |
| 49 | + runs-on: ubuntu-latest |
| 50 | + |
| 51 | + permissions: |
| 52 | + contents: read |
| 53 | + |
| 54 | + steps: |
| 55 | + - uses: actions/checkout@v4 |
| 56 | + |
| 57 | + - name: Run ZAP Scan |
| 58 | + uses: zaproxy/action-full-scan@v0.12.0 |
| 59 | + id: zap |
| 60 | + with: |
| 61 | + target: 'https://www.zaproxy.org/' |
0 commit comments