def node_status_enricher(event: NodeEvent):
    """
    Enrich the finding with the node's status conditions.

    Can help troubleshooting Node issues.
    """
    node = event.get_node()
    if not node:
        logging.error("node_status_enricher was called on event without node : {event}")
        return

    logging.info("node_status_enricher is depricated, use status_enricher instead")

    event.add_enrichment([get_node_status_table_block(node)])

    Enrich the finding with the node's status conditions.

    Can help troubleshooting Node issues.
    
playbooks/robusta_playbooks/node_enrichments.py