integrating-dast-with-owasp-zap-in-pipeline

Featured

This skill covers integrating OWASP ZAP (Zed Attack Proxy) for Dynamic Application Security Testing in CI/CD pipelines. It addresses configuring baseline, full, and API scans against running applications, interpreting ZAP findings, tuning scan policies, and establishing DAST quality gates in GitHub Actions and GitLab CI.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Integrating DAST with OWASP ZAP in Pipeline ## When to Use - When testing running web applications for vulnerabilities like XSS, SQLi, CSRF, and misconfigurations - When SAST alone is insufficient and runtime behavior testing is required - When compliance mandates dynamic security testing of web applications before production - When testing APIs (REST/GraphQL) for authentication, authorization, and injection flaws - When establishing continuous DAST scanning in staging environments before production deployment **Do not use** for scanning source code (use SAST), for scanning dependencies (use SCA), or for infrastructure configuration scanning (use IaC scanning tools). ## Prerequisites - OWASP ZAP Docker image or installed locally (zaproxy/zap-stable or zaproxy/action-*) - Running target application accessible from the CI/CD runner (staging URL or Docker service) - ZAP scan rules configuration (optional, for tuning) - OpenAPI/Swagger specification for API scanning (optional) ## Workflow ### Step 1: Configure ZAP Baseline Scan in GitHub Actions ```yaml # .github/workflows/dast-scan.yml name: DAST Security Scan on: deployment_status: workflow_dispatch: inputs: target_url: description: 'Target URL to scan' required: true jobs: zap-baseline: name: ZAP Baseline Scan runs-on: ubuntu-latest services: webapp: image: ${{ github.repository }}:${{ github.sha }} ports: - 8080:8080 options: --hea...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category