Know your portal version

[GET]  [POST] /qps/rest/portal/version/

Using the Version API you can find out the installed version of Portal and its sub-modules that are available in your subscription.

Sample XMLSample XML

API request

curl -u "USERNAME:PASSWORD" -X "GET" -H "Accept: application/xml"
<qualys_base_url>/qps/rest/portal/version      
    

Response

<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/version.xsd">
    <responseCode>SUCCESS</responseCode>
    <count>1</count>
    <data>
        <Portal-Version>
            <PortalApplication-VERSION>3.5.0.0-SNAPSHOT-1 DEVELOP #92 (2021-01-19T01:51:21Z)</PortalApplication-VERSION>
            <ITAM-VERSION>1.3.1.0-18</ITAM-VERSION>
            <CS-VERSION>1.9.0.0-SNAPSHOT</CS-VERSION>
            <CA-VERSION>3.4.0.0</CA-VERSION>
            <QGS-VERSION>1.2.0.0-6</QGS-VERSION>
            <QUESTIONNAIRE-VERSION>2.26.0.0</QUESTIONNAIRE-VERSION>
            <SAC-VERSION>1.0.0-SNAPSHOT</SAC-VERSION>
            <WAF-VERSION>2.12.6.0</WAF-VERSION>
            <QUESTIONNAIRE__V2-VERSION>1.13.1.0-SNAPSHOT</QUESTIONNAIRE__V2-VERSION>
            <WAS-VERSION>6.17.0.0-SNAPSHOT-32</WAS-VERSION>
            <FIM-VERSION>2.6.0.0-23</FIM-VERSION>
            <ICS-VERSION>0.9.1.0-12</ICS-VERSION>
            <VM-VERSION>1.0.3</VM-VERSION>
            <CERTVIEW-VERSION>2.8.0.0-20</CERTVIEW-VERSION>
            <CLOUDVIEW-VERSION>1.9.2.0-SNAPSHOT</CLOUDVIEW-VERSION>
            <CM-VERSION>1.31.0.0</CM-VERSION>
            <MDS-VERSION>2.16.1.0-SNAPSHOT-2</MDS-VERSION>
            <PM-VERSION>1.5.0.0-2</PM-VERSION>
            <PS-VERSION>1.3.0.0-16</PS-VERSION>
            <IOC-VERSION>1.2.0-15</IOC-VERSION>
            <THREAT__PROTECT-VERSION>1.5.0-SNAPSHOT</THREAT__PROTECT-VERSION>
            <AV2-VERSION>0.1.0</AV2-VERSION>
            <UD-VERSION>1.0.0</UD-VERSION>
        </Portal-Version>
        <QWeb-Version>
            <WEB-VERSION>10.7.0.0-1</WEB-VERSION>
            <SCANNER-VERSION>12.1.68-1</SCANNER-VERSION>
            <VULNSIGS-VERSION>2.5.84-2</VULNSIGS-VERSION>
        </QWeb-Version>
    </data>
</ServiceResponse>     
    

Sample JSONSample JSON

API request

curl -u "USERNAME:PASSWORD" -X "GET" -H "Accept: application/json"
<qualys_base_url>/qps/rest/portal/version      
    

Response

{
  "ServiceResponse": {
    "data": [
      {
        "Portal-Version": {
          "PortalApplication-VERSION": "3.5.0.0-SNAPSHOT-1 DEVELOP #92 (2021-01-19T01:51:21Z)",
          "WAS-VERSION": "6.17.0.0-SNAPSHOT-32",
          "VM-VERSION": "1.0.3",
          "CM-VERSION": "1.20.1",
          "MDS-VERSION": "2.16.1.0-SNAPSHOT-2",
          "CA-VERSION": "2.9.1.0",
          "QUESTIONNAIRE-VERSION": "2.14.0.4",
          "WAF-VERSION": "2.12.6.0"
        },
...
               }
      }
    ],
    "responseCode": "SUCCESS",
    "count": 1
  }
}