def rule(event):
    if all(
        [
            event.deep_get("Category", default="") == "UserManagement",
            event.deep_get("OperationName", default="") == "Update user",
            event.deep_get("properties", "message", default="")
            == '"displayName":"UserType","oldValue":"[\\"Guest\\"]","newValue":"[\\"Member\\"]"',
        ]
    ):
        return True
    return False
