次の方法で共有


Get-AzSecuritySetting

Azure Security Center でセキュリティ設定を取得する

構文

SubscriptionScope (既定)

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

SubscriptionLevelResource

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

説明

Get-AzSecuritySetting コマンドレットは、Azure Security Center のセキュリティ設定を取得します。

例 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

MCAS データ エクスポート設定を取得します

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-SettingName

設定名。 (MCAS/WDATP/Sentinel)

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

SubscriptionLevelResource
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

String

出力

PSSecuritySetting

PSSecurityDataExportSetting

PSSecurityAlertSyncSettings