你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzPurviewScanRuleset
获取扫描规则集
语法
Get-AzPurviewScanRuleset
-Endpoint <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPurviewScanRuleset
-Endpoint <String>
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取扫描规则集
示例
示例 1:获取所有自定义 scanrulesets
Get-AzPurviewScanRuleset -Endpoint https://parv-brs-2.purview.azure.com/
CreatedAt : 1/25/2022 2:01:38 AM
Description : asdasd
ExcludedSystemClassification : {MICROSOFT.GOVERNMENT.CYPRUS.TAX.IDENTIFICATION.NUMBER, MICROSOFT.GOVERNMENT.CHILE.CDI_NUMBER, MICROSOFT.GOVERNMENT.MALTA.DRIVERS.LICENSE.NUMBER,
MICROSOFT.GOVERNMENT.TURKEY.TURKISH_NATIONAL_IDENTIFICATION_NUMBER…}
Id : scanrulesets/DummySRSFOrDemo
IncludedCustomClassificationRuleName : {}
Kind : AzureStorage
LastModifiedAt : 1/27/2022 4:37:15 AM
Name : DummySRSFOrDemo
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…}
Status : Enabled
Type : Custom
Version : 4
CreatedAt : 2/17/2022 2:30:15 PM
Description : test desc
ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS, MICROSOFT.MISCELLANEOUS.IPADDRESS}
Id : scanrulesets/TestRule
IncludedCustomClassificationRuleName : {ClassificationRule5, ClassificationRule2}
Kind : AzureStorage
LastModifiedAt : 2/17/2022 2:32:02 PM
Name : TestRule
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…}
Status : Enabled
Type : Custom
Version : 2
获取所有自定义 scanruleset
示例 2:按名称获取自定义 scanruleset
Get-AzPurviewScanRuleset -Endpoint https://parv-brs-2.purview.azure.com/ -Name TestRule
CreatedAt : 2/17/2022 2:30:15 PM
Description : test desc
ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS, MICROSOFT.MISCELLANEOUS.IPADDRESS}
Id : scanrulesets/TestRule
IncludedCustomClassificationRuleName : {ClassificationRule5, ClassificationRule2}
Kind : AzureStorage
LastModifiedAt : 2/17/2022 2:32:02 PM
Name : TestRule
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…}
Status : Enabled
Type : Custom
Version : 2
按名称获取自定义 scanruleset
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Endpoint
purview 帐户的扫描终结点。 示例:https://{accountName}.purview.azure.com
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Name
.
类型: | String |
别名: | ScanRulesetName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |