Get-AzRegulatoryComplianceStandard
Hämtar standarder för regelefterlevnad
Syntax
Get-AzRegulatoryComplianceStandard
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRegulatoryComplianceStandard
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRegulatoryComplianceStandard
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Hämta en specifik standardinformation om regelefterlevnad eller lista alla standarder för regelefterlevnad under en specifik prenumeration.
Exempel
Exempel 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
Hämta alla standarder för regelefterlevnad under en prenumeration.
Exempel 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
Få information om specifik standard för regelefterlevnad enligt standardnamn.
Exempel 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
Få information om specifik regelefterlevnadsstandard enligt resurs-ID.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Name
Standardnamn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ResourceId
ID för säkerhetsresursen som du vill anropa kommandot på.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
Indata
Utdata
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell