Düzenle

Aracılığıyla paylaş


Get-AzSecuritySetting

Get security settings in Azure Security Center

Syntax

Get-AzSecuritySetting
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSecuritySetting
   -SettingName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSecuritySetting cmdlet get security settings in Azure Security Center.

Examples

Example 1

Get-AzSecuritySetting -SettingName "MCAS"

Id: "/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/settings/MCAS"
Name: "MCAS"
Type: "Microsoft.Security/settings"
Enabled: true

Gets an MCAS data export setting

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SettingName

Setting name. (MCAS/WDATP/Sentinel)

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

Inputs

String

Outputs

PSSecuritySetting

PSSecurityDataExportSetting

PSSecurityAlertSyncSettings