There is ServiceNow, OpenText and SAP systems which have been integrated across their DTAP environments. (e.g. ServiceNow DEV <-> SAP DEV; OpenText UAT <-> SAP UAT; etc.)
Periodically we clone over sub-production instances to keep them the same as production.
During every clone we have problems with breaking integrations on SAP or OpenText.
These are caused by wrong integration credential or wrong endpoint which were overwritten by Production information.
What is the best practice how to avoid this problem, help with detection?