---
sourceDocument: Brazil Security Management
sourceDocumentLink: https://www.servicenow.com/docs/r/security-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# REST messages

# Qualys REST messages {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Qualys REST messages

Qualys REST messages enable ServiceNow customers to integrate with the Qualys API to retrieve compliance and security posture data.
These REST messages facilitate fetching policy, control, host, and test results data to support compliance evaluations and security operations within ServiceNow.
Show full answer Show less  
Starting with version 12.21.0 of Qualys Integration for Security Operations and version 30.3.0 of Unified Security Exposure Management, the API version used in these messages has been updated to version 5.0.

## Key REST Messages and Their Functions

* **Qualys PC Policies REST message:** Retrieves policy data from Qualys. Requires the `action=list` parameter and supports modifying the `details` parameter to control the level of detail.
* **Qualys PC Controls REST message:** Retrieves compliance control information for various control IDs. Similar to policies, it requires `action=list` and allows adjustment of the `details` parameter.
* **Qualys PC Policies Detail REST message:** Retrieves comprehensive policy details, including technologies and sections. Supports optional inclusion of user-defined controls (`showusercontrols`) and appendix sections (`showappendix`).
* **Qualys PC Results REST message:** Retrieves compliance posture records with options to include extended evidence (`showextendedevidence`), cause of failure (`causeoffailure`), remediation info (`showremediationinfo`), and filter by policy ID (`policyid`).
* **Qualys PCRS Policy Host Integration REST message:** Retrieves host data for compliance evaluation, requiring the `policyId` parameter.
* **Qualys PCRS Test Results Integration REST message:** Retrieves test results with configurable parameters for evidence inclusion (`evidenceRequired`) and data compression (`compressionRequired`).
* **Qualys Comprehensive PCRS Policy Host Integration REST message:** Similar to the PCRS Policy Host Integration but for comprehensive data, requiring `policyId`.
* **Qualys Comprehensive PCRS Test Results Integration REST message:** Retrieves comprehensive test results with the same evidence and compression parameters as the standard PCRS Test Results message.

## Practical Usage and Parameter Importance

Each REST message requires the `action=list` parameter to specify the operation type. Optional parameters allow customization of the data returned, such as:

* **Details parameter:** Controls the granularity of data for policies, controls, and results.
* **Evidence parameters:** Including `showextendedevidence` and `evidenceRequired`, determine if evidence data is included, impacting data retrieval time.
* **Compression parameter:** Allows data compression to optimize performance during data fetch operations.
* **Filtering parameters:** Such as `policyid`, help target specific compliance policies.

Modifying these parameters enables tailoring API requests to meet specific compliance data needs and performance considerations within ServiceNow integrations.  
Qualys REST messages are used to make calls to the Qualys API to fetch the
compliance data.

The following rest messages are shipped with the base system.

## Qualys PC Policies REST message

The Qualys PC Policies REST message retrieves policy data from Qualys. The changes to the REST message method record impact the request made to Qualys to retrieve policy information.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.  
{#qualys-rest-messages-cc__table_v2g_x1q_dt__entry__3}

| Parameter Name | Value | Description |
|-|-|-|
| action | list | Indicates the type of operation requested. Required parameter. |
| details | All | Indicates the level of detail shown for policies retrieved. It is safe to modify as per your requirement. |
[Table 1. Qualys PC Policies REST message parameters]

{#qualys-rest-messages-cc__table_v2g_x1q_dt}

## Qualys PC Controls REST message

The Qualys PC Controls rest message retrieves compliance controls information for different control IDs from Qualys.  
{#qualys-rest-messages-cc__table_n3s_b1p_mxb__entry__3}

| Parameter Name | Value | Description |
|-|-|-|
| action | list | Indicates the type of operation requested. Required parameter. |
| details | All | Indicates the level of detail shown for controls retrieved. It is safe to modify as per your requirement. |
[Table 2. Qualys PC Controls REST message parameters]

{#qualys-rest-messages-cc__table_n3s_b1p_mxb}

## Qualys PC Policies Detail REST message

The Qualys PC Policies Detail REST message retrieves the complete policy details, such as technologies and sections.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.  
{#qualys-rest-messages-cc__table_v2g_x1q_du__entry__3}

| Parameter | Value | Description |
|-|-|-|
| action | list | Indicates the type of operation being requested. Required parameter. |
| show_user_controls | Boolean | * Set to 1 to include user-defined controls (UDCs) in the XML output. * When not specified, UDCs are not included. {#qualys-rest-messages-cc__ul_txc_rxc_qxb} This is an optional parameter. It is safe to modify as per your requirement. |
| show_appendix | Boolean | (Optional) Set to 1 to show the appendix section in the XML output. When unspecified. |
[Table 3. Qualys PC Policies Detail REST message parameters]

{#qualys-rest-messages-cc__table_v2g_x1q_du}

## Qualys PC Results REST message

The Qualys PC Results rest message retrieves compliance posture records from Qualys.  
{#qualys-rest-messages-cc__table_v2g_x1q_dv__entry__3}

| Source Field | Value | Description |
|-|-|-|
| action | list | Indicates the type of operation requested. Required parameter. Changes are not recommended. |
| show_extended_evidence | Boolean | * Set to 1 to show the extended evidence information in the output. * Set to 0 or when unspecified, the extended evidence information is not shown in the output. {#qualys-rest-messages-cc__ul_sp1_swc_qxb} Note: * You cannot specify `show_extended_evidence=1` in the same request as `hide_evidence=1`. This results in an error. The extended evidence is a part of the evidence data and it's shown only when evidence data is shown. * This parameter is not shipped with the base system. {#qualys-rest-messages-cc__ul_onp_kc4_cyb} |
| cause_of_failure | Boolean | If you pass '1', Qualys will return the cause of failure. If you pass '0', Qualys will not return these attributes. Note: This parameter is not shipped with the base system. |
| policy_id |   | Shows compliance posture information records for a specified policy. A valid policy ID is required. |
| details | All | Indicates the level of detail shown for postures retrieved. It is safe to modify as per your requirement. |
| show_remediation_info |   | (Optional) Set to 1 to show remediation information in the XML or CSV output. By default, the output does not include the remediation information. When not specified, the remediation information is not included in the output. |
[Table 4. Qualys PC Results REST message parameters]

{#qualys-rest-messages-cc__table_v2g_x1q_dv}

## Qualys PCRS Policy Host Integration REST message

The Qualys PCRS Policy Host Integration retrieves host data from Qualys and processes it in your instance.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.  
{#qualys-rest-messages-cc__table_v2g_x1q_dw__entry__3}

| Parameter Name | Value | Description |
|-|-|-|
| policyId | ${lastRunDatetime} | Policy IDs for compliance evaluation. |
[Table 5. Qualys PCRS Policy Host Integration REST message parameters]

{#qualys-rest-messages-cc__table_v2g_x1q_dw}

## Qualys PCRS Test Results Integration {#qualys-rest-messages-cc__section_apb_pgp_mxb}

The table shows the request parameters that are sent.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.  
{#qualys-rest-messages-cc__table_bpb_pgp_mxb__entry__3}

| Parameter Name | Value | Description |
|-|-|-|
| evidenceRequired | 1 | * The default value is 1, which indicates that evidence data will be retrieved for the host posture. * Set the value to 0 to retrieve the evidence data. Note: Changing the value to 1 increases the time required to fetch posture data. {#qualys-rest-messages-cc__ul_t25_kyc_qxb} |
| compressionRequired | 0 | * The default value is 0, which indicates that the output will not be compressed. * Set the value to 1, if you want the data to be compressed. Note: Not compressing the data increases the time required to fetch posture data. {#qualys-rest-messages-cc__ul_b5d_zyc_qxb} |
[Table 6. Qualys PCRS Test Results Integration REST message parameters]

{#qualys-rest-messages-cc__table_bpb_pgp_mxb}

## Qualys Comprehensive PCRS Policy Host Integration REST message {#qualys-rest-messages-cc__section_ypg_t4w_l3c}

The Qualys Comprehensive PCRS Policy Host Integration retrieves host data from Qualys and processes it in your instance.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.
{#qualys-rest-messages-cc__table_s1f_mpw_l3c__entry__3}

|   |   |   |
|-|-|-|
| policyId | ${policyId} | Policy IDs for compliance evaluation. |
[Table 7. Qualys Comprehensive PCRS Policy Host Integration REST message parameters]

{#qualys-rest-messages-cc__table_s1f_mpw_l3c}

## Qualys Comprehensive PCRS Test Results Integration {#qualys-rest-messages-cc__section_ykq_54w_l3c}

The table shows the request parameters that are sent.

Starting with v12.21.0 of Qualys Integration for Security Operations and v30.3.0 of Unified Security Exposure Management, the API version has been updated to version 5.0.
{#qualys-rest-messages-cc__table_kmd_ppw_l3c__entry__3}

| Parameter Name | Value | Description |
|-|-|-|
| evidenceRequired | 1 | * The default value is 1, which indicates that evidence data will be retrieved for the host posture. * Set the value to 0 to retrieve the evidence data. Note: Changing the value to 1 increases the time required to fetch posture data. {#qualys-rest-messages-cc__ul_kvw_rpw_l3c} |
| compressionRequired | 0 | * The default value is 0, which indicates that the output will not be compressed. * Set the value to 1, if you want the data to be compressed. Note: Not compressing the data increases the time required to fetch posture data. {#qualys-rest-messages-cc__ul_lvw_rpw_l3c} |
[Table 8. Qualys Comprehensive PCRS Test Results Integration parameters]

{#qualys-rest-messages-cc__table_kmd_ppw_l3c}

