Good evening readers/viewers!
Today we take a look at a topic that you may or may not know you need to learn. :)
SCENARIO: You have a policy or set of policies that you would like to export and share.
ISSUE: Regardless of the number of Global Settings and/or Global Configurations you use within your policies, they will be exported along with your policies (unless explicitly excluded). This means if you have a policy, only use one of the many variables you have stored within your OIS datastore, export just that policy, you will get ALL the variables in your export. Even if you simply export a single policy (policy level export, instead of folder level), you will still get the entire folder structure for all your variables (though the unused variables are not exported). Either way, exporting in OIS can result in “dirty” OIS datastores, especially if you share exports, import/export frequently, etc.
WORKAROUND: Sanitize your OIS Exports! (see video)
In this video, I showed how I sanitized the OIS export that I attached to a previous blog post. This is what I do in the “real world” to workaround this issue. I hope you found this useful.