One of my pipelines syncs secrets from an external store into the local credentials store. On one of my Jenkins clusters, my code fails with a script security error. I have noodled around for an hour and I can't figure out how to solve. On the admin script approval page, the above mentioned function is not listed to be approved.
What tricks or hacks are needed to get this to pass?