def METHOD_NAME(cls, event: AuditLogEvent) -> AuditLogEntry:
    """
    Deserializes a kafka event object into a control silo database item.  Keep in mind that these event objects
    could have been created from previous code versions -- the events are stored on an async queue for indefinite
    delivery and from possibly older code versions.
    """
    from sentry.models.user import User
    if event.actor_label:
        label = event.actor_label[:MAX_ACTOR_LABEL_LENGTH]
    else:
        if event.actor_user_id:
            try:
                label = User.objects.get(id=event.actor_user_id).username
            except User.DoesNotExist:
                label = None
        else:
            label = None
    return AuditLogEntry(
        organization_id=event.organization_id,
        datetime=event.date_added,
        actor_id=event.actor_user_id,
        target_object=event.target_object_id,
        ip_address=event.ip_address,
        event=event.event_id,
        data=event.data,
        actor_label=label,
        target_user_id=event.target_user_id,
        actor_key_id=event.actor_key_id,
    )