Idira Identity Security Platform Integration for Elastic
| Version | 0.1.0
|
| Managed integration release status |
|
| Subscription level What's this? |
Basic |
| Developed by What's this? |
Elastic |
| Ingestion method(s) | API |
| Minimum Kibana version(s) | 9.4.0 |
You can use this integration as an Elastic Managed integration on Elastic Cloud Hosted deployments running this version or later.
To use pre-release integrations, go to the Integrations page in Kibana, scroll down, and toggle on the Display beta integrations option.
The Idira Identity Security Platform integration for Elastic collects audit events from the Idira Identity Security Platform Audit Service. The Audit Service records activity from all services on the platform in one audit trail, including CyberArk Identity, Privilege Cloud, Secure Infrastructure Access and Identity Threat Detection and Response.
Use this integration if your CyberArk services run on the Idira Identity Security Platform (formerly CyberArk Identity Security Platform, also called ISPSS). For other CyberArk products, use these integrations instead:
- Endpoint Privilege Manager (EPM): the CyberArk EPM integration collects the endpoint events, policy audit events and admin audit events from the EPM API. The Audit Service can also send EPM administration events (for example, an administrator views a set or a policy), and this integration collects those.
- Self-hosted Privileged Access Security (PAS) Vault: the CyberArk Privileged Access Security integration.
- Self-hosted Privileged Threat Analytics (PTA): the CyberArk PTA integration.
This integration uses the Idira Identity Security Platform SIEM integration API (/api/audits/stream). It has been tested against an Idira Identity Security Platform tenant with the CyberArk Identity and Endpoint Privilege Manager services. The parsing of Privilege Cloud, Secure Infrastructure Access and Identity Threat Detection and Response events is based on the CyberArk documentation and sample events, not on events from a live tenant.
Elastic Agent gets an OAuth2 access token from your CyberArk Identity tenant with the client credentials flow. It then creates a stream query on the Audit Service and reads the results page by page. The Audit Service returns a cursor with each page. Elastic Agent stores the cursor and uses it on the next poll to read only the new events.
The Audit Service keeps events for 7 days. On the first run, the integration collects events from the period set in Initial Interval (at most 7 days).
The Idira Identity Security Platform integration collects log messages of the following types:
audit: audit events from all services that send to the CyberArk Audit Service, for example:- CyberArk Identity: sign-ins, sign-outs, failed sign-ins, MFA challenges, OAuth token creation, user, role, and application changes, and provisioning.
- Privilege Cloud: vault sign-ins, password retrieval and changes, safe and owner changes, and privileged sessions.
- Secure Infrastructure Access: privileged session start, end, and failure.
- Identity Threat Detection and Response: security alerts.
- Endpoint Privilege Manager: administration events, such as views of sets and policies.
Use this integration to monitor identity and privileged access activity across the Idira Identity Security Platform in one place. For example, detect sign-in failures and MFA misuse, track changes to administrative rights and roles, audit access to privileged credentials, and investigate CyberArk threat detection alerts together with your other security data.
- A Idira Identity Security Platform tenant.
- An administrator who can create web apps, users, and roles in Identity Administration, and create a SIEM integration in the administration portal.
- A free SIEM integration slot. A tenant can have at most two third-party SIEM integrations.
Elastic Agent must be installed. For more details, check the Elastic Agent installation instructions. You can install only one Elastic Agent per host.
Elastic Agent is required to collect data from the CyberArk API and ship the data to Elastic, where the events will then be processed via the integration's ingest pipelines.
Elastic Managed integrations are only supported on Elastic Cloud Serverless and Elastic Cloud Hosted deployments. An Elastic Managed integration lets you ingest data from a cloud source while avoiding the orchestration, management, and maintenance associated with standard ingest infrastructure. Elastic runs the collector for you, so you can focus on your data instead of the infrastructure that collects it. This functionality is in beta and is subject to change. Beta features are not subject to the support SLA of official GA features.
For more information, refer to Elastic Managed integrations and the Elastic Managed integrations FAQ.
Menu names can be different in your portal version. Newer portals group the menus under Access, Manage and Setup.
- Create an OAuth2 Server web app:
- In Identity Administration, go to Apps & Widgets → Web Apps and click Add Web Apps.
- On the Custom tab, add OAuth2 Server.
- On the Settings tab, set the Application ID, for example
elastic_siem. This is the Application ID in the integration settings. - On the Tokens tab, set Token Type to
jwtRS256and select only the Client Creds authentication method. Set the token lifetime, for example 5 hours. - On the Scope tab, add a scope named
isp.audit.events:read. - On the Advanced tab, add this script. The Audit Service does not accept the token without these claims.
setClaim('tenant_id', TenantData.Get("CybrTenantID")); setClaim('aud', 'cyberark.isp.audit'); - Save the web app.
- Create a service user:
- Go to Core Services → Users and click Add User.
- Enable Is service user and Is OAuth confidential client.
- Note the full login name, including the tenant suffix, for example
svc_elastic@cyberark.cloud.1234, and the password. These are the Client ID and Client Secret in the integration settings. Service users do not get an invitation, so the status Not invited is normal.
- On the Permissions tab of the web app, add the service user with the Grant, View, Run and Automatically Deploy permissions.
- Give the service user the Read Only System Administration administrative right. CyberArk documents that without this right, queries return no events. Go to Core Services → Roles, add a role, add the Read Only System Administration right on the Administrative Rights tab, and add the service user on the Members tab.
- Create a SIEM integration:
- In the administration portal, go to Integrations → Export to SIEM, then click Create → Create SIEM integration.
- Enter a name and click Apply.
- Copy the API key and the API base URL. The API key is shown only once. These are the SIEM API Key and Audit API URL in the integration settings.
- Note your Identity ID: in Identity Administration, click your user name, select About, and copy the ID shown under Identity, for example
ACF4874.
- In Kibana, go to Management → Integrations.
- Search for Idira Identity Security Platform and select the integration.
- Click Add Idira Identity Security Platform.
- Enter the Audit API URL, SIEM API Key, Identity ID, Application ID, Client ID and Client Secret from the CyberArk setup.
- Optionally change Interval and Initial Interval. The Audit Service keeps events for 7 days, so an Initial Interval larger than
168his reduced to168h. - Save the integration.
- Sign in to the CyberArk portal to create a new audit event.
- In Kibana, go to Discover and select the
logs-*data view. - Filter on
data_stream.dataset : "idira_identity_security_platform.audit". Events appear after the next poll.
- Token request fails with
400andaccess_denied: make sure Client ID is the full login name of the service user, including the tenant suffix (for examplesvc_elastic@cyberark.cloud.1234). - Token request fails with an empty or wrong secret: check that Client Secret is the current password of the service user.
createQueryfails with403and the messageForbidden: the Audit Service did not accept the API key. Check that SIEM API Key is the key of the SIEM integration and that Audit API URL is the API base URL of the same SIEM integration.- Audit API requests fail with
401and the messageUnauthorized: the Audit Service did not accept the access token. Check that the web app has theisp.audit.events:readscope and the advanced script with thetenant_idandaudclaims, and that the service user has the web app permissions. - A document with the
error.message"request rejected (cursor or API key not accepted), a new query starts on the next poll": the Audit Service answered400or403to aresultsrequest. The usual cause is a stored cursor that is no longer valid. On the next poll, the integration creates a new query that starts 5 minutes before the time of the last collected event, because the Audit Service does not return events in exact time order. Events that are collected again are not duplicated, because the document ID comes from the event ID. If the next poll gives acreateQueryerror with403andForbidden, the cause is the API key, not the cursor. - No events are collected and there are no errors: give the service user the Read Only System Administration right.
- Events older than 7 days are missing: the Audit Service keeps events for 7 days only. If Elastic Agent stops for longer than that, the older events cannot be collected.
CyberArk documents that the stream APIs can be called once a minute. The integration polls every Interval (default 5m) and limits its request rate with Resource Rate Limit (default one request a second) and Resource Rate Limit Burst. If CyberArk returns a rate limit error (429), Elastic Agent retries the request with exponential backoff: up to Resource Retry Max Attempts retries (default 5), waiting from Resource Retry Wait Min (default 1s) up to Resource Retry Wait Max (default 60s), and following the Retry-After header when CyberArk sends one. If the retries also fail, the integration indexes an error document and tries again on the next poll, from the same position. If rate limit errors continue, set Resource Rate Limit to 0.0167 to make no more than one request a minute.
Each page has at most the number of events set in Page Size (default 100, maximum 500). Large page sizes can fail with NonTimeBasedRetrieval: Response size too big on first page, so keep the default unless you need more throughput.
For more information on architectures that can be used for scaling this integration, check the Ingest Architectures documentation.
These inputs can be used with this integration:
cel
For more details about the CEL input settings, check the Filebeat documentation.
Before configuring the CEL input, make sure you have:
- Network connectivity to the target API endpoint
- Valid authentication credentials (API keys, tokens, or certificates as required)
- Appropriate permissions to read from the target data source
To configure the CEL input, you must specify the request.url value pointing to the API endpoint. The interval parameter controls how frequently requests are made and is the primary way to balance data freshness with API rate limits and costs. Authentication is often configured through the request.headers section using the appropriate method for the service.
To access the API service, make sure you have the necessary API credentials and that the Filebeat instance can reach the endpoint URL. Some services may require IP whitelisting or VPN access.
To collect logs via API endpoint, configure the following parameters:
- API Endpoint URL
- API credentials (tokens, keys, or username/password)
- Request interval (how often to fetch data)
These APIs are used with this integration:
POST https://<identity_id>.id.cyberark.cloud/oauth2/token/<application_id>: gets an OAuth2 access token.POST <audit_url>/api/audits/stream/createQuery: creates a stream query and returns a cursor.POST <audit_url>/api/audits/stream/results: returns a page of audit events and the next cursor.
For details, refer to the SIEM integration API documentation.
The audit data stream provides audit events from the Idira Identity Security Platform Audit Service, for all services that send audit events to it.
Exported fields
| Field | Description | Type |
|---|---|---|
| @timestamp | Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events. | date |
| data_stream.dataset | The field can contain anything that makes sense to signify the source of the data. Examples include nginx.access, prometheus, endpoint etc. For data streams that otherwise fit, but that do not have dataset set we use the value "generic" for the dataset value. event.dataset should have the same value as data_stream.dataset. Beyond the Elasticsearch data stream naming criteria noted above, the dataset value has additional restrictions: * Must not contain - * No longer than 100 characters |
constant_keyword |
| data_stream.namespace | A user defined namespace. Namespaces are useful to allow grouping of data. Many users already organize their indices this way, and the data stream naming scheme now provides this best practice as a default. Many users will populate this field with default. If no value is used, it falls back to default. Beyond the Elasticsearch index naming criteria noted above, namespace value has the additional restrictions: * Must not contain - * No longer than 100 characters |
constant_keyword |
| data_stream.type | An overarching type for the data stream. Currently allowed values are "logs" and "metrics". We expect to also add "traces" and "synthetics" in the near future. | constant_keyword |
| event.dataset | Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name. | constant_keyword |
| event.module | Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), event.module should contain the name of this module. |
constant_keyword |
| idira_identity_security_platform.audit.access_method | Access method used, for example Vaulted (accessMethod). |
keyword |
| idira_identity_security_platform.audit.account_id | ID of the vault account (accountId). |
keyword |
| idira_identity_security_platform.audit.account_name | Name of the vault account object (accountName). |
keyword |
| idira_identity_security_platform.audit.action_type | Verb class of the action, for example Create, Edit or Login (actionType). |
keyword |
| idira_identity_security_platform.audit.application_code | Code of the CyberArk service that sent the event, for example IDP, PAM, DPA or ITDR (applicationCode). |
keyword |
| idira_identity_security_platform.audit.audit_type | Result or severity class of the audit event, for example Info, Success or Failure (auditType). |
keyword |
| idira_identity_security_platform.audit.cloud_assets | Cloud assets related to the event (cloudAssets). |
keyword |
| idira_identity_security_platform.audit.cloud_identities | Cloud identities related to the event (cloudIdentities). |
keyword |
| idira_identity_security_platform.audit.cloud_provider | Cloud provider that runs the CyberArk service (cloudProvider). |
keyword |
| idira_identity_security_platform.audit.cloud_workspaces_and_roles.name | Name of the cloud workspace. | keyword |
| idira_identity_security_platform.audit.cloud_workspaces_and_roles.roles | Roles in the cloud workspace. | keyword |
| idira_identity_security_platform.audit.command | Command that was run (command). |
keyword |
| idira_identity_security_platform.audit.component | Component that sent the event (component). For ITDR alerts this value is in rule.name. |
keyword |
| idira_identity_security_platform.audit.correlation_id | ID that links related events (correlationId). For ITDR events this is the alert ID. |
keyword |
| idira_identity_security_platform.audit.custom_data | Service-specific event details (customData). The keys depend on the application code and audit code. Keys that are mapped to ECS fields are removed. JSON-encoded string values are decoded, and the Privilege Cloud new_target value is split into its Key=Value pairs. |
flattened |
| idira_identity_security_platform.audit.identity_type | Type of the identity that did the action, HUMAN or NON_HUMAN (identityType). |
keyword |
| idira_identity_security_platform.audit.is_dr | Whether the event came from a disaster recovery region (isDr). |
boolean |
| idira_identity_security_platform.audit.org_id | ID of the organization (orgId). |
keyword |
| idira_identity_security_platform.audit.origin_region | Cloud region of the CyberArk service that logged the event (originRegion). |
keyword |
| idira_identity_security_platform.audit.safe | Name of the vault safe (safe). |
keyword |
| idira_identity_security_platform.audit.session_id | ID of the session (sessionId). |
keyword |
| idira_identity_security_platform.audit.source | Source of the action when it is not an IP address, for example a component name such as PVWA or PSMApp (source). IP addresses are in source.ip. |
keyword |
| idira_identity_security_platform.audit.target | Target of the action (target). For Privilege Cloud and Secure Infrastructure Access events this value is in destination.address. |
keyword |
| idira_identity_security_platform.audit.target_network | Network name from a Secure Infrastructure Access SSH target of the form user@host#network. |
keyword |
| idira_identity_security_platform.audit.target_platform | Vault platform of the target, for example UnixSSH (targetPlatform). |
keyword |
| idira_identity_security_platform.audit.tenant_id | ID of the CyberArk tenant (tenantId). |
keyword |
| idira_identity_security_platform.audit.vaulted_accounts | Vaulted accounts related to the event (vaultedAccounts). |
keyword |
| idira_identity_security_platform.audit.when_logged | Time when the action was logged, from customData.when_logged. |
date |
| idira_identity_security_platform.audit.when_occurred | Time when the action occurred, from customData.when_occurred. |
date |
| input.type | Type of filebeat input. | keyword |
| log.offset | Log offset. | long |
Example
{
"@timestamp": "2025-02-12T12:24:15.534Z",
"agent": {
"ephemeral_id": "9c108581-08ab-47b0-a8fe-89f66bc8f79b",
"id": "2b891e28-2395-4860-b95b-d8adc974c773",
"name": "elastic-agent-89136",
"type": "filebeat",
"version": "9.5.5"
},
"data_stream": {
"dataset": "idira_identity_security_platform.audit",
"namespace": "34582",
"type": "logs"
},
"ecs": {
"version": "9.3.0"
},
"elastic_agent": {
"id": "2b891e28-2395-4860-b95b-d8adc974c773",
"snapshot": false,
"version": "9.5.5"
},
"event": {
"action": "Add Safe",
"agent_id_status": "verified",
"category": [
"iam",
"configuration"
],
"code": "PAM00185",
"dataset": "idira_identity_security_platform.audit",
"id": "00000068-0000-4000-8000-000000000068",
"ingested": "2026-11-24T21:42:25Z",
"kind": "event",
"module": "idira_identity_security_platform",
"original": "{\"accessMethod\":null,\"accountId\":\"\",\"accountName\":\"\",\"action\":\"Add Safe\",\"actionType\":\"Execute\",\"applicationCode\":\"PAM\",\"auditCode\":\"PAM00185\",\"auditType\":\"Info\",\"cloudAssets\":null,\"cloudIdentities\":null,\"cloudProvider\":null,\"cloudWorkspacesAndRoles\":[],\"command\":null,\"component\":\"Vault\",\"customData\":{\"PAM\":{\"new_target\":\"\",\"target\":\"\"}},\"identityType\":null,\"message\":\"\",\"safe\":\"Example-New-Safe\",\"serviceName\":\"Privilege Cloud\",\"sessionId\":null,\"source\":\"PVWA\",\"target\":\"\",\"targetAccount\":\"\",\"targetPlatform\":\"\",\"tenantId\":\"00000002-0000-4000-8000-000000000002\",\"timestamp\":1739363055534,\"userId\":\"alice.johnson@example.com\",\"username\":\"alice.johnson@example.com\",\"uuid\":\"00000068-0000-4000-8000-000000000068\"}",
"provider": "Privilege Cloud",
"type": [
"admin",
"creation"
]
},
"idira_identity_security_platform": {
"audit": {
"action_type": "Execute",
"application_code": "PAM",
"audit_type": "Info",
"component": "Vault",
"safe": "Example-New-Safe",
"source": "PVWA",
"tenant_id": "00000002-0000-4000-8000-000000000002"
}
},
"input": {
"type": "cel"
},
"related": {
"user": [
"alice.johnson@example.com"
]
},
"tags": [
"preserve_original_event",
"forwarded",
"idira_identity_security_platform-audit"
],
"user": {
"id": "alice.johnson@example.com",
"name": "alice.johnson@example.com"
}
}
Changelog
| Version | Details | Minimum Kibana version |
|---|---|---|
| 0.1.0 | Enhancement (View pull request) Initial release. |
9.4.0 |