Active Directory Alerts Using Public API

The ETM Identity public API lets you retrieve Active Directory monitoring alerts programmatically and use them in your existing security workflows. You can bring identity monitoring data into SIEM and security analytics platforms such as Splunk.

The following are the key benefits of the ETM Identity public API:

  • Export ETM Identity Active Directory monitoring alerts through a public API.
  • Integrate identity monitoring data with SIEM and security analytics platforms.
  • Support automated ingestion of ETM Identity alerts into Splunk dashboards.
  • Improve monitoring, investigation, and reporting workflows.
  • Retrieve monitoring data using secure industry-standard authentication methods.

API supports Active Directory monitoring alerts only.

API Capabilities

  • Active Directory Monitoring Alert Retrieval: Retrieve the alerts listed on the Monitoring > Alerts page.
  • Paginated Responses: Retrieve large result sets page by page.
  • Time-Range Filtering: Limit results to alerts within a time range.
  • Incremental Data Collection: Retrieve only alerts generated since your last request.
  • Advanced Filtering Support using QQL: Filter alerts using QQL. For supported tokens, see Search Tokens for Events and Alerts.

Supported Authentication Methods

Method

Use when

OAuth

Your integration supports token-based authorization.

OIDC

You authenticate through an OpenID Connect identity provider.

Basic Authentication

Your integration supports only user name and password authentication.

RBAC data-level filtering isn’t applicable for OAuth and OIDC. Sub-users must use Basic Authentication.

Required Permission

The ETM Identity Access and ETM Identity API Access permissions are mandatory when you create an OAuth or OIDC client to generate the client ID and client secret. For details, see RBAC - Roles and Permissions.

Retrieve Active Directory Alerts 

Before you begin

  1. Permissions: Your user, or the OAuth or OIDC client, must have the ETM Identity Access and ETM Identity API Access permissions.
  2. API gateway URL: The base URL depends on the Qualys platform your account is on, for example https://gateway.qg1.apps.qualys.com. To find yours, see Identify your Qualys platform.
  3. API reference: The Swagger documentation for the ETM Identity API is at https://<gateway_url>/apidocs/ispm. For example, for the AU platform: https://gateway.qg1.apps.qualys.com/apidocs/ispm. 

Every API request must include a JSON Web Token (JWT). Use one of the following authentication methods to get one.

Method Use when Request
OAuth (subscription level) You use a client ID and client secret created for the subscription. POST https://<gateway_url>/auth/oauth
OIDC (user level) You use a client ID and client secret created for your user. POST https://<gateway_url>/auth/oidc
Basic Authentication You use a Qualys user name and password. Required for sub-users. POST https://<gateway_url>/auth

RBAC data-level filtering isn't applicable for OAuth and OIDC. For these methods, only the permissions you select for the client apply. Sub-users must use Basic Authentication.

OIDC or OAuth example:

curl -X POST 'https://<gateway_url>/auth/oidc' \
  -H 'clientId: <client_id>' \
  -H 'clientSecret: <client_secret>'

For OAuth, replace /auth/oidc with /auth/oauth.

Basic Authentication example:

curl -X POST 'https://<gateway_url>/auth' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'username=<username>&password=<password>&token=true&permissions=true'

The response is a JWT. The token expires after 4 hours. Generate a new token to continue making API calls.

Step 2: Call the Alerts Export API

GET https://<gateway_url>/ispm/api/rest/v1/alerts/export

Pass the token in the Authorization header:

curl -X GET 'https://<gateway_url>/ispm/api/rest/v1/alerts/export?startAt=2026-10-01T00:00:00.000Z&endAt=2026-10-01T23:59:59.999Z' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer <token>'

Splunk Integrations

Use the Qualys Technology Add-on (TA) for Splunk to ingest ETM Identity Active Directory monitoring alerts into Splunk dashboards for centralized monitoring, analysis, and reporting.

  1. Install or upgrade the Qualys TA for Splunk to the version that supports ETM Identity.
  2. In the TA configuration, enable the ETM Identity alerts input.
  3. Enter your Qualys platform URL and credentials.
  4. Save the configuration. Alerts appear in your Splunk dashboards after the next collection cycle.

Other Integrations

You can also use the API to send alerts to:

  • IBM QRadar
  • Security orchestration platforms
  • Custom security dashboards

Related topics: Active Directory Monitoring · ETM Identity API User Guide