Skip to content

Commit

Permalink
Support for Elasticsearch 6.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vulnbe authored and NihalHarish committed Apr 4, 2019
1 parent 88f7dd3 commit 2696242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ export default function (kibana) {
}
});

if (xpackInstalled && config.get('xpack.opendistro_security.enabled') !== false) {
if (xpackInstalled && config.get('xpack.security.enabled') !== false) {
// It seems like X-Pack is installed and enabled, so we show an error message and then exit.
this.status.red("X-Pack Security needs to be disabled for Security to work properly. Please set 'xpack.opendistro_security.enabled' to false in your kibana.yml");
this.status.red("X-Pack Security needs to be disabled for Security to work properly. Please set 'xpack.security.enabled' to false in your kibana.yml");
return false;
}
} catch (error) {
Expand Down

0 comments on commit 2696242

Please sign in to comment.