你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzPurviewSystemScanRulesetLatest

Get the latest version of a system scan ruleset

Syntax

Get-AzPurviewSystemScanRulesetLatest
   -Endpoint <String>
   [-DataSourceType <DataSourceType>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Get the latest version of a system scan ruleset

Examples

Example 1: Get latest system scan ruleset available for a data source

Get-AzPurviewSystemScanRulesetLatest -Endpoint https://parv-brs-2.purview.azure.com/ -DataSourceType 'AzureStorage'

Id                : systemscanrulesets/AzureStorage
Kind              : AzureStorage
Name              : AzureStorage
ResourceGroupName :
Status            : Enabled
Type              : System
Version           : 4

Get latest system scan ruleset available for a data source

Parameters

-DataSourceType

.

Type:DataSourceType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Endpoint

The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ISystemScanRuleset