Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d27f203
Add telemetry data stream.
chrisberkhout Apr 13, 2025
9bb691e
Improve documentation of assumptions.
chrisberkhout Apr 17, 2025
7bb3b61
Add event_type and event_subtype.
chrisberkhout Apr 17, 2025
3fb8662
Add event.code.
chrisberkhout Apr 17, 2025
5e55349
Added telemetry dashboard.
chrisberkhout Apr 17, 2025
60dd3b2
Update the README.
chrisberkhout Apr 17, 2025
8af0a2a
Version bump, changelog entry.
chrisberkhout Apr 17, 2025
d9bbf59
Improve fetch package handling.
chrisberkhout May 19, 2025
99a0292
Fix log messages.
chrisberkhout May 19, 2025
35f5070
Accept a hard-coded pipeline id.
chrisberkhout May 19, 2025
b72aa74
Tidy formatting.
chrisberkhout May 19, 2025
448385f
Add processor tags.
chrisberkhout May 19, 2025
c879d5d
Handle additional time formats.
chrisberkhout May 19, 2025
0f679cc
Fall back to numeric evetn type and subtype if no mapping is found.
chrisberkhout May 19, 2025
cebfc69
Fix hard_coded_pipeline_id handling.
chrisberkhout May 19, 2025
b0ccf31
Revert typo.
chrisberkhout May 19, 2025
a062b5c
Improve dashboard screenshot.
chrisberkhout May 22, 2025
d0f597a
Don't use id/sub-id if mappings to type/sub-type aren't available. Ac…
chrisberkhout May 22, 2025
c3d4836
Mention pipeline cleanup in readme.
chrisberkhout May 22, 2025
a947d90
Compact items in system test mock.
chrisberkhout May 23, 2025
9ee39df
Update to 8.15.0 to use CEL's tail() and the trace deletion feature.
chrisberkhout May 23, 2025
6c27eb1
Use the trace deletion feature in HTTPJSON data streams.
chrisberkhout May 23, 2025
0004bb6
Expand JSON in stream config for system test, and use the minify_json…
chrisberkhout May 26, 2025
c9ea269
Add default: false for request enable_request_tracer.
chrisberkhout May 26, 2025
1be59ab
Allow a 1m buffer so we don't exceed the max request range.
chrisberkhout May 26, 2025
a61cfe5
Clean up whitespace.
chrisberkhout May 26, 2025
f79fdfd
Tidy state.hard_coded_pipeline_id handling.
chrisberkhout May 26, 2025
d354b1e
Use drop() to remove the pipeline_id when necessary, instead of a com…
chrisberkhout May 27, 2025
f450226
Simplify the check for a pipline_id value.
chrisberkhout May 27, 2025
f201fa2
Correct check for state.hard_coded_pipeline_id.
chrisberkhout May 27, 2025
d50f63f
Misc review response.
chrisberkhout May 28, 2025
7e62909
Revert from has() to hasValue() when it follows an optional array index.
chrisberkhout May 28, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 35 additions & 15 deletions packages/trend_micro_vision_one/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,64 @@

## Overview

The [Trend Micro Vision One](https://www.trendmicro.com/en_in/business/products/detection-response.html) integration allows you to monitor Alert, Audit, and Detection activity. Trend Micro Vision One refers to the ability to do detection and response across email, endpoints, servers, cloud workloads, and networks via a single Trend Micro Vision One platform or the managed Trend Micro Vision One service.
The [Trend Micro Vision One](https://www.trendmicro.com/en_in/business/products/detection-response.html) integration allows you to monitor Alert, Audit, Detection and Telemetry activity. Trend Micro Vision One refers to the ability to do detection and response across email, endpoints, servers, cloud workloads, and networks via a single Trend Micro Vision One platform or the managed Trend Micro Vision One service.

Use the Trend Micro Vision One integration to collects and parses data from the REST APIs. Then visualize that data in Kibana.

## Data streams

The Trend Micro Vision One integration collects logs for three types of events: Alert, Audit, and Detection.
The Trend Micro Vision One integration collects logs for four types of events: Alert, Audit, Detection and Telemetry.

**Alert** Displays information about workbench alerts. See more details in the doc [here](https://automation.trendmicro.com/xdr/api-v3#tag/Workbench/paths/~1v3.0~1workbench~1alerts/get).

**Audit** Displays log entries that match the specified search criteria. See more details in the doc [here](https://automation.trendmicro.com/xdr/api-v3#tag/Audit-Logs).

**Detection** Displays search results from the Detection Data source. See more details in the doc [here](https://automation.trendmicro.com/xdr/api-v3#tag/Search/paths/~1v3.0~1search~1detections/get).

**Telemetry** Displays telemetry events from the Datalake Pipeline API. See more details in the doc [here](https://automation.trendmicro.com/xdr/api-v3/#tag/Datalake-Pipeline).


## Requirements

You need Elasticsearch for storing and searching your data and Kibana for visualizing and managing it. You can use our hosted Elasticsearch Service on Elastic Cloud, which is recommended, or self-manage the Elastic Stack on your hardware.

This module has been tested against `Trend Micro Vision One API version 3.0`.

**Note:** The authentication token generated by a user expires one year after being generated.
**Note:** The API key generated by a user expires one year after being generated.

**Important**: For the Telemetry data stream, which uses the Datalake Pipeline APIs, you need to allocate Trend Vision One credits for Data Transfer. For more information, see [Credit requirements for Trend Vision One solutions, capabilities and services > Data Transfer](https://docs.trendmicro.com/en-us/documentation/article/trend-vision-one-credit-req-for-apps-services#GUID-001E41E3-6F8A-499E-85E5-14A3DBD67C6C__section_zxw_5k2_qbc).

## Setup

### To collect data from Trend Micro Vision One APIs, the user must have API Token. To create an API token follow the below steps:
### To collect data from Trend Micro Vision One APIs, the user must have an API key. To create an API key follow the below steps:

1. Log on to the Trend Micro Vision One console.
2. On the Trend Vision One console, go to **Administration -> API Keys**.
3. Generate a new authentication token. Click **Add API key**. Specify the settings of the new API key.
3. Generate a new API Key. Click **Add API key**. Specify the settings of the new API key.
- **Name**: A meaningful name that can help you identify the API key.
- **Role**: The user role assigned to the key. API keys can use either predefined or custom user roles. Custom roles can be created by navigating to **Administration -> User Roles -> Add Role**. The role must have appropriate API access permission to fetch relevant data. The following table outlines the access permissions to apps and features needed to fetch relevant data from Trend Vision API.

| Datastream | App | Permissions |
|--------------|-------------|---------------------------------------------------------|
| Alert | Workbench | `View, filter, and search`. |
| Audit | Audit Logs | `View, filter, and search`, `Export and Download`. |
| Detection | Search | `View, filter, and search`. |

| Datastream | Section | Permissions |
|--------------|--------------------------------------------------------------|----------------------------------------------------|
| Alert | Platform Capabilities > XDR Threat Investigation > Workbench | `View, filter, and search`. |
| Audit | Settings > Administration > Audit Logs | `View, filter, and search`, `Export and Download`. |
| Detection | Platform Capabilities > XDR Threat Investigation > Search | `View, filter, and search`. |
| Telemetry | Platform Capabilities > XDR Threat Investigation > Search | `View, filter, and search`. |

Refer to [Account Role Permissions](https://automation.trendmicro.com/xdr/Guides/Authentication) for more details.
- **Expiration time**: The time the API key remains valid. By default, authentication tokens expire one year after creation. However, a master administrator can delete and re-generate tokens at any time.

- **Expiration time**: The time the API key remains valid. By default, API keys expire one year after creation. However, a master administrator can delete and re-generate API keys at any time.
- **Status**: Whether the API key is enabled.
- **Details**: Extra information about the API key.

Click **Add**.
4. Copy the Authentication token.
4. Copy the value of the API key.

Refer to [First steps toward using the APIs](https://automation.trendmicro.com/xdr/Guides/First-steps-toward-using-the-APIs) for more details on setting up an API key.

Confirm that you have allocated credits for Data Transfer if you are activating the Telemetry data stream.

Refer to [Obtain authentication tokens](https://automation.trendmicro.com/xdr/Guides/First-steps-toward-using-the-APIs#Obtain-authentication-tokens) for more details on setting up API Token.
When the Telemetry data stream starts for the first time it will use the Datalake Pipeline API to bind all telemetry data types to a new pipeline with a distinctive description. If a pipeline with that description already exists, it will be reused. It will never delete the pipeline, so if you stop using the integration, that pipeline should be removed manually.

## Logs Reference

Expand Down Expand Up @@ -82,3 +92,13 @@ This is the `detection` dataset.
{{event "detection"}}

{{fields "detection"}}

### telemetry

This is the `telemetry` dataset.

#### Example

{{event "telemetry"}}

{{fields "telemetry"}}
Loading