# Qualys (Web App Scanner)

PlexTrac supports importing XML files from **Qualys**. The Qualys web parser is a component of the Qualys WAS solution responsible for crawling the web application, collecting data, and identifying potential vulnerabilities. The web parser can be customized to scan specific web applications and detect vulnerabilities in various web applications, including static and dynamic web applications.

{% 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 provided in the import 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, PlexTrac does not currently import it.

<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="206.33333333333331">PlexTrac Field</th><th width="329">Qualys Path</th><th>Notes</th></tr></thead><tbody><tr><td>title</td><td>&#x3C;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#x3C;TITLE></td><td></td></tr><tr><td>severity</td><td>&#x3C;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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%2Fed6Mw6QBC8I1rNmGjbnv%2Fimage.png?alt=media&#x26;token=d78303fc-088c-4f22-a78d-6158931c100a" 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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#x3C;SOLUTION></td><td></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%2FaubOFZiBTEWElaCek2Lo%2Fimage.png?alt=media&#x26;token=599db139-7dd6-4a7b-8dc8-788ca2ddab6e" 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>evidence</td><td><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FGSZeNXku9a74tr10kYXQ%2Fimage.png?alt=media&#x26;token=53b4a891-1ae8-4239-a8b5-b3cbcaa04331" alt=""></td><td></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%2FA65OxRI3DZkQsaMICBwW%2Fimage.png?alt=media&#x26;token=afda5c8e-f84a-4957-9d30-90ea915f86f9" alt=""></td><td></td></tr><tr><td>tags</td><td>&#x3C;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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%2FTRX4p4xuOLnGwmtj8BZF%2Fimage.png?alt=media&#x26;token=17170d0e-31a5-4cd9-8a09-f1b9817d1fa9" alt=""></td><td></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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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;WAS_SCAN_REPORT>&#x3C;GLOSSARY>&#x3C;QID_LIST>&#x3C;QID>&#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;QID_LIST>&#x3C;QID>&#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;QID_LIST>&#x3C;QID>&#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;QID_LIST>&#x3C;QID>&#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;QID_LIST>&#x3C;QID>&#x3C;OWASP></td><td></td></tr></tbody></table>

## Asset Field Mappings

| PlexTrac Field | Qualys Path                                                                | Notes                                                   |
| -------------- | -------------------------------------------------------------------------- | ------------------------------------------------------- |
| asset          | \<WAS\_SCAN\_REPORT>\<RESULTS>\<VULNERABILITY\_LIST>\<VULNERABILITY>\<URL> | There is some logic here for parent/child relationship. |
