def json_change_tracker(event: KubernetesAnyChangeEvent, params: UrlParam):
    """
    Posts Kubernetes resource changes as JSON to a specified URL.
    This action doesn't create a finding
    """
    try:
        event_dict = event.obj.to_dict()
        event_dict["operation"] = event.operation.value
        event_json = json.dumps(event_dict, indent=2)
        requests.post(params.url, headers=params.headers, data=event_json)
    except Exception as e:
        logging.exception(f"Failed to post change event to {params.url}. event: {event_json}")

    Posts Kubernetes resource changes as JSON to a specified URL.
    This action doesn't create a finding
    
playbooks/robusta_playbooks/babysitter.py