This is code for a simple cloud function that will allow you to listen to an iconik webhook, validate whether an asset can be shared, and remove the share if not allowed. It will also post a log to a slack channel with the offending asset and share creator.
You can see the full development of this plugin in our live stream recording here: