Add "Available on-demand" badge on Security Configuration Page
What does this MR do and why?
This MR resolves #354874 (closed)
- Feature cards in security configuration section now have an option to add info badges.
- This MR adds info badge for DAST configuration section according to new design
- Badges can be added either via frontend or via backend.
- Feature needs to have a
badge
property in order to display info badges on the card (see attachment). - New component
feature-card-badge
handles logic for conditional tooltip rendering and href options. It can accept a link via property on thebadge object
or via additional property or defaults to DAST default link toon-demand-scans
. - Layout of the feature card adjusted automatically based on configuration.
Describe in detail what your merge request does and why.
Screenshots or screen recordings
before |
---|
after |
---|
after |
---|
on-demand_badge |
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- Go to any project /root/$PROJECT/
- Go to /root/$PROJECT/-/security/configuration
- Scroll down to DAST configuration
Numbered steps to set up and validate the change are strongly suggested.
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.