def rule(event):
    if all(
        [
            "Get-LocalGroupMember " in event.deep_get("CommandLine", default=""),
            any(
                [
                    "domain admins" in event.deep_get("CommandLine", default=""),
                    " administrator" in event.deep_get("CommandLine", default=""),
                    " administrateur" in event.deep_get("CommandLine", default=""),
                    "enterprise admins" in event.deep_get("CommandLine", default=""),
                    "Exchange Trusted Subsystem" in event.deep_get("CommandLine", default=""),
                    "Remote Desktop Users" in event.deep_get("CommandLine", default=""),
                    "Utilisateurs du Bureau à distance"
                    in event.deep_get("CommandLine", default=""),
                    "Usuarios de escritorio remoto" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
