mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[8.6] [ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524) (#149859)
# Backport This will backport the following commits from `main` to `8.6`: - [[ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524)](https://github.com/elastic/kibana/pull/149524) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kirti Sodhi","email":"109447885+sodhikirti07@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-26T15:31:17Z","message":"[ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly Detection","auto-backport","v8.7.0","v8.6.2"],"number":149524,"url":"https://github.com/elastic/kibana/pull/149524","mergeCommit":{"message":"[ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149524","number":149524,"mergeCommit":{"message":"[ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kirti Sodhi <109447885+sodhikirti07@users.noreply.github.com>
This commit is contained in:
parent
d162b07f4c
commit
f67a21bccc
1 changed files with 19 additions and 11 deletions
|
@ -5,16 +5,24 @@
|
|||
],
|
||||
"max_empty_searches": 10,
|
||||
"query": {
|
||||
"bool": {
|
||||
"filter": [{"exists": {"field": "source.ip"}}],
|
||||
"must": [
|
||||
{"bool": {
|
||||
"should": [
|
||||
{"term": {"event.category": "authentication"}},
|
||||
{"term": {"event.outcome": "success"}}
|
||||
]
|
||||
}}
|
||||
]
|
||||
"bool": {
|
||||
"filter": [
|
||||
{
|
||||
"exists": {
|
||||
"field": "source.ip"
|
||||
}
|
||||
},
|
||||
{
|
||||
"term": {
|
||||
"event.category": "authentication"
|
||||
}
|
||||
},
|
||||
{
|
||||
"term": {
|
||||
"event.outcome": "success"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue