tencentcloud-sdk-cwp 3.0.851 → 3.0.853
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/v20180228/client.rb +0 -26
- data/lib/v20180228/models.rb +0 -62
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a36715872ade47d387e403bcf667a35f463607c
|
4
|
+
data.tar.gz: 0858e1da6db6b46c8972e3d311ae9316eba4c9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36d4b8a4b99c41bbafbd1e0747088b1e820a23008aec3cbf49ddfa5dd4cda6561d87269ac06a0602cab2d9549ef3ad2390d51bdd57709d4fb56d74dd9660ad4e
|
7
|
+
data.tar.gz: dfe886d7490717c2638060e9dbed9fa3befac727a1c143a03c5c2d9578c0983890739522c02320df962577694d3ffbb44907fab7d2ff596473e49b225cbc186b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.853
|
data/lib/v20180228/client.rb
CHANGED
@@ -9224,32 +9224,6 @@ module TencentCloud
|
|
9224
9224
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9225
9225
|
end
|
9226
9226
|
|
9227
|
-
# ExportAttackEvents接口替代
|
9228
|
-
|
9229
|
-
# 导出网络攻击日志
|
9230
|
-
|
9231
|
-
# @param request: Request instance for ExportAttackLogs.
|
9232
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::ExportAttackLogsRequest`
|
9233
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::ExportAttackLogsResponse`
|
9234
|
-
def ExportAttackLogs(request)
|
9235
|
-
body = send_request('ExportAttackLogs', request.serialize)
|
9236
|
-
response = JSON.parse(body)
|
9237
|
-
if response['Response'].key?('Error') == false
|
9238
|
-
model = ExportAttackLogsResponse.new
|
9239
|
-
model.deserialize(response['Response'])
|
9240
|
-
model
|
9241
|
-
else
|
9242
|
-
code = response['Response']['Error']['Code']
|
9243
|
-
message = response['Response']['Error']['Message']
|
9244
|
-
reqid = response['Response']['RequestId']
|
9245
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
9246
|
-
end
|
9247
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
9248
|
-
raise e
|
9249
|
-
rescue StandardError => e
|
9250
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9251
|
-
end
|
9252
|
-
|
9253
9227
|
# 导出基线影响主机列表
|
9254
9228
|
|
9255
9229
|
# @param request: Request instance for ExportBaselineEffectHostList.
|
data/lib/v20180228/models.rb
CHANGED
@@ -27793,68 +27793,6 @@ module TencentCloud
|
|
27793
27793
|
end
|
27794
27794
|
end
|
27795
27795
|
|
27796
|
-
# ExportAttackLogs请求参数结构体
|
27797
|
-
class ExportAttackLogsRequest < TencentCloud::Common::AbstractModel
|
27798
|
-
# @param Filters: 过滤条件。
|
27799
|
-
# <li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
|
27800
|
-
# <li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
|
27801
|
-
# <li>VulType - String 威胁类型 - 是否必填: 否</li>
|
27802
|
-
# <li>SrcIp - String 攻击源IP - 是否必填: 否</li>
|
27803
|
-
# <li>DstIp - String 攻击目标IP - 是否必填: 否</li>
|
27804
|
-
# <li>SrcPort - String 攻击源端口 - 是否必填: 否</li>
|
27805
|
-
# <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
|
27806
|
-
# @type Filters: Array
|
27807
|
-
# @param Uuid: 主机安全客户端ID
|
27808
|
-
# @type Uuid: String
|
27809
|
-
# @param Quuid: 云主机机器ID
|
27810
|
-
# @type Quuid: String
|
27811
|
-
|
27812
|
-
attr_accessor :Filters, :Uuid, :Quuid
|
27813
|
-
|
27814
|
-
def initialize(filters=nil, uuid=nil, quuid=nil)
|
27815
|
-
@Filters = filters
|
27816
|
-
@Uuid = uuid
|
27817
|
-
@Quuid = quuid
|
27818
|
-
end
|
27819
|
-
|
27820
|
-
def deserialize(params)
|
27821
|
-
unless params['Filters'].nil?
|
27822
|
-
@Filters = []
|
27823
|
-
params['Filters'].each do |i|
|
27824
|
-
filters_tmp = Filters.new
|
27825
|
-
filters_tmp.deserialize(i)
|
27826
|
-
@Filters << filters_tmp
|
27827
|
-
end
|
27828
|
-
end
|
27829
|
-
@Uuid = params['Uuid']
|
27830
|
-
@Quuid = params['Quuid']
|
27831
|
-
end
|
27832
|
-
end
|
27833
|
-
|
27834
|
-
# ExportAttackLogs返回参数结构体
|
27835
|
-
class ExportAttackLogsResponse < TencentCloud::Common::AbstractModel
|
27836
|
-
# @param DownloadUrl: 已废弃
|
27837
|
-
# @type DownloadUrl: String
|
27838
|
-
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
27839
|
-
# @type TaskId: String
|
27840
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27841
|
-
# @type RequestId: String
|
27842
|
-
|
27843
|
-
attr_accessor :DownloadUrl, :TaskId, :RequestId
|
27844
|
-
|
27845
|
-
def initialize(downloadurl=nil, taskid=nil, requestid=nil)
|
27846
|
-
@DownloadUrl = downloadurl
|
27847
|
-
@TaskId = taskid
|
27848
|
-
@RequestId = requestid
|
27849
|
-
end
|
27850
|
-
|
27851
|
-
def deserialize(params)
|
27852
|
-
@DownloadUrl = params['DownloadUrl']
|
27853
|
-
@TaskId = params['TaskId']
|
27854
|
-
@RequestId = params['RequestId']
|
27855
|
-
end
|
27856
|
-
end
|
27857
|
-
|
27858
27796
|
# ExportBaselineEffectHostList请求参数结构体
|
27859
27797
|
class ExportBaselineEffectHostListRequest < TencentCloud::Common::AbstractModel
|
27860
27798
|
# @param BaselineId: 基线id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.853
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|