Skip to content

Commit

Permalink
[1.x] Add event.category session. (#1049) (#1093)
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Martin <mathieu.martin@elastic.co>
  • Loading branch information
ebeahan and Mathieu Martin authored Nov 4, 2020
1 parent 7bad0b0 commit b4bbe72
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Thanks, you're awesome :-) -->

### Schema Changes

* Added `event.category` "session". #1049

#### Breaking changes

#### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ Note: this field should contain an array of values.

*Important*: The field value must be one of the following:

authentication, configuration, database, driver, file, host, iam, intrusion_detection, malware, network, package, process, web
authentication, configuration, database, driver, file, host, iam, intrusion_detection, malware, network, package, process, session, web

To learn more about when to use which value, visit the page
<<ecs-allowed-values-event-category,allowed values for event.category>>
Expand Down
13 changes: 13 additions & 0 deletions docs/field-values.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ that will require subsequent breaking changes.
* <<ecs-event-category-network,network>>
* <<ecs-event-category-package,package>>
* <<ecs-event-category-process,process>>
* <<ecs-event-category-session,session>>
* <<ecs-event-category-web,web>>

[float]
Expand Down Expand Up @@ -298,6 +299,18 @@ Use this category of events to visualize and analyze process-specific informatio
access, change, end, info, start


[float]
[[ecs-event-category-session]]
==== session

The session category is applied to events and metrics regarding logical persistent connections to hosts and services. Use this category to visualize and analyze interactive or automated persistent connections between assets. Data for this category may come from Windows Event logs, SSH logs, or stateless sessions such as HTTP cookie-based sessions, etc.


*Expected event types for category session:*

start, end, info


[float]
[[ecs-event-category-web]]
==== web
Expand Down
10 changes: 10 additions & 0 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,16 @@ event.category:
- info
- start
name: process
- description: The session category is applied to events and metrics regarding logical
persistent connections to hosts and services. Use this category to visualize
and analyze interactive or automated persistent connections between assets.
Data for this category may come from Windows Event logs, SSH logs, or stateless
sessions such as HTTP cookie-based sessions, etc.
expected_event_types:
- start
- end
- info
name: session
- description: 'Relating to web server access. Use this category to create a dashboard
of web server/proxy activity from apache, IIS, nginx web servers, etc. Note:
events from network observers such as Zeek http log may also be included in
Expand Down
10 changes: 10 additions & 0 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2168,6 +2168,16 @@ event:
- info
- start
name: process
- description: The session category is applied to events and metrics regarding
logical persistent connections to hosts and services. Use this category
to visualize and analyze interactive or automated persistent connections
between assets. Data for this category may come from Windows Event logs,
SSH logs, or stateless sessions such as HTTP cookie-based sessions, etc.
expected_event_types:
- start
- end
- info
name: session
- description: 'Relating to web server access. Use this category to create a
dashboard of web server/proxy activity from apache, IIS, nginx web servers,
etc. Note: events from network observers such as Zeek http log may also
Expand Down
10 changes: 10 additions & 0 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,16 @@ event.category:
- info
- start
name: process
- description: The session category is applied to events and metrics regarding logical
persistent connections to hosts and services. Use this category to visualize
and analyze interactive or automated persistent connections between assets.
Data for this category may come from Windows Event logs, SSH logs, or stateless
sessions such as HTTP cookie-based sessions, etc.
expected_event_types:
- start
- end
- info
name: session
- description: 'Relating to web server access. Use this category to create a dashboard
of web server/proxy activity from apache, IIS, nginx web servers, etc. Note:
events from network observers such as Zeek http log may also be included in
Expand Down
10 changes: 10 additions & 0 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,16 @@ event:
- info
- start
name: process
- description: The session category is applied to events and metrics regarding
logical persistent connections to hosts and services. Use this category
to visualize and analyze interactive or automated persistent connections
between assets. Data for this category may come from Windows Event logs,
SSH logs, or stateless sessions such as HTTP cookie-based sessions, etc.
expected_event_types:
- start
- end
- info
name: session
- description: 'Relating to web server access. Use this category to create a
dashboard of web server/proxy activity from apache, IIS, nginx web servers,
etc. Note: events from network observers such as Zeek http log may also
Expand Down
9 changes: 9 additions & 0 deletions schemas/event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,15 @@
- end
- info
- start
- name: session
description: >
The session category is applied to events and metrics regarding logical persistent connections to hosts and services.
Use this category to visualize and analyze interactive or automated persistent connections between assets.
Data for this category may come from Windows Event logs, SSH logs, or stateless sessions such as HTTP cookie-based sessions, etc.
expected_event_types:
- start
- end
- info
- name: web
description: >
Relating to web server access. Use this category to create a dashboard of
Expand Down

0 comments on commit b4bbe72

Please sign in to comment.