Skip to content

Commit

Permalink
[8.10] [DOCS] Makes shards optional in Create pack API (#166639) (#16…
Browse files Browse the repository at this point in the history
…7135)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Makes shards optional in Create pack API
(#166639)](#166639)

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

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

<!--BACKPORT
[{"author":{"name":"natasha-moore-elastic","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-09-25T10:38:41Z","message":"[DOCS]
Makes shards optional in Create pack API (#166639)\n\n##
Summary\r\n\r\n* Resolves
elastic/security-docs#3822. \r\n\r\n* Updates
the `shards` object in Create pack API to optional for 8.10.1\r\nand
8.11.0 onwards, per
https://github.com/elastic/kibana/pull/166178\r\n\r\n* Related to
changes made
in\r\nhttps://github.com//pull/166363.","sha":"62e087a8a8c7507cd0ead1e54d2db36654c58e60","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.10.0","v8.11.0"],"number":166639,"url":"https://github.com/elastic/kibana/pull/166639","mergeCommit":{"message":"[DOCS]
Makes shards optional in Create pack API (#166639)\n\n##
Summary\r\n\r\n* Resolves
elastic/security-docs#3822. \r\n\r\n* Updates
the `shards` object in Create pack API to optional for 8.10.1\r\nand
8.11.0 onwards, per
https://github.com/elastic/kibana/pull/166178\r\n\r\n* Related to
changes made
in\r\nhttps://github.com//pull/166363.","sha":"62e087a8a8c7507cd0ead1e54d2db36654c58e60"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166639","number":166639,"mergeCommit":{"message":"[DOCS]
Makes shards optional in Create pack API (#166639)\n\n##
Summary\r\n\r\n* Resolves
elastic/security-docs#3822. \r\n\r\n* Updates
the `shards` object in Create pack API to optional for 8.10.1\r\nand
8.11.0 onwards, per
https://github.com/elastic/kibana/pull/166178\r\n\r\n* Related to
changes made
in\r\nhttps://github.com//pull/166363.","sha":"62e087a8a8c7507cd0ead1e54d2db36654c58e60"}}]}]
BACKPORT-->

Co-authored-by: natasha-moore-elastic <[email protected]>
  • Loading branch information
kibanamachine and natasha-moore-elastic authored Sep 25, 2023
1 parent 093f590 commit 2d3ecda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/osquery-manager/packs/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ experimental[] Create packs.

`policy_ids`:: (Optional, array) A list of agents policy IDs.

`shards`:: (Required, object) An object with shard configuration for policies included in the pack. For each policy, set the shard configuration to a percentage (1–100) of target hosts.
`shards`:: (Optional, object) An object with shard configuration for policies included in the pack. For each policy, set the shard configuration to a percentage (1–100) of target hosts.

`queries`:: (Required, object) An object of queries.

Expand Down

0 comments on commit 2d3ecda

Please sign in to comment.