Provides a Threat Detection Malicious File Whitelist Config resource. malicious file add whitelist config.
For information about Threat Detection Malicious File Whitelist Config and how to use it, see What is Malicious File Whitelist Config.
Basic Usage
variable "name" {
default = "terraform-example"
}
resource "alicloud_threat_detection_malicious_file_whitelist_config" "default" {
operator = "strEquals"
field = "fileMd6"
target_value = "123"
target_type = "SELECTION_KEY"
event_name = "123"
source = "agentless"
field_value = "sadfas"
}
The following arguments are supported:
event_name
- (Optional) The name of the security alert associated with the representative rule.field
- (Optional) Represents the alarm associated with the resource and the white field.field_value
- (Optional) Represents the whiteout target value in effect for the resource.operator
- (Optional) The decision operator in effect on behalf of the resource.source
- (Optional, ForceNew) Business Source:
target_type
- (Optional) The type of target in effect on behalf of the resource.target_value
- (Optional) Represents the specific value of the target type in effect for the resource.The following attributes are exported:
id
- The ID of the resource supplied above.create_time
- The creation time of the resource.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Malicious File Whitelist Config.delete
- (Defaults to 5 mins) Used when delete the Malicious File Whitelist Config.update
- (Defaults to 5 mins) Used when update the Malicious File Whitelist Config.Threat Detection Malicious File Whitelist Config can be imported using the id, e.g.
$ terraform import alicloud_threat_detection_malicious_file_whitelist_config.example <id>