def report_image_changes(event: KubernetesAnyChangeEvent):
    """
    Report image changed whenever a new application version is deployed so that you can easily see changes.
    """
    new_images = extract_images(event.obj)
    old_images = extract_images(event.old_obj)
    if new_images == old_images:
        return

    if len(event.obj.metadata.ownerReferences) != 0:
        return  # not handling runtime objects

    msg = ""
    changed_properties = []
    if new_images.keys() != old_images.keys():
        msg = f"number or names of images changed: new - {new_images} old - {old_images}"
    else:
        for name in new_images:
            if new_images[name] != old_images[name]:
                msg += f"image name: {name} new tag: {new_images[name]} old tag {old_images[name]}"
                changed_properties.append(
                    {
                        "property": "image",
                        "old": f"{name}:{old_images[name]}",
                        "new": f"{name}:{new_images[name]}",
                    }
                )
    should_get_subject_node_name = isinstance(event, NodeChangeEvent)
    finding = Finding(
        title=f"{FindingSubjectType.TYPE_DEPLOYMENT.value} {event.obj.metadata.name} updated in namespace {event.obj.metadata.namespace}",
        source=FindingSource.KUBERNETES_API_SERVER,
        aggregation_key="ReportImageChanges",
        subject=KubeObjFindingSubject(event.obj, should_add_node_name=should_get_subject_node_name),
        finding_type=FindingType.CONF_CHANGE,
        failure=False,
    )
    json_str = json.dumps(
        {
            "deployment": event.obj.metadata.name,
            "deployment_namespace": event.obj.metadata.namespace,
            "message": msg,
            "changed_properties": changed_properties,
        }
    )
    finding.add_enrichment([JsonBlock(json_str)])
    event.add_finding(finding)

    Report image changed whenever a new application version is deployed so that you can easily see changes.
    
playbooks/robusta_playbooks/grafana_enrichment.py