Skip to content

hapi.f5labs.dev - ZAP Baseline Scan #436

hapi.f5labs.dev - ZAP Baseline Scan

hapi.f5labs.dev - ZAP Baseline Scan #436

name: "hapi.f5labs.dev - ZAP Baseline Scan"
on:
workflow_dispatch:
schedule:
- cron: "15 00 * * *"
# Declare default permissions as read only.
permissions: read-all
jobs:
zap-baseline:
name: "ZAP Baseline Scan"
runs-on: ubuntu-latest
permissions:
# Needed to write to Issues.
issues: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: ZAP Scan
uses: zaproxy/action-baseline@v0.12.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
docker_name: "ghcr.io/zaproxy/zaproxy:stable"
target: "https://hapi.f5labs.dev"
issue_title: "hapi.f5labs.dev - OWASP ZAP Baseline Scan"
fail_action: "true"
cmd_options: "-I"