import json


def rule(event):
    if all(
        [
            "FileNotFoundException" in json.dumps(event.to_dict()),
            "/../../.." in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
