Skip to content

Commit cc5374c

Browse files
authored
zeek: use dynamic mapping for object fields (#8080)
1 parent e199608 commit cc5374c

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

packages/zeek/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.19.0
3+
changes:
4+
- description: Use dynamic mappings for object fields.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/8080
27
- version: 2.18.0
38
changes:
49
- description: Modified the field definitions to reference ECS where possible and remove invalid field attributes.

packages/zeek/data_stream/intel/fields/fields.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
type: keyword
3333
description: |
3434
If the data was discovered within a connection, the connection uid should go here to give context to the data. If the conn field is provided, this will be automatically filled out.
35-
- name: f
35+
- name: f.*
3636
type: object
37+
object_type: keyword
38+
object_type_mapping_type: '*'
3739
description: |
3840
If the data was discovered within a file, the file record should go here to provide context to the data.
3941
- name: fuid

packages/zeek/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ intelligence data matches.
12001200
| zeek.intel.fuid | If a file was associated with this intelligence hit, this is the uid for the file. | keyword |
12011201
| zeek.intel.matched | Event to represent a match in the intelligence data from data that was seen. | keyword |
12021202
| zeek.intel.seen.conn | If the data was discovered within a connection, the connection record should go here to give context to the data. | keyword |
1203-
| zeek.intel.seen.f | If the data was discovered within a file, the file record should go here to provide context to the data. | object |
1203+
| zeek.intel.seen.f.\* | If the data was discovered within a file, the file record should go here to provide context to the data. | object |
12041204
| zeek.intel.seen.fuid | If the data was discovered within a file, the file uid should go here to provide context to the data. If the file record f is provided, this will be automatically filled out. | keyword |
12051205
| zeek.intel.seen.host | If the indicator type was Intel::ADDR, then this field will be present. | keyword |
12061206
| zeek.intel.seen.indicator | The intelligence indicator. | keyword |

packages/zeek/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: zeek
22
title: Zeek
3-
version: "2.18.0"
3+
version: "2.19.0"
44
description: Collect logs from Zeek with Elastic Agent.
55
type: integration
66
icons:

0 commit comments

Comments
 (0)