Skip to content

Commit b442ab4

Browse files
authored
o365: tolerate string JSON encodings of objects in Actions field (#14944)
O365 may send the objects in the Actions field as their JSON encoding, so conditionally parse elements of the list when they are strings. This requires working around the absence of an 'if' for iteration processors in the foreach processor and the absence of a JSON parser in Painless. If the array is mixed, the ordering of entries will be altered.
1 parent 88a3e23 commit b442ab4

File tree

5 files changed

+602
-2
lines changed

5 files changed

+602
-2
lines changed

packages/o365/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.24.0"
3+
changes:
4+
- description: Tolerate string elements in Actions list.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/14944
27
- version: "2.23.0"
38
changes:
49
- description: Reduce repeated work and memory allocations during agent processing.

0 commit comments

Comments
 (0)