Loading

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

--fields string[]
A list of fields to include in the response. If not provided, all fields will be included.
--filter string
Search query to filter Knowledge Base Entries by specific criteria.
--sort-field enum

Field to sort the Knowledge Base Entries by.

Values: created_at, is_default, title, updated_at

--sort-order enum

Sort order for the results, either asc or desc.

Values: asc, desc

--page number
Page number for paginated results. Defaults to 1.
--per-page number
Number of Knowledge Base Entries to return per page. Defaults to 20.
--input-file string
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