Skip to content

Move SAST reports logic for the Merge Request widget to the backend - frontend part

What does this MR do?

This moves the reports logic from the frontend to the backend for SAST reports in on an MR. It's behind the feature flag sastMergeRequestReportApi which is currently disabled.

Once the feature flag is enabled, the user will see no changes. We generate the same report, just in the backend instead of the frontend. This should improve performance, load times, and code reuse.

If you need it, here's an explainer video (just replace all mentions of container scanning with sast): https://youtu.be/WzgsWDcvmes

This is basically the same MR as !15226 (merged), !15406 (merged), and !15403 (merged) just for a different report type. The main difference being that SAS is in its own module so it it handled slightly differently, but the principal is the same.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Closes #13647 (closed)

Edited by Mark Florian

Merge request reports