If Internet access is not enabled for the Elasticsearch cluster, the evaluation result is Compliant. If Internet access is enabled for the Elasticsearch cluster but 0.0.0.0/0 is not contained in any whitelist of the cluster, the evaluation result is Complaint.

Scenarios

If 0.0.0.0/0 is added to a whitelist of an Elasticsearch cluster, the cluster allows access from all IP addresses. This exposes the cluster to high security risks. We recommend that you do not use this configuration.

Risk level

Default risk level: high.

When you apply this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If Internet access is not enabled for the Elasticsearch cluster, the evaluation result is Compliant. If Internet access is enabled for the Elasticsearch cluster but 0.0.0.0/0 is not contained in any whitelist of the cluster, the evaluation result is Complaint.
  • If Internet access is enabled for the Elasticsearch cluster and 0.0.0.0/0 is contained in a whitelist of the cluster, the evaluation result is Incomplaint. For more information about how to remediate an incompliant configuration, see the "Incompliance remediation" section of this topic.

Rule details

ItemDescription
Rule nameelasticsearch-public-and-any-ip-access-check
Rule identifierelasticsearch-public-and-any-ip-access-check
TagElasticsearch and Public
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyInterval of 24 hours
Supported resource typeElasticsearch cluster
Input parameterNone

Incompliance remediation

Disable Internet access for the Elasticsearch cluster or delete 0.0.0.0/0 from the whitelists of the cluster. For more information, see Configure a private connection for an Elasticsearch cluster.