﻿---
title: WithSecure Elements Integration
description: This integration allows you to collect data from the WithSecure Elements API, including incidents (Broad Context Detections - BCDs) and security events...
url: https://www.elastic.co/docs/reference/integrations/withsecure_elements
products:
  - Elastic integrations
applies_to:
  - Serverless Observability projects: Preview
  - Serverless Security projects: Preview
  - Elastic Stack: Preview since 9.0
---

# WithSecure Elements Integration
|                                                                                                 |                                                                   |
|-------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
| **Version**                                                                                     | 0.5.0 <applies-to>: Preview</applies-to> ([View all](#changelog)) |
| **Managed integration release status**                                                          | GA                                                                |
| **Subscription level**[What's this?](https://www.elastic.co/subscriptions)                      | Basic                                                             |
| **Developed by**[What's this?](https://www.elastic.co/docs/reference/integrations/developed-by) | Community                                                         |
| **Ingestion method(s)**                                                                         | API                                                               |
| **Minimum Kibana version(s)**                                                                   | 9.0.58.19.2                                                       |

<important applies-to="Elastic Stack: Generally available since 9.5">
  You can use this integration as an Elastic Managed integration on Elastic Cloud Hosted deployments running this version or later.
</important>

<admonition title="The WithSecure Elements integration v0.5.0 is in technical preview">
  To use pre-release integrations, go to the **Integrations** page in Kibana, scroll down, and toggle on the _Display beta integrations_ option.
</admonition>

This integration allows you to collect data from the WithSecure Elements API, including incidents (Broad Context Detections - BCDs) and security events.

## Elastic Managed enabled integration

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.
For more information, refer to [Elastic Managed integrations](https://www.elastic.co/docs/manage-data/ingest/managed-integrations/managed-integrations) and the [Elastic Managed integrations FAQ](https://www.elastic.co/docs/manage-data/ingest/managed-integrations/managed-integrations-faq).

## Configuration


### Prerequisites

- WithSecure Elements Client ID and Client Secret
- Organization ID
- Access to WithSecure Elements API


### Input Configuration

This integration uses a **single input configuration** for all data streams. You only need to configure the API credentials once:
- **URL**: WithSecure Elements API URL (default: )
- **Client ID**: Client ID for OAuth2 authentication
- **Client Secret**: Client Secret for OAuth2 authentication
- **Organization ID**: Organization identifier


### Data Streams

You can enable/disable each data stream individually. Each data stream has its own collection interval:

#### Incidents (BCDs)

Collects Broad Context Detections (BCDs) from WithSecure Elements API.
- **Interval**: Collection interval (default: 5m)
- **API Endpoint**: `GET /incidents/v1/incidents`
- **Max items per request**: 50


#### Security Events

Collects security events from WithSecure Elements API (EPP and EDR engines).
- **Interval**: Collection interval (default: 5m)
- **API Endpoint**: `POST /security-events/v1/security-events`
- **Max items per request**: 200
- **Engines**: EPP (Endpoint Protection) and EDR (Detection and Response)


#### Incident Detections (Optional - Disabled by default)

Collects detections for specific incidents from WithSecure Elements API.
- **Incident ID**: Specific Incident ID to collect detections for
- **Interval**: Collection interval (default: 5m)
- **Note**: Requires a valid incident ID. Enable this data stream only if you need detections for specific incidents.


## Data Collected


### Incidents (BCDs)

- Security incident information
- Status, severity, risk level
- Categories and sources
- Creation and update timestamps
- Comments and assignments


### Security Events

- Real-time security events from EPP and EDR
- Actions taken (blocked, quarantined, deleted, etc.)
- Device and user information
- Engine-specific details (DeepGuard, Application Control, DataGuard, etc.)
- Severity levels (critical, warning, info)


### Incident Detections

- Detections specific to each incident
- Detailed threat detection information
- Data on files, users, and devices involved
- Network and behavioral information


## ECS Fields

Data is mapped to the Elastic Common Schema (ECS) with the following fields:
- `event.category`: Event category
- `event.type`: Event type
- `event.severity`: Severity level
- `event.action`: Action taken
- `event.provider`: Provider (withsecure_elements)
- `event.id`: Unique event identifier
- `event.created`: Event creation timestamp
- `@timestamp`: Event timestamp


## Authentication

The integration uses OAuth2 client credentials flow for authentication:
- **Token URL**: `{API_URL}/as/token.oauth2`
- **Grant Type**: `client_credentials`
- **Scope**: `connect.api.read`


## Support

For any questions or issues, please refer to the WithSecure Elements documentation or contact support.

## Changelog

<dropdown title="Changelog">
  | Version   | Details                                                                                                                                                                                                                                                                                                                                                                                                                                    | Minimum Kibana version |
  |-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|
  | **0.5.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/20987))Update Elastic Managed integration documentation to the current wording and docs links.                                                                                                                                                                                                                                                           | 9.0.58.19.2            |
  | **0.4.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/20575))Add tags to ingest pipeline processors and add `preserve_original_event` to pipeline-level `on_failure` handlers.**Bug fix** ([View pull request](https://github.com/elastic/integrations/pull/20575))Append to `error.message` in the pipeline-level `on_failure` handlers instead of overwriting messages recorded by processor-level handlers. | 9.0.58.19.2            |
  | **0.3.1** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/20463))Set agentless deployment mode `release` field to `ga`.                                                                                                                                                                                                                                                                                            | 9.0.58.19.2            |
  | **0.3.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/19760))Enable Agentless deployment.                                                                                                                                                                                                                                                                                                                      | 9.0.58.19.2            |
  | **0.2.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/17963))Enable request trace log removal.                                                                                                                                                                                                                                                                                                                 | 9.0.08.18.0            |
  | **0.1.0** | **Enhancement** ([View pull request](https://github.com/elastic/integrations/pull/15442))Initial release.                                                                                                                                                                                                                                                                                                                                  | 9.0.08.18.0            |
</dropdown>