Using this data source can open Threat Detection Log Shipper automatically. If the service has been enabled, it will return Opened
.
For information about Threat Detection Log Shipper and how to use it, see What is Log Shipper.
Basic Usage
data "alicloud_threat_detection_log_shipper" "open" {
enable = "On"
}
The following arguments are supported:
enable
- (Optional) Setting the value to On
to enable the service. Valid values: On
or Off
. Default to Off
.The following attributes are exported in addition to the arguments listed above:
status
- The current service enable status.open_status
- Log analysis shipping activation status.auth_status
- Log Analysis Service authorization status.buy_status
- Cloud Security Center purchase status.sls_project_status
- Log analysis project status.sls_service_status
- Log Analysis Service is activated.