Skip to content

Render markup in on-demand scans errors

What does this MR do?

Ensures that links are correctly rendered in on-demand DAST scans alerts.

How to test this?

  1. As a Developer, navigate to a project's on-demand scans form at /:namespace/:project/-/on_demand_scans/new.
  2. Fill-out the form and click on Save and run scan.
    • You should see an alert containing a link above the form.
  3. Navigate back to the DAST profiles library at /:namespace/:project/-/security/configuration/dast_scans.
  4. Try running a scan from the Saved scans tab.
    • You should see an alert containing a link at the top of the list.

Screenshots (strongly suggested)

Page Before After
On-demand scans form Screen_Shot_2021-04-07_at_3.47.27_PM Screen_Shot_2021-04-07_at_3.37.39_PM
DAST profiles library Screen_Shot_2021-04-07_at_3.47.08_PM Screen_Shot_2021-04-07_at_3.36.18_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #326356 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports