Azure / Azure-Lighthouse-samples

Provide samples for understanding managed service solutions
MIT License
298 stars 302 forks source link

Create-AzDiagPolicy.ps1 can't set diagnostic settings on subresources of StorageAccount #123

Open stuhay opened 2 years ago

stuhay commented 2 years ago

It seems Microsoft has allowed setting diagnostic settings on subresoruces of StorageAccounts, eg. Blobs. This is where transaction logging is enabled.

The script at the moment doesn't seem to pick these up and as such can't automatically deploy Diagnostic settings for these.

Are there any intentions on supporting Blobs, File shares etc from Storage Accounts in the Create-AzDiagPolicy.ps1 script