You should use inputs as an object and not use the deprecated inputs array.
descriptionstring
Package policy description
forceboolean
Force package policy creation even if package is not verified, or if the agent policy is managed.
idstring
Package policy unique identifier
inputsmapstring to object
Package policy inputs (see integration documentation to know what inputs are available)
<string>object
enabledboolean
enable or disable that input, (default to true)
streamsmapstring to object
Input streams (see integration documentation to know what streams are available)
<string>object
enabledboolean
enable or disable that stream, (default to true)
varsobject
Stream level variable (see integration documentation for more information)
varsobject
Input level variable (see integration documentation for more information)
namestringrequired
Package policy name (should be unique)
namespacestring
The package policy namespace. Leave blank to inherit the agent policy's namespace.
output_idstringnullable
Output ID to send package data to
overridesobjectnullable
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.
inputsobject
packageobjectrequired
namestringrequired
Package name
versionstringrequired
Package version
policy_idstringnullabledeprecated
Agent policy ID where that package policy will be added
policy_idsstring[]
Agent policy IDs where that package policy will be added
varsobject
Package root level variable (see integration documentation for more information)