New-AzPurviewAzureStorageScanRulesetObject
Create an in-memory object for AzureStorageScanRuleset.
Syntax
New-AzPurviewAzureStorageScanRulesetObject
-Kind <DataSourceType>
[-Description <String>]
[-ExcludedSystemClassification <String[]>]
[-IncludedCustomClassificationRuleName <String[]>]
[-ScanningRuleCustomFileExtension <ICustomFileExtension[]>]
[-ScanningRuleFileExtension <FileExtensionsType[]>]
[-Type <ScanRulesetType>]
[<CommonParameters>]
Description
Create an in-memory object for AzureStorageScanRuleset.
Examples
Example 1: Create Azure Storage custom scanruleset object
New-AzPurviewAzureStorageScanRulesetObject -Kind 'AzureStorage' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom'
CreatedAt :
Description : desc
ExcludedSystemClassification : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS}
Id :
IncludedCustomClassificationRuleName : {ClassificationRule2}
Kind : AzureStorage
LastModifiedAt :
Name :
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…}
Status :
Type : Custom
Version :
Create Azure Storage custom scanruleset object
Parameters
-Description
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-ExcludedSystemClassification
Type: String [ ]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-IncludedCustomClassificationRuleName
Type: String [ ]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Kind
Type: DataSourceType
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False
-ScanningRuleCustomFileExtension
To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table.
Type: ICustomFileExtension [ ]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-ScanningRuleFileExtension
Type: FileExtensionsType [ ]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Type
Type: ScanRulesetType
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Outputs
AzureStorageScanRuleset