New-AzPurviewAmazonS3ScanRulesetObject

Create an in-memory object for AmazonS3ScanRuleset.

Syntax

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

Description

Create an in-memory object for AmazonS3ScanRuleset.

Examples

Example 1: Create AmazonS3 custom scanruleset object

New-AzPurviewAmazonS3ScanRulesetObject -Kind 'AmazonS3' -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                                 : AmazonS3
LastModifiedAt                       :
Name                                 :
ScanningRuleCustomFileExtension      :
ScanningRuleFileExtension            : {CSV, JSON, PSV, SSVā€¦}
Status                               :
Type                                 : Custom
Version                              :

Create AmazonS3 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

AmazonS3ScanRuleset