Skip to content

Update Security Configuration page to link to SAST Configuration UI

What does this MR do?

Add links to SAST Configuration UI

This modifies the Security Configuration page for a project to display a link to the SAST Configuration UI for eligible projects. Roughly speaking, that means projects without an existing CI file. Future iterations will expand the scope of eligible projects.

This is implemented behind the sast_configuration_ui feature flag, which will be removed or enabled by default in #231357 (closed).

Addresses #231373 (closed).

Screenshots

State Screenshot with feature flag disabled Screenshot with feature flag enabled
Existing CI file (i.e., no change) existing_ci existing_ci_ff_enabled
No CI file no_ci no_ci_ff_enabled
No CI file with Auto DevOps (i.e., no visible change (button becomes a link button to SAST Configuration UI page)) no_ci_autodevops no_ci_autodevops_ff_enabled

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mark Florian

Merge request reports