Wrong message on Project Security Dashboard when no vulnerabilities

Summary

If there are no vulnerabilities in the project, it is shown a message for a Group dashboard. Also, this message should be more friendly and give people credits that their project is secure (at least for now).

Steps to reproduce

  1. Pipeline with Security jobs is passed successfully, no vulnerabilities found
  2. Go to Project Security Dashboard
  3. Observe message

Example Project

What is the current bug behavior?

The message "We've found no vulnerabilities for your group"

What is the expected correct behavior?

The message "We've found no vulnerabilities for your project"

Relevant logs and/or screenshots

Screenshot_2019-11-04_at_12.02.29

Output of checks

This bug happens on GitLab.com

Possible fixes

We should divide component that generates this message into two: one for group, one for the project. Or update message so something neutral.

/cc @leipert

Edited Nov 07, 2019 by Tetiana Chupryna
Assignee Loading
Time tracking Loading