From 3048fce00205be7bd8b5f3c69ca199d0aa35a7f5 Mon Sep 17 00:00:00 2001 From: Federico Rodriguez Date: Tue, 17 Dec 2024 19:48:40 +0100 Subject: [PATCH 1/2] Add full width to document detail fields --- .../main/public/components/common/doc-viewer/doc-viewer.tsx | 6 +++++- .../lib/generate-alerts/sample-data/authentication.js | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/main/public/components/common/doc-viewer/doc-viewer.tsx b/plugins/main/public/components/common/doc-viewer/doc-viewer.tsx index 9ebc58e339..4d8e6af80b 100644 --- a/plugins/main/public/components/common/doc-viewer/doc-viewer.tsx +++ b/plugins/main/public/components/common/doc-viewer/doc-viewer.tsx @@ -229,7 +229,11 @@ const DocViewer = (props: tDocViewerProps) => { */ // eslint-disable-next-line react/no-danger dangerouslySetInnerHTML={{ __html: value as string }} - style={{ overflowY: 'auto', wordBreak: 'break-all' }} + style={{ + overflowY: 'auto', + wordBreak: 'break-all', + width: '100%', + }} /> )} diff --git a/plugins/main/server/lib/generate-alerts/sample-data/authentication.js b/plugins/main/server/lib/generate-alerts/sample-data/authentication.js index 2e8aea2958..dad17c275b 100644 --- a/plugins/main/server/lib/generate-alerts/sample-data/authentication.js +++ b/plugins/main/server/lib/generate-alerts/sample-data/authentication.js @@ -104,7 +104,8 @@ module.exports.windowsInvalidLoginPassword = { channel: 'Security', keywords: '0x8010000000000000', level: '0', - message: '', + message: + '"Network connection detected:\r\nRuleName: technique_id=T1218,technique_name=Signed Binary Proxy Execution\r\nUtcTime: 2024-12-17 18:19:07.118\r\nProcessGuid: {1d283861-07bb-6753-7500-000000001102}\r\nProcessId: 3800\r\nImage: C:\\Windows\\System32\\svchost.exe\r\nUser: NT AUTHORITY\\NETWORK SERVICE\r\nProtocol: tcp\r\nInitiated: false\r\nSourceIsIpv6: false\r\nSourceIp: 45.131.195.204\r\nSourceHostname: -\r\nSourcePort: 49057\r\nSourcePortName: -\r\nDestinationIsIpv6: false\r\nDestinationIp: 10.0.1.38\r\nDestinationHostname: us-west-1.compute.internal\r\nDestinationPort: 3389\r\nDestinationPortName: ms-server"', opcode: '0', providerGuid: '{54849625-5478-4994-a5ba-3e3b0328c30d}', providerName: 'Microsoft-Windows-Security-Auditing', From 783cb374f982406e0af39f97c1f929aa24bfe800 Mon Sep 17 00:00:00 2001 From: Federico Rodriguez Date: Tue, 17 Dec 2024 19:54:57 +0100 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac9c915c00..4b2df12323 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ All notable changes to the Wazuh app project will be documented in this file. ### Fixed - Fixed adding the same filter twice doesn't show it in the search bar [#7185](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7185) -- Fixed rendering of rows in CDB list table when it starts with quotes. [#7171](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7171) +- Fixed rendering of rows in CDB list table when it starts with quotes [#7171](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7171) +- Fixed width of long fields in the document detail flyout [#7206](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7206) ## Wazuh v4.10.1 - OpenSearch Dashboards 2.16.0 - Revision 00