Test Zap #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 | |