Why is my Panther detection is returning a "'NoneType' object is not iterable" error?
Last updated: September 3, 2024
Issue
Why is my detection returning a 'NoneType' object is not iterable error?
Resolution
To resolve this issue:
Please add conditionals in your detection to prevent
Nonetype objects from passing into a method that only takes strings or collections of strings.Ensure that you are using the Panther detection helpers library.
Cause
This issue can occur when passing a None type object into a method that only takes string or collection of string types.