This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
-
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.
- Loading branch information
Showing
15 changed files
with
208 additions
and
132 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,102 +1,101 @@ | ||
on: | ||
pull_request: | ||
types: [opened,reopened] | ||
types: [opened, reopened] | ||
# push: | ||
# branches: | ||
# - main | ||
|
||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
BASE_BRANCH: ${{ github.base_ref }} | ||
|
||
jobs: | ||
zap_scan_staging_baseline: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website Baseline Staging | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: code-security | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-baseline@7cea08522cd386f6c675776d5e4296aecf61f33b # v0.7.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api-staging.herokuapp.com/' | ||
target: 'https://inreach-api-v1-git-dev-weareinreach.vercel.app/' | ||
cmd_options: '-a' | ||
|
||
zap_scan_production_baseline: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website Baseline Production | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: main | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-baseline@7cea08522cd386f6c675776d5e4296aecf61f33b # v0.7.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api.herokuapp.com' | ||
target: 'https://api.inreach.org' | ||
cmd_options: '-a' | ||
|
||
zap_scan_staging_full: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website Full Staging | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: code-security | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-full-scan@6eade0f93b10fad8cfb4e63b979703a2cbd0cc98 # v0.4.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api-staging.herokuapp.com/' | ||
target: 'https://inreach-api-v1-git-dev-weareinreach.vercel.app/' | ||
cmd_options: '-a' | ||
|
||
zap_scan_production_full: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website Full Production | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: main | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-full-scan@6eade0f93b10fad8cfb4e63b979703a2cbd0cc98 # v0.4.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api.herokuapp.com' | ||
target: 'https://api.inreach.org' | ||
cmd_options: '-a' | ||
|
||
zap_scan_staging_api: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website API Staging | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: code-security | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-api-scan@6c29b04d78969bf586f2d4ea15c613d2dfb49d07 # v0.2.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api-staging.herokuapp.com/' | ||
target: 'https://inreach-api-v1-git-dev-weareinreach.vercel.app/' | ||
cmd_options: '-a' | ||
|
||
zap_scan_production_api: | ||
runs-on: ubuntu-latest | ||
name: Scan ZAP website API Production | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | ||
with: | ||
ref: main | ||
- name: ZAP Scan | ||
uses: zaproxy/[email protected] | ||
uses: zaproxy/action-api-scan@6c29b04d78969bf586f2d4ea15c613d2dfb49d07 # v0.2.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
target: 'https://inreach-api.herokuapp.com' | ||
target: 'https://api.inreach.org' | ||
cmd_options: '-a' | ||
|
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
Oops, something went wrong.
0ccf22f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
inreach-api-v1 – ./
inreach-api-v1.vercel.app
inreach-api-v1-git-main-weareinreach.vercel.app
inreach-api-v1-weareinreach.vercel.app
api.inreach.org