Loading

stack kb fleet-agentless-policies post-fleet-agentless-policies cli command

Auth required
elastic stack kb fleet-agentless-policies post-fleet-agentless-policies \
  --name <name> \
  --package <package> \
  [options]
		

Create an agentless policy

Behaviour flags:

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

--name string required
Unique name for the policy.
--package string required
--kb-format string
The format of the response package policy.
--additional-datastreams-permissions string[]
Additional datastream permissions, that will be added to the agent policy.
--cloud-connector string
--description string
Policy description.
--[no-]force
Force package policy creation even if the package is not verified, or if the agent policy is managed.
--id string
Policy unique identifier.
--inputs string
Package policy inputs. Refer to the integration documentation to know which inputs are available.
--namespace string
Policy namespace. When not specified, it inherits the agent policy namespace.
--policy-template string
The policy template to use for the agentless package policy. If not provided, the default policy template will be used.
--var-group-selections string
Variable group selections. Maps var_group name to the selected option name within that group.
--vars string
Input/stream level variable. Refer to the integration documentation for more information.
--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