Skip to content

Commit

Permalink
Update get-file-api.asciidoc to fix a typo
Browse files Browse the repository at this point in the history
According to the code (https://github.com/elastic/kibana/blob/6bec71021ac92a84da05a3646fe0992579c52832/x-pack/plugins/security_solution/common/endpoint/constants.ts#L94), it appears that the API endpoint should be `get_file`, not `get-file`. This corrects that typo.
  • Loading branch information
nathandh22 authored Dec 20, 2023
1 parent 5844b6b commit c41fe7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/management/api/get-file-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You must have the `File Operations` {kib} privilege in the Security feature as p

==== Request URL

`POST <kibana host>:<port>/api/endpoint/action/get-file`
`POST <kibana host>:<port>/api/endpoint/action/get_file`

==== Request body

Expand All @@ -31,7 +31,7 @@ Retrieve a file `/usr/my-file.txt` on a host with an `endpoint_id` value of `ed5

[source,sh]
--------------------------------------------------
POST /api/endpoint/action/get-file
POST /api/endpoint/action/get_file
{
"endpoint_ids": ["ed518850-681a-4d60-bb98-e22640cae2a8"],
"parameters": {
Expand Down

0 comments on commit c41fe7c

Please sign in to comment.