Returns the number of AWS connectors that match the provided criteria.
Permissions required - Managers with full scope.
Count the number of AWS connectors with the tag name USA
API request
curl -u "USERNAME:PASSWORD" "<qualys_base_url>/qps/rest/2.0/count/am/awsassetdataconnector"< file.xml
Note: file.xml contains request POST data
Request POST data
<?xml version="1.0" encoding="UTF-8" ?>
<ServiceRequest>
<filters>
<Criteria field="defaultTags.name" operator="EQUALS">USA</Criteria>
</filters>
</ServiceRequest>
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/2.0/am/aws_asset_data_connector.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
</ServiceResponse>
<platform API server>/qps/xsd/2.0/am/aws_asset_data_connector.xsd