# Xpack security(formerly SHIELD) module source code

**URL:** <https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114>\
**Category:** Elasticsearch\
**Created:** [May 31, 2018, 11:01pm UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114 "2018-05-31T23:01:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sachinjose](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sachinjose/32/58679_2.png) [@sachinjose](https://discuss.elastic.co/u/sachinjose)\
**Post date:** [May 31, 2018, 11:01pm UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/1 "2018-05-31T23:01:02Z")

</div>

Looks like elastic open sourced xpack last month through [this announcement](https://www.elastic.co/products/x-pack/open), I search for xpack - security(SHIELD) in the [elastic public github repo](https://github.com/elastic), however I couldn't find the sourcecode.

Can someone help me to find Xpack security module( formerly SHIELD) source code, if it's available in some public repository ?

Thanks,  
Sachin

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 31, 2018, 11:22pm UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/2 "2018-05-31T23:22:39Z")

</div>

2.X (which is where Shield falls) reached EOL earlier this year.  
That's not to say we aren't going to open the code - and I have asked internally to follow that up - but you should definitely consider upgrading 🙂

> [@sachinjose](#):
>
> Looks like elastic open sourced xpack last month

Not open source, open code.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 1, 2018, 12:59am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/3 "2018-06-01T00:59:38Z")

</div>

The opening of X-Pack applies to code for version 6.3 and beyond of the Elastic Stack.

We won't be releasing older versions.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [June 1, 2018, 1:09am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/4 "2018-06-01T01:09:41Z")

</div>

> [@sachinjose](#):
>
> Can someone help me to find Xpack security module( formerly SHIELD)

As @warkolm has said, "Shield" refers to a product for 2.x of Elasticsearch (and equivalent Kibana versions)

If you're looking for the current versions of X-Pack security, they're in the same repositories as the product they integrate with.  
For Elasticsearch, you can look here:

- [https://github.com/elastic/elasticsearch/tree/master/x-pack/plugin/](https://github.com/elastic/elasticsearch/tree/master/x-pack/plugin/)

There's also X-Pack security code in the Kibana repository.

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [June 1, 2018, 1:16am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/5 "2018-06-01T01:16:38Z")

</div>

Along with the rest of the X-Pack features, the code for X-Pack is made available starting with 6.3 under the Elastic License, the full text of which is available along-side the code in the file `licenses/ELASTIC-LICENSE.txt` of the appropriate branch.

The code for the X-Pack security module lives in the `x-pack` folder of the Elasticsearch code-base:

- [`master` branch](https://github.com/elastic/elasticsearch/tree/master/x-pack/plugin/security), which targets the next major; OR
- [`6.x` branch](https://github.com/elastic/elasticsearch/tree/6.x/x-pack/plugin/security), which tracks the next minor within the 6.x series; OR
- [`6.3` branch](https://github.com/elastic/elasticsearch/tree/6.3/x-pack/plugin/security), which tracks the pending 6.3 release and future patches within the 6.3.x series.

---

<div class="post-metadata">

**Author:** ![sachinjose](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sachinjose/32/58679_2.png) [@sachinjose](https://discuss.elastic.co/u/sachinjose)\
**Post date:** [June 2, 2018, 12:20am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/6 "2018-06-02T00:20:53Z")

</div>

Thank you @yaauie

---

<div class="post-metadata">

**Author:** ![sachinjose](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sachinjose/32/58679_2.png) [@sachinjose](https://discuss.elastic.co/u/sachinjose)\
**Post date:** [June 2, 2018, 12:21am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/7 "2018-06-02T00:21:11Z")

</div>

Thank you @TimV

---

<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:** [June 30, 2018, 12:21am UTC](https://discuss.elastic.co/t/xpack-security-formerly-shield-module-source-code/134114/8 "2018-06-30T00:21:15Z")

</div>

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