generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: penetration tests and reporting (#117)
- Loading branch information
1 parent
8e8de45
commit ca1714c
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Penetration Tests | ||
|
||
on: | ||
schedule: [cron: "0 11 * * 6"] # 3 AM PST = 12 PM UDT, Saturdays | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
zap_scan: | ||
name: Penetration Tests | ||
env: | ||
DOMAIN: apps.silver.devops.gov.bc.ca | ||
PREFIX: ${{ github.event.repository.name }}-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
component: [backend, frontend] | ||
steps: | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
with: | ||
allow_issue_writing: true | ||
artifact_name: "zap_${{ matrix.component }}" | ||
cmd_options: "-a" | ||
issue_title: "ZAP: ${{ matrix.component }}" | ||
target: https://${{ env.PREFIX }}-${{ matrix.component }}.${{ env.DOMAIN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Pull Request Closed | ||
name: PR Closed | ||
|
||
on: | ||
pull_request: | ||
|
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