From 1f152485c9eb76cb33d25e5dea71f03a506487bf Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 12:16:57 -0400 Subject: [PATCH] [8.0] [API docs] Fixes URLs in the update exception container docs and create exception item docs (backport #3819) (#3836) Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com> --- .../api/exceptions/api-create-exception-item.asciidoc | 10 +++++----- .../exceptions/api-update-exception-container.asciidoc | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/detections/api/exceptions/api-create-exception-item.asciidoc b/docs/detections/api/exceptions/api-create-exception-item.asciidoc index a727fcf7c3..2f3063c11f 100644 --- a/docs/detections/api/exceptions/api-create-exception-item.asciidoc +++ b/docs/detections/api/exceptions/api-create-exception-item.asciidoc @@ -139,7 +139,7 @@ container: [source,console] -------------------------------------------------- -POST api/lists/exception_lists/items +POST api/exception_lists/items { "description": "Excludes the weekly maintenance job", "entries": [ @@ -169,7 +169,7 @@ Adds hosts on which the `maintenance` process is allowed to run to the [source,console] -------------------------------------------------- -POST api/lists/exception_lists/items +POST api/exception_lists/items { "comments": [ {"comment": "Allows maintenance process to run on the specified machines"} @@ -216,7 +216,7 @@ value on Windows OS: [source,console] -------------------------------------------------- -POST api/lists/exception_lists/items +POST api/exception_lists/items { "_tags": [ "endpoint", <1> @@ -255,7 +255,7 @@ as an exception item to the `trusted-IPs` exception container: [source,console] -------------------------------------------------- -POST api/lists/exception_lists/items +POST api/exception_lists/items { "description": "Uses the external-ip-container list to exclude trusted external IPs.", "entries": [ @@ -293,7 +293,7 @@ Adds an exception for nested Endpoint fields: [source,console] -------------------------------------------------- -POST api/lists/exception_lists/items +POST api/exception_lists/items { "description": "Excludes all processes signed by Trusted Signer, Inc.", "entries": [ diff --git a/docs/detections/api/exceptions/api-update-exception-container.asciidoc b/docs/detections/api/exceptions/api-update-exception-container.asciidoc index 28f1a7eda6..0db57b0e56 100644 --- a/docs/detections/api/exceptions/api-update-exception-container.asciidoc +++ b/docs/detections/api/exceptions/api-update-exception-container.asciidoc @@ -7,7 +7,7 @@ NOTE: Console supports only Elasticsearch APIs. Console doesn't allow interactio ==== Request URL -`PUT :/api/lists` +`PUT :/api/exception_lists` ==== Request body