stack kb security-ai-assistant-api create-knowledge-base cli command

Auth required
elastic stack kb security-ai-assistant-api create-knowledge-base \
  --resource <resource> \
  [options]
		

Create a KnowledgeBase for a resource

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--resource string required
The KnowledgeBase resource value.
--model-id string
ELSER modelId to use when setting up the Knowledge Base. If not provided, a default model will be used.
--ignore-security-labs
Indicates whether we should or should not install Security Labs docs when setting up the Knowledge Base. Defaults to false.
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--json

output as JSON