Get Catalog Entry Details

[GET] /qps/rest/3.0/get/was/catalog/{id}

View the details of a catalog entry that is in your scope. In the output, “Comment” tag will show the comment added by the system and the comment added by you.

Permissions required -  You must have the WAS module enabled. You must have the "API access" and "Access WAS module" permissions. You must have the "WAS.CATALOG.ACCESS" permission.

Input ParametersInput Parameters

The element “id” (integer) is required, where “id” identifies the catalog entry.

Sample - View details of a catalog entrySample - View details of a catalog entry

Let us view the details for the catalog entry with the ID 306904.

API request

curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X
"<qualys_base_url>/qps/rest/3.0/get/was/catalog/306904"          
    

XML 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/3.0/was/catalog.xsd">
    <responseCode>SUCCESS</responseCode>
    <count>1</count>
    <data>
        <Catalog>
            <id>306904</id>
            <ipAddress>10.113.196.17</ipAddress>
            <port>80</port>
            <operatingSystem>MacOS X 9.0.0</operatingSystem>
            <source>VM_SCAN</source>
            <fqdn>10-113-196-17.bogus.tld</fqdn>
            <netbiosName>SYS_10_113_196_17</netbiosName>
            <status>NEW</status>
            <comments>
                <count>4</count>
                <list>
                    <Comment>
                        <contents>
                            <![CDATA[Web Application added from scan consolidated data from VM]]>
                        </contents>
                        <createdDate>2018-05-18T10:33:55Z</createdDate>
                    </Comment>
                    <Comment>
                        <contents>
                            <![CDATA[asdasd]]>
                        </contents>
                        <author>
                            <id>1918433</id>
                            <username>qualys_joe</username>
                            <firstName>
                                <![CDATA[qualys]]>
                            </firstName>
                            <lastName>
                                <![CDATA[joe]]>
                            </lastName>
                        </author>
                        <createdDate>2020-10-22T07:47:25Z</createdDate>
                    </Comment>
                    <Comment>
                        <contents>
                            <![CDATA[Entry added to subscription as 'Catalog Web Application: 10-113-196-17.bogus.tld, Port 80']]>
                        </contents>
                        <createdDate>2020-10-12T10:16:45Z</createdDate>
                    </Comment>
                </list>
            </comments>
            <createdDate>2018-05-18T10:33:55Z</createdDate>
            <updatedDate>2020-10-22T07:47:25Z</updatedDate>
            <updatedBy>
                <id>1918433</id>
                <username>qualys_joe</username>
                <firstName>
                    <![CDATA[qualys]]>
                </firstName>
                <lastName>
                    <![CDATA[joe]]>
                </lastName>
            </updatedBy>
        </Catalog>
    </data>
</ServiceResponse>