alicloud_threat_detection_honeypot_probes

This data source provides Threat Detection Honeypot Probe available to the user.What is Honeypot Probe

Example Usage

variable "name" {
  default = "tf-testAccThreatDetectionHoneypotProbe"
}

resource "alicloud_threat_detection_honeypot_probe" "default" {
  uuid            = "e52c7872-29d1-4aa1-9908-0299abd53606"
  probe_type      = "host_probe"
  control_node_id = "e1397077-4941-4b14-b533-ca2bdebd00a3"
  ping            = true
  honeypot_bind_list {
    bind_port_list {
      start_port = 80
      end_port   = 80
    }
    honeypot_id = "4925bf9784de992ecd017ad051528a03b3927ef814eeff76c2ebb3ab9a84bf05"
  }
  display_name = var.name
  arp          = true
}

data "alicloud_threat_detection_honeypot_probes" "default" {
  ids            = ["${alicloud_threat_detection_honeypot_probe.default.id}"]
  display_name   = var.name
  probe_type     = "host_probe"
  enable_details = true
}

output "alicloud_threat_detection_honeypot_probe_example_id" {
  value = data.alicloud_threat_detection_honeypot_probes.default.probes.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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