Improve Dast site profile creation error message
What does this MR do and why?
Describe in detail what your merge request does and why.
This Merge Request adds a size validation for the password and request headers parameters in the dast site profile creation to improve the error message returned to our users.
The description of issue #342907 (closed) contains more details about the validation process.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Select a project
-
Go to Security & Compliance > On Demand Scans
-
Click on New Scan
-
Click in Select site profile
- Click in new profile
-
Fill the request header field using less than 8 characters.
-
Check the errors message
To test the password validation
- Repeat the steps 1-5
2 .Click in Enable Authentication
-
Fill the password using less than 8 characters
-
Check the error message
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.