Skip to content

Parse error for source and outline problem area

Alexander Turinske requested to merge 419406-error-user-hints into master

What does this MR do and why?

Parse error for source and outline problem area

  • parse error from backend
  • show validation state for scan execution action variables
  • show validation state for merge request approval rule scan type
  • sets up framework to add validation states for any other components

Changelog: added

EE: true

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
Screenshot_2024-06-20_at_14.44.53 Screenshot_2024-06-20_at_14.51.17
Screenshot_2024-06-20_at_15.49.04 Screenshot_2024-06-20_at_15.45.32

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Secure => Policies => New policy => Scan execution
  3. Add a new criteria and try to save the policy without selecting the value
  4. Verify the alert appears and the correct variables inputs are outlined in red

Related to #419406 (closed)

Edited by Alexander Turinske

Merge request reports