Skip to content

Commit 8ffa284

Browse files
box_events: don't update fleet health status to degraded pagination completes
This change bumps minimum Kibana version to ^8.19.4 || ~9.0.7 || ^9.1.4 and adds `do_not_log_failure: true` in set processors to avoid updating fleet health status to degraded.
1 parent 8a08a59 commit 8ffa284

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

packages/box_events/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: "3.1.0"
3+
changes:
4+
- description: Prevent updating fleet health status to degraded when pagination completes.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/16530
27
- version: "3.0.0"
38
changes:
49
- description: |

packages/box_events/data_stream/events/agent/stream/httpjson.yml.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ response.pagination:
3636
target: url.params.stream_position
3737
value: '[[ if and (index .last_response.body "next_stream_position") (ge (len .last_response.body.entries) {{limit}}) ]][[toInt .last_response.body.next_stream_position]][[end]]'
3838
fail_on_template_error: true
39+
do_not_log_failure: true
3940
cursor:
4041
next_stream_position:
4142
value: '[[.last_response.body.next_stream_position]]'

packages/box_events/data_stream/events/sample_event.json

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"@timestamp": "2019-12-08T08:00:00.000Z",
33
"agent": {
4-
"ephemeral_id": "0c6a6398-e9df-4611-ac15-6d4ed1970bbd",
5-
"id": "37d8b826-8d94-4898-80a3-8d444de86b73",
6-
"name": "elastic-agent-83895",
4+
"ephemeral_id": "fa06f91b-bd6e-4d53-87ec-f72e0de44ee4",
5+
"id": "4e9c4f6d-46fc-4aa8-ab9f-ae640dd5e1e1",
6+
"name": "elastic-agent-66876",
77
"type": "filebeat",
8-
"version": "8.13.0"
8+
"version": "8.19.4"
99
},
1010
"box": {
1111
"additional_details": {
@@ -53,16 +53,16 @@
5353
},
5454
"data_stream": {
5555
"dataset": "box_events.events",
56-
"namespace": "94511",
56+
"namespace": "33244",
5757
"type": "logs"
5858
},
5959
"ecs": {
6060
"version": "8.11.0"
6161
},
6262
"elastic_agent": {
63-
"id": "37d8b826-8d94-4898-80a3-8d444de86b73",
63+
"id": "4e9c4f6d-46fc-4aa8-ab9f-ae640dd5e1e1",
6464
"snapshot": false,
65-
"version": "8.13.0"
65+
"version": "8.19.4"
6666
},
6767
"event": {
6868
"action": "SHIELD_ALERT",
@@ -71,10 +71,10 @@
7171
"threat",
7272
"file"
7373
],
74-
"created": "2025-11-10T12:04:25.759Z",
74+
"created": "2025-12-12T07:17:18.868Z",
7575
"dataset": "box_events.events",
7676
"id": "97f1b31f-f143-4777-81f8-000000000001",
77-
"ingested": "2025-11-10T12:04:28Z",
77+
"ingested": "2025-12-12T07:17:21Z",
7878
"kind": "alert",
7979
"risk_score": 77,
8080
"type": [
@@ -84,26 +84,23 @@
8484
},
8585
"host": {
8686
"architecture": "x86_64",
87-
"containerized": true,
88-
"hostname": "elastic-agent-83895",
89-
"id": "8259e024976a406e8a54cdbffeb84fec",
87+
"containerized": false,
88+
"hostname": "elastic-agent-66876",
9089
"ip": [
91-
"192.168.247.2",
92-
"192.168.243.7"
90+
"192.168.241.2",
91+
"192.168.240.6"
9392
],
9493
"mac": [
95-
"02-42-C0-A8-F3-07",
96-
"02-42-C0-A8-F7-02"
94+
"32-6A-A6-45-07-F7",
95+
"A6-53-38-48-B2-8D"
9796
],
98-
"name": "elastic-agent-83895",
97+
"name": "elastic-agent-66876",
9998
"os": {
100-
"codename": "focal",
101-
"family": "debian",
102-
"kernel": "3.10.0-1160.92.1.el7.x86_64",
103-
"name": "Ubuntu",
104-
"platform": "ubuntu",
99+
"kernel": "5.15.0-163-generic",
100+
"name": "Wolfi",
101+
"platform": "wolfi",
105102
"type": "linux",
106-
"version": "20.04.6 LTS (Focal Fossa)"
103+
"version": "20230201"
107104
}
108105
},
109106
"input": {

packages/box_events/manifest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
format_version: "3.0.3"
22
name: box_events
33
title: Box Events
4-
version: "3.0.0"
4+
version: "3.1.0"
55
description: "Collect logs from Box with Elastic Agent"
66
type: integration
77
categories:
88
- security
99
- productivity_security
1010
conditions:
1111
kibana:
12-
version: "^8.13.0 || ^9.0.0"
12+
version: "^8.19.4 || ~9.0.7 || ^9.1.4"
1313
screenshots:
1414
- src: /img/box_screenshot.png
1515
title: "[Logs Box Events Integration] Events Dashboard"

0 commit comments

Comments
 (0)