Regulatory Compliance Assessments - Get

Supported regulatory compliance details and state for selected assessment

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}?api-version=2019-01-01-preview

URI Parameters

Name In Required Type Description
regulatoryComplianceAssessmentName
path True

string

Name of the regulatory compliance assessment object

regulatoryComplianceControlName
path True

string

Name of the regulatory compliance control object

regulatoryComplianceStandardName
path True

string

Name of the regulatory compliance standard object

subscriptionId
path True

string

Azure subscription ID

Regex pattern: ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$

api-version
query True

string

API version for the operation

Responses

Name Type Description
200 OK

RegulatoryComplianceAssessment

OK

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get selected regulatory compliance assessment details and state

Sample Request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347?api-version=2019-01-01-preview

Sample Response

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347",
  "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347",
  "type": "Microsoft.Security/regulatoryComplianceAssessment",
  "properties": {
    "description": "Troubleshoot missing scan data on your machines",
    "assessmentType": "Assessment",
    "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347",
    "state": "Failed",
    "passedResources": 7,
    "failedResources": 4,
    "skippedResources": 0
  }
}

Definitions

Name Description
CloudError

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

CloudErrorBody

The error detail.

ErrorAdditionalInfo

The resource management error additional info.

RegulatoryComplianceAssessment

Regulatory compliance assessment details and state

state

Aggregative state based on the standard's supported controls states

CloudError

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Name Type Description
error.additionalInfo

ErrorAdditionalInfo[]

The error additional info.

error.code

string

The error code.

error.details

CloudErrorBody[]

The error details.

error.message

string

The error message.

error.target

string

The error target.

CloudErrorBody

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

CloudErrorBody[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

RegulatoryComplianceAssessment

Regulatory compliance assessment details and state

Name Type Description
id

string

Resource Id

name

string

Resource name

properties.assessmentDetailsLink

string

Link to more detailed assessment results data. The response type will be according to the assessmentType field

properties.assessmentType

string

The expected type of assessment contained in the AssessmentDetailsLink

properties.description

string

The description of the regulatory compliance assessment

properties.failedResources

integer

The given assessment's related resources count with failed state.

properties.passedResources

integer

The given assessment's related resources count with passed state.

properties.skippedResources

integer

The given assessment's related resources count with skipped state.

properties.state

state

Aggregative state based on the assessment's scanned resources states

properties.unsupportedResources

integer

The given assessment's related resources count with unsupported state.

type

string

Resource type

state

Aggregative state based on the standard's supported controls states

Name Type Description
Failed

string

At least one supported regulatory compliance control in the given standard has a state of failed

Passed

string

All supported regulatory compliance controls in the given standard have a passed state

Skipped

string

All supported regulatory compliance controls in the given standard have a state of skipped

Unsupported

string

No supported regulatory compliance data for the given standard