Skip to content

Commit 910e854

Browse files
[trend_micro_vision_one] No error for unparsable ...detection.request URI (#16124)
The `trend_micro_vision_one.detection.request` field sometimes has values with typos in them, which makes the `uri_parts` processor fail. An error in `error.message` is confusing. That is removed. The original value will remain in `trend_micro_vision_one.detection.request` and `url.*` will be populated if the `uri_parts` processor is successful. An error is kept for the other `uri_parts` processor usage, for `trend_micro_vision_one.alert.workbench_link`, since that seems to not be entered by a user and therefore should always be a correct URL.
1 parent 86d8823 commit 910e854

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

packages/trend_micro_vision_one/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.5.0"
3+
changes:
4+
- description: No error for unparsable `trend_micro_vision_one.detection.request` URI.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/16124
27
- version: "2.4.0"
38
changes:
49
- description: >-

packages/trend_micro_vision_one/data_stream/detection/elasticsearch/ingest_pipeline/default.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,8 @@ processors:
611611
value: 'request string and requests array both present in same document'
612612
- uri_parts:
613613
field: trend_micro_vision_one.detection.request
614-
if: ctx.trend_micro_vision_one?.detection?.request != null
615-
on_failure:
616-
- append:
617-
field: error.message
618-
value: '{{{_ingest.on_failure_message}}}'
614+
ignore_missing: true
615+
ignore_failure: true
619616
- rename:
620617
field: json.productCode
621618
target_field: trend_micro_vision_one.detection.product.code

packages/trend_micro_vision_one/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: "3.0.3"
22
name: trend_micro_vision_one
33
title: Trend Micro Vision One
4-
version: "2.4.0"
4+
version: "2.5.0"
55
description: Collect logs from Trend Micro Vision One with Elastic Agent.
66
type: integration
77
categories:

0 commit comments

Comments
 (0)