import json


def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            any(
                [
                    ".bash_history" in json.dumps(event.to_dict()),
                    ".zsh_history" in json.dumps(event.to_dict()),
                    ".zhistory" in json.dumps(event.to_dict()),
                    ".history" in json.dumps(event.to_dict()),
                    ".sh_history" in json.dumps(event.to_dict()),
                    "fish_history" in json.dumps(event.to_dict()),
                ]
            ),
        ]
    ):
        return True
    return False
