fix: resolve ZAP baseline scan report filename mismatch#3187
fix: resolve ZAP baseline scan report filename mismatch#3187HarshitVerma109 wants to merge 1 commit intoOWASP:mainfrom
Conversation
- Remove -r zap-report.html from cmd_options to use default filename - Update artifact upload path to report_html.html - Fixes both staging and production scan jobs - Resolves issue where action expected report_html.html but got zap-report.html
|
Caution Review failedThe pull request is closed. Summary by CodeRabbitRelease Notes
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughCI/CD workflow configuration updates to the GitHub Actions pipeline. Job display names changed to capitalized forms in staging and production sections. ZAP baseline scan command options simplified from '-a -r zap-report.html' to '-a', and artifact upload path changed from zap-report.html to report_html.html. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
PR validation failed: No linked issue and no valid closing issue reference in PR description |
|



Proposed change
Resolves #3183
This PR fixes the CI/CD pipeline failure in the ZAP Baseline Scan jobs. The
zaproxy/action-baselineaction expects the HTML report to be namedreport_html.htmlby default, but the workflow configuration was overriding this with-r zap-report.htmlincmd_options, causing a file not found error.Changes made:
-r zap-report.htmlfromcmd_optionsto use default filenamereport_html.htmlreport_html.htmlbut gotzap-report.htmlFiles modified:
.github/workflows/run-ci-cd.yamlChecklist
make check-testlocally and all tests passed