diff --git a/x-pack/plugins/fleet/server/services/managed_package_policies.ts b/x-pack/plugins/fleet/server/services/managed_package_policies.ts index 25e2482892712..7e9fa358b0f88 100644 --- a/x-pack/plugins/fleet/server/services/managed_package_policies.ts +++ b/x-pack/plugins/fleet/server/services/managed_package_policies.ts @@ -53,9 +53,7 @@ export const upgradeManagedPackagePolicies = async ( packageInfo.version === installedPackage?.version; const shouldUpgradePolicies = - !isPolicyVersionAlignedWithInstalledVersion && - (AUTO_UPDATE_PACKAGES.some((pkg) => pkg.name === packageInfo.name) || - packageInfo.keepPoliciesUpToDate); + !isPolicyVersionAlignedWithInstalledVersion && packageInfo.keepPoliciesUpToDate; if (shouldUpgradePolicies) { // Since upgrades don't report diffs/errors, we need to perform a dry run first in order