-
Notifications
You must be signed in to change notification settings - Fork 27
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
CDB list input validation #1261
Conversation
Makes it consistent with the Kibana App
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: ✔️
Test: ✔️
SplunkAppForWazuh/appserver/static/js/controllers/management/cdb/managerCdbCtrl.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improve error message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR ✅
Test ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review:
Test ✅
Summary
Closes #1252
This PR adds input data validation for the CDB lists.
^[\\w\\.\\-]+$
?:^"([\\w\\-:]+?)"|^[^:"\\s]+$)
(?:^"([\\w\\-:]*?)"$|^[^:"]*$)
This PR also renames the CDB List navigation item from 'Lists' to 'CDB Lists' to make it more descriptive and consistent with the Kibana App.
To test