Skip to content

[Security Solution] Cannot disable Malware protection with Basic License in ELK 8.4.3 #145053

@RainbowHerbicides

Description

@RainbowHerbicides

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:

  1. Have ELK instance version 7.x with Fleet and Endpoint Security set up and installed
  2. Set "Malware protection" to "enabled" and "Detect" options + save.
  3. Perform gradual update to major versions up to 8.4.3 for all ELK stack
  4. Try to edit integrated policy by setting "Malware protection" to "disabled" and save
  5. Fail

Current behavior:
Cannot disable Malware protection in integrated policy

Expected behavior:
Malware protection disabled and policy saved + applied

Screenshots (if relevant):

  1. Trying to edit this policy
    SCR-20221111-k2a

  2. Initial state is - Malware protection enabled
    SCR-20221111-k2x

  3. Setting state to - Malware protection disabled
    SCR-20221111-k3h

  4. Trying to save but receive this error
    SCR-20221111-k3r

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

Metadata

Metadata

Assignees

Labels

Team: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Defend Workflows“EDR Workflows” sub-team of Security SolutionbugFixes for quality problems that affect the customer experiencetriage_needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions