Use DashboardType for Vulnerability Report
The following discussion from !152205 (merged) should be addressed:
-
@lorenzvanherwaarden started a discussion: (+1 comment) suggestion (non-blocking): I mentioned a while back, but instead of having provide/inject for each type of vulnerability report (
isGroupVulnerabilityReport
,isIntanceVulnerabilityReport
, ...) we can just use the injecteddashboardType
. The values also evaluate to 'project', 'group', and 'instance' so we could use that here directly for thelevel
.However, it would be quite a significant change, so I'm happy to leave as-is. Do you remember if we had created a follow-up for it before?