-
Notifications
You must be signed in to change notification settings - Fork 421
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
[RFC] Risk Score Extensions - Stage 2 #2276
base: main
Are you sure you want to change the base?
Changes from all commits
3ba9f6a
65447a6
f2024e6
6460bab
6fc0186
9cd969d
323ed90
54c42b5
3a21061
a00f454
7af698b
cd6e17c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
type: float | ||
example: 33.0 | ||
description: > | ||
The contribution of Category 1 to the overall risk score (`calculated_score`). | ||
The contribution of Category 1 to the overall normalized risk score (`calculated_score_norm`). | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 1 includes Alerts, namely from Kibana's Detection Engine. | ||
- name: category_1_count | ||
|
@@ -47,25 +47,25 @@ | |
- name: category_2_score | ||
level: extended | ||
type: float | ||
example: 35.0 | ||
example: 55.0 | ||
description: > | ||
The contribution of Category 2 to the overall risk score (`calculated_score`). | ||
The contribution of Category 2 to the overall normalized risk score (`calculated_score_norm`). | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 2 includes inputs from Posture Management. | ||
Risk Categories logically group risk inputs from various domain use cases. Category 2 includes Entity Contexts. | ||
- name: category_2_count | ||
level: extended | ||
type: long | ||
example: 1921 | ||
example: 1308 | ||
description: > | ||
The number of risk input documents that contributed to the Category 2 score. | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 2 includes inputs from Posture Management. | ||
Risk Categories logically group risk inputs from various domain use cases. Category 2 includes Entity Contexts. | ||
- name: category_3_score | ||
level: extended | ||
type: float | ||
example: 25.0 | ||
description: > | ||
The contribution of Category 3 to the overall risk score (`calculated_score`). | ||
The contribution of Category 3 to the overall normalized risk score (`calculated_score_norm`). | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 3 includes inputs from Vulnerabilities. | ||
- name: category_3_count | ||
|
@@ -79,25 +79,25 @@ | |
- name: category_4_score | ||
level: extended | ||
type: float | ||
example: 55.0 | ||
example: 35.0 | ||
description: > | ||
The contribution of Category 4 to the overall risk score (`calculated_score`). | ||
The contribution of Category 4 to the overall normalized risk score (`calculated_score_norm`). | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 4 includes Entity Contexts. | ||
Risk Categories logically group risk inputs from various domain use cases. Category 4 includes inputs from Posture Management. | ||
- name: category_4_count | ||
level: extended | ||
type: long | ||
example: 1308 | ||
example: 1921 | ||
description: > | ||
The number of risk input documents that contributed to the Category 4 score. | ||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 4 includes Entity Contexts. | ||
Risk Categories logically group risk inputs from various domain use cases. Category 4 includes inputs from Posture Management. | ||
- name: category_5_score | ||
level: extended | ||
type: float | ||
example: 75.0 | ||
description: > | ||
The contribution of Category 5 to the overall risk score (`calculated_score`). | ||
The contribution of Category 5 to the overall normalized risk score (`calculated_score_norm`). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ebeahan @SourinPaul this was the main change I made to convey that these category scores are themselves normalized. I originally had included the phrase "normalized contribution" to be more explicit, but that seemed redundant since the contribution to a normalized score only really makes sense if they can be compared (/are normalized / exist in the same value range, etc). Let me know if you opinions/suggestions. |
||
|
||
Risk Categories logically group risk inputs from various domain use cases. Category 5 contains inputs from Anomalies. | ||
- name: category_5_count | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing the fields from https://github.com/elastic/ecs/blob/main/rfcs/text/0042/risk.yml included in the example alert included. Are those fields still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably my misunderstanding; I didn't quite understand what "source document" meant in this context, so this is an alert document from which a risk score document would be derived. Should this instead be a risk score document?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is to capture one or more real-world examples of how these fields are used, ideally like you'd see in the
_source
field of a ES document.I'm not familiar with what's in a risk score document. If the risk score doc provides examples using the
risk.category_*_score
andrisk.category_*_count
fields as proposed, yes, I think that's helpful.