trackme-limited / trackme-report-issues

The purpose of this repository is to allow Splunk community to report issues and enhancements requests
2 stars 0 forks source link

bug - SmartStatus alert action - Python exception in some circumstances when accessing the anomaly_reason #700

Closed guilhemmarchand closed 3 weeks ago

guilhemmarchand commented 1 month ago

bug - SmartStatus alert action - Python exception in some circumstances when accessing the anomaly_reason

2024-07-10 07:29:41,709 ERROR trackme_rest_handler.py handle 250 Failed to handle request due to an unhandled exception
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/trackme/lib/trackme_rest_handler.py", line 237, in handle
    return function_to_call(request_info, **query)
  File "/opt/splunk/etc/apps/trackme/bin/trackme_rest_handler_splk_smart_status.py", line 187, in post_ds_smart_status
    anomaly_reason = anomaly_reason.split("|")
AttributeError: 'list' object has no attribute 'split'