diff --git a/lib/app/reportdatasources/report_objectstat.py b/lib/app/reportdatasources/report_objectstat.py index 85b394bd46e27731781d5609d0390461ee1b5f2a..4a8429cf4cc6b725874448f9b2b0b02616171fa1 100644 --- a/lib/app/reportdatasources/report_objectstat.py +++ b/lib/app/reportdatasources/report_objectstat.py @@ -281,6 +281,15 @@ class StatusIsolator(IsolatorClass): ) # return self.f_attribute("13020", value) + def _6_is(self, index): + # Status - Discovery + if index == "1": + # Is discovery = Is managed and enable box + return d_Q(**{"is_managed": True}) & d_Q(object_profile__enable_box_discovery=True) + elif index == "2": + # Not discovery = Is managed and disable box + return d_Q(**{"is_managed": True}) & d_Q(object_profile__enable_box_discovery=False) + def f_is(self, num, value): """