Critical warning about use of inline in scripts, but I can't find where

Hello,
I am using elastic/helm_charts to deploy ELK stack on kubernetes.

I've been trying to upgrade from version 7.17.8 to version 8.5.3 by fixing this kibana critical warning I get in my elasticsearch logs:

{"type": "deprecation.elasticsearch", "timestamp": "2024-03-20T06:02:09,482Z", "level": "CRITICAL", "component": "o.e.d.x.ParseField", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "[script][1:713] Deprecated field [inline] used, expected [source] instead", "key": "deprecated_field_inline", "category": "api", "cluster.uuid": "2NG7yIwKDLSedsotcCLONong", "node.id": "ndvpeH4tSBe5fEV3DFlFEQ" }

But despite checking in all my watchers,
I can't see any mention of the inline keyword.

I don't have any script stored.

And none of my logstash scripts use the inline keyword either.

Is there some other places I am forgetting about?