Skip to content

Commit

Permalink
Support for CDB lists beginning with quotes (#7171)
Browse files Browse the repository at this point in the history
* CDB list (list-editor.tsx): Change split to match

* Changelog: Entry added

* Add validation to cdb list inputs

* Test(list-editor): Add some test

* Validation(list-editor.tsx): start and end with quotes

* Test(list-editor): Add case with ipv6

* Request change(list-editor): Applying requested changes

* Test(error cases): Add test to error cases to key or value validation

* Validation(list-editor): Add colon validation.

* Validation (list-editor): Apply comments

* Validation(list-editor): Fix error found on test cration

* Test jest(list-editor): Add test to add and remove

* Test jest(list-editor): Add test to save CDB list

* Test jest(list-editor): Add test to edit and cancel edit

* Validations(list-editor): Refactor validations functions

* Validation(list-editor): Fix warning in console

* Test jest:(list-editor): Add new cases

* Test jest:(list-editor): Add new tests

* Test jest(list-editor): Add test name and path exist
  • Loading branch information
yenienserrano authored Dec 2, 2024
1 parent 676e996 commit 03327a8
Show file tree
Hide file tree
Showing 3 changed files with 614 additions and 33 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ All notable changes to the Wazuh app project will be documented in this file.

### Fixed

- Added ending quotes to CDB Lists keys [#7159](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7159)
- Fixed rendering of rows in CDB list table when it starts with quotes. [#7171](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7171)

## Wazuh v4.10.1 - OpenSearch Dashboards 2.16.0 - Revision 00

Expand Down
Loading

0 comments on commit 03327a8

Please sign in to comment.