Skip to content

Update wording and style of vulnerability report empty state messages

What does this MR do?

When viewing the Security Dashboard and Vulnerability Report for a project, group, or instance:

Project Group Instance
ksnip_20210114-020743 ksnip_20210114-020829 ksnip_20210114-021043

and they are not configured to show vulnerabilities (defined differently for each level):

Level How to show the empty state message
Project The project is empty, has not run at least one pipeline since creation, or does not have security scanners configured
Group There are no projects in the group
Instance There are no projects added to the instance under the Settings navbar item

a "not configured" empty state message is shown. This MR does the following:

  1. Updates the text. They have gotten a bit out of date.
  2. Remove the header if the empty state is shown.
  3. Standardize the look and feel across all 3 levels.

Before:

Project Group Instance
ksnip_20210309-005825 ksnip_20210309-005844 ksnip_20210309-005854

After:

Project Group Instance
ksnip_20210309-010101 ksnip_20210309-010112 ksnip_20210309-010124

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #287631 (closed)

Edited by Robert Hunt

Merge request reports

Loading