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

Add event.reference field #757

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Thanks, you're awesome :-) -->
* Fieldset for PE metadata. #731
* Globally unique identifier `entity_id` for `process` and `process.parent`. (#747)

* Added field event.reference to hold link to additional event info/actions. (#757)
* Added fields `event.reference` and `event.url` to hold link to additional event info/actions. (#757)

#### Improvements

Expand Down
13 changes: 9 additions & 4 deletions code/go/ecs/event.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 17 additions & 2 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1717,13 +1717,13 @@ example: `kernel`
| event.reference
| Reference URL linking to additional information about this event.

This URL can link to either a static definition of the general event, or to another system where in-depth investigation of the specific occurence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.
This URL links to a static definition of the this event Alert events, indicated by `event.kind:alert`, are a common use case for this field.

type: keyword



example: `https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe`
example: `https://system.vendor.com/event/#0001234`

| extended

Expand Down Expand Up @@ -1844,6 +1844,21 @@ To learn more about when to use which value, visit the page

// ===============================================================

| event.url
| URL linking to an external system to continue investigtion of this event.

This URL links to another system where in-depth investigation of the specific occurence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.

type: keyword



example: `https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe`

| extended

// ===============================================================

|=====

[[ecs-file]]
Expand Down
20 changes: 15 additions & 5 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1291,11 +1291,9 @@
ignore_above: 1024
description: 'Reference URL linking to additional information about this event.

This URL can link to either a static definition of the general event, or to
another system where in-depth investigation of the specific occurence of this
event can take place. Alert events, indicated by `event.kind:alert`, are a
common use case for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
This URL links to a static definition of the this event Alert events, indicated
by `event.kind:alert`, are a common use case for this field.'
example: https://system.vendor.com/event/#0001234
default_field: false
- name: risk_score
level: core
Expand Down Expand Up @@ -1361,6 +1359,18 @@

This field is an array. This will allow proper categorization of some events
that fall in multiple event types.'
- name: url
level: extended
type: keyword
ignore_above: 1024
description: 'URL linking to an external system to continue investigtion of
this event.

This URL links to another system where in-depth investigation of the specific
occurence of this event can take place. Alert events, indicated by `event.kind:alert`,
are a common use case for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
default_field: false
- name: file
title: File
group: 2
Expand Down
3 changes: 2 additions & 1 deletion generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,15 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
1.5.0-dev,false,event,event.original,keyword,core,,Sep 19 08:26:10 host CEF:0|Security| threatmanager|1.0|100| worm successfully stopped|10|src=10.0.0.1 dst=2.1.2.2spt=1232,Raw text message of entire event.
1.5.0-dev,true,event,event.outcome,keyword,core,,success,The outcome of the event. The lowest categorization field in the hierarchy.
1.5.0-dev,true,event,event.provider,keyword,extended,,kernel,Source of the event.
1.5.0-dev,true,event,event.reference,keyword,extended,,https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe,Event reference URL
1.5.0-dev,true,event,event.reference,keyword,extended,,https://system.vendor.com/event/#0001234,Event reference URL
1.5.0-dev,true,event,event.risk_score,float,core,,,Risk score or priority of the event (e.g. security solutions). Use your system's original value here.
1.5.0-dev,true,event,event.risk_score_norm,float,extended,,,Normalized risk score or priority of the event (0-100).
1.5.0-dev,true,event,event.sequence,long,extended,,,Sequence number of the event.
1.5.0-dev,true,event,event.severity,long,core,,7,Numeric severity of the event.
1.5.0-dev,true,event,event.start,date,extended,,,event.start contains the date when the event started or when the activity was first observed.
1.5.0-dev,true,event,event.timezone,keyword,extended,,,Event time zone.
1.5.0-dev,true,event,event.type,keyword,core,array,,Event type. The third categorization field in the hierarchy.
1.5.0-dev,true,event,event.url,keyword,extended,,https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe,Event investigation URL
1.5.0-dev,true,file,file.accessed,date,extended,,,Last time the file was accessed.
1.5.0-dev,true,file,file.attributes,keyword,extended,array,"[""readonly"", ""system""]",Array of file attributes.
1.5.0-dev,true,file,file.code_signature.exists,boolean,core,,true,Boolean to capture if a signature is present.
Expand Down
25 changes: 20 additions & 5 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2202,11 +2202,9 @@ event.reference:
dashed_name: event-reference
description: 'Reference URL linking to additional information about this event.

This URL can link to either a static definition of the general event, or to another
system where in-depth investigation of the specific occurence of this event can
take place. Alert events, indicated by `event.kind:alert`, are a common use case
for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
This URL links to a static definition of the this event Alert events, indicated
by `event.kind:alert`, are a common use case for this field.'
example: https://system.vendor.com/event/#0001234
flat_name: event.reference
ignore_above: 1024
level: extended
Expand Down Expand Up @@ -2392,6 +2390,23 @@ event.type:
order: 6
short: Event type. The third categorization field in the hierarchy.
type: keyword
event.url:
dashed_name: event-url
description: 'URL linking to an external system to continue investigtion of this
event.

This URL links to another system where in-depth investigation of the specific
occurence of this event can take place. Alert events, indicated by `event.kind:alert`,
are a common use case for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
flat_name: event.url
ignore_above: 1024
level: extended
name: url
normalize: []
order: 23
short: Event investigation URL
type: keyword
file.accessed:
dashed_name: file-accessed
description: 'Last time the file was accessed.
Expand Down
25 changes: 20 additions & 5 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2461,11 +2461,9 @@ event:
dashed_name: event-reference
description: 'Reference URL linking to additional information about this event.

This URL can link to either a static definition of the general event, or to
another system where in-depth investigation of the specific occurence of this
event can take place. Alert events, indicated by `event.kind:alert`, are a
common use case for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
This URL links to a static definition of the this event Alert events, indicated
by `event.kind:alert`, are a common use case for this field.'
example: https://system.vendor.com/event/#0001234
flat_name: event.reference
ignore_above: 1024
level: extended
Expand Down Expand Up @@ -2653,6 +2651,23 @@ event:
order: 6
short: Event type. The third categorization field in the hierarchy.
type: keyword
url:
dashed_name: event-url
description: 'URL linking to an external system to continue investigtion of
this event.

This URL links to another system where in-depth investigation of the specific
occurence of this event can take place. Alert events, indicated by `event.kind:alert`,
are a common use case for this field.'
example: https://mysystem.mydomain.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe
flat_name: event.url
ignore_above: 1024
level: extended
name: url
normalize: []
order: 23
short: Event investigation URL
type: keyword
group: 2
name: event
prefix: event.
Expand Down
4 changes: 4 additions & 0 deletions generated/elasticsearch/6/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,10 @@
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"url": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions generated/elasticsearch/7/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,10 @@
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"url": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down
14 changes: 13 additions & 1 deletion schemas/event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,19 @@
description: >
Reference URL linking to additional information about this event.

This URL can link to either a static definition of the general event, or to another
This URL links to a static definition of the this event
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This URL links to a static definition of the this event
This URL links to a static definition of the this event.

Alert events, indicated by `event.kind:alert`, are a common use case for this field.

example: https://system.vendor.com/event/#0001234

- name: url
level: extended
type: keyword
short: Event investigation URL
description: >
URL linking to an external system to continue investigtion of this event.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
URL linking to an external system to continue investigtion of this event.
URL linking to an external system to continue investigation of this event.


This URL links to another
system where in-depth investigation of the specific occurence of this event can take place.
Alert events, indicated by `event.kind:alert`, are a common use case for this field.

Expand Down