tencentcloud-sdk-tcss 3.0.441 → 3.0.442
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201101/client.rb +24 -0
- data/lib/v20201101/models.rb +73 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b05a759ebd7080f2663b9d9e85b396f6c5013fc0
|
4
|
+
data.tar.gz: 15cb8860f38d1b80ad00ab2dd555a44b8430971f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6efceb66869ab4125f842e7a115e133db3ef16185d7bc4fed7fbecdf462ba41e7a9b9c11aebbe2c35def9e11147182e73c756f238c9e3868eae91ab13b8e922
|
7
|
+
data.tar.gz: 3cc33032194b3e6a42181f02dc0828276b66cd4c54137c8aab45b8d6d708c64492822089462461e5504e9145b54e0b4a4066ca7ce1f38c319be8f534786dd8ea
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.442
|
data/lib/v20201101/client.rb
CHANGED
@@ -1039,6 +1039,30 @@ module TencentCloud
|
|
1039
1039
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1040
1040
|
end
|
1041
1041
|
|
1042
|
+
# 创建恶意请求事件导出任务
|
1043
|
+
|
1044
|
+
# @param request: Request instance for CreateRiskDnsEventExportJob.
|
1045
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::CreateRiskDnsEventExportJobRequest`
|
1046
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::CreateRiskDnsEventExportJobResponse`
|
1047
|
+
def CreateRiskDnsEventExportJob(request)
|
1048
|
+
body = send_request('CreateRiskDnsEventExportJob', request.serialize)
|
1049
|
+
response = JSON.parse(body)
|
1050
|
+
if response['Response'].key?('Error') == false
|
1051
|
+
model = CreateRiskDnsEventExportJobResponse.new
|
1052
|
+
model.deserialize(response['Response'])
|
1053
|
+
model
|
1054
|
+
else
|
1055
|
+
code = response['Response']['Error']['Code']
|
1056
|
+
message = response['Response']['Error']['Message']
|
1057
|
+
reqid = response['Response']['RequestId']
|
1058
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1059
|
+
end
|
1060
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1061
|
+
raise e
|
1062
|
+
rescue StandardError => e
|
1063
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1064
|
+
end
|
1065
|
+
|
1042
1066
|
# 添加检索模板
|
1043
1067
|
|
1044
1068
|
# @param request: Request instance for CreateSearchTemplate.
|
data/lib/v20201101/models.rb
CHANGED
@@ -4695,6 +4695,79 @@ module TencentCloud
|
|
4695
4695
|
end
|
4696
4696
|
end
|
4697
4697
|
|
4698
|
+
# CreateRiskDnsEventExportJob请求参数结构体
|
4699
|
+
class CreateRiskDnsEventExportJobRequest < TencentCloud::Common::AbstractModel
|
4700
|
+
# @param Filters: 过滤条件。
|
4701
|
+
# <li>EventStatus- String - 是否必填:否 - 事件状态,待处理:EVENT_UNDEAL,EVENT_DEALED:已处理,已忽略:EVENT_IGNORE, EVENT_ADD_WHITE:已加白</li>
|
4702
|
+
# <li>ContainerStatus- String - 是否必填:否 - 容器运行状态筛选,已创建:CREATED,正常运行:RUNNING, 暂定运行:PAUSED, 停止运行: STOPPED,重启中:RESTARTING, 迁移中:REMOVING, 销毁:DESTROYED </li>
|
4703
|
+
# <li>ContainerNetStatus- String -是否必填: 否 - 容器网络状态筛选 未隔离:NORMAL,已隔离:ISOLATED,隔离失败:ISOLATE_FAILED,解除隔离失败:RESTORE_FAILED,解除隔离中:RESTORING,隔离中:ISOLATING</li>
|
4704
|
+
# <li>EventType - String -是否必填: 否 - 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP</li>
|
4705
|
+
# <li>TimeRange- String -是否必填: 否 - 时间范围,第一个值表示开始时间,第二个值表示结束时间 </li>
|
4706
|
+
# <li>RiskDns- string - 是否必填:否 - 恶意域名。</li>
|
4707
|
+
# <li>RiskIP- string - 是否必填:否 - 恶意IP。</li>
|
4708
|
+
# <li>ContainerName- string - 是否必填:否 - 容器名称。</li>
|
4709
|
+
# <li>ContainerID- string - 是否必填:否 - 容器ID。</li>
|
4710
|
+
# <li>ImageName- string - 是否必填:否 - 镜像名称。</li>
|
4711
|
+
# <li>ImageID- string - 是否必填:否 - 镜像ID。</li>
|
4712
|
+
# <li>HostName- string - 是否必填:否 - 主机名称。</li>
|
4713
|
+
# <li>HostIP- string - 是否必填:否 - 内网IP。</li>
|
4714
|
+
# <li>PublicIP- string - 是否必填:否 - 外网IP。</li>
|
4715
|
+
# @type Filters: Array
|
4716
|
+
# @param Limit: 需要返回的数量,最大值为100000
|
4717
|
+
# @type Limit: Integer
|
4718
|
+
# @param Offset: 偏移量,默认为0。
|
4719
|
+
# @type Offset: Integer
|
4720
|
+
# @param Order: 排序方式:asc/desc
|
4721
|
+
# @type Order: String
|
4722
|
+
# @param By: 排序字段:事件数量:EventCount
|
4723
|
+
# @type By: String
|
4724
|
+
|
4725
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
4726
|
+
|
4727
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
4728
|
+
@Filters = filters
|
4729
|
+
@Limit = limit
|
4730
|
+
@Offset = offset
|
4731
|
+
@Order = order
|
4732
|
+
@By = by
|
4733
|
+
end
|
4734
|
+
|
4735
|
+
def deserialize(params)
|
4736
|
+
unless params['Filters'].nil?
|
4737
|
+
@Filters = []
|
4738
|
+
params['Filters'].each do |i|
|
4739
|
+
runtimefilters_tmp = RunTimeFilters.new
|
4740
|
+
runtimefilters_tmp.deserialize(i)
|
4741
|
+
@Filters << runtimefilters_tmp
|
4742
|
+
end
|
4743
|
+
end
|
4744
|
+
@Limit = params['Limit']
|
4745
|
+
@Offset = params['Offset']
|
4746
|
+
@Order = params['Order']
|
4747
|
+
@By = params['By']
|
4748
|
+
end
|
4749
|
+
end
|
4750
|
+
|
4751
|
+
# CreateRiskDnsEventExportJob返回参数结构体
|
4752
|
+
class CreateRiskDnsEventExportJobResponse < TencentCloud::Common::AbstractModel
|
4753
|
+
# @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
|
4754
|
+
# @type JobId: String
|
4755
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4756
|
+
# @type RequestId: String
|
4757
|
+
|
4758
|
+
attr_accessor :JobId, :RequestId
|
4759
|
+
|
4760
|
+
def initialize(jobid=nil, requestid=nil)
|
4761
|
+
@JobId = jobid
|
4762
|
+
@RequestId = requestid
|
4763
|
+
end
|
4764
|
+
|
4765
|
+
def deserialize(params)
|
4766
|
+
@JobId = params['JobId']
|
4767
|
+
@RequestId = params['RequestId']
|
4768
|
+
end
|
4769
|
+
end
|
4770
|
+
|
4698
4771
|
# CreateSearchTemplate请求参数结构体
|
4699
4772
|
class CreateSearchTemplateRequest < TencentCloud::Common::AbstractModel
|
4700
4773
|
# @param SearchTemplate: 搜索模板
|