Skip to content

Commit

Permalink
[8.4] [DOCS] Fixes formatting in the Osquery manager APIs (elastic#14…
Browse files Browse the repository at this point in the history
…9871) (elastic#149875)

# Backport

This will backport the following commits from `main` to `8.4`:
- [[DOCS] Fixes formatting in the Osquery manager APIs
(elastic#149871)](elastic#149871)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kaarina
Tungseth","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-01-30T18:41:10Z","message":"[DOCS]
Fixes formatting in the Osquery manager APIs (elastic#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.4.0","v8.5.0","v8.6.0","v8.7.0"],"number":149871,"url":"https://github.com/elastic/kibana/pull/149871","mergeCommit":{"message":"[DOCS]
Fixes formatting in the Osquery manager APIs (elastic#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98"}},"sourceBranch":"main","suggestedTargetBranches":["8.4","8.5","8.6"],"targetPullRequestStates":[{"branch":"8.4","label":"v8.4.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149871","number":149871,"mergeCommit":{"message":"[DOCS]
Fixes formatting in the Osquery manager APIs (elastic#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98"}}]}]
BACKPORT-->

Co-authored-by: Kaarina Tungseth <[email protected]>
  • Loading branch information
kibanamachine and KOTungseth authored Jan 30, 2023
1 parent f877e0b commit d35dec2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/api/osquery-manager/live-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ experimental[] Get live queries.
(Optional, string) An identifier for the space. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-live-queries-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/osquery-manager/packs/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WARNING: Once you delete a pack, _it cannot be recovered_.
`200`::
Indicates that the pack is deleted. Returns an empty response body.


[[osquery-manager-packs-api-delete-example]]
==== Example

Delete a pack object with the `bbe5b070-0c51-11ed-b0f8-ad31b008e832` ID:
Expand Down
4 changes: 2 additions & 2 deletions docs/api/osquery-manager/packs/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ experimental[] Get packs.
`space_id`::
(Optional, string) The space identifier. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-packs-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/osquery-manager/saved-queries/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WARNING: Once you delete a saved query, _it cannot be recovered_.
`200`::
Indicates the saved query is deleted. Returns an empty response body.


[[osquery-manager-saved-queries-api-delete-example]]
==== Example

Delete a saved query object with the `42ba9c50-0cc5-11ed-aa1d-2b27890bc90d` ID:
Expand Down
4 changes: 2 additions & 2 deletions docs/api/osquery-manager/saved-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ experimental[] Get saved queries.
`space_id`::
(Optional, string) The space identifier. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-saved-queries-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down

0 comments on commit d35dec2

Please sign in to comment.