For API version information, refer to the API History Version section.
Create, update, list, and delete Tomcat server records.
|
API URL (/api/2.0/fo...) |
Supported Versions |
|---|---|
|
/auth/tomcat/ |
Windows: - Apache Tomcat 7.x, 8.x and 9.x Unix: - Apache Tomcat 6.x, 7.x, 8.x and 9.x - VMware vFabric tc Server 2.9.x - Pivotal tc Server 3.x Vulnerability and Compliance scans are supported (using VM, PC) |
|
Parameter |
Required/Optional |
Data Type |
Description |
|---|---|---|---|
|
action={action} |
Required | String |
Specify create, update, delete or list. See List Auth Records for type |
|
echo_request={0|1} |
Optional | Integer |
Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
|
ids={value} |
Required to update or delete record | Integer |
Record IDs to update/delete. Specify record IDs and/or ID ranges (for example, 1359-1407). Multiple entries are comma separated. |
|
title={value} |
Required for create | String |
The title of the Server record. The title must be unique and may include a maximum of 255 characters (ascii). |
|
comments={value} |
Optional | String |
User defined notes about the Server record. The comments may include a maximum of 1999 characters (ascii); if comments have 2000 or more characters an error is returned and comments are not saved. Tags (such as <script>) cannot be included; if tags are included an error is returned and the request fails. |
|
Application Server |
|||
|
unix_installation_dir={value} |
Required to create an IBM WebSphere App Server record; valid only for this record | Path |
The directory where the WebSphere application is installed. |
|
installation_path={value} |
Required to create Tomcat Server record; valid only for this record | Path |
The directory where the tomcat server is installed. Examples: /opt/apache-tomcat-7.0.57 (e.g. $CATALINA_HOME) /opt/vmware/vfabric-tc-server-standard /opt/pivotal/pivotal-tc-server-standard |
|
instance_path={value} |
Optional to create or update Tomcat Server record; valid only for this record | Path |
The directory where the tomcat server instance(s) are installed. You can specify a single tomcat instance (use with auto_discover_instances=0), or multiple instances (use with auto_discover_instances=1). Leave unspecified when the instance directory is the same as the installation directory or when your targets have different types of tomcat servers. Examples: /opt/apache-tomcat-7.0.57 (e.g. $CATALINA_BASE) /opt/vmware/vfabric-tc-server-standard/tc1 /opt/pivotal/pivotal-tc-server-standard/tc1 |
|
auto_discover_instances={0|1} |
Optional to create or update Tomcat Server record; valid only for this record | Integer |
Specify auto_discover_instances=1 and we’ll find all tomcat server instances for you. Applies to VMware vFabric and Pivotal when you’ve specified a directory with multiple instances or you did not specify an instance. When unspecified (auto_discover_instances=0), we will not auto discover instances. Applies to Apache Tomcat or when you’ve specified a single instance. |
|
installation_path_windows |
Required to create Tomcat Server record on Windows; valid only for this record | Path |
The directory where the tomcat server is installed. Example: C:\tomcat\apache-tomcat-8.5.11 |
|
instance_path_windows |
Optional to create or update Tomcat Server record on UNIX; valid only for this record | Path |
The directory where the tomcat server instance(s) are installed. Example: C:\tomcat\apache-tomcat-8.5.11 |
|
service_name |
Optional | String |
The Tomcat service name that identifies the server instance to be authenticated to. |
|
Target Hosts |
|||
|
ips={value} |
Required to create record | Integer |
Add IP addresses of the hosts you want to scan using this record. |
|
add_ips={value} |
Optional and valid only to update record | Integer |
Add IP address(es) to the IP list for an existing record. You may enter a combination of IPs and IP ranges. Multiple entries are comma separated. |
|
remove_ips={value} |
Optional and valid only to update record | Integer |
IPs to be removed from your record. You may enter a combination of IPs and ranges. Multiple entries are comma separated. |
|
network_id={value} |
Optional to create or update record, and valid when the networks feature is enabled | Integer |
The network ID for the record. |
API Request
curl '<qualys_base_url>/api/2.0/fo/auth/tomcat/?action=create&instance_path=/opt/apach1e-tsomcat2-api&auto_discover_instances=1&ips=xx.xx.xx.xx-xx.xx.xx.xx&echo_request=1&installation_path=/opt/pivotal/pivotal-t2c-server-standsard1-api&title=NoPrepData' -X POST -H 'Content-Type: application/json' -H 'X-Requested-With: curl demo28' -H 'Cache-Control: no-cache' -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Length: 0' -u '<username>:<password>' --compressed -v
API Response
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE BATCH_RETURN SYSTEM "<qualys_base_url>/2.0/batch_return.dtd"> <BATCH_RETURN> <REQUEST> <DATETIME>2026-08-07T12:56:38Z</DATETIME> <USER_LOGIN>apaut_mm</USER_LOGIN> <RESOURCE><qualys_base_url>/api/2.0/fo/auth/tomcat/</RESOURCE> <PARAM_LIST> <PARAM> <KEY>action</KEY> <VALUE>create</VALUE> </PARAM> <PARAM> <KEY>installation_path_windows</KEY> <VALUE>C:\tomcat\apache-tomcat-8.5.11</VALUE> </PARAM> <PARAM> <KEY>instance_path_windows</KEY> <VALUE>C:\tomcat\apache-tomcat-7.0.75</VALUE> </PARAM> <PARAM> <KEY>service_name</KEY> <VALUE>Tomcat7</VALUE> </PARAM> <PARAM> <KEY>ips</KEY> <VALUE>xx.xx.xx.xx</VALUE> </PARAM> <PARAM> <KEY>echo_request</KEY> <VALUE>1</VALUE> </PARAM> <PARAM> <KEY>title</KEY> <VALUE>API_TEST_854_1786106317044</VALUE> </PARAM> </PARAM_LIST> </REQUEST> <RESPONSE> <DATETIME>2026-08-07T12:56:38Z</DATETIME> <BATCH_LIST> <BATCH> <TEXT>Successfully Created</TEXT> <ID_SET> <ID>9535912</ID> </ID_SET> </BATCH> </BATCH_LIST> </RESPONSE> </BATCH_RETURN>
API Request
curl '<qualys_base_url>/api/2.0/fo/auth/tomcat/?action=update&installation_path_windows=C:\tomcat\apache-tomcat-8.5.12&instance_path_windows=C:\tomcat\apache-tomcat-7.0.76&comments=Updated through API v2.0&service_name=Tomcat8&ids=12868585' -X POST
-H 'Content-Type: application/json'
-H 'X-Requested-With: curl demo95'
-H 'Cache-Control: no-cache' -H 'Accept: */*'
-H 'Accept-Encoding: gzip, deflate, br'
-H 'Content-Length: 0' -u '<username>:<passowrd>' --compressed -v
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "<qualys_base_url>/api/2.0/batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2026-08-07T16:36:27Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Successfully Updated</TEXT>
<ID_SET>
<ID>9535519</ID>
</ID_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
API Request
curl '<qualys_base_url>/api/2.0/fo/auth/tomcat/?action=list&details=All' -X POST
-H 'Content-Type: application/json'
-H 'X-Requested-With: curl demo344'
-H 'Cache-Control: no-cache' -H 'Accept: */*'
-H 'Accept-Encoding: gzip, deflate, br'
-H 'Content-Length: 0' -u '<username>:<password>' --compressed -v
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE AUTH_TOMCAT_LIST_OUTPUT SYSTEM "
<qualys_base_url>/api/2.0/fo/auth/tomcat/auth_tomcat_list_output.dtd">
<AUTH_TOMCAT_LIST_OUTPUT>
<RESPONSE>
<DATETIME>2026-08-07T13:29:13Z</DATETIME>
<AUTH_TOMCAT_LIST>
<AUTH_TOMCAT>
<ID>9535519</ID>
<TITLE>
<![CDATA[API_TEST_4555_1786106317024]]>
</TITLE>
<IP_SET>
<IP>10.10.29.87</IP>
</IP_SET>
<INSTALLATION_PATH_WINDOWS>
<![CDATA[C:\tomcat\apache-tomcat-8.5.11]]>
</INSTALLATION_PATH_WINDOWS>
<CREATED>
<DATETIME>2026-08-07T12:41:36Z</DATETIME>
<BY>apaut_mm</BY>
</CREATED>
<LAST_MODIFIED>
<DATETIME>2026-08-07T12:41:36Z</DATETIME>
</LAST_MODIFIED>
<IS_SYSTEM_CREATED>0</IS_SYSTEM_CREATED>
<IS_ACTIVE>1</IS_ACTIVE>
</AUTH_TOMCAT>
<AUTH_TOMCAT>
<ID>9535912</ID>
<TITLE>
<![CDATA[API_TEST_854_1786106317044]]>
</TITLE>
<IP_SET>
<IP>xx.xx.xx.xx</IP>
</IP_SET>
<INSTALLATION_PATH_WINDOWS>
<![CDATA[C:\tomcat\apache-tomcat-8.5.11]]>
</INSTALLATION_PATH_WINDOWS>
<INSTANCE_PATH_WINDOWS>
<![CDATA[C:\tomcat\apache-tomcat-7.0.75]]>
</INSTANCE_PATH_WINDOWS>
<SERVICE_NAME_WINDOWS>
<![CDATA[Tomcat7]]>
</SERVICE_NAME_WINDOWS>
<CREATED>
<DATETIME>2026-08-07T12:56:38Z</DATETIME>
<BY>apaut_mm</BY>
</CREATED>
<LAST_MODIFIED>
<DATETIME>2026-08-07T12:56:38Z</DATETIME>
</LAST_MODIFIED>
<IS_SYSTEM_CREATED>0</IS_SYSTEM_CREATED>
<IS_ACTIVE>1</IS_ACTIVE>
</AUTH_TOMCAT>
</AUTH_TOMCAT_LIST>
</RESPONSE>
</AUTH_TOMCAT_LIST_OUTPUT>
API Request
curl '<qualys_base_url>/api/2.0/fo/auth/tomcat/?action=delete&ids=3422' -X POST
-H 'Content-Type: application/json'
-H 'X-Requested-With: curl demo32'
-H 'Cache-Control: no-cache' -H 'Accept: */*'
-H 'Accept-Encoding: gzip, deflate, br'
-H 'Content-Length: 0' -u '<username>:<password>' --compressed -v
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "<qualys_base_url>/api/2.0/batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2026-08-07T17:39:17Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Successfully Deleted</TEXT>
<ID_SET>
<ID>9535519</ID>
</ID_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
<platform API server>/api/2.0/fo/auth/tomcat./auth_tomcat_list_output.dtd
Create, update, list, and delete Tomcat server records.
|
API URL (/api/2.0/fo...) |
Supported Versions |
|---|---|
|
/auth/tomcat/ |
Windows: - Apache Tomcat 7.x, 8.x and 9.x Unix: - Apache Tomcat 6.x, 7.x, 8.x and 9.x - VMware vFabric tc Server 2.9.x - Pivotal tc Server 3.x Vulnerability and Compliance scans are supported (using VM, PC) |
|
Parameter |
Required/Optional |
Data Type |
Description |
|---|---|---|---|
|
action={action} |
Required | String |
Specify create, update, delete or list. See List Auth Records for type |
|
echo_request={0|1} |
Optional | Integer |
Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
|
ids={value} |
Required to update or delete record | Integer |
Record IDs to update/delete. Specify record IDs and/or ID ranges (for example, 1359-1407). Multiple entries are comma separated. |
|
title={value} |
Required for create | String |
The title of the Server record. The title must be unique and may include a maximum of 255 characters (ascii). |
|
comments={value} |
Optional | String |
User defined notes about the Server record. The comments may include a maximum of 1999 characters (ascii); if comments have 2000 or more characters an error is returned and comments are not saved. Tags (such as <script>) cannot be included; if tags are included an error is returned and the request fails. |
|
Application Server |
|||
|
unix_installation_dir={value} |
Required to create an IBM WebSphere App Server record; valid only for this record | Path |
The directory where the WebSphere application is installed. |
|
installation_path={value} |
Required to create Tomcat Server record; valid only for this record | Path |
The directory where the tomcat server is installed. Examples: /opt/apache-tomcat-7.0.57 (e.g. $CATALINA_HOME) /opt/vmware/vfabric-tc-server-standard /opt/pivotal/pivotal-tc-server-standard |
|
instance_path={value} |
Optional to create or update Tomcat Server record; valid only for this record | Path |
The directory where the tomcat server instance(s) are installed. You can specify a single tomcat instance (use with auto_discover_instances=0), or multiple instances (use with auto_discover_instances=1). Leave unspecified when the instance directory is the same as the installation directory or when your targets have different types of tomcat servers. Examples: /opt/apache-tomcat-7.0.57 (e.g. $CATALINA_BASE) /opt/vmware/vfabric-tc-server-standard/tc1 /opt/pivotal/pivotal-tc-server-standard/tc1 |
|
auto_discover_instances={0|1} |
Optional to create or update Tomcat Server record; valid only for this record | Integer |
Specify auto_discover_instances=1 and we’ll find all tomcat server instances for you. Applies to VMware vFabric and Pivotal when you’ve specified a directory with multiple instances or you did not specify an instance. When unspecified (auto_discover_instances=0), we will not auto discover instances. Applies to Apache Tomcat or when you’ve specified a single instance. |
|
installation_path_windows |
Required to create Tomcat Server record on Windows; valid only for this record | Path |
The directory where the tomcat server is installed. Example: C:\tomcat\apache-tomcat-8.5.11 |
|
instance_path_windows |
Optional to create or update Tomcat Server record on UNIX; valid only for this record | Path |
The directory where the tomcat server instance(s) are installed. Example: C:\tomcat\apache-tomcat-8.5.11 |
|
service_name |
Optional | String |
The Tomcat service name that identifies the server instance to be authenticated to. |
|
Target Hosts |
|||
|
asset_type={ips|asset_tags|ip_range_tag_rule} |
Optional | String |
Indicates how assets will be defined in the record. Valid values are ips (the default), asset_tags, ip_range_tag_rule. When not specified, we will use asset_type=ips. ips - Specify this value to assign IP addresses/ranges to the record |
|
ips={value} |
Required to create record | Integer |
Add IP addresses of the hosts you want to scan using this record. |
|
add_ips={value} |
Optional and valid only to update record | Integer |
Add IP address(es) to the IP list for an existing record. You may enter a combination of IPs and IP ranges. Multiple entries are comma separated. |
|
remove_ips={value} |
Optional and valid only to update record | Integer |
IPs to be removed from your record. You may enter a combination of IPs and ranges. Multiple entries are comma separated. |
|
network_id={value} |
Optional to create or update record, and valid when the networks feature is enabled | Integer |
The network ID for the record. |
|
tag_set_by={id|name} |
Optional when asset_type=asset_tags or ip_range_tag_rule | Integer/ String |
Specify "id" (the default) to select a tag set by providing tag ids. Specify "name" to select a tag set by providing tag names. |
|
tags_include={tag1, tag2...} |
Required when asset_type=asset_tags or ip_range_tag_rule | Integer |
Specify a tag set to include in the record. Hosts that match these tags will be included. You identify the tag set by providing tag names or IDs. Multiple entries are comma-separated. To specify tag names, you must also specify tag_set_by=name. |
|
tags_exclude={tag1, tag2...} |
Optional when asset_type=asset_tags or ip_range_tag_rule | Integer |
Specify a tag set to exclude in the record. Hosts that match these tags will be excluded. You identify the tag set by providing tag names or IDs. Multiple entries are comma-separated. To specify tag names, you must also specify tag_set_by=name. |
|
tag_include_selector={any|all} |
Optional when asset_type=asset_tags or ip_range_tag_rule | Boolean |
Select "any" (the default) to include hosts that match at least one of the selected tags. Select "all" to include hosts that match all of the selected tags. |
|
tag_exclude_selector={any|all} |
Optional when asset_type=asset_tags or ip_range_tag_rule | String |
Select "any" (the default) to exclude hosts that match at least one of the selected tags. Select "all" to exclude hosts that match all of the selected tags. |
API Request
curl --location --request POST '
<qualys_base_url>/api/3.0/fo/auth/tomcat/?action=create&instance_path=%2Fopt%2Fapach1e-tsomcat2-api&auto_discover_instances=1&echo_request=1&installation_path=%2Fopt%2Fpivotal%2Fpivotal-t2c-server-standsard1-api&title=API_TEST_2323_1779296368160&asset_type=asset_tags&tag_set_by=name&tags_include=Cloud%20Agent&tags_exclude=Cloud%20Agent' \
--header 'Content-Type: application/json' \
--header 'X-Requested-With: curl demo28' \
--header 'Cache-Control: no-cache' \
--header 'Accept: */*' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Content-Length: 0'
API Response
<!DOCTYPE BATCH_RETURN SYSTEM "
<qualys_base_url>/api/3.0/batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2026-05-20T12:03:11Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Successfully Created</TEXT>
<ID_SET>
<ID>8904935</ID>
</ID_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
API Request
curl -u "USER:PASSWORD" \
-H "X-Requested-With: curl" \
-X POST <qualys_base_url>/api/3.0/fo/auth/tomcat/?action=update\
&ids=<AUTH_RECORD_ID>\
&asset_type=ip_range_tag_rule\
&tag_set_by=id\
&tags_include=401,402\
&tags_exclude=403"
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "<qualys_base_url>/api/3.0/batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2026-05-22T10:23:42Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Successfully Updated</TEXT>
<ID_SET>
<ID>8927402</ID>
</ID_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
API Request
curl -u "USER:PASSWORD" \
-H "X-Requested-With: curl" \
-X POST "<qualys_base_url>/api/3.0/fo/auth/tomcat/?action=list"
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE AUTH_TOMCAT_LIST_OUTPUT SYSTEM "<qualys_base_url>/api/3.0/fo/auth/tomcat/auth_tomcat_list_output.dtd">
<!-- This report was generated with an evaluation version of Qualys //-->
<AUTH_TOMCAT_LIST_OUTPUT>
<RESPONSE>
<DATETIME>2026-05-22T13:20:54Z</DATETIME>
<AUTH_TOMCAT_LIST>
<AUTH_TOMCAT>
<ID>8929417</ID>
<TITLE>
<![CDATA[API_TEST_2323_1779296368160]]>
</TITLE>
<TAGS>
<TAG_TYPE>asset_tags</TAG_TYPE>
<TAGS_INCLUDE>
<SELECTOR>any</SELECTOR>
<TAG>
<ID>8214418</ID>
<NAME>Exc_1</NAME>
</TAG>
</TAGS_INCLUDE>
<TAGS_EXCLUDE>
<SELECTOR>any</SELECTOR>
<TAG>
<ID>7612812</ID>
<NAME>Cloud Agent</NAME>
</TAG>
</TAGS_EXCLUDE>
</TAGS>
<INSTALLATION_PATH>
<![CDATA[/opt/pivotal/pivotal-t2c-server-standsard1-api]]>
</INSTALLATION_PATH>
<INSTANCE_PATH>
<![CDATA[/opt/apach1e-tsomcat2-api]]>
</INSTANCE_PATH>
<AUTO_DISCOVER_INSTANCES>1</AUTO_DISCOVER_INSTANCES>
<NETWORK_ID>0</NETWORK_ID>
<CREATED>
<DATETIME>2026-05-22T13:20:37Z</DATETIME>
<BY>mayur_aa</BY>
</CREATED>
<LAST_MODIFIED>
<DATETIME>2026-05-22T13:20:37Z</DATETIME>
</LAST_MODIFIED>
<IS_SYSTEM_CREATED>0</IS_SYSTEM_CREATED>
<IS_ACTIVE>1</IS_ACTIVE>
</AUTH_TOMCAT>
</AUTH_TOMCAT_LIST>
</RESPONSE>
</AUTH_TOMCAT_LIST_OUTPUT>
<!-- This report was generated with an evaluation version of Qualys //-->
<!-- CONFIDENTIAL AND PROPRIETARY INFORMATION. Qualys provides it's Service "As Is," without any warranty of any kind. Qualys makes no warranty that the information contained in this report is complete or error-free. Copyright 2026, Qualys, Inc. //-->
API Request
curl '<qualys_base_url>/api/3.0/fo/auth/tomcat/?action=delete&ids=3422' -X POST
-H 'Content-Type: application/json'
-H 'X-Requested-With: curl demo32'
-H 'Cache-Control: no-cache' -H 'Accept: */*'
-H 'Accept-Encoding: gzip, deflate, br'
-H 'Content-Length: 0' -u '<username>:<password>' --compressed -v
API Response
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "<qualys_base_url>/api/3.0/batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2026-08-07T17:39:17Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Successfully Deleted</TEXT>
<ID_SET>
<ID>9535519</ID>
</ID_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
<platform API server>/api/3.0/fo/auth/tomcat./auth_tomcat_list_output.dtd
The following table depicts the information about the different versions of this API along with the status:
| API Version | EOS | EOL |
| /api/3.0/fo/auth/tomcat/ | Active | Active |
| /api/2.0/fo/auth/tomcat/ | December 2025 |
December 2026 |