Custom policy -checking if a VM has enabled inventory/change tracking solution

%3CLINGO-SUB%20id%3D%22lingo-sub-1359823%22%20slang%3D%22en-US%22%3ECustom%20policy%20-checking%20if%20a%20VM%20has%20enabled%20inventory%2Fchange%20tracking%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1359823%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20way%20we%20can%20check%20in%20a%20policy%20definition%20whether%20VM%20has%20enabled%20for%20inventory%2Fchange%20tracking%20solution%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20with%20savedSearches%20object%20of%20workspaces(logAnalytics)%20but%20azure%20is%20not%20returning%20related%20savedSearches%20of%20a%20workspace.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1359823%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Policy%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Is there any way we can check in a policy definition whether VM has enabled for inventory/change tracking solution?

 

I have tried with savedSearches object of workspaces(logAnalytics) but azure is not returning related savedSearches of a workspace.

0 Replies