Qualys
LAST UPDATED: OCT 31, 2024
Overview
Qualys Vulnerability Management scans identify and remediate vulnerabilities, protecting IT assets on-premises, in the cloud, and at mobile endpoints.
D3 Security's integration with the Qualys VM REST API provides scan vulnerability operation and gets the reports.
D3 SOAR is providing REST operations to function with Qualys.
Qualys is available for use in:
Known Limitations
Please refer to Qualys API Limits for the API limits.
Connection
To connect to Qualys from D3 SOAR, please follow this part to collect the required information below:output
Parameter | Description | Example |
Server URL | The Server URL of the Qualys Vulnerability Management integration. | https://<Replace_Me> |
Username | The Username of the integration. | ******** |
Password | The Password of the integration. | ******** |
API Version | The version of API. | 2.0 |
Configuring D3 SOAR to Work with Qualys
Log in to D3 SOAR.
Find the Qualys integration.
Navigate to Configuration on the top header menu.
Click on the Integration icon on the left sidebar.
Type Qualys in the search box to find the integration, then click it to select it.
Click + Connection, on the right side of the Connections section. A new connection window will appear.
Configure the following fields to create a connection to Qualys.
Connection Name: The desired name for the connection.
Site: Specifies the site to use the integration connection. Use the drop-down menu to select the site. The Share to Internal Sites option enables all sites defined as internal sites to use the connection. Selecting a specific site will only enable that site to use the connection.
Recipient site for events from connections Shared to Internal Sites: This field appears if you selected Share to Internal Sites for Site to let you select the internal site to deploy the integration connection.
Agent Name (Optional): Specifies the proxy agent required to build the connection. Use the dropdown menu to select the proxy agent from a list of previously configured proxy agents.
Description (Optional): Add your desired description for the connection.
Tenant (Optional): When configuring the connection from a master tenant site, you have the option to choose the specific tenant sites you want to share the connection with. Once you enable this setting, you can filter and select the desired tenant sites from the dropdowns to share the connection.
Configure User Permissions: Defines which users have access to the connection.
Active: Check the tick box to ensure the connection is available for use.
System: This section contains the parameters defined specifically for the integration. These parameters must be configured to create the integration connection.
1. Input your domain level Server URL.
2. Input your Username.
3. Input your Password.
4. Input your API Version. The default value is 2.0.
j. Enable Password Vault: An optional feature that allows users to take the stored credentials from their own password vault. Please refer to the password vault connection guide if needed.
k. Connection Health Check: Updates the connection status you have created. A connection health check is done by scheduling the Test Connection command of this integration. This can only be done when the connection is active.
To set up a connection health check, check the Connection Health Check tick box. You can customize the interval (minutes) for scheduling the health check. An email notification can be set up after a specified number of failed connection attempts.
Test the connection.
Click Test Connection to verify the account credentials and network connection. If the Test Connection Passed alert window appears, the test connection is successful. You will see Passed with a green checkmark appear beside the Test Connection button. If the test connection fails, please check your connection parameters and try again.
Click OK to close the alert window.
Click + Add to create and add the configured connection.
Commands
Qualys includes the following executable commands for users to set up schedules or create playbook workflows. With the Test Command, you can execute these commands independently for playbook troubleshooting.
Integration API Note
For more information about the Qualys API, please refer to the Qualys API reference.
Note for Time-related parameters
The input format of time-related parameters may vary based on your account settings. As a result, the sample data provided in our commands is different from what you see. To set your preferred time format, follow these steps:
Navigate to Configuration > Application Settings. Select Date/Time Format.
Choose your desired date and time format.
After that, you will be able to view your preferred time format when configuring the DateTime input parameters for commands.
Add IP To Subscription
Adds IP addresses to the user's subscription.
Input
Input Parameter | Required/Optional | Description | Example |
IP Addresses | Required | The IP Address list of the hosts is to be added to the subscription. | [ |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Add IP To Subscription failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 400. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Invalid IP Addresses. |
Error Sample Data Add IP To Subscription failed. Status Code: 400. Message: Invalid IP Addresses. |
Fetch Report
Retrieves a saved report based on its ID(s).
READER NOTE
The parameter IDs is required to run this command.
Run the List Reports command to obtain IDs. IDs is referring to report IDs which can be found in the returned raw data at the path $.RESPONSE.REPORT_LIST[*].ID.
ALERT
Please note that different user roles will result in different access levels for fetching reports:
Managers can fetch any report.
Unit Managers can fetch reports within their own business unit (reports launched by users in their own business unit).
Scanners and Readers can fetch their own reports.
Input
Input Parameter | Required/Optional | Description | Example |
IDs | Required | The list of saved report IDs to be retrieved. IDs can be obtained using the List Reports command. | [ |
Output
Error Handling
If the Return Data is Partially Successful or Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Fetch Report failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: IDs not found. |
Error Sample Data Fetch Report failed. Status Code: 404. Message: IDs not found. |
Fetch Scan Result
Retrieves scan results based on scan references.
READER NOTE
The parameter Scan References is required to run this command.
Run the List Vulnerability Scan command to obtain Scan References. Scan References can be found in the returned raw data at the path $.RESPONSE.SCAN_LIST[*].REF.
Input
Input Parameter | Required/Optional | Description | Example |
Scan References | Required | The scan reference ID. Scan references can be obtained using the List Vulnerability Scan command. | [ |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Fetch Scan Result failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Scan References Not Found. |
Error Sample Data Fetch Scan Result failed. Status Code: 404. Message: Scan References Not Found. |
Get Scanned Hosts
Retrieves a list of scanned hosts in the user's account.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Get Scanned Hosts failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data Get Scanned Hosts failed. Status Code: 404. Message: Page Not Found. |
Launch Scorecard Reports
Launches a vulnerability scorecard report in the user's Report Share. Please note that it is not possible to launch any compliance scorecard reports or Web Application Security (WAS) scorecard reports using this API at this time.
ALERT
Please note that different user roles will result in different access levels for launching scorecard reports:
Managers and Auditors can launch scorecard reports on all assets in the subscription
Unit Managers can launch scorecard reports on assets in their own business unit
Scanners and Readers can launch scorecard reports on assets in their own account.
Input
Input Parameter | Required/Optional | Description | Example |
User Created Scorecard Name | Optional | The user-created scorecard name for the vulnerability scorecard report that you want to launch with Report Share. Note that this parameter and Service Provided Scorecard Name cannot both be empty. When both parameters have a value, the value of Service Provided Scorecard Name will be omitted. | user (for user defined) |
Service Provided Scorecard Name | Optional | The service-provided scorecard name for the vulnerability scorecard report that the user wants to launch with Report Share. Note that this parameter and the parameter User Created Scorecard Name cannot both be empty. When both parameters have values, the input value of this parameter will be omitted. | Asset Group Vulnerability Report |
Report Title | Optional | The title of the report. Title may have a maximum of 128 characters. When unspecified, the report title will default to the scorecard name. If the title exceeds 128 characters, the exceeded part will be cut off. | Report 1234 |
Output Format | Optional | The output format of the report. The default value is XML. | XML |
Source | Optional | The source asset groups for the report. This parameter is required when the Service Provided Scorecard Name parameter has a value. If the User Created Scorecard Name has a value and this parameter is unspecified, the source selection set in the scorecard attributes (as defined in the Qualys account) will be used. Please note that the Business Unit (Manager Only) option is available only for Managers role. | Asset Groups |
Asset Groups | Optional | The titles of asset groups to be used as source asset groups for the scorecard report. If no input is provided for this parameter, all available asset groups in the account will be selected as the source asset groups for the scorecard report. This parameter is only valid when the Source parameter is set to "Asset Groups" and will be omitted when the Source parameter is set to "Business Unit (Manager Only)". | ["group1", "group2"] |
Business Unit | Optional | The business unit title or business info tag of each category associated with the asset group(s) included in the scorecard report. All asset groups within the specified business unit or tagged with the provided info tag will be included in the report source. This parameter is required when the Source parameter is set to "Business Unit (Manager Only)", and at least one field must have a value. This parameter will be omitted when the Source parameter is set to "Asset Groups". The possible value for the "business_unit" field could be the title of a business unit in the account, which was created by a Manager user, or "Unassigned" for unassigned business units. For the other fields ("division", "function", and "location"), a business info tag identifying each field could be used. The tag must be defined for an asset group in the account. The parameter schema is a JSON object with fixed keys: | { |
QIDs For Patch Report | Optional | The QIDs for vulnerabilities or potential vulnerabilities with available patches, and up to 2 QIDs for missing software. This parameter is required when the Service Provided Scorecard Name parameter is set to "Patch Report". At least one field must have a value. This parameter will be omitted when the Service Provided Scorecard Name is set to another scorecard report. The parameter schema is a JSON object with fixed keys: -"patch_qids": Up to 10 comma-separated QIDs of vulnerabilities or potential vulnerabilities, -"missing_qids": Up to 2 comma-separated QIDs of the missing software. | { |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Launch Scorecard Reports failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data Launch Scorecard Reports failed. Status Code: 404. Message: Page Not Found. |
Launch Vulnerability Scan
Initiates a vulnerability scan in the user's account.
READER NOTE
Option Profile ID and Scanner Appliance ID are required parameters to run this command.
Run the List Option Profiles command to obtain Option Profile ID. Option Profile IDs can be found in the returned raw data at the path $.OPTION_PROFILE.BASIC_INFO.ID.
Run the List Scanner Appliances command to obtain Scanner Appliance ID. Scanner Appliance IDs can be found in the returned raw data at the path $.RESPONSE.APPLIANCE_LIST[*].ID.
The parameter Asset Group IDs is optional to run this command.
Run the List Asset Groups command to obtain Asset Group IDs. Asset Group IDs can be found in the returned raw data at the path $.RESPONSE.ASSET_GROUP_LIST[*].ID.
Input
Input Parameter | Required/Optional | Description | Example |
Title | Optional | The title of the scan. | New Scan |
Option Profile ID | Required | The option profile ID of the scan. Option Profile ID can be obtained using the List Option Profiles command. | ***** |
Scanner Appliance ID | Optional | The installed appliance ID. Scanner Appliance ID can be obtained using the List Scanner Appliances command. | ***** |
Asset Group IDs | Optional | The target asset group ID(s) to scan. Asset Group IDs can be obtained using the List Asset Groups command. | ["*****", "*****"] |
IPs/Ranges | Optional | The IP address(es) to scan. | ***.***.***.*** |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Launch Vulnerability Scan failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Option Profile ID Not Found. |
Error Sample Data Launch Vulnerability Scan failed. Status Code: 404. Message: Option Profile ID not found. |
List Asset Groups
Lists asset groups in the user's account.
Input
Input Parameter | Required/Optional | Description | Example |
Show Attributes | Optional | Displays attributes for each asset group along with the ID. Please specify either ALL or a comma-separated list of one or more of the following (without duplicates): ID, TITLE, OWNER_USER_ID, OWNER_UNIT_ID, LAST_UPDATE, IP_SET, APPLIANCE_LIST, DOMAIN_LIST, DNS_LIST, NETBIOS_LIST, EC2_ID_LIST, HOST_IDS, ASSIGNED_USER_IDS, ASSIGNED_UNIT_IDS, BUSINESS_IMPACT, COMMENTS, OWNER_USER_NAME. | ID, TITLE |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Asset Groups failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Attributes Not Found. |
Error Sample Data List Asset Groups failed. Status Code: 404. Message: Attributes Not Found. |
List Host Detections
Retrieves a list of hosts with the latest vulnerability data, based on the host scan data available in the user's account.
Input
Input Parameter | Required/Optional | Description | Example |
Start Time | Optional | The start time of a vulnerability scan end date after the certain date time, in UTC time. | 2022-04-01 00:00 |
End Time | Optional | The end time of a vulnerability scan end date before the certain date time, in UTC time. | 2022-04-02 00:00 |
Status | Optional | Filters the hosts by one or more of these status values: New, Active, Re-Opened, Fixed. Separate each value with commas, without duplicates. | New, Active, Re-Opened, Fixed |
Select Host By Tag | Optional | Chooses option "ID" to select a tag set by providing tag IDs. Chooses option "Name" to select a tag set by providing tag names. This field is required when Tag Set Values have a value. | Name |
Tag Set Values | Optional | The tag IDs or tag Names to return the hosts. This field is required when the Select Host By Tag parameter has value. | TagName |
Limit | Optional | The maximum number of host records processed per request. The default value is 20, max value is 100. | 2 |
Additional Settings | Optional | The additional settings to filter the host detections. If the fields in the parameter will replace the request parameter with the same field name. Please check the link from page 457 for the available field details. <https://www.qualys.com/docs/qualys-api-vmpc-user-guide.pdf> | { |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Host Detections failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Host Detections failed. Status Code: 404. Message: Page Not Found. |
List Option Profiles
Exports one option profile or all option profiles in the subscription to an XML file.
Input
Input Parameter | Required/Optional | Description | Example |
Option Profile Type | Optional | The profile group type. The available options are User defined, Compliance profile, and PCI vulnerabilities profile. | User defined |
Include System Option Profiles | Optional | Whether the output includes the system option profile. | 0 |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Option Profiles failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Option Profiles failed. Status Code: 404. Message: Page Not Found. |
List Report
Retrieves a list of reports in the user's account.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Report failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Report failed. Status Code: 404. Message: Page Not Found. |
List Scanner Appliances
Lists scanner appliances in your account with their configurations.
Input
Input Parameter | Required/Optional | Description | Example |
Output Mode | Optional | The amount of detail provided for each scanner. The available options are Brief and Full. | brief |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Scanner Appliances failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Scanner Appliances failed. Status Code: 404. Message: Page Not Found. |
List Scheduled Reports
Lists the scheduled reports in the account or retrieve a specified report.
Input
Input Parameter | Required/Optional | Description | Example |
Status | Optional | The active status of the scheduled reports. If no selection is made, it defaults to returning both active and inactive reports. The available options are All, Active, and Inactive. | Active |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Scheduled Reports failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Scheduled Reports failed. Status Code: 404. Message: Page Not Found. |
List Vulnerability Scan
Launches vulnerability scan in the user's account.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | List Vulnerability Scan failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data List Vulnerability Scan failed. Status Code: 404. Message: Page Not Found. |
Search Asset Reports
Searches reports in the account. The Report Share feature must be enabled in the subscription.
READER NOTE
Asset Group IDs and Asset Groups are optional parameters to run this command.
Run the List Asset Groups command to obtain Asset Group IDs. Asset Group IDs can be found from the returned raw data at the path $.RESPONSE.ASSET_GROUP_LIST[*].ID.
Run the List Asset Groups command to obtain Asset Groups. Asset Groups can be found from the returned raw data at the path $.RESPONSE.ASSET_GROUP_LIST[*].TITLE.
Although all parameters in this command are optional to input, at least one of the parameters must have a value: "IPs", "Asset Group IDs", "Asset Groups", or "TagSet".
ALERT
Please note that different user roles will result in different access levels for searching asset reports:
Managers and Auditors can search reports on all assets in the subscription
Unit Managers can search reports on assets in their own business unit
Scanners and Readers can search reports on assets in their own account.
Input
Input Parameter | Required/Optional | Description | Example |
Tracking Method | Optional | The output displays only IP addresses/ranges that have a specific tracking method. | EC2 |
IPs | Optional | The list of IPs or IP ranges which will be included in the report. An IP range is specified with a hyphen (for example, ***.***.***.***-***.***.***.***). At least one of the parameters must have a value: "IPs", "Asset Group IDs", "Asset Groups", or "TagSet". | [ "***.***.***.***", "***.***.***.***-***.***.***.***" ] |
Asset Group IDs | Optional | The list of IDs of asset groups containing the hosts to be included in the asset search report. At least one of the parameters must have a value: "IPs", "Asset Group IDs", "Asset Groups", or "TagSet". Asset Group IDs can be obtained using the List Asset Groups command. | [ "***", "***" ] |
Asset Groups | Optional | The list of titles of asset groups containing the hosts to be included in the asset search report. At least one of the parameters must have a value: "IPs", "Asset Group IDs", "Asset Groups", or "TagSet". Asset Groups can be obtained using the List Asset Groups command. | [ "group1", "group2" ] |
TagSet | Optional | The set of configuration for using tags to include the hosts to be included in the asset search report. At least one of the parameters must have a value: "IPs", "Asset Group IDs", "Asset Groups", or "TagSet". The parameter schema is a JSON object with fixed keys and must contain at least one of the fields "tag_set_exclude" or "tag_set_include". The field value The field keys not matching the requirement will be omitted. | { |
Customized Filters | Optional | The JSON object contains any valid parameters for creating a detailed filter for the asset reports. Any other parameters with the same field names as the customized filters provided will be replaced. Refer to the documentation for more details on the valid parameters: Qualys API Documentation. | { |
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Search Asset Reports failed. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data Search Asset Reports failed. Status Code: 404. Message: Page Not Found. |
Test Connection
Allows you to perform a health check on an integration connection. You can schedule a periodic health check by selecting Connection Health Check when editing an integration connection.
Input
N/A
Output
Error Handling
If the Return Data is Failed, an Error tab will appear in the Test Result window.
The error tab contains the details responded from D3 SOAR or third-party API calls, including Failure Indicator, Status Code, and Message. This can help you locate the root cause of a command failure.
Parts in Error | Description | Example |
Failure Indicator | Indicates the command failure that happened at a specific input and/or API call. | Test Connection failed. Failed to check the connector. |
Status Code | The response code issued by the third-party API server or the D3 SOAR system that can be used to locate the corresponding error category. For example, if the returned status code is 401, the selected connection is unauthorized to run the command. The user or system support would need to check the permission setting in the Qualys portal. Refer to the HTTP Status Code Registry for details. | Status Code: 404. |
Message | The raw data or captured key error message from the integration API server about the API request failure. | Message: Page Not Found. |
Error Sample Data Test Connection failed. Failed to check the connector. Status Code: 404. Message: Page Not Found. |