Skip to content

[BUG] Attempt to disable an active rule under a threat detector causes an error #1553

@tomyerex

Description

@tomyerex

What is the bug?

Attempt to disable an active rule under a threat detector causes an error: "[alerting_exception] kotlin.collections.EmptyMap cannot be cast to kotlin.collections.MutableMap"

How can one reproduce the bug?

Under "Threat detectors", "Active rules", an attempt to "Edit" and disable "Suspicious DNS Z Flag Bit Set", and "Save changes" causes an error "Failed to update detector:" -> "[alerting_exception] kotlin.collections.EmptyMap cannot be cast to kotlin.collections.MutableMap"

What is the expected behavior?

The active rule should be updated as disabled.

What is your host/environment?

Red Hat Enterprise Linux release 8.10 (Ootpa)
Opensearch 3.0.0 (dc4efa821904cc2d7ea7ef61c0f577d3fc0d8be9)
Opensearch Dashboards 3.0.0

Do you have any screenshots?

Image
Image

Do you have any additional context?

Add any other context about the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions