This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
Site Security Scan - API #64
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: Site Security Scan - API | |
on: | |
schedule: | |
# Runs every Monday At 01:00. | |
- cron: "0 1 * * 1" | |
workflow_dispatch: | |
jobs: | |
zap_scan: | |
runs-on: ubuntu-latest | |
name: Scan the platform services registry - api | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: ZAP Scan | |
uses: zaproxy/action-api-scan@v0.2.0 | |
with: | |
# Target URL | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target: '${{ secrets.TEST_ROUTE }}' | |
# The Docker file to be executed (optional) | |
format: graphql | |
# Relative path of the ZAP configuration file (optional) | |
# rules_file_name: '.zap/rules.tsv' | |
# Additional command line options (optional) | |
# cmd_options: '-a' |