# How can I turn off the security warning popup in kibana Discover UI

**URL:** <https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560>\
**Category:** Kibana\
**Created:** [November 18, 2021, 9:33am UTC](https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560 "2021-11-18T09:33:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wabrit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wabrit/32/97259_2.png) [@wabrit](https://discuss.elastic.co/u/wabrit)\
**Post date:** [November 18, 2021, 9:33am UTC](https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560/1 "2021-11-18T09:33:10Z")

</div>

I'm running es/kibana 7.15.1 with security disabled in es, but the kibana discovery screen is unusable because of the constant appearance of these popups:

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b10c97c8260868ff029d3d717c9bf69f49e02fa0.png)

Is there any way to turn them off?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [November 19, 2021, 5:37pm UTC](https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560/2 "2021-11-19T17:37:12Z")

</div>

You can disable the warning message by explicitly turning off security, i.e. add the following in `elasticsearch.yml` :

```auto
xpack.security.enabled: false

```

However, we'd strongly recommend you to **enable** security since it gives you better protection and your data could be at risk without it. But in the meantime, you can choose to opt out explicitly. If you choose to add security, you can follow our [step-by-step guide](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-minimal-setup.html).

---

<div class="post-metadata">

**Author:** ![wabrit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wabrit/32/97259_2.png) [@wabrit](https://discuss.elastic.co/u/wabrit)\
**Post date:** [November 22, 2021, 11:44am UTC](https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560/3 "2021-11-22T11:44:14Z")

</div>

Hi @majagrubic - thanks for your reply!

P.S. I understand its a good idea to turn on security, but this is on a firewalled test environment so it would be overkill here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 20, 2021, 11:44am UTC](https://discuss.elastic.co/t/how-can-i-turn-off-the-security-warning-popup-in-kibana-discover-ui/289560/4 "2021-12-20T11:44:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
