Type to search.

Elasticsearch security disabled

ECH

Elastic Cloud Hosted lets you manage and configure one or more deployments of the versioned Elastic Stack, hosted on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

ECK

Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

ECE

Elastic Cloud Enterprise is a self-managed orchestration platform for deploying and managing the Elastic Stack at scale.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Elasticsearch security is turned off, so the cluster lacks authentication and role-based access control. Unprotected clusters are easier targets for unauthorized access.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity Medium
Scope Cluster
Domains security-safety

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

xpack.security.enabled is false. Authentication and role-based access control are not enabled on the cluster.

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

Enable X-Pack basic security

Condition: Always shown for this insight.

Set xpack.security.enabled: true in elasticsearch.yml, then restart the nodes.

When Elasticsearch security is off, clients can reach the cluster without authenticating, and there is no role-based access control for APIs and indices.

That leaves the cluster open to unauthorized reads, writes, and administrative actions if the network path is reachable. Security features (including Basic) provide authentication, authorization, and related controls on supported Elastic Stack versions.

Until security is enabled and users and roles are configured, any network client that can reach the cluster can use it without credentials.