Nexpose XML 2.0 (Rapid7) | DefectDojo Documentation

Nexpose XML 2.0 (Rapid7)

Nexpose XML 2.0 (Rapid7) Parser Documentation

Overview

The Nexpose XML 2.0 (Rapid7) parser for DefectDojo supports importing vulnerability scan results from Rapid7’s Nexpose vulnerability scanner. This parser processes XML reports containing detailed information about vulnerabilities detected across hosts and services in your environment.

Supported File Types

The Nexpose parser accepts XML 2.0 file format. To generate this file:

  1. In the Nexpose console, go to the Reports section
  2. Create a new report or edit an existing one
  3. Select “XML Export” as the report format
  4. Ensure you select “XML 2.0” as the version
  5. Run the report and download the XML file

XML Format

Total Fields in Nexpose XML

Field Mapping Details

Data Field # Nexpose Data Field DefectDojo Finding Field Parser Line # Notes
1 vulnerability.title title 323 Direct mapping to finding title
2 vulnerability.description description 324-325 Converted from HTML to text
3 vulnerability.severity severity 316-320 Converted from numeric (0-10) to text severity
4 test.status active 321 Only vulnerable statuses are processed
5 vulnerability.cvssVector impact 329 The CVSS vector string is mapped to impact
6 vulnerability.solution mitigation 326-328 HTML converted to text if present
7 test.pluginOutput description 334-339 Test output appended to description
8 vulnerability.references references 354-370 Special formatting applied to different reference types
9 vulnerability.references.CVE unsaved_vulnerability_ids 371-372 CVE references are added to vulnerability IDs list
10 vulnerability.tags unsaved_tags 347 Tags are collected and mapped to unsaved_tags
11 node.address endpoint.host 295 Used to create endpoint objects
12 node.names.name endpoint.host 295 Hostnames are collected as alternatives to IP addresses
13 service.name endpoint.protocol 302-307 Used if service name matches a known protocol
14 service.port endpoint.port 297 Added to endpoint if present
15 service.protocol endpoint.protocol 302-307 Used as fallback protocol if service name doesn’t match
16 test.vulnerable-since date 341-345 Used for finding date if USE_FIRST_SEEN is enabled
17 node.hostnames endpoint.host 272-274 Hostnames associated with the node are added to a set
18 test.pci-compliance-status Not directly mapped 293 Used in filtering but not mapped to a field

Special Processing Notes

Status Conversion

Description Construction

Severity Conversion

Deduplication

Title Format

Mitigation Construction

References Handling

Tags Handling

Endpoint Creation

CVSS Processing

Common Settings for All Findings

Sample Scan Data

Sample Nexpose XML 2.0 (Rapid7) scans can be found in the unit test example scans folder.

Link To Tool

Default Deduplication Hashcode Fields

By default, DefectDojo identifies duplicate Findings using these hashcode fields: