Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorization: Add new "iam" category and associated types "admin", "group", "user" #756

Merged
merged 2 commits into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Thanks, you're awesome :-) -->
* Added `dll.*` fields (#679)
* Fieldset for PE metadata. #731
* Globally unique identifier `entity_id` for `process` and `process.parent`. (#747)
* Added iam value for `event.category` and three related values for `event.type`. (#756)

#### Improvements

Expand Down
4 changes: 2 additions & 2 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ Note: this field should contain an array of values.

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

authentication, database, driver, file, host, intrusion_detection, malware, package, process, web
authentication, database, driver, file, host, iam, intrusion_detection, malware, package, process, 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 Expand Up @@ -1819,7 +1819,7 @@ Note: this field should contain an array of values.

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

access, change, creation, deletion, end, error, info, installation, start
access, admin, change, creation, deletion, end, error, group, info, installation, start, user

To learn more about when to use which value, visit the page
<<ecs-allowed-values-event-type,allowed values for event.type>>
Expand Down
48 changes: 48 additions & 0 deletions docs/field-values.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ that will require subsequent breaking changes.
* <<ecs-event-category-driver,driver>>
* <<ecs-event-category-file,file>>
* <<ecs-event-category-host,host>>
* <<ecs-event-category-iam,iam>>
* <<ecs-event-category-intrusion_detection,intrusion_detection>>
* <<ecs-event-category-malware,malware>>
* <<ecs-event-category-package,package>>
Expand Down Expand Up @@ -225,6 +226,20 @@ Note that this category is for information about hosts themselves; it is not mea
access, change, end, info, start


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

Identity and access management (IAM) events relating to users, groups, and administration. Use this category to visualize and analyze IAM-related logs and data from active directory, LDAP, Okta, Duo, and other IAM systems.




*Expected event types for category iam:*

admin, change, creation, deletion, group, info, user


[float]
[[ecs-event-category-intrusion_detection]]
==== intrusion_detection
Expand Down Expand Up @@ -312,14 +327,17 @@ that will require subsequent breaking changes.
*Allowed Values*

* <<ecs-event-type-access,access>>
* <<ecs-event-type-admin,admin>>
* <<ecs-event-type-change,change>>
* <<ecs-event-type-creation,creation>>
* <<ecs-event-type-deletion,deletion>>
* <<ecs-event-type-end,end>>
* <<ecs-event-type-error,error>>
* <<ecs-event-type-group,group>>
* <<ecs-event-type-info,info>>
* <<ecs-event-type-installation,installation>>
* <<ecs-event-type-start,start>>
* <<ecs-event-type-user,user>>

[float]
[[ecs-event-type-access]]
Expand All @@ -331,6 +349,16 @@ The access event type is used for the subset of events within a category that in



[float]
[[ecs-event-type-admin]]
==== admin

The admin event type is used for the subset of events within a category that are related to admin objects. For example, administrative changes within an IAM framework that do not specifically affect a user or group (e.g., adding new applications to a federation solution or connecting discrete forests in Active Directory) would fall into this subcategory. Common example: `event.category:iam AND event.type:change AND event.type:admin`. You can further distinguish admin operations using the ECS `event.action` field.





[float]
[[ecs-event-type-change]]
==== change
Expand Down Expand Up @@ -381,6 +409,16 @@ The error event type is used for the subset of events within a category that ind



[float]
[[ecs-event-type-group]]
==== group

The group event type is used for the subset of events within a category that are related to group objects. Common example: `event.category:iam AND event.type:creation AND event.type:group`. You can further distinguish group operations using the ECS `event.action` field.





[float]
[[ecs-event-type-info]]
==== info
Expand Down Expand Up @@ -411,6 +449,16 @@ The start event type is used for the subset of events within a category that ind



[float]
[[ecs-event-type-user]]
==== user

The user event type is used for the subset of events within a category that are related to user objects. Common example: `event.category:iam AND event.type:deletion AND event.type:user`. You can further distinguish user operations using the ECS `event.action` field.





[[ecs-allowed-values-event-outcome]]
=== ECS Categorization Field: event.outcome

Expand Down
38 changes: 38 additions & 0 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1839,6 +1839,20 @@ event.category:
- info
- start
name: host
- description: 'Identity and access management (IAM) events relating to users, groups,
and administration. Use this category to visualize and analyze IAM-related logs
and data from active directory, LDAP, Okta, Duo, and other IAM systems.

'
expected_event_types:
- admin
- change
- creation
- deletion
- group
- info
- user
name: iam
- description: 'Relating to intrusion detections from IDS/IPS systems and functions,
both network and host-based. Use this category to visualize and analyze intrusion
detection alerts from systems such as Snort, Suricata, and Palo Alto threat
Expand Down Expand Up @@ -2298,6 +2312,16 @@ event.type:

'
name: access
- description: 'The admin event type is used for the subset of events within a category
that are related to admin objects. For example, administrative changes within
an IAM framework that do not specifically affect a user or group (e.g., adding
new applications to a federation solution or connecting discrete forests in
Active Directory) would fall into this subcategory. Common example: `event.category:iam
AND event.type:change AND event.type:admin`. You can further distinguish admin
operations using the ECS `event.action` field.

'
name: admin
- description: 'The change event type is used for the subset of events within a
category that indicate that something has changed. If semantics best describe
an event as modified, then include them in this subcategory. Common examples
Expand Down Expand Up @@ -2333,6 +2357,13 @@ event.type:

'
name: error
- description: 'The group event type is used for the subset of events within a category
that are related to group objects. Common example: `event.category:iam AND event.type:creation
AND event.type:group`. You can further distinguish group operations using the
ECS `event.action` field.

'
name: group
- description: 'The info event type is used for the subset of events within a category
that indicate that they are purely informational, and don''t report a state
change, or any type of action. For example, an initial run of a file integrity
Expand All @@ -2356,6 +2387,13 @@ event.type:

'
name: start
- description: 'The user event type is used for the subset of events within a category
that are related to user objects. Common example: `event.category:iam AND event.type:deletion
AND event.type:user`. You can further distinguish user operations using the
ECS `event.action` field.

'
name: user
dashed_name: event-type
description: 'This is one of four ECS Categorization Fields, and indicates the third
level in the ECS category hierarchy.
Expand Down
39 changes: 39 additions & 0 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,20 @@ event:
- info
- start
name: host
- description: 'Identity and access management (IAM) events relating to users,
groups, and administration. Use this category to visualize and analyze IAM-related
logs and data from active directory, LDAP, Okta, Duo, and other IAM systems.

'
expected_event_types:
- admin
- change
- creation
- deletion
- group
- info
- user
name: iam
- description: 'Relating to intrusion detections from IDS/IPS systems and functions,
both network and host-based. Use this category to visualize and analyze
intrusion detection alerts from systems such as Snort, Suricata, and Palo
Expand Down Expand Up @@ -2557,6 +2571,17 @@ event:

'
name: access
- description: 'The admin event type is used for the subset of events within
a category that are related to admin objects. For example, administrative
changes within an IAM framework that do not specifically affect a user or
group (e.g., adding new applications to a federation solution or connecting
discrete forests in Active Directory) would fall into this subcategory.
Common example: `event.category:iam AND event.type:change AND event.type:admin`.
You can further distinguish admin operations using the ECS `event.action`
field.

'
name: admin
- description: 'The change event type is used for the subset of events within
a category that indicate that something has changed. If semantics best describe
an event as modified, then include them in this subcategory. Common examples
Expand Down Expand Up @@ -2593,6 +2618,13 @@ event:

'
name: error
- description: 'The group event type is used for the subset of events within
a category that are related to group objects. Common example: `event.category:iam
AND event.type:creation AND event.type:group`. You can further distinguish
group operations using the ECS `event.action` field.

'
name: group
- description: 'The info event type is used for the subset of events within
a category that indicate that they are purely informational, and don''t
report a state change, or any type of action. For example, an initial run
Expand All @@ -2617,6 +2649,13 @@ event:

'
name: start
- description: 'The user event type is used for the subset of events within
a category that are related to user objects. Common example: `event.category:iam
AND event.type:deletion AND event.type:user`. You can further distinguish
user operations using the ECS `event.action` field.

'
name: user
dashed_name: event-type
description: 'This is one of four ECS Categorization Fields, and indicates the
third level in the ECS category hierarchy.
Expand Down
37 changes: 37 additions & 0 deletions schemas/event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@
- end
- info
- start
- name: iam
description: >
Identity and access management (IAM) events relating to users, groups, and administration.
Use this category to visualize and analyze IAM-related logs and data from active directory,
LDAP, Okta, Duo, and other IAM systems.
expected_event_types:
- admin
- change
- creation
- deletion
- group
- info
- user
- name: intrusion_detection
description: >
Relating to intrusion detections from IDS/IPS systems and functions,
Expand Down Expand Up @@ -297,6 +310,16 @@
Note for file access, both directory listings and file opens should be included
in this subcategory. You can further distinguish access operations using the ECS
`event.action` field.
- name: admin
description: >
The admin event type is used for the subset of events within a category
that are related to admin objects. For example, administrative changes within
an IAM framework that do not specifically affect a user or group (e.g., adding new
applications to a federation solution or connecting discrete forests in Active Directory)
would fall into this subcategory.
Common example: `event.category:iam AND event.type:change AND event.type:admin`.
You can further distinguish admin operations using the ECS
`event.action` field.
- name: change
description: >
The change event type is used for the subset of events within a category
Expand Down Expand Up @@ -329,6 +352,13 @@
Note that pipeline errors that occur during the event ingestion process
should not use this `event.type` value. Instead, they should use
`event.kind:pipeline_error`.
- name: group
description: >
The group event type is used for the subset of events within a category
that are related to group objects.
Common example: `event.category:iam AND event.type:creation AND event.type:group`.
You can further distinguish group operations using the ECS
`event.action` field.
- name: info
description: >
The info event type is used for the subset of events within a category
Expand All @@ -349,6 +379,13 @@
The start event type is used for the subset of events within a category
that indicate something has started. A common example is
`event.category:process AND event.type:start`.
- name: user
description: >
The user event type is used for the subset of events within a category
that are related to user objects.
Common example: `event.category:iam AND event.type:deletion AND event.type:user`.
You can further distinguish user operations using the ECS
`event.action` field.

- name: module
level: core
Expand Down