Add validations for bucket name for AWS
What does this MR do and why?
Add validations for bucket name for AWS. We already have the same validation for instance level amazon s3 configuration here.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Ensure that you have ultimate license.
- Visit the group
- Navigate to Secure > Audit Events
- Click on streams tab
- Add new AWS S3 streaming destination
- Add an invalid bucket name like 'path/subpath/bucket'. Ensure that saving fails and the configuration is not added.
- Add an invalid bucket name like 'bucket-name'. Ensure that the configuration is saved successfully.
Closes #431458 (closed)
Edited by Huzaifa Iftikhar