Skip to content

CI: Bump version to v5.6.0-92.23 #157

CI: Bump version to v5.6.0-92.23

CI: Bump version to v5.6.0-92.23 #157

Workflow file for this run

name: Site Security Scan
on:
push:
branches: [dev]
jobs:
zap_scan:
runs-on: ubuntu-latest
name: Scan the web application
env:
ZAP_REPORT: zap-report.xml
HTML_ZAP_REPORT: zap-report.html
steps:
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.2.0
with:
target: "https://dev-pims.th.gov.bc.ca/"
cmd_options: "-r ${{ env.HTML_ZAP_REPORT }} -x ${{ env.ZAP_REPORT }}"
fail_action: false
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
if: ${{ github.event_name == 'push' }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
PROJECT_KEY: PIMS-ZAP
PROJECT_NAME: PIMS-ZAP
with:
args: >
-Dsonar.projectKey=${{ env.PROJECT_KEY }}
-Dsonar.projectName=${{ env.PROJECT_NAME }}
-Dsonar.zaproxy.reportPath=${{ env.ZAP_REPORT }}
-Dsonar.zaproxy.htmlReportPath=${{ env.HTML_ZAP_REPORT }}