Skip to content

Commit a2a4c9b

Browse files
authored
Merge branch '4.4-2.3-wzd' into feature/create-centralized-request-service
2 parents f1c5458 + e52498f commit a2a4c9b

File tree

11 files changed

+1330
-191
lines changed

11 files changed

+1330
-191
lines changed

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,26 @@ All notable changes to the Wazuh app project will be documented in this file.
88

99
- Added the option to sort by the agents count in the group table. [#4323](https://github.com/wazuh/wazuh-kibana-app/pull/4323)
1010
- Added agent synchronization status in the agent module. [#3874](https://github.com/wazuh/wazuh-kibana-app/pull/3874)
11+
- The input name was added and when the user adds a value the variable WAZUH_AGENT_NAME with its value appears in the installation command. [#4739](https://github.com/wazuh/wazuh-kibana-app/pull/4739)
1112
- Redesign the SCA table from agent's dashboard [#4512](https://github.com/wazuh/wazuh-kibana-app/pull/4512)
1213
- Enhanced the plugin setting description displayed in the UI and the configuration file. [#4501](https://github.com/wazuh/wazuh-kibana-app/pull/4501)
1314
- Added validation to the plugin settings in the form of `Settings/Configuration` and the endpoint to update the plugin configuration [#4503](https://github.com/wazuh/wazuh-kibana-app/pull/4503)[#4785](https://github.com/wazuh/wazuh-kibana-app/pull/4785)
14-
- Added new plugin settings to customize the header and footer on the PDF reports [#4505](https://github.com/wazuh/wazuh-kibana-app/pull/4505)
15+
- Added new plugin 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)
1516
- Add a new plugin setting to enable or disable the customization [#4507](https://github.com/wazuh/wazuh-kibana-app/pull/4507)
1617
- Added a centralized service to handle the requestrs [#4758](https://github.com/wazuh/wazuh-kibana-app/pull/4758)
1718

1819
### Changed
1920

2021
- Changed the HTTP verb from `GET` to `POST` in the requests to login to the Wazuh API [#4103](https://github.com/wazuh/wazuh-kibana-app/pull/4103)
22+
- Improve alerts summary performance [#4376](https://github.com/wazuh/wazuh-kibana-app/pull/4376)
23+
- Endpoint `/agents/summary/status` response was adapted. [#3874](https://github.com/wazuh/wazuh-kibana-app/pull/3874)
24+
- Updated and added operating systems, versions, architectures commands of Install and enroll the agent and
25+
commands of Start the agent in the deploy new agent section [#4458](https://github.com/wazuh/wazuh-kibana-app/pull/4458)
26+
- Makes Agents Overview loading icons independent [#4363](https://github.com/wazuh/wazuh-kibana-app/pull/4363)
27+
28+
### Fixed
29+
30+
- Improves Agents Overview performance [#4363](https://github.com/wazuh/wazuh-kibana-app/pull/4363)
2131
- Improved alerts summary performance [#4376](https://github.com/wazuh/wazuh-kibana-app/pull/4376)
2232
- The endpoint `/agents/summary/status` response was adapted. [#3874](https://github.com/wazuh/wazuh-kibana-app/pull/3874)
2333
- Changed loading icons of the Agents Overview section to work independently [#4363](https://github.com/wazuh/wazuh-kibana-app/pull/4363)

common/constants.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ export const PLUGIN_SETTINGS: { [key: string]: TPluginSetting } = {
11161116
defaultValueIfNotSet: REPORTS_PAGE_FOOTER_TEXT,
11171117
isConfigurableFromFile: true,
11181118
isConfigurableFromUI: true,
1119-
options: { maxRows: 2, maxLength: 30 },
1119+
options: { maxRows: 2, maxLength: 50 },
11201120
validate: function (value) {
11211121
return SettingsValidator.multipleLinesString({
11221122
maxRows: this.options?.maxRows,
@@ -1136,7 +1136,7 @@ export const PLUGIN_SETTINGS: { [key: string]: TPluginSetting } = {
11361136
defaultValueIfNotSet: REPORTS_PAGE_HEADER_TEXT,
11371137
isConfigurableFromFile: true,
11381138
isConfigurableFromUI: true,
1139-
options: { maxRows: 3, maxLength: 20 },
1139+
options: { maxRows: 3, maxLength: 40 },
11401140
validate: function (value) {
11411141
return SettingsValidator.multipleLinesString({
11421142
maxRows: this.options?.maxRows,

common/plugin-settings.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ describe('[settings] Input validation', () => {
122122
${'customization.reports.footer'} | ${'Test\nTest'} | ${undefined}
123123
${'customization.reports.footer'} | ${'Test\nTest\nTest\nTest\nTest'} | ${'The string should have less or equal to 2 line/s.'}
124124
${'customization.reports.footer'} | ${'Line with 30 characters \nTest'} | ${undefined}
125-
${'customization.reports.footer'} | ${'Line with 31 characters \nTest'} | ${"The maximum length of a line is 30 characters."}
125+
${'customization.reports.footer'} | ${'Testing maximum length of a line of more than 50 characters\nTest'} | ${"The maximum length of a line is 50 characters."}
126126
${'customization.reports.header'} | ${'Test'} | ${undefined}
127127
${'customization.reports.header'} | ${'Test\nTest'} | ${undefined}
128128
${'customization.reports.header'} | ${'Test\nTest\nTest\nTest\nTest'} | ${'The string should have less or equal to 3 line/s.'}
129129
${'customization.reports.header'} | ${'Line with 20 charact\nTest'} | ${undefined}
130-
${'customization.reports.header'} | ${'Line with 23 characters\nTest'} | ${"The maximum length of a line is 20 characters."}
130+
${'customization.reports.header'} | ${'Testing maximum length of a line of 40 characters\nTest'} | ${"The maximum length of a line is 40 characters."}
131131
${'disabled_roles'} | ${['test']} | ${undefined}
132132
${'disabled_roles'} | ${['']} | ${'Value can not be empty.'}
133133
${'disabled_roles'} | ${['test space']} | ${"No whitespaces allowed."}

0 commit comments

Comments
 (0)