Skip to content

Test Zap

Test Zap #11

Workflow file for this run

---
name: Test Zap
on:
push:
branches:
- main
workflow_dispatch:
jobs:
scan:
permissions:
security-events: write
contents: read
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: ZAP Scan
uses: pritchyspritch/[email protected]
with:
plan: 'test-plan.yml'
cmd_options: '-addoninstall kotlin -loglevel debug'
docker_env_vars: |
USER
PASSWORD
env:
USER: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
- name: Upload logs artifact
uses: actions/upload-artifact@v4
with:
name: "logs"
path: "${{ github.workspace }}/zap.log"
retention-days: 1