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

Fix IPV6 visualizations #5471

Merged
merged 30 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2488615
add ipv6 service
Tostti May 19, 2023
87b1b89
add test for service
Tostti May 19, 2023
4b3f253
Fix issue in agents-table
Tostti May 19, 2023
5d9abd4
fix issue in agents-info
Tostti May 19, 2023
c8af811
fix groups agents issue
Tostti May 19, 2023
0c9eed3
Fix width in groups agents
Tostti May 19, 2023
284de6a
use mapResponseItem
Tostti May 22, 2023
7395607
Add copy button to groups
Tostti May 22, 2023
84a12cf
Add copy button to info
Tostti May 22, 2023
c124839
fix for node list
Tostti May 22, 2023
9fa8501
Optimize code
Tostti May 22, 2023
7c55468
Fix styles
Tostti May 22, 2023
741d8f7
Edit changelog
Tostti May 22, 2023
2ae12d4
Edit changelog
Tostti May 22, 2023
9c781c9
Add imposter changes to test ipv6
Tostti May 22, 2023
c85dfad
Replace onMouseDown with onClick
Tostti May 22, 2023
3304863
Move copy buttons to the left
Tostti May 22, 2023
7ca7bbb
Merge branch '4.4' into 5464-fix-ipv6
Tostti May 22, 2023
65cd1de
fix: removed compressipv6 property of TableWzAPI
Desvelao May 26, 2023
9ff5433
feat: add tableLayout property to some tables and remove IPv6 address…
Desvelao May 26, 2023
2f0a20d
Merge branch '4.4' of https://github.com/wazuh/wazuh-kibana-app into …
Desvelao May 26, 2023
69f75e0
remove: remove unused service to IPv6 compression
Desvelao May 26, 2023
50cc973
revert: revert changes in TableWzAPI component
Desvelao May 26, 2023
5f94d96
add: add mocked responses to some syscollector endpoints
Desvelao May 26, 2023
8c688b2
remove: unwanted table columns properties
Desvelao May 26, 2023
ee10024
changelog: add pull request entry
Desvelao May 26, 2023
c499cb7
Merge branch '4.4' into 5464-fix-ipv6
AlexRuiz7 May 29, 2023
f767514
Fix imposter
yenienserrano Jun 2, 2023
30b0ab2
Merge branch '4.4' into 5464-fix-ipv6
Desvelao Jun 7, 2023
516fcad
Merge branch '4.4' into 5464-fix-ipv6
AlexRuiz7 Jun 14, 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the Wazuh app project will be documented in this file.

## Wazuh v4.4.5 - OpenSearch Dashboards 2.6.0 - Revision 00

### Fixed

- Fixed the rendering of tables that contains IPs and agent overview [#5471](https://github.com/wazuh/wazuh-kibana-app/pull/5471)

### Removed

- Removed the agent name in the agent info ribbon [#5497](https://github.com/wazuh/wazuh-kibana-app/pull/5497)
Expand Down
74 changes: 37 additions & 37 deletions docker/imposter/agents/agent.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"data": {
"affected_items": [
{
"os": {
"arch": "x86_64",
"codename": "stretch",
"major": "9",
"name": "Debian GNU/Linux",
"platform": "debian",
"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",
"configSum": "6f4293818ef64291ca53727fb9ab8958",
"mergedSum": "7976a83d1aebcca09bc14459b5518ed5",
"id": "001",
"registerIP": "any",
"dateAdd": "2022-08-25T16:25:53Z",
"disconnection_time": "2022-08-25T16:36:35Z",
"name": "Debian",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"group": [
"default",
"debian"
],
"lastKeepAlive": "2022-09-12T08:48:40Z",
"version": "Wazuh v4.3.7"
}
"data": {
"affected_items": [
{
"os": {
"arch": "x86_64",
"codename": "stretch",
"major": "9",
"name": "Debian GNU/Linux",
"platform": "debian",
"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": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"configSum": "6f4293818ef64291ca53727fb9ab8958",
"mergedSum": "7976a83d1aebcca09bc14459b5518ed5",
"id": "001",
"registerIP": "any",
"dateAdd": "2022-08-25T16:25:53Z",
"disconnection_time": "2022-08-25T16:36:35Z",
"name": "Debian",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"group": [
"default",
"debian"
],
"total_affected_items": 1,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
}
"lastKeepAlive": "2022-09-12T08:48:40Z",
"version": "Wazuh v4.3.7"
}
],
"total_affected_items": 1,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
}
229 changes: 118 additions & 111 deletions docker/imposter/agents/agents.json
Original file line number Diff line number Diff line change
@@ -1,114 +1,121 @@
{
"data": {
"affected_items": [
{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": [
"default",
"test",
"test2",
"test3",
"test4",
"test5",
"test6",
"test7",
"test8",
"test9",
"test10"
],
"ip": "127.0.0.1",
"id": "000",
"registerIP": "127.0.0.1",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "synced"
},{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": [
"default",
"test",
"test2",
"test3",
"test4",
"test5"
],
"ip": "127.0.0.1",
"id": "001",
"registerIP": "127.0.0.1",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "not synced"
},{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": ["default", "test", "test2"],
"ip": "127.0.0.1",
"id": "002",
"registerIP": "127.0.0.1",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "synced"
},{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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": "003",
"registerIP": "127.0.0.1",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "not synced"
}
"data": {
"affected_items": [
{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": [
"default",
"test",
"test2",
"test3",
"test4",
"test5",
"test6",
"test7",
"test8",
"test9",
"test10"
],
"total_affected_items": 4,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
"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": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "synced"
},
{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": [
"default",
"test",
"test2",
"test3",
"test4",
"test5"
],
"ip": "FE80:1234:2223:A000:2202:B3FF:FE1E:8329",
"id": "001",
"registerIP": "FE80:1234:2223:A000:2202:B3FF:FE1E:8329",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "not synced"
},
{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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"
},
"group": [
"default",
"test",
"test2"
],
"ip": "127.0.0.1",
"id": "002",
"registerIP": "127.0.0.1",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "synced"
},
{
"os": {
"arch": "x86_64",
"major": "2",
"name": "Amazon Linux",
"platform": "amzn",
"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": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"id": "003",
"registerIP": "FE80:0034:0223:A000:0002:B3FF:0000:8329",
"dateAdd": "2022-08-25T16:17:46Z",
"name": "wazuh-manager-master-0",
"status": "active",
"manager": "wazuh-manager-master-0",
"node_name": "master",
"lastKeepAlive": "9999-12-31T23:59:59Z",
"version": "Wazuh v4.4.0",
"group_config_status": "not synced"
}
],
"total_affected_items": 4,
"total_failed_items": 0,
"failed_items": []
},
"message": "All selected agents information was returned",
"error": 0
}
Loading