Skip to content

Commit 08e4fc0

Browse files
committed
Rename session -> session_info and restore legacy keyword field
1 parent 689de66 commit 08e4fc0

File tree

13 files changed

+145
-51
lines changed

13 files changed

+145
-51
lines changed

custom_schemas/custom_process.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@
281281
description: >
282282
Process authentication ID
283283
284+
- name: Ext.session
285+
level: custom
286+
type: keyword
287+
description: >
288+
Session information for the current process
289+
284290
- name: Ext.code_signature
285291
level: custom
286292
type: nested
@@ -377,43 +383,43 @@
377383
Indicates the protection level of this process. Uses the same syntax as Process Explorer.
378384
Examples include PsProtectedSignerWinTcb, PsProtectedSignerWinTcb-Light, and PsProtectedSignerWindows-Light.
379385
380-
- name: Ext.session.logon_type
386+
- name: Ext.session_info.logon_type
381387
level: custom
382388
type: keyword
383389
description: >
384390
Session logon type. Examples include Interactive, Network, and Service.
385391
386-
- name: Ext.session.client_address
392+
- name: Ext.session_info.client_address
387393
level: custom
388394
type: keyword
389395
description: >
390396
Client's IPv4 or IPv6 address as a string, if available.
391397
392-
- name: Ext.session.id
398+
- name: Ext.session_info.id
393399
level: custom
394400
type: unsigned_long
395401
description: >
396402
Session ID
397403
398-
- name: Ext.session.authentication_package
404+
- name: Ext.session_info.authentication_package
399405
level: custom
400406
type: keyword
401407
description: >
402408
Name of authentication package used to log on, such as NTLM, Kerberos, or CloudAP
403409
404-
- name: Ext.session.relative_logon_time
410+
- name: Ext.session_info.relative_logon_time
405411
level: custom
406412
type: double
407413
description: >
408414
Process creation time, relative to logon time, in seconds.
409415
410-
- name: Ext.session.relative_password_age
416+
- name: Ext.session_info.relative_password_age
411417
level: custom
412418
type: double
413419
description: >
414420
Process creation time, relative to the last time the password was changed, in seconds.
415421
416-
- name: Ext.session.user_flags
422+
- name: Ext.session_info.user_flags
417423
level: custom
418424
type: keyword
419425
description: >

custom_subsets/elastic_endpoint/alerts/malware_event.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ fields:
779779
ancestry: {}
780780
authentication_id: {}
781781
services: {}
782+
session: {}
782783
user: {}
783784
code_signature:
784785
fields:
@@ -1008,6 +1009,7 @@ fields:
10081009
ancestry: {}
10091010
authentication_id: {}
10101011
services: {}
1012+
session: {}
10111013
user: {}
10121014
code_signature:
10131015
fields:

custom_subsets/elastic_endpoint/alerts/memory_protection_event.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ fields:
648648
dll:
649649
fields: *dll-fields
650650
services: {}
651+
session: {}
651652
user: {}
652653
code_signature:
653654
fields:

custom_subsets/elastic_endpoint/alerts/ransomware_event.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ fields:
622622
ancestry: {}
623623
authentication_id: {}
624624
services: {}
625+
session: {}
625626
user: {}
626627
code_signature:
627628
fields:

custom_subsets/elastic_endpoint/process/process.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ fields:
179179
protection: {}
180180
relative_file_creation_time: {}
181181
relative_file_name_modify_time: {}
182-
session:
182+
session: {}
183+
session_info:
183184
fields:
184185
logon_type: {}
185186
client_address: {}

package/endpoint/data_stream/alerts/fields/fields.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,12 @@
12931293
ignore_above: 1024
12941294
description: Services running in this process.
12951295
default_field: false
1296+
- name: process.Ext.session
1297+
level: custom
1298+
type: keyword
1299+
ignore_above: 1024
1300+
description: Session information for the current process
1301+
default_field: false
12961302
- name: process.Ext.token.domain
12971303
level: custom
12981304
type: keyword
@@ -4975,6 +4981,12 @@
49754981
ignore_above: 1024
49764982
description: Services running in this process.
49774983
default_field: false
4984+
- name: Ext.session
4985+
level: custom
4986+
type: keyword
4987+
ignore_above: 1024
4988+
description: Session information for the current process
4989+
default_field: false
49784990
- name: Ext.token.domain
49794991
level: custom
49804992
type: keyword

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -891,40 +891,46 @@
891891
type: double
892892
description: Number of seconds since the process's name was modified. This information can come from the NTFS MFT. This number may be negative if the file's timestamp is in the future.
893893
default_field: false
894-
- name: Ext.session.authentication_package
894+
- name: Ext.session
895+
level: custom
896+
type: keyword
897+
ignore_above: 1024
898+
description: Session information for the current process
899+
default_field: false
900+
- name: Ext.session_info.authentication_package
895901
level: custom
896902
type: keyword
897903
ignore_above: 1024
898904
description: Name of authentication package used to log on, such as NTLM, Kerberos, or CloudAP
899905
default_field: false
900-
- name: Ext.session.client_address
906+
- name: Ext.session_info.client_address
901907
level: custom
902908
type: keyword
903909
ignore_above: 1024
904910
description: Client's IPv4 or IPv6 address as a string, if available.
905911
default_field: false
906-
- name: Ext.session.id
912+
- name: Ext.session_info.id
907913
level: custom
908914
type: unsigned_long
909915
description: Session ID
910916
default_field: false
911-
- name: Ext.session.logon_type
917+
- name: Ext.session_info.logon_type
912918
level: custom
913919
type: keyword
914920
ignore_above: 1024
915921
description: Session logon type. Examples include Interactive, Network, and Service.
916922
default_field: false
917-
- name: Ext.session.relative_logon_time
923+
- name: Ext.session_info.relative_logon_time
918924
level: custom
919925
type: double
920926
description: Process creation time, relative to logon time, in seconds.
921927
default_field: false
922-
- name: Ext.session.relative_password_age
928+
- name: Ext.session_info.relative_password_age
923929
level: custom
924930
type: double
925931
description: Process creation time, relative to the last time the password was changed, in seconds.
926932
default_field: false
927-
- name: Ext.session.user_flags
933+
- name: Ext.session_info.user_flags
928934
level: custom
929935
type: keyword
930936
ignore_above: 1024

package/endpoint/data_stream/process/sample_event.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
"relative_file_creation_time": 48628704.4029488,
9393
"relative_file_name_modify_time": 48628704.4029488,
94-
"session": {
94+
"session_info": {
9595
"logon_type": "Interactive",
9696
"client_address": "127.0.0.1",
9797
"id": 1,

package/endpoint/docs/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ sent by the endpoint.
194194
| Target.process.Ext.memory_region.strings | Array of strings found within the memory region. | keyword |
195195
| Target.process.Ext.protection | Indicates the protection level of this process. Uses the same syntax as Process Explorer. Examples include PsProtectedSignerWinTcb, PsProtectedSignerWinTcb-Light, and PsProtectedSignerWindows-Light. | keyword |
196196
| Target.process.Ext.services | Services running in this process. | keyword |
197+
| Target.process.Ext.session | Session information for the current process | keyword |
197198
| Target.process.Ext.token.domain | Domain of token user. | keyword |
198199
| Target.process.Ext.token.elevation | Whether the token is elevated or not | boolean |
199200
| Target.process.Ext.token.elevation_type | What level of elevation the token has | keyword |
@@ -681,6 +682,7 @@ sent by the endpoint.
681682
| process.Ext.memory_region.strings | Array of strings found within the memory region. | keyword |
682683
| process.Ext.protection | Indicates the protection level of this process. Uses the same syntax as Process Explorer. Examples include PsProtectedSignerWinTcb, PsProtectedSignerWinTcb-Light, and PsProtectedSignerWindows-Light. | keyword |
683684
| process.Ext.services | Services running in this process. | keyword |
685+
| process.Ext.session | Session information for the current process | keyword |
684686
| process.Ext.token.domain | Domain of token user. | keyword |
685687
| process.Ext.token.elevation | Whether the token is elevated or not | boolean |
686688
| process.Ext.token.elevation_type | What level of elevation the token has | keyword |
@@ -2096,13 +2098,14 @@ sent by the endpoint.
20962098
| process.Ext.protection | Indicates the protection level of this process. Uses the same syntax as Process Explorer. Examples include PsProtectedSignerWinTcb, PsProtectedSignerWinTcb-Light, and PsProtectedSignerWindows-Light. | keyword |
20972099
| process.Ext.relative_file_creation_time | Number of seconds since the process's file was created. This number may be negative if the file's timestamp is in the future. | double |
20982100
| process.Ext.relative_file_name_modify_time | Number of seconds since the process's name was modified. This information can come from the NTFS MFT. This number may be negative if the file's timestamp is in the future. | double |
2099-
| process.Ext.session.authentication_package | Name of authentication package used to log on, such as NTLM, Kerberos, or CloudAP | keyword |
2100-
| process.Ext.session.client_address | Client's IPv4 or IPv6 address as a string, if available. | keyword |
2101-
| process.Ext.session.id | Session ID | unsigned_long |
2102-
| process.Ext.session.logon_type | Session logon type. Examples include Interactive, Network, and Service. | keyword |
2103-
| process.Ext.session.relative_logon_time | Process creation time, relative to logon time, in seconds. | double |
2104-
| process.Ext.session.relative_password_age | Process creation time, relative to the last time the password was changed, in seconds. | double |
2105-
| process.Ext.session.user_flags | List of user flags associated with this logon session. Examples include LOGON_NTLMV2_ENABLED and LOGON_WINLOGON. | keyword |
2101+
| process.Ext.session | Session information for the current process | keyword |
2102+
| process.Ext.session_info.authentication_package | Name of authentication package used to log on, such as NTLM, Kerberos, or CloudAP | keyword |
2103+
| process.Ext.session_info.client_address | Client's IPv4 or IPv6 address as a string, if available. | keyword |
2104+
| process.Ext.session_info.id | Session ID | unsigned_long |
2105+
| process.Ext.session_info.logon_type | Session logon type. Examples include Interactive, Network, and Service. | keyword |
2106+
| process.Ext.session_info.relative_logon_time | Process creation time, relative to logon time, in seconds. | double |
2107+
| process.Ext.session_info.relative_password_age | Process creation time, relative to the last time the password was changed, in seconds. | double |
2108+
| process.Ext.session_info.user_flags | List of user flags associated with this logon session. Examples include LOGON_NTLMV2_ENABLED and LOGON_WINLOGON. | keyword |
21062109
| process.Ext.token.elevation | Whether the token is elevated or not | boolean |
21072110
| process.Ext.token.elevation_level | What level of elevation the token has | keyword |
21082111
| process.Ext.token.elevation_type | What level of elevation the token has | keyword |

schemas/v1/alerts/malware_event.yaml

Lines changed: 21 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)