diff --git a/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts b/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts index 5e6fb416c5edc..b9b2c70815fa5 100644 --- a/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts +++ b/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts @@ -26,7 +26,9 @@ export const storedPackagePoliciesToAgentInputs = ( } const fullInput: FullAgentPolicyInput = { - id: `${input.type}${input.policy_template ? `-${input.policy_template}-` : '-'}${packagePolicy.id}`, + id: `${input.type}${input.policy_template ? `-${input.policy_template}-` : '-'}${ + packagePolicy.id + }`, revision: packagePolicy.revision, name: packagePolicy.name, type: input.type,