on-internet
← Community

Policy for "Send scan results to Log Analytics" Microsoft Defender for Storage setting [closed]

Stack Overflow ·

I am trying to create an Azure Policy to track the "Send scan results to Log Analytics" Microsoft Defender for Storage setting, and unfortunately, having a lot of trouble finding information on the correct policy rule evaluation paths. Desired Behavior: I'd like the policy to track that the "Send scan results to Log Analytics" option is enabled and that a log analytics workspace has been selected. I'm seeking help on the correct invocation of detail type and existence condition aliases to get this to work. This is what I have so far: "policyRule": { "if": { "field": "type", "equals": "Microsof

Comments

Sign in or sign up to comment and upvote.

No comments yet.