Azure SQL 계정 관리자 경고 이메일 설정 점검

Azure SQL 보안 경고가 실제 대응 담당자에게 전달되도록 수신자를 확인하세요.

설명

Azure SQL 데이터베이스 보안 경고 정책의 emailAccountAdmins는 계정 관리자에게 메일을 보낼지 정합니다. 이 설정이 꺼져 있어도 emailAddresses에 지정한 수신자는 경고를 받을 수 있습니다.

잠재적 영향

어느 경로로도 당직 팀에 메일이 가지 않으면 데이터베이스 경고를 놓칠 수 있습니다.

해결 방법

계정 관리자가 경고에 대응한다면 emailAccountAdmins를 true로 설정하세요. 지정한 주소를 확인하고 담당 팀이 모니터링하는 메일함에 경고가 도착하는지, 누가 대응할지 확인하세요.

예시

두 예시 모두 기존 SQL 서버에 있는 데이터베이스 하나에 경고 정책을 켭니다. 서버 이름, 데이터베이스 이름, 팀 이메일 주소를 지정하세요.

변경 전

bicep
resource sample_server_default 'Microsoft.Sql/servers/databases/securityAlertPolicies@2021-02-01-preview' = {
  name: 'sample/server/default'
  properties: {
    emailAccountAdmins: false
    emailAddresses: ['sample@email.com']
    retentionDays: 4
    state: 'Enabled'
  }
}

첫 번째는 지정한 주소로 경고를 보냅니다.

변경 후

bicep
resource sample_server_default 'Microsoft.Sql/servers/databases/securityAlertPolicies@2021-02-01-preview' = {
  name: 'sample/server/default'
  properties: {
    emailAccountAdmins: true
    emailAddresses: ['sample@email.com']
    retentionDays: 4
    state: 'Enabled'
  }
}

두 번째는 계정 관리자도 수신자에 포함합니다.

참조