Skip to content

updated target and custom field #73

updated target and custom field

updated target and custom field #73

Workflow file for this run

name: OWASP Zap Scan and Report
on:
push:
branches: [ zap-integration ]
schedule:
- cron: '0 4 * * *' # run every day at midnight
permissions:
id-token: write
jobs:
Zap_nightly_run:
name: Zap Nightly Run (for nightly cron with JIRA)
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: OWASP ZAP Baseline Scan
continue-on-error: true
uses: zaproxy/action-baseline@v0.7.0
with:
target: "https://d4m0mp24tl7ig.cloudfront.net/"
- name: Parse Zap output and create Jira tickets
uses: Enterprise-CMCS/macfc-security-scan-report@v1.0.2
with:
jira-username: ${{ secrets.JIRA_SERVICE_USERNAME }}
jira-token: ${{ secrets.JIRA_SERVICE_USER_TOKEN }}
jira-host: 'qmacbis.atlassian.net'
jira-project-key: 'MDCT'
jira-issue-type: 'Task'
jira-custom-field-key-value: '{ "customfield_10007" : "MDCT-2280", "customfield_14154" : "MCR" }'
jira-labels: 'MCR,zap'
jira-title-prefix: '[MCR] - Zap :'
zap-risk-code: '2'
scan-output-path: 'report_json.json'
scan-type: 'zap'