Running sigma/pipelines/powershell/powershell.py may cause errors on lines 16 and 26.
The error message is: 'SigmaDetection' object has no attribute 'field' (while applying processing pipeline on rule None).
Checking if 'field' exists can avoid errors.
if 'field' in detection_item.__dataclass_fields__:
Running sigma/pipelines/powershell/powershell.py may cause errors on lines 16 and 26. The error message is: 'SigmaDetection' object has no attribute 'field' (while applying processing pipeline on rule None). Checking if 'field' exists can avoid errors.
if 'field' in detection_item.__dataclass_fields__: