I am getting error 'FunctionComponent' object has no attribute 'options' . It happens when closing resilient incident which triggers Microsoft defender incident update ('defender_update_incident'), see below
Mar 09 08:24:25 chdtx1mn06.corpdev.com resilient-circuits[13163]: File "/home/resadmin/.local/lib/python3.6/site-packages/fn_microsoft_defender/components/funct_defender_update_incident.py", line 57, in _app_function
Mar 09 08:24:25 chdtx1mn06.corpdev.com resilient-circuits[13163]: self.options.get("update_defender_alert_template"),
Mar 09 08:24:25 chdtx1mn06.corpdev.com resilient-circuits[13163]: AttributeError: 'FunctionComponent' object has no attribute 'options'
Mar 09 08:24:25 chdtx1mn06.corpdev.com resilient-circuits[13163]: 2022-03-09 08:24:25,014 ERROR [actions_component] <task[*] (<function app_function.__call__.<locals>.app_function_decorator.<locals>._invoke_app_function at 0x7f98782f3a60>, <defender_update_incident[functions.defender_update_incident] (id=276, workflow=defender_close_incident, user=
irek.romaniuk@xxx.com) 2022-03-09 14:24:24.148000> defender_classification=None, defender_incident_id=723, defender_determination=None, defender_comment='<div class="rte"><div>tested</div></div>', defender_incident_status={'id': 3588, 'name': 'Resolved'})> (<class 'AttributeError'>): ERROR:
Mar 09 08:24:25 chdtx1mn06.corpdev.com resilient-circuits[13163]: 'FunctionComponent' object has no attribute 'options'
------------------------------
Irek Romaniuk
------------------------------