Provides a Sensitive Data Scanner group resource.
# Create new sensitive_data_scanner_group resource
resource "datadog_sensitive_data_scanner_group" "mygroup" {
name = "My new scanning group"
description = "A relevant description"
filter {
query = "service:my-service"
}
is_enabled = true
product_list = ["apm"]
}
filter
(Block List, Min: 1, Max: 1) Filter object the scanning group applies. (see below for nested schema)is_enabled
(Boolean) Whether or not the scanning group is enabled. If the group doesn't contain any rule or if all the rules in it are disabled, the group is force-disabled by our backendname
(String) Name of the Datadog scanning group.product_list
(Set of String) List of products the scanning group applies. Valid values are logs
, rum
, events
, apm
.description
(String) Description of the Datadog scanning group.id
(String) The ID of this resource.filter
Required:
query
(String) Query to filter the events.Import is supported using the following syntax:
terraform import datadog_sensitive_data_scanner_group.new_list ""