Security scan for zotregistry.dev #325
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: 'Security scan for zotregistry.io' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
zap_scan: | |
runs-on: ubuntu-latest | |
name: Scan the webapplication | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: ZAP Scan (zotregistry.io) | |
uses: zaproxy/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
docker_name: 'owasp/zap2docker-stable' | |
target: 'https://zotregistry.io' | |
rules_file_name: '.zap/rules.tsv' | |
cmd_options: '-a' |