tencentcloud-sdk-cwp 3.0.539 → 3.0.541
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 +24 -0
- data/lib/v20180228/models.rb +229 -35
- 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: 5c28bb91b3a1d83837a3f7c115a01183a2181576
|
4
|
+
data.tar.gz: 0b0419a1ba63bb24a9e5304123b6485bf0706183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15bdcddd2637324c5c2e35d0af0b64944765f6fe8cb34367a26c480b81ca53e20b8e741272b4534e8058b5988edc3cb8adcc834c80322f89872330ae32699a52
|
7
|
+
data.tar.gz: b6d20d4d06f265608489c0c7650ab1fe16bbb79d7163fef2630ed1c0ce505c4f3e7552b0d24b80382d405b30e296fe71713f42e39405d0ad192ba005410a852e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.541
|
data/lib/v20180228/client.rb
CHANGED
@@ -3776,6 +3776,30 @@ module TencentCloud
|
|
3776
3776
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3777
3777
|
end
|
3778
3778
|
|
3779
|
+
# 获取恶意请求事件列表
|
3780
|
+
|
3781
|
+
# @param request: Request instance for DescribeRiskDnsEventList.
|
3782
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventListRequest`
|
3783
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventListResponse`
|
3784
|
+
def DescribeRiskDnsEventList(request)
|
3785
|
+
body = send_request('DescribeRiskDnsEventList', request.serialize)
|
3786
|
+
response = JSON.parse(body)
|
3787
|
+
if response['Response'].key?('Error') == false
|
3788
|
+
model = DescribeRiskDnsEventListResponse.new
|
3789
|
+
model.deserialize(response['Response'])
|
3790
|
+
model
|
3791
|
+
else
|
3792
|
+
code = response['Response']['Error']['Code']
|
3793
|
+
message = response['Response']['Error']['Message']
|
3794
|
+
reqid = response['Response']['RequestId']
|
3795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3796
|
+
end
|
3797
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3798
|
+
raise e
|
3799
|
+
rescue StandardError => e
|
3800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3801
|
+
end
|
3802
|
+
|
3779
3803
|
# 入侵检测,获取恶意请求列表
|
3780
3804
|
|
3781
3805
|
# @param request: Request instance for DescribeRiskDnsList.
|
data/lib/v20180228/models.rb
CHANGED
@@ -10929,7 +10929,7 @@ module TencentCloud
|
|
10929
10929
|
|
10930
10930
|
# DescribeExportMachines返回参数结构体
|
10931
10931
|
class DescribeExportMachinesResponse < TencentCloud::Common::AbstractModel
|
10932
|
-
# @param TaskId: 任务
|
10932
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
10933
10933
|
# @type TaskId: String
|
10934
10934
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10935
10935
|
# @type RequestId: String
|
@@ -13682,6 +13682,84 @@ module TencentCloud
|
|
13682
13682
|
end
|
13683
13683
|
end
|
13684
13684
|
|
13685
|
+
# DescribeRiskDnsEventList请求参数结构体
|
13686
|
+
class DescribeRiskDnsEventListRequest < TencentCloud::Common::AbstractModel
|
13687
|
+
# @param Filters: <li>IpOrName - String - 是否必填:否 - 主机Ip或别名筛选</li>
|
13688
|
+
# <li>HostId - String - 是否必填:否 - 主机Id</li>
|
13689
|
+
# <li>AgentId - String - 是否必填:否 - 客户端Id</li>
|
13690
|
+
# <li>PolicyType - String - 是否必填:否 - 策略类型,0:系统策略1:用户自定义策略</li>
|
13691
|
+
# <li>Domain - String - 是否必填:否 - 域名(先对域名做urlencode,再base64)</li>
|
13692
|
+
# <li>HandleStatus - String - 是否必填:否 - 状态筛选0:待处理;2:信任;3:不信任</li>
|
13693
|
+
# <li>BeginTime - String - 是否必填:否 - 最近访问开始时间</li>
|
13694
|
+
# <li>EndTime - String - 是否必填:否 - 最近访问结束时间</li>
|
13695
|
+
# @type Filters: Array
|
13696
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
13697
|
+
# @type Limit: Integer
|
13698
|
+
# @param Offset: 偏移量,默认为0。
|
13699
|
+
# @type Offset: Integer
|
13700
|
+
# @param Order: 排序方式:根据请求次数排序:[asc:升序|desc:降序]
|
13701
|
+
# @type Order: String
|
13702
|
+
# @param By: 排序字段:[AccessCount:请求次数|LastTime:最近请求时间]
|
13703
|
+
# @type By: String
|
13704
|
+
|
13705
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
13706
|
+
|
13707
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
13708
|
+
@Filters = filters
|
13709
|
+
@Limit = limit
|
13710
|
+
@Offset = offset
|
13711
|
+
@Order = order
|
13712
|
+
@By = by
|
13713
|
+
end
|
13714
|
+
|
13715
|
+
def deserialize(params)
|
13716
|
+
unless params['Filters'].nil?
|
13717
|
+
@Filters = []
|
13718
|
+
params['Filters'].each do |i|
|
13719
|
+
filter_tmp = Filter.new
|
13720
|
+
filter_tmp.deserialize(i)
|
13721
|
+
@Filters << filter_tmp
|
13722
|
+
end
|
13723
|
+
end
|
13724
|
+
@Limit = params['Limit']
|
13725
|
+
@Offset = params['Offset']
|
13726
|
+
@Order = params['Order']
|
13727
|
+
@By = params['By']
|
13728
|
+
end
|
13729
|
+
end
|
13730
|
+
|
13731
|
+
# DescribeRiskDnsEventList返回参数结构体
|
13732
|
+
class DescribeRiskDnsEventListResponse < TencentCloud::Common::AbstractModel
|
13733
|
+
# @param List: 恶意请求事件列表
|
13734
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13735
|
+
# @type List: Array
|
13736
|
+
# @param TotalCount: 总数
|
13737
|
+
# @type TotalCount: Integer
|
13738
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13739
|
+
# @type RequestId: String
|
13740
|
+
|
13741
|
+
attr_accessor :List, :TotalCount, :RequestId
|
13742
|
+
|
13743
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
13744
|
+
@List = list
|
13745
|
+
@TotalCount = totalcount
|
13746
|
+
@RequestId = requestid
|
13747
|
+
end
|
13748
|
+
|
13749
|
+
def deserialize(params)
|
13750
|
+
unless params['List'].nil?
|
13751
|
+
@List = []
|
13752
|
+
params['List'].each do |i|
|
13753
|
+
riskdnsevent_tmp = RiskDnsEvent.new
|
13754
|
+
riskdnsevent_tmp.deserialize(i)
|
13755
|
+
@List << riskdnsevent_tmp
|
13756
|
+
end
|
13757
|
+
end
|
13758
|
+
@TotalCount = params['TotalCount']
|
13759
|
+
@RequestId = params['RequestId']
|
13760
|
+
end
|
13761
|
+
end
|
13762
|
+
|
13685
13763
|
# DescribeRiskDnsList请求参数结构体
|
13686
13764
|
class DescribeRiskDnsListRequest < TencentCloud::Common::AbstractModel
|
13687
13765
|
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
@@ -14214,9 +14292,9 @@ module TencentCloud
|
|
14214
14292
|
|
14215
14293
|
# DescribeSearchExportList返回参数结构体
|
14216
14294
|
class DescribeSearchExportListResponse < TencentCloud::Common::AbstractModel
|
14217
|
-
# @param TaskId:
|
14295
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
14218
14296
|
# @type TaskId: Integer
|
14219
|
-
# @param DownloadUrl:
|
14297
|
+
# @param DownloadUrl: 该参数作废
|
14220
14298
|
# @type DownloadUrl: String
|
14221
14299
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
14222
14300
|
# @type RequestId: String
|
@@ -16617,7 +16695,7 @@ module TencentCloud
|
|
16617
16695
|
class ExportAttackLogsResponse < TencentCloud::Common::AbstractModel
|
16618
16696
|
# @param DownloadUrl: 已废弃
|
16619
16697
|
# @type DownloadUrl: String
|
16620
|
-
# @param TaskId:
|
16698
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
16621
16699
|
# @type TaskId: String
|
16622
16700
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16623
16701
|
# @type RequestId: String
|
@@ -16679,10 +16757,10 @@ module TencentCloud
|
|
16679
16757
|
|
16680
16758
|
# ExportBaselineEffectHostList返回参数结构体
|
16681
16759
|
class ExportBaselineEffectHostListResponse < TencentCloud::Common::AbstractModel
|
16682
|
-
# @param DownloadUrl:
|
16760
|
+
# @param DownloadUrl: 该参数已废弃
|
16683
16761
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
16684
16762
|
# @type DownloadUrl: String
|
16685
|
-
# @param TaskId:
|
16763
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
16686
16764
|
# @type TaskId: String
|
16687
16765
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16688
16766
|
# @type RequestId: String
|
@@ -16928,7 +17006,7 @@ module TencentCloud
|
|
16928
17006
|
# @param DownloadUrl: 导出文件下载地址(已弃用)
|
16929
17007
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
16930
17008
|
# @type DownloadUrl: String
|
16931
|
-
# @param TaskId:
|
17009
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
16932
17010
|
# @type TaskId: String
|
16933
17011
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16934
17012
|
# @type RequestId: String
|
@@ -17063,7 +17141,7 @@ module TencentCloud
|
|
17063
17141
|
class ExportBashEventsResponse < TencentCloud::Common::AbstractModel
|
17064
17142
|
# @param DownloadUrl: 导出文件下载链接地址。
|
17065
17143
|
# @type DownloadUrl: String
|
17066
|
-
# @param TaskId:
|
17144
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17067
17145
|
# @type TaskId: String
|
17068
17146
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17069
17147
|
# @type RequestId: String
|
@@ -17108,9 +17186,9 @@ module TencentCloud
|
|
17108
17186
|
|
17109
17187
|
# ExportBruteAttacks返回参数结构体
|
17110
17188
|
class ExportBruteAttacksResponse < TencentCloud::Common::AbstractModel
|
17111
|
-
# @param DownloadUrl:
|
17189
|
+
# @param DownloadUrl: 该参数已废弃
|
17112
17190
|
# @type DownloadUrl: String
|
17113
|
-
# @param TaskId:
|
17191
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17114
17192
|
# @type TaskId: String
|
17115
17193
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17116
17194
|
# @type RequestId: String
|
@@ -17148,9 +17226,9 @@ module TencentCloud
|
|
17148
17226
|
|
17149
17227
|
# ExportIgnoreBaselineRule返回参数结构体
|
17150
17228
|
class ExportIgnoreBaselineRuleResponse < TencentCloud::Common::AbstractModel
|
17151
|
-
# @param DownloadUrl:
|
17229
|
+
# @param DownloadUrl: 该参数已废弃
|
17152
17230
|
# @type DownloadUrl: String
|
17153
|
-
# @param TaskId:
|
17231
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17154
17232
|
# @type TaskId: String
|
17155
17233
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17156
17234
|
# @type RequestId: String
|
@@ -17200,9 +17278,9 @@ module TencentCloud
|
|
17200
17278
|
|
17201
17279
|
# ExportIgnoreRuleEffectHostList返回参数结构体
|
17202
17280
|
class ExportIgnoreRuleEffectHostListResponse < TencentCloud::Common::AbstractModel
|
17203
|
-
# @param DownloadUrl:
|
17281
|
+
# @param DownloadUrl: 该参数已废弃
|
17204
17282
|
# @type DownloadUrl: String
|
17205
|
-
# @param TaskId:
|
17283
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17206
17284
|
# @type TaskId: String
|
17207
17285
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17208
17286
|
# @type RequestId: String
|
@@ -17270,7 +17348,7 @@ module TencentCloud
|
|
17270
17348
|
class ExportLicenseDetailResponse < TencentCloud::Common::AbstractModel
|
17271
17349
|
# @param DownloadUrl: 下载地址,该字段废弃
|
17272
17350
|
# @type DownloadUrl: String
|
17273
|
-
# @param TaskId: 任务ID
|
17351
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17274
17352
|
# @type TaskId: Integer
|
17275
17353
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17276
17354
|
# @type RequestId: String
|
@@ -17315,9 +17393,9 @@ module TencentCloud
|
|
17315
17393
|
|
17316
17394
|
# ExportMaliciousRequests返回参数结构体
|
17317
17395
|
class ExportMaliciousRequestsResponse < TencentCloud::Common::AbstractModel
|
17318
|
-
# @param DownloadUrl:
|
17396
|
+
# @param DownloadUrl: 该参数已废弃
|
17319
17397
|
# @type DownloadUrl: String
|
17320
|
-
# @param TaskId:
|
17398
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17321
17399
|
# @type TaskId: String
|
17322
17400
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17323
17401
|
# @type RequestId: String
|
@@ -17384,9 +17462,9 @@ module TencentCloud
|
|
17384
17462
|
|
17385
17463
|
# ExportMalwares返回参数结构体
|
17386
17464
|
class ExportMalwaresResponse < TencentCloud::Common::AbstractModel
|
17387
|
-
# @param DownloadUrl:
|
17465
|
+
# @param DownloadUrl: 该参数已废弃
|
17388
17466
|
# @type DownloadUrl: String
|
17389
|
-
# @param TaskId: 任务
|
17467
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17390
17468
|
# @type TaskId: String
|
17391
17469
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17392
17470
|
# @type RequestId: String
|
@@ -17431,9 +17509,9 @@ module TencentCloud
|
|
17431
17509
|
|
17432
17510
|
# ExportNonlocalLoginPlaces返回参数结构体
|
17433
17511
|
class ExportNonlocalLoginPlacesResponse < TencentCloud::Common::AbstractModel
|
17434
|
-
# @param DownloadUrl:
|
17512
|
+
# @param DownloadUrl: 该参数已废弃
|
17435
17513
|
# @type DownloadUrl: String
|
17436
|
-
# @param TaskId:
|
17514
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17437
17515
|
# @type TaskId: String
|
17438
17516
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17439
17517
|
# @type RequestId: String
|
@@ -17478,9 +17556,9 @@ module TencentCloud
|
|
17478
17556
|
|
17479
17557
|
# ExportPrivilegeEvents返回参数结构体
|
17480
17558
|
class ExportPrivilegeEventsResponse < TencentCloud::Common::AbstractModel
|
17481
|
-
# @param DownloadUrl:
|
17559
|
+
# @param DownloadUrl: 该参数已废弃
|
17482
17560
|
# @type DownloadUrl: String
|
17483
|
-
# @param TaskId:
|
17561
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17484
17562
|
# @type TaskId: String
|
17485
17563
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17486
17564
|
# @type RequestId: String
|
@@ -17534,7 +17612,7 @@ module TencentCloud
|
|
17534
17612
|
|
17535
17613
|
# ExportProtectDirList返回参数结构体
|
17536
17614
|
class ExportProtectDirListResponse < TencentCloud::Common::AbstractModel
|
17537
|
-
# @param TaskId: 任务ID
|
17615
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17538
17616
|
# @type TaskId: String
|
17539
17617
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17540
17618
|
# @type RequestId: String
|
@@ -17577,9 +17655,9 @@ module TencentCloud
|
|
17577
17655
|
|
17578
17656
|
# ExportReverseShellEvents返回参数结构体
|
17579
17657
|
class ExportReverseShellEventsResponse < TencentCloud::Common::AbstractModel
|
17580
|
-
# @param DownloadUrl:
|
17658
|
+
# @param DownloadUrl: 该参数已废弃
|
17581
17659
|
# @type DownloadUrl: String
|
17582
|
-
# @param TaskId: 任务
|
17660
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
17583
17661
|
# @type TaskId: String
|
17584
17662
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17585
17663
|
# @type RequestId: String
|
@@ -17632,7 +17710,7 @@ module TencentCloud
|
|
17632
17710
|
|
17633
17711
|
# ExportScanTaskDetails返回参数结构体
|
17634
17712
|
class ExportScanTaskDetailsResponse < TencentCloud::Common::AbstractModel
|
17635
|
-
# @param TaskId:
|
17713
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址(不同于入参的本次检测任务id)
|
17636
17714
|
# @type TaskId: String
|
17637
17715
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17638
17716
|
# @type RequestId: String
|
@@ -17748,9 +17826,9 @@ module TencentCloud
|
|
17748
17826
|
|
17749
17827
|
# ExportVulDetectionExcel返回参数结构体
|
17750
17828
|
class ExportVulDetectionExcelResponse < TencentCloud::Common::AbstractModel
|
17751
|
-
# @param DownloadUrl:
|
17829
|
+
# @param DownloadUrl: 该参数已废弃
|
17752
17830
|
# @type DownloadUrl: String
|
17753
|
-
# @param TaskId:
|
17831
|
+
# @param TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址(不同于入参的本次漏洞检测任务id)
|
17754
17832
|
# @type TaskId: String
|
17755
17833
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17756
17834
|
# @type RequestId: String
|
@@ -21100,6 +21178,122 @@ module TencentCloud
|
|
21100
21178
|
end
|
21101
21179
|
end
|
21102
21180
|
|
21181
|
+
# 恶意请求事件
|
21182
|
+
class RiskDnsEvent < TencentCloud::Common::AbstractModel
|
21183
|
+
# @param Id: 事件Id
|
21184
|
+
# @type Id: Integer
|
21185
|
+
# @param PolicyId: 策略ID
|
21186
|
+
# @type PolicyId: Integer
|
21187
|
+
# @param PolicyType: 命中策略类型[-1:未知|0系统|1:用户]
|
21188
|
+
# @type PolicyType: Integer
|
21189
|
+
# @param PolicyName: 命中策略名称
|
21190
|
+
# @type PolicyName: String
|
21191
|
+
# @param ProtectLevel: 保护级别[0:基础版|1:专业版|2:旗舰版]
|
21192
|
+
# @type ProtectLevel: Integer
|
21193
|
+
# @param HostId: 主机ID
|
21194
|
+
# @type HostId: String
|
21195
|
+
# @param HostName: 主机名称
|
21196
|
+
# @type HostName: String
|
21197
|
+
# @param HostIp: 主机IP
|
21198
|
+
# @type HostIp: String
|
21199
|
+
# @param WanIp: 外网IP
|
21200
|
+
# @type WanIp: String
|
21201
|
+
# @param AgentId: 客户端ID
|
21202
|
+
# @type AgentId: String
|
21203
|
+
# @param Domain: 访问域名
|
21204
|
+
# @type Domain: String
|
21205
|
+
# @param Tags: 标签特性
|
21206
|
+
# @type Tags: Array
|
21207
|
+
# @param AccessCount: 访问次数
|
21208
|
+
# @type AccessCount: Integer
|
21209
|
+
# @param ThreatDesc: 威胁描述
|
21210
|
+
# @type ThreatDesc: String
|
21211
|
+
# @param SuggestSolution: 修复方案
|
21212
|
+
# @type SuggestSolution: String
|
21213
|
+
# @param ReferenceLink: 参考链接
|
21214
|
+
# @type ReferenceLink: String
|
21215
|
+
# @param HandleStatus: 处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5:已忽略]
|
21216
|
+
# @type HandleStatus: Integer
|
21217
|
+
# @param Pid: 进程ID
|
21218
|
+
# @type Pid: Integer
|
21219
|
+
# @param ProcessName: 进程名
|
21220
|
+
# @type ProcessName: String
|
21221
|
+
# @param ProcessMd5: 进程MD5
|
21222
|
+
# @type ProcessMd5: String
|
21223
|
+
# @param CmdLine: 命令行
|
21224
|
+
# @type CmdLine: String
|
21225
|
+
# @param FirstTime: 首次访问时间
|
21226
|
+
# @type FirstTime: String
|
21227
|
+
# @param LastTime: 最近访问时间
|
21228
|
+
# @type LastTime: String
|
21229
|
+
# @param HostStatus: 主机在线状态[OFFLINE:离线|ONLINE:在线|UNKNOWN:未知]
|
21230
|
+
# @type HostStatus: String
|
21231
|
+
# @param MachineExtraInfo: 附加信息
|
21232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21233
|
+
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
21234
|
+
|
21235
|
+
attr_accessor :Id, :PolicyId, :PolicyType, :PolicyName, :ProtectLevel, :HostId, :HostName, :HostIp, :WanIp, :AgentId, :Domain, :Tags, :AccessCount, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :Pid, :ProcessName, :ProcessMd5, :CmdLine, :FirstTime, :LastTime, :HostStatus, :MachineExtraInfo
|
21236
|
+
|
21237
|
+
def initialize(id=nil, policyid=nil, policytype=nil, policyname=nil, protectlevel=nil, hostid=nil, hostname=nil, hostip=nil, wanip=nil, agentid=nil, domain=nil, tags=nil, accesscount=nil, threatdesc=nil, suggestsolution=nil, referencelink=nil, handlestatus=nil, pid=nil, processname=nil, processmd5=nil, cmdline=nil, firsttime=nil, lasttime=nil, hoststatus=nil, machineextrainfo=nil)
|
21238
|
+
@Id = id
|
21239
|
+
@PolicyId = policyid
|
21240
|
+
@PolicyType = policytype
|
21241
|
+
@PolicyName = policyname
|
21242
|
+
@ProtectLevel = protectlevel
|
21243
|
+
@HostId = hostid
|
21244
|
+
@HostName = hostname
|
21245
|
+
@HostIp = hostip
|
21246
|
+
@WanIp = wanip
|
21247
|
+
@AgentId = agentid
|
21248
|
+
@Domain = domain
|
21249
|
+
@Tags = tags
|
21250
|
+
@AccessCount = accesscount
|
21251
|
+
@ThreatDesc = threatdesc
|
21252
|
+
@SuggestSolution = suggestsolution
|
21253
|
+
@ReferenceLink = referencelink
|
21254
|
+
@HandleStatus = handlestatus
|
21255
|
+
@Pid = pid
|
21256
|
+
@ProcessName = processname
|
21257
|
+
@ProcessMd5 = processmd5
|
21258
|
+
@CmdLine = cmdline
|
21259
|
+
@FirstTime = firsttime
|
21260
|
+
@LastTime = lasttime
|
21261
|
+
@HostStatus = hoststatus
|
21262
|
+
@MachineExtraInfo = machineextrainfo
|
21263
|
+
end
|
21264
|
+
|
21265
|
+
def deserialize(params)
|
21266
|
+
@Id = params['Id']
|
21267
|
+
@PolicyId = params['PolicyId']
|
21268
|
+
@PolicyType = params['PolicyType']
|
21269
|
+
@PolicyName = params['PolicyName']
|
21270
|
+
@ProtectLevel = params['ProtectLevel']
|
21271
|
+
@HostId = params['HostId']
|
21272
|
+
@HostName = params['HostName']
|
21273
|
+
@HostIp = params['HostIp']
|
21274
|
+
@WanIp = params['WanIp']
|
21275
|
+
@AgentId = params['AgentId']
|
21276
|
+
@Domain = params['Domain']
|
21277
|
+
@Tags = params['Tags']
|
21278
|
+
@AccessCount = params['AccessCount']
|
21279
|
+
@ThreatDesc = params['ThreatDesc']
|
21280
|
+
@SuggestSolution = params['SuggestSolution']
|
21281
|
+
@ReferenceLink = params['ReferenceLink']
|
21282
|
+
@HandleStatus = params['HandleStatus']
|
21283
|
+
@Pid = params['Pid']
|
21284
|
+
@ProcessName = params['ProcessName']
|
21285
|
+
@ProcessMd5 = params['ProcessMd5']
|
21286
|
+
@CmdLine = params['CmdLine']
|
21287
|
+
@FirstTime = params['FirstTime']
|
21288
|
+
@LastTime = params['LastTime']
|
21289
|
+
@HostStatus = params['HostStatus']
|
21290
|
+
unless params['MachineExtraInfo'].nil?
|
21291
|
+
@MachineExtraInfo = MachineExtraInfo.new
|
21292
|
+
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
21293
|
+
end
|
21294
|
+
end
|
21295
|
+
end
|
21296
|
+
|
21103
21297
|
# 恶意请求列表
|
21104
21298
|
class RiskDnsList < TencentCloud::Common::AbstractModel
|
21105
21299
|
# @param Url: 对外访问域名
|
@@ -22304,27 +22498,27 @@ module TencentCloud
|
|
22304
22498
|
class UpdateMachineTagsRequest < TencentCloud::Common::AbstractModel
|
22305
22499
|
# @param Quuid: 机器 Quuid
|
22306
22500
|
# @type Quuid: String
|
22501
|
+
# @param TagIds: 标签ID,该操作会覆盖原有的标签列表
|
22502
|
+
# @type TagIds: Array
|
22307
22503
|
# @param MachineRegion: 服务器地区 如: ap-guangzhou
|
22308
22504
|
# @type MachineRegion: String
|
22309
22505
|
# @param MachineArea: 服务器类型(CVM|BM|ECM|LH|Other)
|
22310
22506
|
# @type MachineArea: String
|
22311
|
-
# @param TagIds: 标签ID,该操作会覆盖原有的标签列表
|
22312
|
-
# @type TagIds: Array
|
22313
22507
|
|
22314
|
-
attr_accessor :Quuid, :
|
22508
|
+
attr_accessor :Quuid, :TagIds, :MachineRegion, :MachineArea
|
22315
22509
|
|
22316
|
-
def initialize(quuid=nil,
|
22510
|
+
def initialize(quuid=nil, tagids=nil, machineregion=nil, machinearea=nil)
|
22317
22511
|
@Quuid = quuid
|
22512
|
+
@TagIds = tagids
|
22318
22513
|
@MachineRegion = machineregion
|
22319
22514
|
@MachineArea = machinearea
|
22320
|
-
@TagIds = tagids
|
22321
22515
|
end
|
22322
22516
|
|
22323
22517
|
def deserialize(params)
|
22324
22518
|
@Quuid = params['Quuid']
|
22519
|
+
@TagIds = params['TagIds']
|
22325
22520
|
@MachineRegion = params['MachineRegion']
|
22326
22521
|
@MachineArea = params['MachineArea']
|
22327
|
-
@TagIds = params['TagIds']
|
22328
22522
|
end
|
22329
22523
|
end
|
22330
22524
|
|
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.541
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|