Skip to content

Commit c5589fe

Browse files
jsorianoefd6
andauthored
Workaround issue with missing dynamic mapping in tines package (elastic#12082)
No dynamic mapping was being generated for tines.audit_log.inputs.inputs.options.*, and this package uses the tines.audit_log.inputs.inputs.options field directly, without having any mapping for it or its sub-properties. The workaround ensures that there is a mapping for tines.audit_log.inputs.inputs.* that serves for tines.audit_log.inputs.inputs.options as well as for its subobjects. The configured dynamic mapping was not being generated due to some issue in Fleet that we are investigating. We detected this issue while refactoring field mappings tests in elastic-package, more about this in elastic/elastic-package#2214[1]. [1]elastic/elastic-package#2214 (comment) Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
1 parent c4cb10d commit c5589fe

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

packages/tines/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: "1.14.1"
3+
changes:
4+
- description: Workaround missing dynamic template for options fields.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/12082
27
- version: "1.14.0"
38
changes:
49
- description: Do not remove `event.original` in main ingest pipeline.

packages/tines/data_stream/audit_logs/fields/fields.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@
142142
type: keyword
143143
- name: oauthUrl
144144
type: keyword
145-
- name: options
146-
type: object
147-
object_type: keyword
148-
object_type_mapping_type: "*"
149145
- name: options.createFormEmptyState
150146
type: boolean
151147
- name: readAccess
@@ -166,6 +162,8 @@
166162
type: long
167163
- name: value
168164
type: keyword
165+
- name: "*"
166+
type: keyword
169167
- name: request_ip
170168
type: keyword
171169
description: The IP Address the operation was triggered from

packages/tines/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ All fields ingested to this data stream are stored under `tines.audit_log` as ea
7676
| tines.audit_log.inputs.actionIds | | long |
7777
| tines.audit_log.inputs.diagramNoteIds | | long |
7878
| tines.audit_log.inputs.fieldId | | long |
79+
| tines.audit_log.inputs.inputs.\* | | keyword |
7980
| tines.audit_log.inputs.inputs.actionId | | long |
8081
| tines.audit_log.inputs.inputs.actionIds | | long |
8182
| tines.audit_log.inputs.inputs.actions.actionId | | long |
@@ -125,7 +126,6 @@ All fields ingested to this data stream are stored under `tines.audit_log` as ea
125126
| tines.audit_log.inputs.inputs.oauthScope | | keyword |
126127
| tines.audit_log.inputs.inputs.oauthTokenUrl | | keyword |
127128
| tines.audit_log.inputs.inputs.oauthUrl | | keyword |
128-
| tines.audit_log.inputs.inputs.options | | object |
129129
| tines.audit_log.inputs.inputs.options.createFormEmptyState | | boolean |
130130
| tines.audit_log.inputs.inputs.readAccess | | keyword |
131131
| tines.audit_log.inputs.inputs.required | | boolean |

packages/tines/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.2.1
22
name: tines
33
title: "Tines"
4-
version: "1.14.0"
4+
version: "1.14.1"
55
description: "Tines Logs & Time Saved Reports"
66
type: integration
77
categories:

0 commit comments

Comments
 (0)