Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/run-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -602,28 +602,31 @@ jobs:
working-directory: frontend

run-staging-zap-baseline-scan:
name: Run ZAP Baseline Scan
name: Run staging ZAP baseline scan
needs:
- deploy-staging-nest-proxy
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Run ZAP Baseline Scan
- name: Check out repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8

- name: Run baseline scan
uses: zaproxy/action-baseline@de8ad967d3548d44ef623df22cf95c3b0baf8b25
with:
token: ${{ secrets.GITHUB_TOKEN }}
target: 'https://nest.owasp.dev'
allow_issue_writing: false
fail_action: false
cmd_options: '-a -r zap-report.html'
cmd_options: '-a -c .zapconfig -r report.html '

- name: Upload ZAP report
- name: Upload report
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: zap-baseline-scan-report-${{ github.run_id }}
path: zap-report.html
path: report.html


build-production-images:
Expand Down Expand Up @@ -943,25 +946,28 @@ jobs:
run: ansible-playbook -i inventory.yaml production/proxy.yaml -e "github_workspace=$GITHUB_WORKSPACE"

run-production-zap-baseline-scan:
name: Run ZAP Baseline Scan
name: Run production ZAP baseline scan
needs:
- deploy-production-nest-proxy
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Run ZAP Baseline Scan
- name: Check out repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8

- name: Run baseline scan
uses: zaproxy/action-baseline@de8ad967d3548d44ef623df22cf95c3b0baf8b25
with:
token: ${{ secrets.GITHUB_TOKEN }}
target: 'https://nest.owasp.org'
allow_issue_writing: false
fail_action: false
cmd_options: '-a -r zap-report.html'
cmd_options: '-a -c .zapconfig -r report.html '

- name: Upload ZAP report
- name: Upload report
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: zap-baseline-scan-report-${{ github.run_id }}
path: zap-report.html
path: report.html
4 changes: 4 additions & 0 deletions .zapconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# False positive findings.

# PII disclosure.
10062 IGNORE https://nest.owasp.(dev|org)/sitemap.xml
1 change: 1 addition & 0 deletions cspell/custom-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ xdg
xdist
xoxb
xsser
zapconfig
zaproxy
zsc
éàëîôû