datadog_security_monitoring_default_rule (Resource)

Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule.

Example Usage

resource "datadog_security_monitoring_default_rule" "adefaultrule" {
  enabled = true

  # Change the notifications for the high case
  case {
    status        = "high"
    notifications = ["@me"]
  }
}

Schema

Optional

Read-Only

Nested Schema for case

Required:

Nested Schema for filter

Required:

Nested Schema for options

Optional:

Import

Import is supported using the following syntax:

# Default rules need to be imported using their ID before applying.
resource "datadog_security_monitoring_default_rule" "adefaultrule" {
}

terraform import datadog_security_monitoring_default_rule.adefaultrule m0o-hto-lkb