mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Merge pull request #517 from GSA/update-zap-scans
Update OWASP ZAP scans
This commit is contained in:
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
@@ -131,7 +131,7 @@ jobs:
|
|||||||
run: make run-flask &
|
run: make run-flask &
|
||||||
env:
|
env:
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
- name: Run OWASP Baseline Scan
|
- name: Run OWASP API Scan
|
||||||
uses: zaproxy/action-api-scan@v0.5.0
|
uses: zaproxy/action-api-scan@v0.5.0
|
||||||
with:
|
with:
|
||||||
docker_name: 'ghcr.io/zaproxy/zaproxy:weekly'
|
docker_name: 'ghcr.io/zaproxy/zaproxy:weekly'
|
||||||
|
|||||||
10
.github/workflows/daily_checks.yml
vendored
10
.github/workflows/daily_checks.yml
vendored
@@ -75,14 +75,18 @@ jobs:
|
|||||||
run: make bootstrap
|
run: make bootstrap
|
||||||
env:
|
env:
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
|
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
|
NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_PASSWORD }}
|
||||||
|
NOTIFY_E2E_TEST_HTTP_AUTH_USER: ${{ secrets.NOTIFY_E2E_TEST_HTTP_AUTH_USER }}
|
||||||
|
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
||||||
- name: Run server
|
- name: Run server
|
||||||
run: make run-flask &
|
run: make run-flask &
|
||||||
env:
|
env:
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
- name: Run OWASP Baseline Scan
|
- name: Run OWASP API Scan
|
||||||
uses: zaproxy/action-api-scan@v0.4.0
|
uses: zaproxy/action-api-scan@v0.5.0
|
||||||
with:
|
with:
|
||||||
docker_name: 'owasp/zap2docker-weekly'
|
docker_name: 'ghcr.io/zaproxy/zaproxy:weekly'
|
||||||
target: 'http://localhost:6011/docs/openapi.yml'
|
target: 'http://localhost:6011/docs/openapi.yml'
|
||||||
fail_action: true
|
fail_action: true
|
||||||
allow_issue_writing: false
|
allow_issue_writing: false
|
||||||
|
|||||||
Reference in New Issue
Block a user