-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/http-kibana-change-side-effect
- Loading branch information
Showing
130 changed files
with
3,783 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ugins/siem/server/lib/detection_engine/scripts/rules/patches/update_machine_learning.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"rule_id": "machine-learning", | ||
"anomaly_threshold": 10 | ||
} |
10 changes: 10 additions & 0 deletions
10
...s/siem/server/lib/detection_engine/scripts/rules/queries/query_with_machine_learning.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "Query with a machine learning job", | ||
"description": "Query with a machine learning job", | ||
"rule_id": "machine-learning", | ||
"risk_score": 1, | ||
"severity": "high", | ||
"type": "machine_learning", | ||
"machine_learning_job_id": "linux_anomalous_network_activity_ecs", | ||
"anomaly_threshold": 50 | ||
} |
10 changes: 10 additions & 0 deletions
10
...ugins/siem/server/lib/detection_engine/scripts/rules/updates/update_machine_learning.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "Query with a machine learning job", | ||
"description": "Query with a machine learning job", | ||
"rule_id": "machine-learning", | ||
"risk_score": 1, | ||
"severity": "high", | ||
"type": "machine_learning", | ||
"machine_learning_job_id": "linux_anomalous_network_activity_ecs", | ||
"anomaly_threshold": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
x-pack/legacy/plugins/uptime/common/runtime_types/dynamic_settings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import * as t from 'io-ts'; | ||
|
||
export const DynamicSettingsType = t.type({ | ||
heartbeatIndices: t.string, | ||
}); | ||
|
||
export const DynamicSettingsSaveType = t.intersection([ | ||
t.type({ | ||
success: t.boolean, | ||
}), | ||
t.partial({ | ||
error: t.string, | ||
}), | ||
]); | ||
|
||
export type DynamicSettings = t.TypeOf<typeof DynamicSettingsType>; | ||
export type DynamicSettingsSaveResponse = t.TypeOf<typeof DynamicSettingsSaveType>; | ||
|
||
export const defaultDynamicSettings: DynamicSettings = { | ||
heartbeatIndices: 'heartbeat-8*', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...blic/components/functional/empty_state/__tests__/__snapshots__/data_missing.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.