Skip to content

Render readable BAS and cluster image scanning report types

Erran Carey requested to merge 406880-fix-bas-report-label-in-alert into master

What does this MR do and why?

Fix #406880 (closed) setting the BREACH_AND_ATTACK_SIMULATION security report type to render as Breach and Attack Simulation (BAS).

I'm also going ahead and mapping CLUSTER_IMAGE_SCANNING to Cluster Image Scanning which hadn't been reported yet.

I have validated the labels are rendered properly in my local environment and opened #406997 for automating this validation in the future.

I've intentionally left off changelog since at least with Breach and Attack Simulation the incorrect label was added within the %15.11 milestone.

Screenshots or screen recordings

Before

alert before with the backend name being rendered

After

alert after with the pretty name being rendered Screenshot_2023-04-12_at_22.21.02

How to set up and validate locally

  1. Configure GitLab locally with an Ultimate license.
  2. Open the security dashboard.
  3. Notice the name is user friendly name now being shown in the UI.

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 #406880 (closed)

Edited by Erran Carey

Merge request reports

Loading