Skip to content

Commit

Permalink
Add kbn-dev 7.17.13 and bump node version and dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanGarriuz committed Sep 19, 2023
1 parent 6d61c8d commit 711845b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.0
18.17.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Install the Wazuh app plugin for Kibana

```
cd /usr/share/kibana
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.5.3_7.16.0-1.zip
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.5.3_7.17.13-1.zip
```

Restart Kibana
Expand Down Expand Up @@ -198,7 +198,7 @@ Install the Wazuh app

```
cd /usr/share/kibana/
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.5.3_7.16.0-1.zip
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.5.3_7.17.13-1.zip
```

Update configuration file permissions.
Expand Down
17 changes: 17 additions & 0 deletions docker/images/kbn-7.17.13-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:18.17.1 AS builder-kbn-7.17.13
RUN npm install --global @bazel/[email protected]
USER node
RUN git clone --depth 1 --branch v7.17.13 https://github.com/elastic/kibana /home/node/kbn
RUN chown node.node /home/node/kbn

WORKDIR /home/node/kbn
RUN yarn kbn bootstrap
RUN yarn config set registry http://host.docker.internal:4873 && \
sed -i 's/https:\/\/registry.yarnpkg.com/http:\/\/host.docker.internal:4873/g' yarn.lock
RUN rm -rf /home/node/.cache/yarn && rm -rf /home/node/.cache/Cypress && rm -rf /home/node/.cache/ms-playwright
RUN mkdir -p /home/node/kbn/data/wazuh/config

FROM node:18.17.1
USER node
COPY --from=builder-kbn-7.17.13 /home/node/ /home/node/
WORKDIR /home/node/kbn
1 change: 1 addition & 0 deletions docker/kbn-dev/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ elastic_versions=(
'7.17.10'
'7.17.11'
'7.17.12'
'7.17.13'
'8.0.0'
'8.1.0'
'8.2.1'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "4.5.3",
"revision": "01",
"pluginPlatform": {
"version": "7.16.0"
"version": "7.17.13"
},
"description": "Wazuh app",
"keywords": [
Expand Down Expand Up @@ -83,7 +83,7 @@
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-async-await": "^0.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-filenames-simple": "^0.7.0",
"eslint-plugin-filenames-simple": "^0.8.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
Expand Down

0 comments on commit 711845b

Please sign in to comment.