import json


def rule(event):
    if any(
        [
            "tftp" in json.dumps(event.to_dict()),
            "rcp" in json.dumps(event.to_dict()),
            "puts" in json.dumps(event.to_dict()),
            "copy" in json.dumps(event.to_dict()),
            "configure replace" in json.dumps(event.to_dict()),
            "archive tar" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
