# Qualys (VM Parser)

PlexTrac supports importing XML files from **Qualys**. Qualys VM Parser is a tool developed by Qualys to help customers import vulnerability data from various sources. The Qualys VM Parser can read and import scan data in multiple formats.

{% hint style="info" %}
When importing a file from Qualys, whether for the VM parser or Web parser, select "Qualys" from the import pulldown menu, and PlexTrac will decide which mapping to use based on the fields in the imported file.\
\
![](https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FWuKykDLxCW5TOsZHxNGP%2Fimage.png?alt=media\&token=5b95a017-257d-45f8-85a1-34ef08837919)
{% endhint %}

Below are the mappings of fields and any reference notes to provide context. If a field is not listed, then PlexTrac does not currently import.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fke4vxvuIrmnDVfYqBPiy%2Fqualys.jpg?alt=media&#x26;token=ba872dd7-8b3f-4e1b-aa24-21c9e1959058" alt=""><figcaption></figcaption></figure></div>

## Finding Field Mappings

<table><thead><tr><th width="214">PlexTrac Field</th><th width="356">Qualys Path</th><th>Notes</th></tr></thead><tbody><tr><td>title</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;TITLE></td><td>Any data surrounded by &#x3C;![CDATA[some stuff]]> tag is removed before storing the data. </td></tr><tr><td>severity</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;SEVERITY></td><td>We are passed a number, which gets evaluated as following: "0": "Informational", "1": "Informational", "2": "Low", "3": "Medium", "4": "High", "5": "Critical",</td></tr><tr><td>references</td><td><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FOKXwYgNZmDm5ODhIv6nd%2Fimage.png?alt=media&#x26;token=26c20586-0af0-40d6-a375-d20e1212c03c" alt=""></td><td>Any data surrounded by &#x3C;![CDATA[some stuff]]> tag is removed before storing the data. All the data from the tags are stored into a list that is saved as reference links.</td></tr><tr><td>recommendations</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;SOLUTION></td><td>Any data surrounded by &#x3C;![CDATA[some stuff]]> tag is removed before storing the data. </td></tr><tr><td>description</td><td><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F4yUuhDhi3hcnCxUNdVLI%2Fimage.png?alt=media&#x26;token=0d67ef39-f98e-4a7b-8142-e707f947a1be" alt=""></td><td><p></p><p>Any data surrounded by &#x3C;![CDATA[some stuff]]> tag is removed before storing the data. Data is combined.</p><p></p></td></tr><tr><td>risk_score</td><td><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FXMHiscz3JXUDoAJCV60l%2Fimage.png?alt=media&#x26;token=de8f2d0c-c195-442f-af84-e3413f8ff910" alt=""></td><td></td></tr><tr><td>tags</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;SEVERITY></td><td>If severity is 1, then we give it a tag of "minimal".</td></tr><tr><td>common_identifiers</td><td><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fg1P9EbkqRq6k02U0TKn5%2Fimage.png?alt=media&#x26;token=7b9a740f-f651-46bf-8f15-477d42e07de0" alt=""></td><td></td></tr><tr><td>evidence</td><td>&#x3C;HOST_LIST>&#x3C;HOST>&#x3C;VULN_INFO_LIST>&#x3C;VULN_INFO>&#x3C;RESULT></td><td>Any data surrounded by &#x3C;![CDATA[some stuff]]> tag is removed before storing the data. </td></tr><tr><td><strong>field: ["scores"]["cvss"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "CVSS Base Score"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CVSS_SCORE>&#x3C;CVSS_BASE></td><td></td></tr><tr><td><strong>field: ["cvss_temporal"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "CVSS Temporal Score"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CVSS_SCORE>&#x3C;CVSS_TEMPORAL></td><td></td></tr><tr><td><strong>field: ["scores"]["cvss3"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "CVSSv3 Base Score"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CVSS3_SCORE>&#x3C;CVSS3_BASE></td><td></td></tr><tr><td><strong>field: ["cvss3_temporal"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "CVSSv3 Temporal Score"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CVSS3_SCORE>&#x3C;CVSS3_TEMPORAL></td><td></td></tr><tr><td><strong>field: ["scores"]["pci_flag"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "PCI_FLAG"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;PCI_FLAG></td><td></td></tr><tr><td><strong>field: ["cwe"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "CWE"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CWE></td><td></td></tr><tr><td><strong>field: ["wasc"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "WASC"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;WASC></td><td></td></tr><tr><td><strong>field: ["category"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "Category"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;CATEGORY></td><td></td></tr><tr><td><strong>field: ["owasp"]</strong></td><td></td><td></td></tr><tr><td>label</td><td>Hardcoded "OWASP"</td><td></td></tr><tr><td>value</td><td>&#x3C;GLOSSARY>&#x3C;VULN_DETAILS_LIST>&#x3C;VULN_DETAILS>&#x3C;OWASP></td><td></td></tr></tbody></table>

## Asset Field Mappings

| PlexTrac Field | Qualys Path                                             | Notes                                                        |
| -------------- | ------------------------------------------------------- | ------------------------------------------------------------ |
| asset          | \<HOST\_LIST>\<HOST>\<DNS> or \<HOST\_LIST>\<HOST>\<IP> | If DNS is NOT present, then it falls back to the IP element. |
