Automatic control or bypassing of Full Disk Access restriction

I'm working on a CI/CD solution based on VMs deployed from images. Each VM has an external disk attached. Most of the applications I need to run on fresh OS require manual approval in a UI session for using that disk (java, powershell, etc).

This is a huge showstopper for my project. Is there a way to allow FDA for certain applications via command line or bypass this check anyhow for testing purposes ?
I believe you can do that using MDM.

However, macOS is a consumer operating system. That is what it is designed to do. It may be possible to turn off various parts via SIP, but I don't know. If you wanted to use it for this kind of work, you will likely have to find some other way.
Automatic control or bypassing of Full Disk Access restriction
 
 
Q