From 5fb871d76f92117c0344cd0261849e62b27f6876 Mon Sep 17 00:00:00 2001 From: Jonathon Broughton Date: Thu, 5 Jun 2025 15:18:57 +0100 Subject: [PATCH] Renames object_ids to affected_objects Updates the parameter name in `attach_info_to_objects` to accurately reflect its purpose. --- src/rule_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rule_processor.py b/src/rule_processor.py index 7cce53e..fc7b991 100644 --- a/src/rule_processor.py +++ b/src/rule_processor.py @@ -337,7 +337,7 @@ def apply_rules_to_objects( automate_context.attach_info_to_objects( category=f"Rule {rule_id_str} Skipped", - object_ids=[Base()], + affected_objects=[Base()], # This is a hack to get a rule to report with no valid objects message=f"No objects found for rule {rule_id_str}", metadata={},