Security Reports in MR is displayed if only License Compliance is set up
Summary
If you set up the License Compliance job and no other security scanning jobs, the Security Reports section in the MR widget is displayed. It should not be.
Steps to reproduce
- Set up a project with only a License Compliance job.
- Create an MR for it
- Observe in the MR the Security Report widget is displayed, when it shouldn't be
What is the current bug behavior?
The Security Report widget is displayed, although none of the report types are displayed.
What is the expected correct behavior?
The Security Report widget is not displayed.
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)