-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Describe the bug:
Malware protection could not be disabled after update to 8.4.3 or possible to 8.4.x (was only discovered recently but user reports that 8.3.x worked fine). After setting toggle to disable and attempt to save integrated policy -> receive error "Requires Platinum license"
Kibana/Elasticsearch Stack version:
8.4.3/8.4.3 Basic License
Server OS version:
Non applicable
Browser and Browser OS versions:
Non applicable - error can be reproduced on any modern browser
Elastic Endpoint version:
Endpoint Security v8.4.1
Original install method (e.g. download page, yum, from source, etc.):
Docker container from official repo
Steps to reproduce:
Exact steps is not known but possibly:
- Have ELK instance version 7.x with Fleet and Endpoint Security set up and installed
- Set "Malware protection" to "enabled" and "Detect" options + save.
- Perform gradual update to major versions up to 8.4.3 for all ELK stack
- Try to edit integrated policy by setting "Malware protection" to "disabled" and save
- Fail
Current behavior:
Cannot disable Malware protection in integrated policy
Expected behavior:
Malware protection disabled and policy saved + applied
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
[2022-11-11T12:12:14.427+00:00][WARN ][plugins.securitySolution] Incorrect license tier for paid policy fields
[2022-11-11T12:12:14.427+00:00][ERROR][plugins.fleet] Error: Requires Platinum license
at validatePolicyAgainstLicense (/usr/share/kibana/x-pack/plugins/security_solution/server/fleet_integration/handlers/validate_policy_against_license.js:20:26)
at /usr/share/kibana/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.js:90:71
at PackagePolicyService.runExternalCallbacks (/usr/share/kibana/x-pack/plugins/fleet/server/services/package_policy.js:724:30)
at updatePackagePolicyHandler (/usr/share/kibana/x-pack/plugins/fleet/server/routes/package_policy/handlers.js:244:52)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Router.handle (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/router.js:163:30)
at handler (/usr/share/kibana/node_modules/@kbn/core-http-router-server-internal/target_node/router.js:124:50)
at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)
at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)
at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:371:32)
at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:281:9)
Any additional context (logs, chat logs, magical formulas, etc.):
Error looks like a duplicate of #86073 but in reverse #86402 since I cannot disable it



