capabilities.work

Query compliance states for a subscription assignment

One step with Microsoft Azure. We can help you get access.

Look something up

Query compliance states for a subscription assignment

with Microsoft Azure · IT Infrastructure Management

Use Microsoft Azure: its Microsoft Azure Subscriptions API lets you query compliance states for a subscription assignment in a single step (POST /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults). capabilities.work can help you get signed up and connected.

  • Which resources are non-compliant under one subscription-level policy assignment?
  • Can I list compliance records for a single assignment made at subscription scope?
Say it to your AI assistant
  • Query compliance states for subscription-level assignment {assignment} ({namespace}, subscription {subscription}, states resource {states_resource}).
  • List the first {top} resources evaluated by assignment {assignment} in subscription {subscription} ({namespace}, {states_resource}).
For your developer

POST /subscriptions/{subscriptionId}/providers/{authorizationNamespace}/policyAssignments/{policyAssignmentName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesResource}/queryResults in Microsoft Azure Subscriptions API. Full spec on APIs.io.