alicloud_threat_detection_client_user_define_rule

Provides a Threat Detection Client User Define Rule resource. Malicious Behavior Defense Custom Rules.

For information about Threat Detection Client User Define Rule and how to use it, see What is Client User Define Rule.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "cn-hangzhou"
}


resource "alicloud_threat_detection_client_user_define_rule" "default" {
  action_type                  = "0"
  platform                     = "windows"
  registry_content             = "123"
  client_user_define_rule_name = var.name

  parent_proc_path = "/root/bash"
  type             = "5"
  cmdline          = "bash"
  proc_path        = "/root/bash"
  parent_cmdline   = "bash"
  registry_key     = "123"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Threat Detection Client User Define Rule can be imported using the id, e.g.

$ terraform import alicloud_threat_detection_client_user_define_rule.example <id>