import json


def rule(event):
    if any(
        [
            " dropping source port zero packet from " in json.dumps(event.to_dict()),
            " denied AXFR from " in json.dumps(event.to_dict()),
            " exiting (due to fatal error)" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
