Open Elastic Search servers

Description

Elasticsearch servers should not be made public to the Internet.

Open Policy Agent Rule

{
  "rego": "import data.helpers\n\nR_0015a {\n\thelpers.isElasticSearchDomain\n\thelpers.isPublic\n}\n\n\nR_0015b {\n\thelpers.hasDMAPDataSource(\"Elasticsearch\")\n\thelpers.isPublic\n}", 
  "managed": true,
  "name": "Open Elastic Search servers",
  "severity": "HIGH",
  "description": "Elasticsearch servers should not be made public to the Internet",
  "enabled": true,
  "id": "7467d14d-b2c7-fba8-4a45-eb291077a2fa",
  "refId": "R-0015"
}

What’s Next