stack kb security-ai-assistant-api find-knowledge-base-entries cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-ai-assistant-api find-knowledge-base-entries [options]
Finds Knowledge Base Entries that match the given query.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--fieldsstring[]- A list of fields to include in the response. If not provided, all fields will be included.
--filterstring- Search query to filter Knowledge Base Entries by specific criteria.
--sort-fieldenum-
Field to sort the Knowledge Base Entries by.
Values: created_at, is_default, title, updated_at
--sort-orderenum-
Sort order for the results, either asc or desc.
Values: asc, desc
--pagenumber- Page number for paginated results. Defaults to 1.
--per-pagenumber- Number of Knowledge Base Entries to return per page. Defaults to 20.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON