- Security-advanced-modules and security-parent have been merged into security.
Open Distro for Elasticsearch Security Parent is the parent repo for the Open Distro for Elasticsearch security plugin repositories, including:
Please refer to the technical documentation for detailed information.
Make sure you are in the elasticsearch/linux_distributions folder. Here are the instructions for installing Java (OpenJDK 11) for Debian based distributions.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
To build the security plugin from source follow these instructions in this order:
- Download the
security-parent
source code:
git clone https://github.com/opendistro-for-elasticsearch/security-parent.git
- Install to the local repository folder named
.m2
:
cd security-parent
mvn clean install
cd ..
- Download the
security-ssl
source code:
(Note: This step is needed only for the security plug-in for Open Distro version 0.10.0 supporting Elasticsearch 6.8.1 and below.)
git clone https://github.com/opendistro-for-elasticsearch/security-ssl.git
- Install to the local repository folder named
.m2
:
cd security-ssl
mvn clean install
cd ..
- Download the
security
source code:
git clone https://github.com/opendistro-for-elasticsearch/security.git
- Install to the local repository folder named
.m2
:
cd security
mvn clean install
cd ..
- Download the
security-advanced-modules
source code:
git clone https://github.com/opendistro-for-elasticsearch/security-advanced-modules.git
- Install to the local repository folder named
.m2
:
cd security-advanced-modules
mvn clean install
cd ..
- Build the Elasticsearch plugin and install final artifacts:
cd security
mvn clean package -Padvanced
The above builds the final artifacts in zip format.
cd target/releases/
The artifacts can be found in the folder listed above.
- Detailed instructions on how to build the security-kibana plugin can be found here:
Install the plugin to your Elasticsearch cluster with the following commands:
cd elasticsearch/bin
./elasticsearch-plugin install file:///path/to/security/target/releases/opendistro_security-<version>.zip
This code is licensed under the Apache 2.0 License.
Open Distro For Elasticsearch Security Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.