다음을 통해 공유


Microsoft.Security securityContacts 2023-12-01-preview

Bicep 리소스 정의

securityContacts 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.Security/securityContacts 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.Security/securityContacts@2023-12-01-preview' = {
  name: 'default'
  properties: {
    emails: 'string'
    isEnabled: bool
    notificationsByRole: {
      roles: [
        'string'
      ]
      state: 'string'
    }
    notificationsSources: [
      {
        sourceType: 'string'
        // For remaining properties, see NotificationsSource objects
      }
    ]
    phone: 'string'
  }
}

NotificationsSource 개체

sourceType 속성을 설정하여 개체의 형식을 지정합니다.

경고의 경우 다음을 사용합니다.

  sourceType: 'Alert'
  minimalSeverity: 'string'

AttackPath의 경우 다음을 사용합니다.

  sourceType: 'AttackPath'
  minimalRiskLevel: 'string'

속성 값

securityContacts

Name Description
name 리소스 이름 'default'
properties 보안 연락처 데이터 SecurityContactProperties

SecurityContactProperties

Name Description
emails 이 보안 연락처에 정의된 구성을 통해 클라우드용 Microsoft Defender 알림을 받을 이메일 주소 목록입니다. 문자열
isEnabled 보안 연락처를 사용할 수 있는지 여부를 나타냅니다. bool
notificationsByRole 메일 알림 Microsoft Defender 구독의 특정 RBAC 역할이 있는 사용자에게 보낼지 여부를 정의합니다. SecurityContactPropertiesNotificationsByRole
notificationsSources 이메일 알림을 평가하는 원본 유형의 컬렉션입니다. NotificationsSource[]
phone 보안 연락처의 전화 번호 string

SecurityContactPropertiesNotificationsByRole

Name Description
역할 클라우드용 Microsoft Defender 메일 알림 가져올 RBAC 역할을 정의합니다. 허용되는 RBAC 역할 목록: 다음 중 어느 것을 포함하는 문자열 배열:
'AccountAdmin'
'기여자'
'소유자'
'ServiceAdmin'
state AMicrosoft Defender for Cloud에서 구독의 특정 RBAC 역할이 있는 사용자에게 메일 알림 보낼지 여부를 정의합니다. '끄기'
'On'

NotificationsSource

Name Description
sourceType 개체 형식 설정 경고
AttackPath (필수)

NotificationsSourceAlert

Name Description
sourceType 알림을 트리거할 원본 유형 '경고'(필수)
minimalSeverity 메일 알림 전송될 최소 경고 심각도를 정의합니다. 'High'
'낮음'
'보통'

NotificationsSourceAttackPath

Name Description
sourceType 알림을 트리거할 원본 유형 'AttackPath'(필수)
minimalRiskLevel 메일 알림 전송될 최소 연결 경로 위험 수준을 정의합니다. '위험'
'High'
'낮음'
'보통'

ARM 템플릿 리소스 정의

securityContacts 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.Security/securityContacts 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.Security/securityContacts",
  "apiVersion": "2023-12-01-preview",
  "name": "default",
  "properties": {
    "emails": "string",
    "isEnabled": "bool",
    "notificationsByRole": {
      "roles": [ "string" ],
      "state": "string"
    },
    "notificationsSources": [
      {
        "sourceType": "string"
        // For remaining properties, see NotificationsSource objects
      }
    ],
    "phone": "string"
  }
}

NotificationsSource 개체

sourceType 속성을 설정하여 개체의 형식을 지정합니다.

경고의 경우 다음을 사용합니다.

  "sourceType": "Alert",
  "minimalSeverity": "string"

AttackPath의 경우 다음을 사용합니다.

  "sourceType": "AttackPath",
  "minimalRiskLevel": "string"

속성 값

securityContacts

Name Description
형식 리소스 종류 'Microsoft.Security/securityContacts'
apiVersion 리소스 api 버전 '2023-12-01-preview'
name 리소스 이름 'default'
properties 보안 연락처 데이터 SecurityContactProperties

SecurityContactProperties

Name Description
emails 이 보안 연락처에 정의된 구성을 통해 클라우드용 Microsoft Defender 알림을 받을 이메일 주소 목록입니다. string
isEnabled 보안 연락처를 사용할 수 있는지 여부를 나타냅니다. bool
notificationsByRole 메일 알림 Microsoft Defender 구독의 특정 RBAC 역할이 있는 사용자에게 보낼지 여부를 정의합니다. SecurityContactPropertiesNotificationsByRole
notificationsSources 이메일 알림을 평가하는 원본 유형의 컬렉션입니다. NotificationsSource[]
phone 보안 연락처의 전화 번호 string

SecurityContactPropertiesNotificationsByRole

Name Description
역할 클라우드용 Microsoft Defender 메일 알림 가져올 RBAC 역할을 정의합니다. 허용되는 RBAC 역할 목록: 다음 중 어느 것을 포함하는 문자열 배열:
'AccountAdmin'
'기여자'
'소유자'
'ServiceAdmin'
state AMicrosoft Defender for Cloud에서 구독의 특정 RBAC 역할이 있는 사용자에게 메일 알림 보낼지 여부를 정의합니다. '끄기'
'On'

NotificationsSource

Name Description
sourceType 개체 형식 설정 경고
AttackPath (필수)

NotificationsSourceAlert

Name Description
sourceType 알림을 트리거할 원본 유형 '경고'(필수)
minimalSeverity 메일 알림 전송될 최소 경고 심각도를 정의합니다. 'High'
'낮음'
'보통'

NotificationsSourceAttackPath

Name Description
sourceType 알림을 트리거할 원본 유형 'AttackPath'(필수)
minimalRiskLevel 메일 알림 전송될 최소 연결 경로 위험 수준을 정의합니다. '위험'
'High'
'낮음'
'보통'

Terraform(AzAPI 공급자) 리소스 정의

securityContacts 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

  • 구독

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.Security/securityContacts 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/securityContacts@2023-12-01-preview"
  name = "default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      emails = "string"
      isEnabled = bool
      notificationsByRole = {
        roles = [
          "string"
        ]
        state = "string"
      }
      notificationsSources = [
        {
          sourceType = "string"
          // For remaining properties, see NotificationsSource objects
        }
      ]
      phone = "string"
    }
  })
}

NotificationsSource 개체

sourceType 속성을 설정하여 개체의 형식을 지정합니다.

경고의 경우 다음을 사용합니다.

  sourceType = "Alert"
  minimalSeverity = "string"

AttackPath의 경우 다음을 사용합니다.

  sourceType = "AttackPath"
  minimalRiskLevel = "string"

속성 값

securityContacts

Name Description
형식 리소스 종류 "Microsoft.Security/securityContacts@2023-12-01-preview"
name 리소스 이름 "default"
parent_id 구독에 배포하려면 해당 구독의 ID를 사용합니다. string(필수)
properties 보안 연락처 데이터 SecurityContactProperties

SecurityContactProperties

Name Description
emails 이 보안 연락처에 정의된 구성을 통해 클라우드용 Microsoft Defender 알림을 받을 이메일 주소 목록입니다. string
isEnabled 보안 연락처를 사용할 수 있는지 여부를 나타냅니다. bool
notificationsByRole 메일 알림 Microsoft Defender 구독의 특정 RBAC 역할이 있는 사용자에게 보낼지 여부를 정의합니다. SecurityContactPropertiesNotificationsByRole
notificationsSources 이메일 알림을 평가하는 원본 유형의 컬렉션입니다. NotificationsSource[]
phone 보안 연락처의 전화 번호 string

SecurityContactPropertiesNotificationsByRole

Name Description
역할 클라우드용 Microsoft Defender 메일 알림 가져올 RBAC 역할을 정의합니다. 허용되는 RBAC 역할 목록: 다음 중 어느 것을 포함하는 문자열 배열:
"AccountAdmin"
"기여자"
"소유자"
"ServiceAdmin"
state AMicrosoft Defender for Cloud에서 구독의 특정 RBAC 역할이 있는 사용자에게 메일 알림 보낼지 여부를 정의합니다. "Off"
"On"

NotificationsSource

Name Description
sourceType 개체 형식 설정 경고
AttackPath (필수)

NotificationsSourceAlert

Name Description
sourceType 알림을 트리거할 원본 유형 "경고"(필수)
minimalSeverity 메일 알림 전송될 최소 경고 심각도를 정의합니다. "High"
"Low"
"보통"

NotificationsSourceAttackPath

Name Description
sourceType 알림을 트리거할 원본 유형 "AttackPath"(필수)
minimalRiskLevel 메일 알림 전송될 최소 연결 경로 위험 수준을 정의합니다. "위험"
"High"
"Low"
"보통"