-
Notifications
You must be signed in to change notification settings - Fork 669
[New Rule] Elastic Endpoint and External Alerts #42
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
Changes from 11 commits
56017b7
b933944
16d6608
6dee5ba
4bc8ae6
f7ec369
c607703
8da7262
316d96b
c17ea37
fb46bb2
ccbf037
5645747
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 |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| [metadata] | ||
| creation_date = "2020/07/08" | ||
| ecs_version = ["1.5.0"] | ||
| maturity = "production" | ||
| updated_date = "2020/07/08" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| Generates a detection alert for each external alert written to the configured securitySolution:defaultIndex. Enabling | ||
| this rule allows you to immediately begin investigating external alerts in the app. | ||
| """ | ||
| language = "kuery" | ||
| license = "Elastic License" | ||
|
Member
Author
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. Add |
||
| max_signals = 10000 | ||
| name = "External Alerts" | ||
|
spong marked this conversation as resolved.
|
||
| risk_score = 47 | ||
| rule_id = "eb079c62-4481-4d6e-9643-3ca499df7aaa" | ||
| rule_name_override = "message" | ||
|
spong marked this conversation as resolved.
|
||
| severity = "medium" | ||
| tags = ["Elastic"] | ||
| timestamp_override = "event.ingested" | ||
|
Member
Author
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. I don't think we want to override the timestamp here since
Contributor
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. when a timestamp override is defined and missing, does it default back to
Member
Author
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. Yes, will need to add to signal metadata so the user knows this happened. |
||
| type = "query" | ||
|
|
||
| query = ''' | ||
| event.kind:alert and not event.module:(endgame or endpoint) | ||
| ''' | ||
|
|
||
|
|
||
| [[rule.risk_score_mapping]] | ||
| field = "event.risk_score" | ||
| operator = "equals" | ||
| value = "" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "21" | ||
| severity = "low" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "47" | ||
| severity = "medium" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "73" | ||
| severity = "high" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "99" | ||
| severity = "critical" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| [metadata] | ||
| creation_date = "2020/07/08" | ||
| ecs_version = ["1.5.0"] | ||
| maturity = "production" | ||
| updated_date = "2020/07/08" | ||
|
|
||
| [rule] | ||
| author = ["Elastic"] | ||
| description = """ | ||
| Generates a detection alert each time an Elastic Endpoint alert is received. Enabling this rule allows you to | ||
| immediately begin investigating your Elastic Endpoint alerts. | ||
| """ | ||
| enabled = true | ||
| from = "now-10m" | ||
| index = ["logs-*"] | ||
|
spong marked this conversation as resolved.
Outdated
|
||
| language = "kuery" | ||
| license = "Elastic License" | ||
| max_signals = 10000 | ||
| name = "Elastic Endpoint" | ||
| risk_score = 47 | ||
| rule_id = "9a1a2dae-0b5f-4c3d-8305-a268d404c306" | ||
| rule_name_override = "message" | ||
| severity = "medium" | ||
| tags = ["Elastic", "Endpoint"] | ||
| timestamp_override = "event.ingested" | ||
| type = "query" | ||
|
|
||
| query = ''' | ||
| event.kind:alert and event.module:(endpoint and not endgame) | ||
| ''' | ||
|
|
||
|
|
||
| [[rule.risk_score_mapping]] | ||
| field = "event.risk_score" | ||
| operator = "equals" | ||
| value = "" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "21" | ||
| severity = "low" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "47" | ||
| severity = "medium" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "73" | ||
| severity = "high" | ||
|
|
||
| [[rule.severity_mapping]] | ||
| field = "event.severity" | ||
| operator = "equals" | ||
| value = "99" | ||
| severity = "critical" | ||
|
spong marked this conversation as resolved.
|
||
Uh oh!
There was an error while loading. Please reload this page.