diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ScoutSuiteSingleRuleDropdown.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ScoutSuiteSingleRuleDropdown.js index 4118d50d3..6c0fb6cf5 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ScoutSuiteSingleRuleDropdown.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/scoutsuite/ScoutSuiteSingleRuleDropdown.js @@ -71,7 +71,7 @@ export default function ScoutSuiteSingleRuleDropdown(props) { } export function getRuleStatus(rule) { - if (rule.checked_items.length === 0) { + if (rule.checked_items === 0) { return STATUSES.STATUS_UNEXECUTED } else if (rule.items.length === 0) { return STATUSES.STATUS_PASSED