Skip to content

Commit

Permalink
[7.17] [API docs] Fixes URLs in the update exception container docs a…
Browse files Browse the repository at this point in the history
…nd create exception item docs (backport #3819) (#3835)

Co-authored-by: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com>
  • Loading branch information
mergify[bot] and nastasha-solomon authored Aug 30, 2023
1 parent 177379f commit d7e8f02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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"}
Expand Down Expand Up @@ -216,7 +216,7 @@ value on Windows OS:

[source,console]
--------------------------------------------------
POST api/lists/exception_lists/items
POST api/exception_lists/items
{
"_tags": [
"endpoint", <1>
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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 Liverpool FC",
"entries": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ NOTE: Console supports only Elasticsearch APIs. Console doesn't allow interactio

==== Request URL

`PUT <kibana host>:<port>/api/lists`
`PUT <kibana host>:<port>/api/exception_lists`

==== Request body

Expand Down

0 comments on commit d7e8f02

Please sign in to comment.