Skip to content

Instantly share code, notes, and snippets.

@axi92
Created April 13, 2023 12:33
Show Gist options
  • Save axi92/1b1404d2409b594e544901d1d598133d to your computer and use it in GitHub Desktop.
Save axi92/1b1404d2409b594e544901d1d598133d to your computer and use it in GitHub Desktop.
Junit xml red/green example
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite name="NPM Audit Advisories">
<testcase name="MODERATE: 1091459 - Server-Side Request Forgery in Request">
</testcase>
<testcase name="HIGH: 1091653 - xml2js is vulnerable to prototype pollution ">
</testcase>
</testsuite>
</testsuites>
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
<testsuite name="NPM Audit Advisories">
<testcase name="MODERATE: 1091459 - Server-Side Request Forgery in Request">
<failure message="Server-Side Request Forgery in Request" type="MODERATE">Vulnerability in request *
Upgrade protractor to version 3.3.0
- Version: &lt;=2.88.2
- Path: node_modules/request
- More info: https://github.com/advisories/GHSA-p8p7-x288-28g6</failure>
</testcase>
<testcase name="HIGH: 1091653 - xml2js is vulnerable to prototype pollution ">
<failure message="xml2js is vulnerable to prototype pollution " type="HIGH">Vulnerability in xml2js &lt;0.5.0
Upgrade protractor to version 3.3.0
- Version: &lt;0.5.0
- Path: node_modules/xml2js
- More info: https://github.com/advisories/GHSA-776f-qx25-q3cc</failure>
</testcase>
</testsuite>
</testsuites>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment