Microsoft.Security securityContacts 2020-01-01-preview
Bicep リソース定義
securityContacts リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- サブスクリプション - サブスクリプションのデプロイ コマンドに関するページを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Security/securityContacts リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Security/securityContacts@2020-01-01-preview' = {
name: 'string'
properties: {
alertNotifications: {
minimalSeverity: 'string'
state: 'string'
}
emails: 'string'
notificationsByRole: {
roles: [
'string'
]
state: 'string'
}
phone: 'string'
}
}
プロパティ値
securityContacts
名前 | 説明 | 値 |
---|---|---|
name | リソース名 | string (必須) 文字制限: 1 から 260 有効な文字: 英数字、アンダースコア、およびハイフン。 |
properties | セキュリティ連絡先データ | SecurityContactProperties |
SecurityContactProperties
名前 | 説明 | 値 |
---|---|---|
alertNotifications | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | SecurityContactPropertiesAlertNotifications |
emails | このセキュリティ連絡先で定義されている構成によって、Microsoft Defender for Cloud から通知を受け取る電子メール アドレスの一覧。 | string |
notificationsByRole | Microsoft Defender for Cloud から、サブスクリプション上の特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | SecurityContactPropertiesNotificationsByRole |
phone | セキュリティ連絡先の電話番号 | string |
SecurityContactPropertiesAlertNotifications
名前 | 説明 | 値 |
---|---|---|
minimalSeverity | 電子メール通知として送信される最小限のアラートの重大度を定義します | 'High' 'Low' 'Medium' |
state | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | 'Off' 'On' |
SecurityContactPropertiesNotificationsByRole
名前 | 説明 | 値 |
---|---|---|
roles | Microsoft Defender for Cloud から電子メール通知を受け取る RBAC ロールを定義します。 許可される RBAC ロールの一覧: | 次のいずれかを含む文字列配列: 'AccountAdmin' 'Contributor' 'Owner' 'ServiceAdmin' |
state | AMicrosoft Defender for Cloud から、サブスクリプション上の特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | 'Off' 'On' |
ARM テンプレート リソース定義
securityContacts リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- サブスクリプション - サブスクリプションのデプロイ コマンドに関するページを参照してください
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Security/securityContacts リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Security/securityContacts",
"apiVersion": "2020-01-01-preview",
"name": "string",
"properties": {
"alertNotifications": {
"minimalSeverity": "string",
"state": "string"
},
"emails": "string",
"notificationsByRole": {
"roles": [ "string" ],
"state": "string"
},
"phone": "string"
}
}
プロパティ値
securityContacts
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | 'Microsoft.Security/securityContacts' |
apiVersion | リソース API のバージョン | '2020-01-01-preview' |
name | リソース名 | string (必須) 文字制限: 1 から 260 有効な文字: 英数字、アンダースコア、およびハイフン。 |
properties | セキュリティ連絡先データ | SecurityContactProperties |
SecurityContactProperties
名前 | 説明 | 値 |
---|---|---|
alertNotifications | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | SecurityContactPropertiesAlertNotifications |
emails | このセキュリティ連絡先で定義されている構成によって、Microsoft Defender for Cloud から通知を受け取る電子メール アドレスの一覧。 | string |
notificationsByRole | Microsoft Defender for Cloud から、サブスクリプション上の特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | SecurityContactPropertiesNotificationsByRole |
phone | セキュリティ連絡先の電話番号 | string |
SecurityContactPropertiesAlertNotifications
名前 | 説明 | 値 |
---|---|---|
minimalSeverity | 電子メール通知として送信される最小限のアラートの重大度を定義します | 'High' 'Low' 'Medium' |
state | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | 'Off' 'On' |
SecurityContactPropertiesNotificationsByRole
名前 | 説明 | 値 |
---|---|---|
roles | Microsoft Defender for Cloud から電子メール通知を受け取る RBAC ロールを定義します。 許可される RBAC ロールの一覧: | 次のいずれかを含む文字列配列: 'AccountAdmin' 'Contributor' 'Owner' 'ServiceAdmin' |
state | AMicrosoft Defender for Cloud から、サブスクリプション上の特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | 'Off' 'On' |
Terraform (AzAPI プロバイダー) リソース定義
securityContacts リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- サブスクリプション
各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。
リソース形式
Microsoft.Security/securityContacts リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Security/securityContacts@2020-01-01-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
alertNotifications = {
minimalSeverity = "string"
state = "string"
}
emails = "string"
notificationsByRole = {
roles = [
"string"
]
state = "string"
}
phone = "string"
}
})
}
プロパティ値
securityContacts
名前 | 説明 | 値 |
---|---|---|
type | リソースの種類 | "Microsoft.Security/securityContacts@2020-01-01-preview" |
name | リソース名 | string (必須) 文字制限: 1 から 260 有効な文字: 英数字、アンダースコア、およびハイフン。 |
parent_id | サブスクリプションにデプロイするには、そのサブスクリプションの ID を使用します。 | string (必須) |
properties | セキュリティ連絡先データ | SecurityContactProperties |
SecurityContactProperties
名前 | 説明 | 値 |
---|---|---|
alertNotifications | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | SecurityContactPropertiesAlertNotifications |
emails | このセキュリティ連絡先で定義されている構成によって、Microsoft Defender for Cloud から通知を受け取る電子メール アドレスの一覧。 | string |
notificationsByRole | Microsoft Defender for Cloud から、サブスクリプション上の特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | SecurityContactPropertiesNotificationsByRole |
phone | セキュリティ連絡先の電話番号 | string |
SecurityContactPropertiesAlertNotifications
名前 | 説明 | 値 |
---|---|---|
minimalSeverity | 電子メール通知として送信される最小限のアラートの重大度を定義します | "High" "Low" "Medium" |
state | 新しいセキュリティ アラートに関する電子メール通知を送信するかどうかを定義します | "Off" "On" |
SecurityContactPropertiesNotificationsByRole
名前 | 説明 | 値 |
---|---|---|
roles | Microsoft Defender for Cloud から電子メール通知を受け取る RBAC ロールを定義します。 許可されている RBAC ロールの一覧: | 次のいずれかを含む文字列配列: "AccountAdmin" "共同作成者" "所有者" "ServiceAdmin" |
state | AMicrosoft Defender for Cloud からサブスクリプションの特定の RBAC ロールを持つユーザーに電子メール通知を送信するかどうかを定義します。 | "Off" "On" |