Skip to main content

Takes in OWASP ZAP json reports and produces whitelisted xml reports for Jenkins Junit plugin.

Project description

# zap_report_formatter

OWASP Zed Attack Proxy (ZAP) produces reports that are formatted in either `json` or `xml`. However, the format of the `xml` reports generated are not friendly to integrate with Jenkin's Junit plugin. This is normally what we would want to do if we want to perform ZAP scans as part of our CI/CD workflow.

## Usage

import zap_report_formatter from zap_report_formatter

zap_report_formatter.format('path to ZAP json report', 'path to json whitelist file', 'output path of xml file')

Here is what the `json` whitelist file should be like:

"42": {
"name": "Source Code Disclosure - SVN",
"regex_uris": [
"reason": "Reason."

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zap_report_formatter-0.0.2-py2.7.egg (5.0 kB) Copy SHA256 hash SHA256 Egg 2.7
zap_report_formatter-0.0.2.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page