OpenScap proxy not assigned

It seems the support for OpenScap related stuff is a bit lacking at the moment and I had a similar problem here → Empty/unset default value of "OpenSCAP Proxy"
I however do not want to use host groups to assign the OpenScap proxy so use a script as a workaround. Maybe something similar could work for you?