Editar

Compartilhar via


New-AzPurviewAzureFileServiceScanRulesetObject

Create an in-memory object for AzureFileServiceScanRuleset.

Syntax

New-AzPurviewAzureFileServiceScanRulesetObject
   -Kind <DataSourceType>
   [-Description <String>]
   [-ExcludedSystemClassification <String[]>]
   [-IncludedCustomClassificationRuleName <String[]>]
   [-ScanningRuleCustomFileExtension <ICustomFileExtension[]>]
   [-ScanningRuleFileExtension <FileExtensionsType[]>]
   [-Type <ScanRulesetType>]
   [<CommonParameters>]

Description

Create an in-memory object for AzureFileServiceScanRuleset.

Examples

Example 1: Create Azure File Service custom scanruleset object

New-AzPurviewAzureFileServiceScanRulesetObject -Kind 'AzureFileService' -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                                 : AzureFileService
LastModifiedAt                       :
Name                                 :
ScanningRuleCustomFileExtension      :
ScanningRuleFileExtension            : {CSV, JSON, PSV, SSV…}
Status                               :
Type                                 : Custom
Version                              :

Create Azure File Service 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

AzureFileServiceScanRuleset