This script was outdated and didn't work on the current version of PyMISP. For reference, you can look at this repository: https://github.com/raw-data/pymisp-suricata_search