elastic / homebrew-tap

Homebrew tap for the Elastic Stack
Apache License 2.0
67 stars 47 forks source link

7.13 initial config is not sufficient for its own warnings on security #83

Open drnic opened 3 years ago

drnic commented 3 years ago

I uninstalled, deleted config folders, and reinstalled ES and I'm getting security warnings in my ruby/rails test suite:

warning: 299 Elasticsearch-7.13.0-5ca8591c6fcdb1260ce95b08a8e023559635c6f3 "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.13/security-minimal-setup.html to enable security."

Is this just me; or is there something that can be added to default config for any new 7.13 security requirements?

fdietz commented 3 years ago

I'm getting the same warning here too.

To remove the warning I've added xpack.security.enabled: false to my elasticsearch.yml file.

Since I'm not an elasticsearch expert , I can't really tell if it would be a good idea to add this as the default configuration, though.