Skip to content

Commit 87e047f

Browse files
Added call_stack_contains_unbacked field (#308)
* added call_stack_contains_unbacked field * fixes * fixes * fixes * fixes * fixes * added sample * fixes * fixes * fixes * fixes * fixes * fixes * fixes * Update custom_schemas/custom_process.yml Co-authored-by: Gabriel Landau <42078554+gabriellandau@users.noreply.github.com> * fixes Co-authored-by: Gabriel Landau <42078554+gabriellandau@users.noreply.github.com>
1 parent 0278dd8 commit 87e047f

File tree

6 files changed

+49
-2
lines changed

6 files changed

+49
-2
lines changed

custom_schemas/custom_process.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
description: Parent process' pid.
6363
example: 4241
6464
default_field: false
65-
65+
6666
- name: Ext
6767
level: custom
6868
type: object
@@ -95,6 +95,11 @@
9595
level: custom
9696
type: object
9797
description: Object for all custom defined fields to live in.
98+
99+
- name: thread.Ext.call_stack_contains_unbacked
100+
level: custom
101+
type: boolean
102+
description: Indicates whether the creating thread's stack contains frames pointing outside any known executable image.
98103

99104
- name: thread.Ext.call_stack_summary
100105
level: custom

custom_subsets/elastic_endpoint/process/process.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ fields:
235235
fields:
236236
id: {}
237237
name: {}
238+
Ext:
239+
fields:
240+
call_stack_contains_unbacked: {}
238241
title: {}
239242
uptime: {}
240243
working_directory: {}

package/endpoint/data_stream/process/fields/fields.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,6 +2167,16 @@
21672167
ignore_above: 1024
21682168
description: Name of the group.
21692169
default_field: false
2170+
- name: parent.thread.Ext
2171+
level: custom
2172+
type: object
2173+
description: Object for all custom defined fields to live in.
2174+
default_field: false
2175+
- name: parent.thread.Ext.call_stack_contains_unbacked
2176+
level: custom
2177+
type: boolean
2178+
description: Indicates whether the creating thread's stack contains frames pointing outside any known executable image.
2179+
default_field: false
21702180
- name: parent.thread.id
21712181
level: extended
21722182
type: long

package/endpoint/data_stream/process/sample_event.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@
9999
"args_count": 0,
100100
"entity_id": "NGM5YzljYjMtZjgwZi00NGQ4LTljODktNjE2ODI0M2I3ZjIxLTYwMC0xMzI5MzU0OTExMC40NjgyMjI3MDA=",
101101
"command_line": "",
102-
"executable": "C:\\Windows\\System32\\services.exe"
102+
"executable": "C:\\Windows\\System32\\services.exe",
103+
"thread": {
104+
"Ext": {
105+
"call_stack_contains_unbacked": true
106+
}
107+
}
103108
},
104109
"pid": 2772,
105110
"working_directory": "C:\\Windows\\system32\\",

package/endpoint/docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,6 +2257,8 @@ sent by the endpoint.
22572257
| process.parent.start | The time the process started. | date |
22582258
| process.parent.supplemental_groups.id | Unique identifier for the group on the system/platform. | keyword |
22592259
| process.parent.supplemental_groups.name | Name of the group. | keyword |
2260+
| process.parent.thread.Ext | Object for all custom defined fields to live in. | object |
2261+
| process.parent.thread.Ext.call_stack_contains_unbacked | Indicates whether the creating thread's stack contains frames pointing outside any known executable image. | boolean |
22602262
| process.parent.thread.id | Thread ID. | long |
22612263
| process.parent.thread.name | Thread name. | keyword |
22622264
| process.parent.title | Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened. | keyword |

schemas/v1/process/process.yaml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)