Skip to main content

Qualys Connector

Qualys Qualys is a cloud-based security and compliance platform that provides vulnerability management, asset inventory, and risk scoring through its VMDR (Vulnerability Management, Detection, and Response) solution. This component allows managing assets, tags, VM scans, TruRisk scores, and remediation tickets across the Qualys Gateway and Classic APIs.

API Documentation

This component was built using the following API references:

Connections

Basic Authentication

Authenticate requests to Qualys using username and password.

To authenticate with Qualys, a platform username and password are required along with the API base URLs for the account's assigned pod.

Prerequisites

  • A Qualys subscription with API access enabled
  • A user account with the appropriate role (e.g., Manager, Unit Manager, or Reader depending on the actions used)
  • The Gateway and Classic API base URLs for the assigned Qualys platform pod

Setup Steps

  1. Log in to the Qualys platform
  2. Confirm that API access is enabled for the account. API access is controlled by the Qualys subscription administrator
  3. Identify the platform pod by visiting the Platform Identification page. Each pod has distinct Gateway and Classic API base URLs
  4. Note the Gateway API URL (e.g., https://gateway.qg1.apps.qualys.com) and the Classic API URL (e.g., https://qualysapi.qg1.apps.qualys.com) for the assigned pod

Configure the Connection

  • Enter the Username for the Qualys platform account
  • Enter the Password for that account
  • Enter the Gateway API URL, the base URL for the Qualys Gateway (CSAM/GAV) API on the assigned pod
  • Enter the Classic API URL, the base URL for the Qualys Classic (VM/PC) API on the assigned pod
InputCommentsDefault
UsernameQualys platform username.
PasswordQualys platform password.
Gateway API URLBase URL for the Qualys Gateway (CSAM/GAV) API. Find the pod URL at Platform Identification.
Classic API URLBase URL for the Qualys Classic (VM/PC) API. Find the pod URL at Platform Identification.

Triggers

Changed Assets

Checks for assets that have changed since the last execution on a configured schedule. Uses the Gateway asset search with a last-modified filter and persists the watermark via polling state. Note: echo suppression is NOT built into this trigger. If the flow pushes assets back to Qualys, those writes will re-appear as changes on the next poll. Implement echo suppression at the flow level using outbound push timestamps.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Show New RecordsWhen enabled, assets created since the last poll are included in the trigger output.true
Show Updated RecordsWhen enabled, assets modified since the last poll are included in the trigger output.true

Actions

Create Tag

Create a new tag in Qualys using the Asset Management & Tagging (QPS) API.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Tag NameA descriptive label for the tag, such as 'LS:Environment=Production'.
Parent Tag IDFilter tags by parent tag ID, or set the parent when creating a tag.
ColorA hex color code (e.g. #FF5733) used to visually distinguish the tag in the Qualys UI.
Criticality ScoreTag criticality score (1-5). Qualys derives an asset's criticality as the maximum score across its tags.
Rule TypeTag rule type (e.g., STATIC, GROOVY, OS_REGEX, NETWORK_RANGE).
Rule TextTag rule expression. Required for dynamic rule types (GROOVY, OS_REGEX, etc.).

Delete Remediation Tickets

Bulk-delete remediation tickets by filter. Defaults to dry-run mode — set Dry Run to false to perform the actual deletion. Up to 20,000 tickets per call. Requires Manager or Unit Manager role. There is no undo.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Ticket NumbersSpecific ticket numbers to retrieve or act on.
AssigneeFilter tickets assigned to this user's email address.
Ticket StateFilter tickets by their current workflow state.
SeverityFilter tickets by vulnerability severity (1-5).
Dry RunWhen true (default), returns the tickets that would be deleted without actually deleting them. Set to false to perform the deletion. There is no undo.true

Edit Remediation Tickets

Bulk-edit remediation tickets: reassign, change state, or add comments. Up to 20,000 tickets per call. Requires Manager or Unit Manager role — Scanner or Reader credentials silently fail to act on tickets outside the caller's own account.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Ticket NumbersSpecific ticket numbers to retrieve or act on.
New AssigneeReassign selected tickets to this user.
New StateChange the state of selected tickets. A Closed/Fixed or Closed/Ignored ticket cannot be changed to Resolved.
CommentAdd a comment to the selected tickets.

Get Asset

Retrieve a single asset by ID from the Qualys inventory using the Gateway asset search API.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Asset IDThe unique identifier for the asset in Qualys.

Get Remediation Ticket Info

Retrieve detailed information for specific remediation tickets by ticket number or by last-modified timestamp.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Ticket NumbersSpecific ticket numbers to retrieve or act on.
SinceReturn tickets updated on or after this date/time. Format: YYYY-MM-DDTHH:MM:SSZ.

Launch VM Scan

Launch a vulnerability management scan against asset groups or tags. Asynchronous — returns a scan reference immediately, not results. Use List Scans to track status. Requires an existing scan option profile and at least one online scanner appliance or Cloud Agent scoped to the targets.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Scan TitleA descriptive name to identify the scan in Qualys.
Option Profile IDID of the scan option profile to use. Select from the Option Profile data source.
Scanner ApplianceName or ID of the scanner appliance. Required when targets are not covered by Cloud Agent.
Target Tag IDsTag IDs identifying the assets to scan.
Asset Group IDsAsset group IDs identifying the assets to scan.

List Asset Risk Data

Retrieve TruRisk scores, vulnerability counts, and derived risk bands from the Classic VM host list API. This is the only source for TruRisk data — the modern Gateway asset API does not return vulnerability information. Returns the VM (Classic) TruRisk score, not the CSAM figure.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Fetch AllWhen true, automatically fetches all pages of results.false
Page SizeThe maximum number of results to return per page. The API default applies when omitted.

List Assets

Search for assets in the Qualys inventory using the Gateway asset search API. Supports keyset cursor pagination and field selection.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Fetch AllWhen true, automatically fetches all pages of results.false
PaginationPage size and cursor controls for keyset pagination.
Page SizeThe maximum number of results to return per page. The API default applies when omitted.
Last IDStart results after this asset ID (keyset cursor). Returned in the previous response when more results are available.
Last Modified SinceFilter assets modified after this date/time (ISO 8601). Used as an incremental sync watermark.
Include FieldsFields to include in the response. When set, only these fields are returned.
Exclude FieldsField names to omit from the response payload, reducing response size.

List Remediation Tickets

List remediation tickets from the Classic API. Maximum 1,000 tickets per call — the API truncates silently beyond that limit. The response includes a truncation flag so callers can detect incomplete results.

InputCommentsDefault
ConnectionThe Qualys connection to use.
AssigneeFilter tickets assigned to this user's email address.
Ticket StateFilter tickets by their current workflow state.
SeverityFilter tickets by vulnerability severity (1-5).
Modified SinceReturn tickets modified on or after this date/time. Format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ.

List Scans

List VM scans from the Classic API. This is the only way to check a launched scan's status — there is no dedicated status endpoint.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Scan ReferenceFilter scans by reference ID (e.g., scan/1234567890.12345).
Scan StateFilter scans by execution state. Use Running to find active scans.
Launched AfterFilter scans launched after this date (YYYY-MM-DD).

List Tags

Search for tags in Qualys using the Asset Management & Tagging (QPS) API.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Fetch AllWhen true, automatically fetches all pages of results.false
Page SizeThe maximum number of results to return per page. The API default applies when omitted.
Tag NameFilter tags by name (contains match).
Parent Tag IDFilter tags by parent tag ID, or set the parent when creating a tag.

Raw Request

Send a raw HTTP request to the Qualys API. Select the API plane (Gateway or Classic) since they differ in host, authentication, and content type.

InputCommentsDefault
ConnectionThe Qualys connection to use.
API PlaneSelect which Qualys API plane to send the request to. Gateway uses JWT auth and JSON. Classic uses Basic auth with X-Requested-With and may return XML.
URLInput the path only (e.g., /rest/2.0/search/am/asset). The base URL is determined by the selected API plane.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Sync Asset

Import third-party assets into Qualys by pushing data through the Gateway connector sync endpoint. Provide the connector metadata (including the Connector UUID from the Qualys Connectors UI) and an array of asset objects with identity and core attributes. Qualys runs identification rules to match or create each asset.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Connector MetadataConnector identifier, source, request tracking, and asset count details.
Connector UUIDThe connector UUID from the Qualys Connectors UI.
SourceThe source identifier for the sync request.
Request IDAn optional request identifier for tracking the sync operation.
Asset CountAn optional count of assets being synced.
Asset DataJSON array of asset objects to push to Qualys. Each object should contain identityAttributes (hostName, ipAddress, macAddress, serialNumber, etc.) and coreAttributes (address, biosInfo, softwares, networkInterfaces, etc.).

Update Asset Tags

Add or remove tags on an asset. Consolidates assign and remove into one action. Static tags only — Qualys rejects dynamic tags. When changing a value-bearing tag (e.g., LS:DomainRole=X), remove the old tag before adding the new one to avoid stale entries.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Asset IDThe unique identifier for the asset in Qualys.
Tags to AddTag IDs to assign to the asset. Static tags only — Qualys rejects dynamic tags.
Tags to RemoveTag IDs to remove from the asset.

Update Tag

Update an existing tag in Qualys. This is a partial update — only provided fields are changed; omitted fields are left untouched.

InputCommentsDefault
ConnectionThe Qualys connection to use.
Tag IDThe unique identifier for the tag.
Tag NameUpdated tag name. Omitted fields are left untouched.
ColorA hex color code (e.g. #FF5733) used to visually distinguish the tag in the Qualys UI.
Criticality ScoreTag criticality score (1-5). Qualys derives an asset's criticality as the maximum score across its tags.