Add badge to external status check table if HMAC is enabled
What does this MR do and why?
This MR adds new badge to status check table
If HMAC signature is enabled, user will see badge with information about enabled status
The code changes introduce a new feature that displays a "shared secret" badge when a status check rule has HMAC enabled.
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.
| Description | UI |
|---|---|
| With HMAC enabled and without | ![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to project
- Settings -> Merge request
- Add new or edit existing external status check
- Create at least one status check with and without HMAC shared secret
- Go to Settings -> Repository -> Branch rules -> View details
- Make sure you see the badge for status check with HMAC enabled and no badge for status check without
Related to #433035 (closed)
Edited by Artur Fedorov
