Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 4.5.1-7.10 into 4.6.0-7.10 #5696

Merged
merged 20 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
cdafcde
[Backport 4.4-7.10] Fix IPV6 visualizations (#5560)
Desvelao Jun 14, 2023
f0ac388
[Backport 4.4-7.10] Change windows agent service name (#5563)
jbiset Jun 15, 2023
c85b823
[Backport 4.4-7.10] Remove agent name in agent info ribbon (#5558)
Desvelao Jun 15, 2023
470e7d0
Bump v4.4.4-7.10.2-rc2
yenienserrano Jun 8, 2023
a4ee3d0
[Backport 4.4-7.10] Add Apple Silicon architecture to the register Ag…
github-actions[bot] Jun 19, 2023
fa1f193
[Backport 4.4-7.10] Add missing supported versions to the Docker envi…
github-actions[bot] Jun 20, 2023
691cec6
Merge remote-tracking branch 'origin/4.5.0-7.10' into 4.5.1-7.10
asteriscos Jun 26, 2023
7493a17
Bump 4.5.1
asteriscos Jun 26, 2023
f4fbeae
[Backport 4.5.1-7.10] Change the method to make the redirect (#5595)
github-actions[bot] Jun 27, 2023
e3200a6
[Backport 4.5.1-7.10] Update test snapshots for 4.5 (#5605)
AlexRuiz7 Jun 27, 2023
13143c8
[Backport 4.5.1-7.10] Fix agents active coverage stat as NaN (#5598)
Desvelao Jun 28, 2023
e24499d
[Backport 4.5.1-7.10] Add kbn-dev 7.17.11 (#5635)
github-actions[bot] Jul 5, 2023
6c2d91e
Merge 4.5.0-7.10 into 4.5.1-7.10 (#5694)
Machi3mfl Jul 18, 2023
04eb3d9
Merge remote-tracking branch 'origin/4.5.1-7.10' into merge-4.5.1-7.1…
Machi3mfl Jul 18, 2023
a4b8d1d
Added break line in CHANGELOG
Machi3mfl Jul 18, 2023
f7278d4
fix: fix conflicts
Desvelao Jul 20, 2023
67fc2f4
fix: fix conflicts
Desvelao Jul 20, 2023
2ae3512
Merge branch '4.6.0-7.10' into merge-4.5.1-7.10-into-4.6.0-7.10
Desvelao Jul 20, 2023
c8d8640
changelog: remove entry
Desvelao Jul 20, 2023
2b1f11f
Merge branch 'merge-4.5.1-7.10-into-4.6.0-7.10' of https://github.com…
Desvelao Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ on:
options:
- 'yarn test:jest'
pull_request:
branches:
- 'master'
- '[345].[0-9]+' # Minor branches
- '[345].[0-9]+.[0-9]+' # Patch branches
- '[345].[0-9]+.[0-9]+-7.[0-9]+' # Minor branches - Kibana

jobs:
# Run unit tests with Jest
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ typings/
target/
build/

yarn.lock

cypress/node_modules/
cypress/.idea/
cypress/cypress.env.json
Expand All @@ -84,4 +82,4 @@ cypress/cookies.json
public/assets/custom/*

# Mac files
.DS_Store
.DS_Store
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,38 @@ All notable changes to the Wazuh app project will be documented in this file.
- Removed obsolete code that caused duplicate requests to the api in `Management`. [#5485](https://github.com/wazuh/wazuh-kibana-app/pull/5485)
- Removed unused embedded jquery-ui [#5592](https://github.com/wazuh/wazuh-kibana-app/pull/5592)

## Wazuh v4.5.1 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 01

### Added

- Add Apple Silicon architecture button to the register Agent wizard [#5478](https://github.com/wazuh/wazuh-kibana-app/pull/5478)

### Fixed

- Fixed the rendering of tables that contains IPs and agent overview [#5471](https://github.com/wazuh/wazuh-kibana-app/pull/5471)
- Fixed the agents active coverage stat as NaN in Details panel of Agents section [#5490](https://github.com/wazuh/wazuh-kibana-app/pull/5490)

### Removed

- Removed the agent name in the agent info ribbon [#5497](https://github.com/wazuh/wazuh-kibana-app/pull/5497)

### Changed

- Changed method to perform redirection on agent table buttons [#5539](https://github.com/wazuh/wazuh-kibana-app/pull/5539)
- Changed windows agent service name in the deploy agent wizard [#5538](https://github.com/wazuh/wazuh-kibana-app/pull/5538)

## Wazuh v4.5.0 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 01

### Added

- Support for Wazuh 4.5.0

## Wazuh v4.4.5 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 02

### Added

- Support for Wazuh 4.4.5

## Wazuh v4.4.4 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 01

### Added
Expand Down Expand Up @@ -106,8 +132,8 @@ All notable changes to the Wazuh app project will be documented in this file.
- Added the option to sort by the agent's count in the group table. [#4323](https://github.com/wazuh/wazuh-kibana-app/pull/4323)
- Added agent synchronization status in the agent module. [#3874](https://github.com/wazuh/wazuh-kibana-app/pull/3874) [#5143](https://github.com/wazuh/wazuh-kibana-app/pull/5143) [#5177](https://github.com/wazuh/wazuh-kibana-app/pull/5177)
- Added the ability to set the agent name in the installation command. [#4739](https://github.com/wazuh/wazuh-kibana-app/pull/4739)
- Added validation to the plugin's settings [#4503](https://github.com/wazuh/wazuh-kibana-app/pull/4503)[#4785](https://github.com/wazuh/wazuh-kibana-app/pull/4785)
- Added new settings to customize the header and footer on the PDF reports [#4505](https://github.com/wazuh/wazuh-kibana-app/pull/4505)[#4798](https://github.com/wazuh/wazuh-kibana-app/pull/4798)[#4805](https://github.com/wazuh/wazuh-kibana-app/pull/4805)
- Added validation to the plugin's settings [#4503](https://github.com/wazuh/wazuh-kibana-app/pull/4503) [#4785](https://github.com/wazuh/wazuh-kibana-app/pull/4785)
- Added new settings to customize the header and footer on the PDF reports [#4505](https://github.com/wazuh/wazuh-kibana-app/pull/4505) [#4798](https://github.com/wazuh/wazuh-kibana-app/pull/4798) [#4805](https://github.com/wazuh/wazuh-kibana-app/pull/4805)
- Added a new setting to enable or disable the customization [#4507](https://github.com/wazuh/wazuh-kibana-app/pull/4507)
- Added the ability to upload an image for the `customization.logo.*` settings in `Settings/Configuration` [#4504](https://github.com/wazuh/wazuh-kibana-app/pull/4504)
- Added macOS support to the 'Deploy new agent' section [#4867](https://github.com/wazuh/wazuh-kibana-app/pull/4867)
Expand Down
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
- [Wazuh UI](#wazuh-ui)
- [Contribute](#contribute)
- [License](#license)
- [Copyright](#copyright)
- [Copyright](#copyright)

<!--
<!--
[![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://wazuh.com/community/join-us-on-slack/)
[![Email](https://img.shields.io/badge/email-join-blue.svg)](https://groups.google.com/forum/#!forum/wazuh)
[![Documentation](https://img.shields.io/badge/docs-view-green.svg)](https://documentation.wazuh.com)
Expand All @@ -32,10 +32,10 @@

## Welcome

This repository contains a set of plugins for [Wazuh dashboard][dashboard].
This repository contains a set of plugins for [Kibana][dashboard].

Wazuh is a security detection, visibility, and compliance open source project. Wazuh helps
you to gain deeper security visibility into your infrastructure by monitoring hosts at an
Wazuh is a security detection, visibility, and compliance open source project. Wazuh helps
you to gain deeper security visibility into your infrastructure by monitoring hosts at an
operating system and application level.

You can learn more about it at [wazuh.com][web]
Expand All @@ -49,10 +49,10 @@ You can learn more about it at [wazuh.com][web]
- [Contributing](CONTRIBUTING.md)
- [Styleguide](STYLEGUIDE.md)
- [Security](SECURITY.md)
<!-- - [Contributing](CONTRIBUTING.md) -->
<!-- - [Maintainer Responsibilities](MAINTAINERS.md) -->
<!-- - [Release Management](RELEASING.md) -->
<!-- - [Testing](TESTING.md) -->
<!-- - [Contributing](CONTRIBUTING.md) -->
<!-- - [Maintainer Responsibilities](MAINTAINERS.md) -->
<!-- - [Release Management](RELEASING.md) -->
<!-- - [Testing](TESTING.md) -->

## Wazuh UI

Expand Down Expand Up @@ -100,27 +100,26 @@ You can learn more about it at [wazuh.com][web]

## Contribute

If you want to contribute to our project please don't hesitate to send a pull request.
Take a look at the [branches and tags][branches] page in our Wiki, and also to our
If you want to contribute to our project please don't hesitate to send a pull request.
Take a look at the [branches and tags][branches] page in our Wiki, and also to our
[contributing](CONTRIBUTING.md) guidelines.

## License

This project is licensed under the [GNU General Public License v2.0](LICENSE).

This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; either
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

## Copyright

- Copyright &copy; Wazuh, Inc.


[dashboard]: https://github.com/wazuh/wazuh-dashboard
[dashboard]: https://github.com/elastic/kibana
[web]: https://wazuh.com
[docs]: https://documentation.wazuh.com
[install]: https://documentation.wazuh.com/current/installation-guide/index.html
[slack]: https://join.slack.com/t/wazuh/shared_invite/zt-1lgu531ur-7M_k_ZQbpdo4QCn_pHee3w
[branches]: https://github.com/wazuh/wazuh-kibana-app/wiki/About-our-branches-and-tags
[wiki]: https://github.com/wazuh/wazuh-kibana-app/wiki
[wiki]: https://github.com/wazuh/wazuh-kibana-app/wiki
17 changes: 17 additions & 0 deletions docker/images/kbn-7.17.11-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:16.20.1 AS builder-kbn-7.17.11
RUN npm install --global @bazel/[email protected]
USER node
RUN git clone --depth 1 --branch v7.17.11 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:16.20.1
USER node
COPY --from=builder-kbn-7.17.11 /home/node/ /home/node/
WORKDIR /home/node/kbn
4 changes: 2 additions & 2 deletions docker/imposter/agents/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"uname": "Linux |ip-10-0-1-106 |4.9.0-9-amd64 |#1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) |x86_64",
"version": "9"
},
"ip": "10.0.1.106",
"ip": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"configSum": "6f4293818ef64291ca53727fb9ab8958",
"mergedSum": "7976a83d1aebcca09bc14459b5518ed5",
"id": "001",
Expand All @@ -24,7 +24,7 @@
"node_name": "master",
"group": ["default", "debian"],
"lastKeepAlive": "2022-09-12T08:48:40Z",
"version": "Wazuh v4.5.0"
"version": "Wazuh v4.6.0"
}
],
"total_affected_items": 1,
Expand Down
16 changes: 9 additions & 7 deletions docker/imposter/agents/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
"uname": "Linux |wazuh-manager-master-0 |4.14.114-105.126.amzn2.x86_64 |#1 SMP Tue May 7 02:26:40 UTC 2019 |x86_64",
"version": "2"
},
"ip": "127.0.0.1",
"id": "001",
"group": [
"default",
"test",
Expand All @@ -21,16 +19,20 @@
"test5",
"test6",
"test7",
"test8"
"test8",
"test9",
"test10"
],
"registerIP": "127.0.0.1",
"ip": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"id": "000",
"registerIP": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "Debian agent",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.5.0",
"version": "Wazuh v4.6.0",
"group_config_status": "not synced"
},
{
Expand All @@ -52,7 +54,7 @@
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.5.0",
"version": "Wazuh v4.6.0",
"group_config_status": "synced"
},
{
Expand Down
95 changes: 95 additions & 0 deletions docker/imposter/agents/group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"data": {
"affected_items": [
{
"os": {
"arch": "x86_64",
"codename": "Focal Fossa",
"major": 20,
"minor": 4,
"name": "Ubuntu",
"platform": "ubuntu",
"uname": "Linux |b2497efbf876 |5.8.0-45-generic |#51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021 |x86_64",
"version": "20.04.2 LTS"
},
"mergedSum": "2c769b2ea138d472ee8f1ba23412b5d4",
"node_name": "worker1",
"ip": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"id": 4,
"manager": "wazuh-worker1",
"group": [
"default",
"group1"
],
"name": "b2497efbf876",
"configSum": "052374472f3a0d5c8508241dcc455ea7",
"status": "active",
"dateAdd": "2021-05-27T09:14:19Z",
"registerIP": "any",
"lastKeepAlive": "2021-05-27T09:23:59Z",
"version": "Wazuh v4.3.0"
},
{
"os": {
"arch": "x86_64",
"codename": "Focal Fossa",
"major": 20,
"minor": 4,
"name": "Ubuntu",
"platform": "ubuntu",
"uname": "Linux |600e27371700 |5.8.0-45-generic |#51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021 |x86_64",
"version": "20.04.2 LTS"
},
"mergedSum": "9a016508cea1e997ab8569f5cfab30f5",
"node_name": "worker1",
"ip": "FE80:1234:2223:A000:2202:B3FF:FE1E:8329",
"id": 5,
"manager": "wazuh-worker1",
"group": [
"default",
"group2"
],
"name": "Infinity",
"configSum": "ab73af41699f13fdd81903b5f23d8d00",
"status": "active",
"dateAdd": "2021-05-27T09:14:19Z",
"registerIP": "any",
"lastKeepAlive": "2021-05-27T09:23:52Z",
"version": "Wazuh v4.3.0"
},
{
"os": {
"arch": "x86_64",
"codename": "Focal Fossa",
"major": 20,
"minor": 4,
"name": "Ubuntu",
"platform": "ubuntu",
"uname": "Linux |4bdac19ce5e3 |5.8.0-45-generic |#51~20.04.1-Ubuntu SMP Tue Feb 23 13:46:31 UTC 2021 |x86_64",
"version": "20.04.2 LTS"
},
"mergedSum": "9a016508cea1e997ab8569f5cfab30f5",
"node_name": "worker2",
"ip": "172.20.0.10",
"id": 6,
"manager": "wazuh-worker2",
"group": [
"default",
"group3"
],
"name": "4bdac19ce5e3",
"configSum": "ab73af41699f13fdd81903b5f23d8d00",
"status": "active",
"dateAdd": "2021-05-27T09:14:19Z",
"registerIP": "any",
"lastKeepAlive": "2021-05-27T09:23:52Z",
"version": "Wazuh v4.3.0"
}
],
"total_affected_items": 3,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
}
29 changes: 29 additions & 0 deletions docker/imposter/syscollector/netaddr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
var data = {
data: {
affected_items: [
{
address: '172.26.0.7',
iface: 'eth0',
netmask: '255.255.0.0',
broadcast: '172.26.255.255',
proto: 'ipv4',
agent_id: 1,
},
{
address: 'FE80:0034:0223:A000:0002:B3FF:0000:8329',
iface: 'eth0',
netmask: 'FE80:0034:0223:A000:0002:B3FF:0000:8329',
broadcast: 'FE80:0034:0223:A000:0002:B3FF:0000:8329',
proto: 'ipv6',
agent_id: 1,
},
],
total_affected_items: 1,
total_failed_items: 0,
failed_items: [],
},
message: 'All specified syscollector information was returned',
error: 0,
};

respond().withStatusCode(200).withData(JSON.stringify(data));
Loading