Imperva
Collect logs from Imperva devices with Elastic Agent.
Version |
0.20.0 (View all) |
Compatible Kibana version(s) |
8.10.1 or higher |
Subscription level |
Basic |
This integration is for Imperva device logs. It includes the datasets for receiving logs over syslog or read from a file:
securesphere
dataset: supports Imperva SecureSphere logs.
Data streams
The Imperva integration collects one type of data: securesphere.
Securesphere consists of alerts, violations, and system events. See more details about alerts, violations, and events
Requirements
Elastic Agent must be installed. For more information, refer to the link here.
Installing and managing an Elastic Agent:
You have a few options for installing and managing an Elastic Agent:
Install a Fleet-managed Elastic Agent (recommended):
With this approach, you install Elastic Agent and use Fleet in Kibana to define, configure, and manage your agents in a central location. We recommend using fleet management because it makes the management and upgrade of your agents considerably easier.
Install Elastic Agent in standalone mode (advanced users):
With this approach, you install Elastic Agent and manually configure the agent locally on the system where it’s installed. You are responsible for managing and upgrading the agents. This approach is reserved for advanced users only.
Install Elastic Agent in a containerized environment:
You can run Elastic Agent inside a container, either with Fleet Server or standalone. Docker images for all versions of Elastic Agent are available from the Elastic Docker registry, and we provide deployment manifests for running on Kubernetes.
There are some minimum requirements for running Elastic Agent, and for more information, refer to the link here.
The minimum kibana.version required is 8.10.1.
Setup
To collect data from Imperva, follow the required steps:
-
The gateway and management server (MX) should have the relevant connectivity for sending logs using the Syslog server.
-
To send all security violations from the gateway to Elastic:
-
Create a custom action set:
- From a 'security violation–all', type and add the gateway security system log > gateway log security event to system log (syslog) using the CEF standard.
- Configure the relevant name and parameters for the action set.
-
Assign a followed action to a security - > policy rule.
- To send all security alerts (aggregated violations) from the gateway to Elastic:
-
Create a custom action set:
- From an 'any event type', type and add the server system log > log security event to system log (syslog) using the CEF standard.
- Configure the relevant name and parameters for the action set.
-
Assign a followed action to a security - > policy rule.
- To send all system events from the gateway to Elastic:
-
Create a custom action set:
- From an 'any event type', type and add the server system log > log system event to system log (syslog) using the CEF standard.
- Configure the relevant name and parameters for the action set.
-
Create system events policy.
-
Assign a followed action to a system event policy.
For more information on working with action sets and followed actions, refer to the Imperva relevant documentation.
Enabling the integration in Elastic:
- In Kibana, go to Management > Integrations
- In the "Search for integrations" search bar, type Imperva.
- Click on the "Imperva" integration from the search results.
- Click on the "Add Imperva" button to add the integration.
- Enable the data collection mode from the following: Filestream, TCP, or UDP.
- Add all the required configuration parameters, such as paths for the filestream or listen address and listen port for the TCP and UDP.
Logs Reference
SecureSphere
This is the Securesphere
dataset.
Example
An example event for securesphere
looks as following:
{
"@timestamp": "2023-10-05T18:33:02.000Z",
"agent": {
"ephemeral_id": "72a3940a-ff8f-4dbe-996c-683be2bf9c9d",
"id": "68d423e3-c562-46ac-aebf-08e6f6ce9e0f",
"name": "docker-fleet-agent",
"type": "filebeat",
"version": "8.10.1"
},
"data_stream": {
"dataset": "imperva.securesphere",
"namespace": "ep",
"type": "logs"
},
"ecs": {
"version": "8.11.0"
},
"elastic_agent": {
"id": "68d423e3-c562-46ac-aebf-08e6f6ce9e0f",
"snapshot": false,
"version": "8.10.1"
},
"event": {
"agent_id_status": "verified",
"code": "User logged in",
"dataset": "imperva.securesphere",
"ingested": "2023-10-10T12:08:14Z",
"kind": "event",
"original": "\u003c14\u003eCEF:0|Imperva Inc.|SecureSphere|15.1.0|User logged in|User admin logged in from 81.2.69.142.|High|suser=admin rt=Oct 05 2023 18:33:02 cat=SystemEvent",
"severity": 7
},
"imperva": {
"securesphere": {
"device": {
"event": {
"category": "SystemEvent",
"class_id": "User logged in"
},
"product": "SecureSphere",
"receipt_time": "2023-10-05T18:33:02.000Z",
"vendor": "Imperva Inc.",
"version": "15.1.0"
},
"name": "User admin logged in from 81.2.69.142.",
"severity": "High",
"source": {
"user_name": "admin"
},
"version": "0"
}
},
"input": {
"type": "udp"
},
"log": {
"source": {
"address": "172.18.0.6:38727"
}
},
"message": "User admin logged in from 81.2.69.142.",
"observer": {
"product": "SecureSphere",
"vendor": "Imperva Inc.",
"version": "15.1.0"
},
"related": {
"user": [
"admin"
]
},
"source": {
"user": {
"name": "admin"
}
},
"tags": [
"preserve_original_event",
"preserve_duplicate_custom_fields",
"forwarded",
"imperva.securesphere"
]
}
Exported fields
Field | Description | Type |
---|---|---|
@timestamp | Event timestamp. | date |
data_stream.dataset | Data stream dataset. | constant_keyword |
data_stream.namespace | Data stream namespace. | constant_keyword |
data_stream.type | Data stream type. | constant_keyword |
event.dataset | Event dataset. | constant_keyword |
event.module | Event module. | constant_keyword |
imperva.securesphere.destination.address | ip | |
imperva.securesphere.destination.port | long | |
imperva.securesphere.destination.user_name | keyword | |
imperva.securesphere.device.action | keyword | |
imperva.securesphere.device.custom_string1.label | keyword | |
imperva.securesphere.device.custom_string1.value | keyword | |
imperva.securesphere.device.custom_string2.label | keyword | |
imperva.securesphere.device.custom_string2.value | keyword | |
imperva.securesphere.device.custom_string3.label | keyword | |
imperva.securesphere.device.custom_string3.value | keyword | |
imperva.securesphere.device.custom_string4.label | keyword | |
imperva.securesphere.device.custom_string4.value | keyword | |
imperva.securesphere.device.custom_string5.label | keyword | |
imperva.securesphere.device.custom_string5.value | keyword | |
imperva.securesphere.device.event.category | keyword | |
imperva.securesphere.device.event.class_id | keyword | |
imperva.securesphere.device.product | keyword | |
imperva.securesphere.device.receipt_time | date | |
imperva.securesphere.device.vendor | keyword | |
imperva.securesphere.device.version | keyword | |
imperva.securesphere.name | keyword | |
imperva.securesphere.severity | keyword | |
imperva.securesphere.source.address | ip | |
imperva.securesphere.source.port | long | |
imperva.securesphere.source.user_name | keyword | |
imperva.securesphere.transport_protocol | keyword | |
imperva.securesphere.version | keyword | |
input.type | Type of filebeat input. | keyword |
log.file.device_id | long | |
log.file.inode | long | |
log.offset | Log offset. | long |
log.source.address | Source address from which the log event was read / sent from. | keyword |
tags | User defined tags. | keyword |
Changelog
Version | Details | Kibana version(s) |
---|---|---|
0.20.0 | Enhancement View pull request | — |
0.19.0 | Enhancement View pull request | — |
0.18.0 | Enhancement View pull request | — |
0.17.0 | Enhancement View pull request | — |
0.16.0 | Enhancement View pull request | — |
0.15.0 | Enhancement View pull request | — |
0.14.0 | Enhancement View pull request | — |
0.13.0 | Enhancement View pull request | — |
0.12.0 | Enhancement View pull request | — |
0.11.2 | Bug fix View pull request | — |
0.11.1 | Bug fix View pull request | — |
0.11.0 | Enhancement View pull request | — |
0.10.1 | Enhancement View pull request | — |
0.10.0 | Enhancement View pull request | — |
0.9.0 | Enhancement View pull request | — |
0.8.0 | Enhancement View pull request | — |
0.7.0 | Enhancement View pull request | — |
0.6.1 | Bug fix View pull request | — |
0.6.0 | Enhancement View pull request | — |
0.5.4 | Enhancement View pull request | — |
0.5.3 | Enhancement View pull request | — |
0.5.2 | Bug fix View pull request | — |
0.5.1 | Bug fix View pull request | — |
0.5.0 | Enhancement View pull request | — |
0.4.3 | Bug fix View pull request | — |
0.4.2 | Enhancement View pull request | — |
0.4.1 | Enhancement View pull request | — |
0.4.0 | Enhancement View pull request | — |
0.3.0 | Enhancement View pull request | — |
0.2.0 | Enhancement View pull request | — |
0.1.4 | Enhancement View pull request | — |
0.1.0 | Enhancement View pull request | — |