-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Github Action to Perform Weekly Security Audit with ZAProxy (#196)
* Adds Github Action to Perform Weekly Security Audit with ZAProxy --------- Co-authored-by: Jeremy Kahn <[email protected]>
- Loading branch information
1 parent
4607562
commit 24ccf44
Showing
2 changed files
with
42 additions
and
0 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,34 @@ | ||
name: Perform Weekly Security Audit with ZAProxy | ||
# Use ZAP Proxy to perform a full scan of the production site. | ||
# Scan automatically opens an issue after completion | ||
# with results of the audit. | ||
|
||
on: | ||
schedule: | ||
# 00:00 UTC Midnight on Mondays | ||
- cron: '0 0 * * 1' | ||
|
||
# manually trigger workflow | ||
workflow_dispatch: | ||
|
||
jobs: | ||
zap_scan: # https://github.com/zaproxy/action-full-scan | ||
runs-on: ubuntu-latest | ||
name: Scan Production Site | ||
steps: | ||
- name: Set Date (NOW) as Env Var | ||
run: | | ||
echo "::set-env name=NOW::$(date +'%Y-%m-%d')" | ||
- name: Checkout Main Branch for .zap/rules.tsv | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'main' | ||
|
||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
with: | ||
target: 'https://chitchatter.im/' | ||
rules_file_name: '.zap/rules.tsv' | ||
issue_title: 'Security Report - ${{ env.NOW }}' | ||
artifact_name: 'zap_scan_${{ env.NOW }}' |
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,8 @@ | ||
10020 IGNORE (Missing Anti-clickjacking Header) | ||
10021 IGNORE (X-Content-Type-Options Header Missing) | ||
10035 IGNORE (Strict-Transport-Security Header Not Set) | ||
10038 IGNORE (Content Security Policy (CSP) Header Not Set) | ||
10063 IGNORE (Permissions Policy Header Not Set) | ||
10096 IGNORE (Timestamp Disclosure - Unix) | ||
10098 IGNORE (Cross-Domain Misconfiguration) | ||
40040 IGNORE (CORS Misconfiguration) |