Skip to content

Change action.destructive_requires_name to true by default to avoid data deleted by accident #61074

@Leaf-Lin

Description

@Leaf-Lin

Forking from the ask in #30878, which contains two separated issue.
Changing the default action.destructive_requires_name to true seems a legitimate request and could save a few disastrous situations.

If I read the following line correctly, it still defaults to false in 7.8.1?
https://github.com/elastic/elasticsearch/blob/v7.8.1/server/src/main/java/org/elasticsearch/action/support/DestructiveOperations.java#L36

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions