Skip to content

Commit

Permalink
chore: add pen-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
overbit committed Apr 16, 2024
1 parent d99f793 commit cceb289
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pen-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Penetration testing
on:
# schedule:
# - cron: '0 0 1 * *'
workflow_dispatch:
inputs:
target:
description: 'URL target of the pen testing'
required: true
default: 'https://app.amplication-sandbox.com'

jobs:
zap_scan:
runs-on: ubuntu-latest
name: Scan the webapplication
steps:
- name: Checkout
uses: actions/checkout@v4
- name: ZAP Scan
uses: zaproxy/[email protected]
with:
target: 'https://app.amplication.com/'
env:
ZAP_AUTH_HEADER_VALUE: ${{ secrets.AMPLICATION_BOT_TOKEN }}
ZAP_AUTH_HEADER_SITE: ".amplication.com"

0 comments on commit cceb289

Please sign in to comment.