Today I was recognized for my mentoring of startup founders, some of whom are operating in emerging markets and are in under-resourced communities. This has been one of the most personal and impactful ways we at Microsoft can support and enable these founders, that is, sharing our startup experience and industry knowledge through mentorship. I hope this inspires startups to turn to Microsoft where we can truly democratize access to resources and channels that can help founders grow and scale their businesses.
In this post, we will talk about how we can audit an Azure Cosmos DB database. Before jumping into the problem let us define the business requirement: As an Administrator I want to be able to audit all changes that were done to specific collection inside my Azure Cosmos DB. The requirement is simple, but can be a little tricky to implement fully. First of all when you are using Azure Cosmos DB or any other storage solution there are 99% odds that you’ll have more than one system that writes data to it. This means that you have or not have control on the systems that are doing any create/update/delete operations. Solution 1: Diagnostic Logs Cosmos DB allows us activate diagnostics logs and stream the output a storage account for achieving to other systems like Event Hub or Log Analytics. This would allow us to have information related to who, when, what, response code and how the access operation to our Cosmos DB was done. Beside this there is a field that specifies what was th...
Comments
Post a Comment