Microsoft Defender for Cloud

Download 0
Last updated Oct 5, 2026

defender-cloud-compliance-assessments

Lists compliance assessments collected from Microsoft Defender for Cloud with the number of resources that passed and failed.

defender-cloud-compliance-assessments [profile=VALUE] [subscription=VALUE] [standard=VALUE] [control=VALUE] [state=VALUE] [locale=VALUE]
profile=VALUE
Optional. e.g. mdc
subscription=VALUE
Optional. e.g. 00000000-0000-0000-0000-000000000000
standard=VALUE
Optional. e.g. Microsoft-cloud-security-benchmark
control=VALUE
Optional. e.g. DS.4
state=VALUE
Optional. Passed, Failed or Skipped. e.g. Failed
locale=VALUE
Optional. Language of the assessment title. Defaults to the console session's language; en returns Azure's original text. e.g. ko

Output fields

FieldTypeNameDescription
profileStringProfilee.g. mdc
cloud_accountStringSubscription IDe.g. 00000000-0000-0000-0000-000000000000
standard_nameStringStandarde.g. Microsoft-cloud-security-benchmark
control_idStringControl IDe.g. NS.1
assessment_nameStringAssessmente.g. Subnets should be associated with a network security group
stateStringStatee.g. Failed
failed_resource_countIntegerFailed resourcese.g. 2
passed_resource_countIntegerPassed resourcese.g. 5
skipped_resource_countIntegerSkipped resourcesAll three zero means nothing here was evaluated, which is not compliance. e.g. 0
assessment_idStringAssessment IDe.g. 11111111-1111-1111-1111-111111111111 - joins to defender-cloud-assessments
row_keyStringRow keySHA-256 of the identity columns, stable across cycles. e.g. a1b2c3d4e5f6...
snapshot_idStringSnapshot IDThe collection cycle that last wrote this row. e.g. 00000000-0000-0000-...
updatedDateCollected ate.g. 2026-10-05 00:34:15