Dry run a package policy upgrade
Spaces method and path for this operation:
Refer to Spaces for more information.
[Required authorization] Route required privileges: fleet-agent-policies-read AND integrations-read.
Responses
-
OK: A successful request.
Hide response attributes Show response attributes object
-
Hide agent_diff attributes Show agent_diff attributes object
-
Additional properties are allowed.
-
Additional properties are allowed.
-
-
Additional properties are NOT allowed.
-
Any of: Hide attributes Show attributes
-
Additional datastream permissions, that will be added to the agent policy.
-
ID of the cloud connector associated with this package policy.
-
Package policy description
-
Additional properties are allowed.
inputs
array[object] | object Required Package policy inputs.
Any of: Hide attributes Show attributes object
-
Package variable (see integration documentation for more information)
-
Hide streams attributes Show streams attributes object
-
Package variable (see integration documentation for more information)
-
Additional properties are NOT allowed.
Hide data_stream attributes Show data_stream attributes object
-
Additional properties are NOT allowed.
-
Values are
ga,beta, orexperimental. -
Package variable (see integration documentation for more information)
-
-
Package variable (see integration documentation for more information)
Package policy inputs. Refer to the integration documentation to know which inputs are available.
Hide attribute Show attribute
-
Additional properties are NOT allowed.
Hide * attributes Show * attributes object
-
Enable or disable that input. Defaults to
true(enabled). -
Input streams. Refer to the integration documentation to know which streams are available.
Hide streams attribute Show streams attribute object
-
Input/stream level variable. Refer to the integration documentation for more information.
-
-
-
Unique name for the package policy.
-
The package policy namespace. Leave blank to inherit the agent policy's namespace.
-
Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure.
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide package attributes Show package attributes object
-
Hide experimental_data_stream_features attributes Show experimental_data_stream_features attributes object
-
Package name
-
Package version
-
-
ID of the agent policy which the package policy will be added to.
-
IDs of the agent policies which that package policy will be added to.
-
Package policy revision.
-
Indicates whether the package policy belongs to an agentless agent policy.
Default value is
false. -
Indicates whether the package policy supports cloud connectors.
Default value is
false. -
Package policy ES version.
Hide attributes Show attributes
-
Additional datastream permissions, that will be added to the agent policy.
-
ID of the cloud connector associated with this package policy.
-
Package policy description
-
Additional properties are allowed.
-
Hide inputs attributes Show inputs attributes object
-
Package variable (see integration documentation for more information)
-
Hide streams attributes Show streams attributes object
-
Package variable (see integration documentation for more information)
-
Additional properties are NOT allowed.
Hide data_stream attributes Show data_stream attributes object
-
Additional properties are NOT allowed.
-
Values are
ga,beta, orexperimental. -
Package variable (see integration documentation for more information)
-
-
Package variable (see integration documentation for more information)
-
-
Unique name for the package policy.
-
The package policy namespace. Leave blank to inherit the agent policy's namespace.
-
Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure.
Additional properties are NOT allowed.
-
Additional properties are NOT allowed.
Hide package attributes Show package attributes object
-
Hide experimental_data_stream_features attributes Show experimental_data_stream_features attributes object
-
Package name
-
Package version
-
-
ID of the agent policy which the package policy will be added to.
-
IDs of the agent policies which that package policy will be added to.
-
Indicates whether the package policy belongs to an agentless agent policy.
Default value is
false. -
Indicates whether the package policy supports cloud connectors.
Default value is
false. -
Package variable (see integration documentation for more information)
-
Package policy ES version.
-
-
-
A bad request.
curl \
--request POST 'http://localhost:5601/api/fleet/package_policies/upgrade/dryrun' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"packagePolicyIds":["string"],"packageVersion":"string"}'