How to build security plugin for kibana 7.10.0 from source


Please help me to build security plugin for kibana 7.10.0 from source. I see 7.9.1 support in but also I see 7.10.0 in the same file tagged for v1.12.0.0, so I trying to use it (with yarn build as described in

$ wget
$ tar -xf v7.10.0.tar.gz 
$ cd kibana-7.10.0/
$ wget -qO- | bash
$ . $HOME/.nvm/
$ nvm install $(cat .nvmrc)
$ nvm use
$ npm install -g yarn
$ cd plugins/
$ git clone --depth 1 --branch v1.12.0.0 opendistro_security
$ cd opendistro_security/
$ yarn kbn bootstrap
$ yarn build

Last command result:

yarn run v1.22.10
$ yarn plugin-helpers build
$ node ../../scripts/plugin_helpers build
 warn DEPRECATED: rename [buildSourcePatterns] to [serverSourcePatterns] in [/home/enp/ci/bigtop/kibana-7.10.0/plugins/opendistro_security/.kibana-plugin-helpers.json]
 info Loaded config file from [/home/enp/ci/bigtop/kibana-7.10.0/plugins/opendistro_security/.kibana-plugin-helpers.json]
? What version of Kibana are you building for? 

But I see kibana version here:

$ head -8 package.json 
  "name": "opendistro_security",
  "version": "",
  "main": "target/plugins/opendistro_security",
  "kibana": {
    "version": "7.10.0",
    "templateVersion": "1.0.0"

What’s wrong? Advice me please what can I do next?

Hi @enp since this issue is related to Security Kibana Plugin, could you open your issue in their forum section here:

Also, you can raise an issue with them directly in their GitHub Repo:

This build section is mainly about building the ODFE artifact, not individual plugins. Sorry about the inconvinience. Thanks.