Skip to content

Commit a533569

Browse files
mergify[bot]nastasha-solomonsdesalas
authored
[Security][8.18 & 8.19] Add 'search.allow_expensive_queries' to detection reqs (#7092) (#7094)
* First draft * Fixed attribute * Update docs/detections/detections-req.asciidoc * Update docs/detections/detections-req.asciidoc * Update docs/detections/detections-req.asciidoc --------- (cherry picked from commit 9ae8ab2) Co-authored-by: Nastasha Solomon <[email protected]> Co-authored-by: Steven de Salas <[email protected]>
1 parent 60557c5 commit a533569

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/detections/detections-req.asciidoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ These steps are only required for *self-managed* deployments:
2020

2121
* HTTPS must be configured for communication between
2222
{kibana-ref}/configuring-tls.html#configuring-tls-kib-es[{es} and {kib}].
23-
* In the `elasticsearch.yml` configuration file, set the
24-
`xpack.security.enabled` setting to `true`. For more information, refer to
25-
{ref}/settings.html[Configuring {es}] and
26-
{ref}/security-settings.html[Security settings in {es}].
2723
* In the `kibana.yml` {kibana-ref}/settings.html[configuration file], add the
2824
`xpack.encryptedSavedObjects.encryptionKey` setting with any alphanumeric value
2925
of at least 32 characters. For example:
3026
+
3127
`xpack.encryptedSavedObjects.encryptionKey: 'fhjskloppd678ehkdfdlliverpoolfcr'`
28+
* In the `elasticsearch.yml` {ref}/settings.html[configuration] file:
29+
30+
** Set the `xpack.security.enabled` setting to `true`. For more information, refer to {ref}/security-settings.html[general security settings in {es}].
31+
** If the `search.allow_expensive_queries` setting is set to `false`, remove it. If set to its default value of `true` or not included in the file, you don't need to change it. This setting must be `true` for key detection features, such as {kibana-ref}/alerting-getting-started.html#_rules[alerting rules] and rule exceptions, to work.
32+
3233

3334
IMPORTANT: After changing the `xpack.encryptedSavedObjects.encryptionKey` value
3435
and restarting {kib}, you must restart all detection rules.

0 commit comments

Comments
 (0)