Skip to content

Update error message for scan result policy

Artur Fedorov requested to merge 416628-result-policy-update-error-message into master

What does this MR do and why?

This MR resolves Update error message to help users more (#416628 - closed) • Artur Fedorov • 16.2

New error message is applied for failed fetching of protected branches for scan result policy.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

UI
error-message

How to set up and validate locally

  1. Go to project or group
  2. Secure -> Policies
  3. Create new or edit existing scan result policy
  4. Select Specific branches from Branch type dropdown , open protected branches dropdown, you can set wrong url in protected_branches_dropdown.vue for Api.projectProtectedBranches in order to see the error

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.

Related to #416628 (closed)

Merge request reports

Loading