alicloud_threat_detection_baseline_strategies

This data source provides Threat Detection Baseline Strategy available to the user.What is Baseline Strategy

Example Usage

resource "alicloud_threat_detection_baseline_strategy" "default" {
  custom_type            = "custom"
  end_time               = "08:00:00"
  baseline_strategy_name = "apispec"
  cycle_days             = 3
  target_type            = "groupId"
  start_time             = "05:00:00"
  risk_sub_type_name     = "hc_exploit_redis"
}

data "alicloud_threat_detection_baseline_strategies" "default" {
  ids         = ["${alicloud_threat_detection_baseline_strategy.default.id}"]
  name_regex  = alicloud_threat_detection_baseline_strategy.default.name
  custom_type = "custom"
}

output "alicloud_threat_detection_baseline_strategy_example_id" {
  value = data.alicloud_threat_detection_baseline_strategys.default.strategys.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: