Skip to content

Commit

Permalink
Merge pull request #510 from bcgov/fix/zap-scans
Browse files Browse the repository at this point in the history
fix: zap scans
  • Loading branch information
trev-dev authored Jul 9, 2024
2 parents e5fa928 + 788f793 commit a7e78d9
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-openshift-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
# - name: ZAP Scan
# uses: zaproxy/action-full-scan@v0.3.0
# with:
# target: 'https://${{ env.HOST_ROUTE }}'
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.8.0
with:
target: 'https://${{ env.HOST_ROUTE }}/api'
5 changes: 0 additions & 5 deletions .github/workflows/deploy-to-openshift-backend-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,3 @@ jobs:
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
- name: ZAP Scan
uses: zaproxy/[email protected]
with:
target: 'https://${{ env.HOST_ROUTE }}/api'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-openshift-backend-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ jobs:
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.3.0
uses: zaproxy/action-full-scan@v0.8.0
with:
target: 'https://${{ env.HOST_ROUTE }}/api'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-openshift-backend-uat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ jobs:
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.3.0
uses: zaproxy/action-full-scan@v0.8.0
with:
target: 'https://${{ env.HOST_ROUTE }}/api'
9 changes: 5 additions & 4 deletions .github/workflows/deploy-to-openshift-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ jobs:
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
# - name: ZAP Scan
# uses: zaproxy/[email protected]
# with:
# target: 'https://${{ env.HOST_ROUTE }}'
- name: ZAP Scan
uses: zaproxy/[email protected]
with:
target: 'https://${{ env.HOST_ROUTE }}'
5 changes: 0 additions & 5 deletions .github/workflows/deploy-to-openshift-frontend-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,3 @@ jobs:
# Get status, returns 0 if rollout is successful
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
# - name: ZAP Scan
# uses: zaproxy/[email protected]
# with:
# target: 'https://${{ env.HOST_ROUTE }}'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-openshift-frontend-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ jobs:
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.3.0
uses: zaproxy/action-full-scan@v0.8.0
with:
target: 'https://${{ env.HOST_ROUTE }}'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-openshift-frontend-uat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ jobs:
oc rollout status dc/${{ env.APP_NAME }}-${{ env.IMAGE_NAME }}-${{ env.APP_ENVIRONMENT }}
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.3.0
uses: zaproxy/action-full-scan@v0.8.0
with:
target: 'https://${{ env.HOST_ROUTE }}'

0 comments on commit a7e78d9

Please sign in to comment.