How to build security plugin for kibana 7.10.0 from source

Hi,

Please help me to build security plugin for kibana 7.10.0 from source. I see 7.9.1 support in https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/blob/main/package.json 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 https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/pull/627):

$ wget https://github.com/elastic/kibana/archive/v7.10.0.tar.gz
$ tar -xf v7.10.0.tar.gz 
$ cd kibana-7.10.0/
$ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
$ . $HOME/.nvm/nvm.sh
$ nvm install $(cat .nvmrc)
$ nvm use
$ npm install -g yarn
$ cd plugins/
$ git clone --depth 1 --branch v1.12.0.0 https://github.com/opendistro-for-elasticsearch/security-kibana-plugin.git 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": "1.12.0.0",
  "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: https://discuss.opendistrocommunity.dev/c/security/3

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.