Skip to content

[BUG] Visual ISM policy editor does not support stop_replication action #1437

Description

@wzyns

What is the bug?
The ISM visual policy editor does not support the documented stop_replication action.

Image

The action is missing from the action type dropdown. Also, policies containing { "stop_replication": {} } can fail to load in the visual editor because the action repository does not recognize the action type.

How can one reproduce the bug?

  1. Create or edit an ISM policy using the JSON editor.
  2. Add an action:
    { "stop_replication": {} }
  3. Save the policy.
  4. Open the same policy in the visual editor.
  5. The visual editor cannot load the policy, or the action is unavailable in the action dropdown.

What is the expected behavior?
The visual editor should support stop_replication as a no-configuration ISM action and preserve the payload as:

{ "stop_replication": {} }

What is your host/environment?

  • OpenSearch Dashboards: main / 3.x
  • Plugin: index-management-dashboards-plugin main
  • OpenSearch: 3.x

Do you have any additional context?
OpenSearch ISM documentation lists stop_replication as a supported action:
https://docs.opensearch.org/latest/im-plugin/ism/policies/#stop_replication

Related forum thread:
https://forum.opensearch.org/t/policy-action-to-stop-replication/24675

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions