Returns the total number of catalog entries in the user’s scope.
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.
These elements are optional and act as filters. When multiple elements are specified, parameters are combined using a logical AND.
Click here for available operators
Parameter |
Mandatory /Optional |
Data Type |
Description |
---|---|---|---|
id |
Optional |
integer |
The ID of the catalog entry. |
ipAddress |
Optional |
integer |
The IP address of the discovered host. We support wild card character * for numbers in IP Address. For example, 10.11.196.* or 10.11.*.* are valid patterns for IP address. Examples of Invalid patterns:*1.123.123.123, 1*1.123.123.123 and 1*.123.123.123 |
port |
Optional |
integer |
The port number of the discovered service. |
source |
Optional |
text |
The source of the catalog entries. Valid values are: VM_SCAN, VM_MAP, and WAS_SCAN. |
Status |
Optional |
text |
The status of the entry. Valid values are NEW, ROGUE, APPROVED, IGNORED, IN_SUBSCRIPTION. |
operatingSystem |
Optional |
text |
The operating system of discovered host. |
netbiosName |
Optional |
text |
The NetBIOS name of the discovered host. |
fqdn |
Optional |
text |
The fully qualified domain name of the discovered host. |
createdDate |
Optional |
date |
The date and time when the catalog entry is created. The date format is YYYY-MM-DDTHH:MM:SSZ. For example: 2018-05-18T10:33:54Z |
UpdatedDate |
Optional |
date |
The updated date and time when the catalog entry is updated. The date format is YYYY-MM-DDTHH:MM:SSZ. For example: 2018-05-18T10:33:54Z. |
Returns the number (count) of all catalog entries in the user’s scope.
API request
curl -n -u "USERNAME:PASSWORD" "<qualys_base_url>
/qps/rest/3.0/get/was/webapp/323102"
XML response
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>
/qps/xsd/3.0/was/webapp.xsd"> <responseCode>SUCCESS</responseCode> <count>1</count> <data> <WebApp> <id>323102</id> <name> <![CDATA[MamboCMS]]> </name> <url> <![CDATA[http://funkytown.abcd01.abcd.com/Forms/FormFields/temp/updated_web_app_name]]> </url> ... <scannerLocked>false</scannerLocked> <progressiveScanning>DISABLED</progressiveScanning> ...