Skip to content

Files

Latest commit

 

History

History
40 lines (27 loc) · 1.34 KB

azure-security-center-set-required-contact-details.md

File metadata and controls

40 lines (27 loc) · 1.34 KB

Pattern: Missing contact details for Azure security center

Issue: -

Description

It is recommended that at least one valid contact is configured for the security center. Microsoft will notify the security contact directly in the event of a security incident and will look to use a telephone number in cases where a prompt response is required.

Resolution: Set a telephone number for security center contact.

Examples

The following example will fail the azure-security-center-set-required-contact-details check.

resource "azurerm_security_center_contact" "bad_example" {
	email = "bad_contact@example.com"
	phone = ""

	alert_notifications = true
	alerts_to_admins = true
}

The following example will pass the azure-security-center-set-required-contact-details check.

resource "azurerm_security_center_contact" "good_example" {
	email = "good_contact@example.com"
	phone = "+1-555-555-5555"

	alert_notifications = true
	alerts_to_admins = true
}

Further reading