Remove scanners from group and instance security dashboards
requested to merge bwill/remove-scanners-list-from-instance-and-group-security-dashboards into master
What does this MR do and why?
The scanners data is only used on the project security dashboard, but the query is still executed on the group and instance security dashboards. The query performs very poorly for groups because it has to traverse the group hierarchy and find all unique scanners (potentially hundreds of thousands). In some cases, the can prevent the vulnerability report from loading. Remove this query since it is expensive and not needed.
Fixes: #422143 (closed)
Screenshots or screen recordings
Group vulnerability report (tool filter still works):
Instance vulnerability report (tool filter still works):
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brian Williams