你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzRegulatoryComplianceStandard
获取法规符合性标准
语法
Get-AzRegulatoryComplianceStandard
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRegulatoryComplianceStandard
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRegulatoryComplianceStandard
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
获取特定的法规符合性标准详细信息,或列出特定订阅下的所有法规符合性标准。
示例
示例 1
Get-AzRegulatoryComplianceStandard
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/Azure-CIS-1.1.0
Name : Azure-CIS-1.1.0
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 20
FailedControls : 4
SkippedControls : 0
UnsupportedControls : 87
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/ISO-27001
Name : ISO-27001
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 9
FailedControls : 10
SkippedControls : 2
UnsupportedControls : 93
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/PCI-DSS-3.2.1
Name : PCI-DSS-3.2.1
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 13
FailedControls : 32
SkippedControls : 0
UnsupportedControls : 187
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/SOC-TSP
Name : SOC-TSP
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 2
FailedControls : 11
SkippedControls : 0
UnsupportedControls : 24
获取订阅下的所有法规合规性标准。
示例 2
Get-AzRegulatoryComplianceStandard -Name "SOC-TSP"
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/SOC-TSP
Name : SOC-TSP
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 2
FailedControls : 11
SkippedControls : 0
UnsupportedControls : 24
根据标准名称获取特定法规符合性标准的详细信息。
示例 3
Get-AzRegulatoryComplianceStandard -ResourceId "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryComplianceStandards/SOC-TSP"
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/regulatoryCompli
anceStandards/SOC-TSP
Name : SOC-TSP
Type : Microsoft.Security/regulatoryComplianceStandards
State : Failed
PassedControls : 2
FailedControls : 11
SkippedControls : 0
UnsupportedControls : 24
根据资源 ID 获取特定法规符合性标准的详细信息。
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Name
标准名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
要调用其上的命令的安全资源的 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |