# Security\_exception: current license is non-compliant for \[searchable-snapshots\]

**URL:** <https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925>\
**Category:** Elasticsearch\
**Created:** [December 23, 2022, 2:49pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925 "2022-12-23T14:49:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frobeniusnorm](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@Frobeniusnorm](https://discuss.elastic.co/u/Frobeniusnorm)\
**Post date:** [December 23, 2022, 2:49pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925/1 "2022-12-23T14:49:23Z")

</div>

In my Index Management i get the warning:  
Index lifecycle error  
security\_exception: current license is non-compliant for [searchable-snapshots]  
But when i go to the policies, searchable snapshots are not activated.  
How do i solve this error?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 23, 2022, 3:04pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925/2 "2022-12-23T15:04:08Z")

</div>

> [@Frobeniusnorm](#):
>
> How do i solve this error?

What license are you using?

You can get it using the following request in Kibana Dev tools:

```auto
GET _license

```

There is no issue with what you shared:

> Index lifecycle error  
> security\_exception: current license is non-compliant for [searchable-snapshots]

This means that you current license does not support searchable-snapshots, so they won't be activated in policies as expected.

Searchable Snapshots requires an Enterprise license.

If you have an Enterprise license and it is not working, you should open a ticket with support.

---

<div class="post-metadata">

**Author:** ![Frobeniusnorm](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@Frobeniusnorm](https://discuss.elastic.co/u/Frobeniusnorm)\
**Post date:** [December 23, 2022, 3:07pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925/3 "2022-12-23T15:07:29Z")

</div>

basic, active license.  
But on the Side "Index Management" it says: "26 indices have lifecycle errors".  
When i click on the affected indices it gives me this license error.  
Is there a way to disable those searchable-snapshots globally?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 23, 2022, 3:16pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925/4 "2022-12-23T15:16:41Z")

</div>

> [@Frobeniusnorm](#):
>
> Is there a way to disable those searchable-snapshots globally?

I don't think so, you will need to edit every lifecycle policy that is using searchable snapshots and disable it.

Did you change your policies? This is not activated per default.

---

<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:** [January 20, 2023, 3:17pm UTC](https://discuss.elastic.co/t/security-exception-current-license-is-non-compliant-for-searchable-snapshots/321925/5 "2023-01-20T15:17:36Z")

</div>

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