tencentcloud-sdk-cwp 3.0.992 → 3.0.994

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31e5c3857a2a26aa82f0b119293e74e9c157e959
4
- data.tar.gz: 1d673056fb7389642ec7a64fc1c1b53d8948755b
3
+ metadata.gz: b10440e74f96e531bdabbd4de01533b5255c196b
4
+ data.tar.gz: 25ef013fdb70c73b1ad227ae6586e4809c16514b
5
5
  SHA512:
6
- metadata.gz: 6b033c4401a06bd337a7c15764ec8d3504b60829425578efb27cba2e91ecf07a856e9bada4545e4af6fe510063f8d30f5530466eee6f379db3ab2e223bcdf934
7
- data.tar.gz: ea7a7ec0e73e87d3dd713bb1e2c12467aad960fba15fcd3d445628a584d9db339d1dcbd514815fb1f8a9ef7a4862524f541d0931bc4ba7c8c868ca1ed83f68f3
6
+ metadata.gz: 6e2a1ab841f26f84f26c3dc6195866bcaf0bbf0bedcac6adf7528cf6e1f8038abd0931aec3a1b5673d44c7282a5c1dd89b4414c17198593f055ab76a10dc539a
7
+ data.tar.gz: d5ef9507a286f44cf4ca208b7c347f8957b65c5a669fc0bb9efbabacae48e6f235a3d6e1e03bbb7162670ae8cd5ff6b5ca8076eeff0c1e284e00fe24d3bbd84c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.992
1
+ 3.0.994
@@ -2936,32 +2936,6 @@ module TencentCloud
2936
2936
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2937
2937
  end
2938
2938
 
2939
- # DescribeAttackEvents 代替
2940
-
2941
- # 按分页形式展示网络攻击日志列表
2942
-
2943
- # @param request: Request instance for DescribeAttackLogs.
2944
- # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAttackLogsRequest`
2945
- # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAttackLogsResponse`
2946
- def DescribeAttackLogs(request)
2947
- body = send_request('DescribeAttackLogs', request.serialize)
2948
- response = JSON.parse(body)
2949
- if response['Response'].key?('Error') == false
2950
- model = DescribeAttackLogsResponse.new
2951
- model.deserialize(response['Response'])
2952
- model
2953
- else
2954
- code = response['Response']['Error']['Code']
2955
- message = response['Response']['Error']['Message']
2956
- reqid = response['Response']['RequestId']
2957
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2958
- end
2959
- rescue TencentCloud::Common::TencentCloudSDKException => e
2960
- raise e
2961
- rescue StandardError => e
2962
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2963
- end
2964
-
2965
2939
  # 网络攻击数据统计
2966
2940
 
2967
2941
  # @param request: Request instance for DescribeAttackStatistics.
@@ -4162,32 +4136,6 @@ module TencentCloud
4162
4136
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4163
4137
  end
4164
4138
 
4165
- # 接口已无效
4166
-
4167
- # 本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。
4168
-
4169
- # @param request: Request instance for DescribeComponentStatistics.
4170
- # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeComponentStatisticsRequest`
4171
- # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeComponentStatisticsResponse`
4172
- def DescribeComponentStatistics(request)
4173
- body = send_request('DescribeComponentStatistics', request.serialize)
4174
- response = JSON.parse(body)
4175
- if response['Response'].key?('Error') == false
4176
- model = DescribeComponentStatisticsResponse.new
4177
- model.deserialize(response['Response'])
4178
- model
4179
- else
4180
- code = response['Response']['Error']['Code']
4181
- message = response['Response']['Error']['Message']
4182
- reqid = response['Response']['RequestId']
4183
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4184
- end
4185
- rescue TencentCloud::Common::TencentCloudSDKException => e
4186
- raise e
4187
- rescue StandardError => e
4188
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4189
- end
4190
-
4191
4139
  # 获取漏洞防御事件详情
4192
4140
 
4193
4141
  # @param request: Request instance for DescribeDefenceEventDetail.
@@ -4419,8 +4419,8 @@ module TencentCloud
4419
4419
 
4420
4420
  attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
4421
4421
  extend Gem::Deprecate
4422
- deprecate :Decription, :none, 2025, 1
4423
- deprecate :Decription=, :none, 2025, 1
4422
+ deprecate :Decription, :none, 2025, 2
4423
+ deprecate :Decription=, :none, 2025, 2
4424
4424
 
4425
4425
  def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
4426
4426
  @Id = id
@@ -5366,40 +5366,6 @@ module TencentCloud
5366
5366
  end
5367
5367
  end
5368
5368
 
5369
- # 组件统计数据。
5370
- class ComponentStatistics < TencentCloud::Common::AbstractModel
5371
- # @param Id: 组件ID。
5372
- # @type Id: Integer
5373
- # @param MachineNum: 主机数量。
5374
- # @type MachineNum: Integer
5375
- # @param ComponentName: 组件名称。
5376
- # @type ComponentName: String
5377
- # @param ComponentType: 组件类型。
5378
- # <li>WEB:Web组件</li>
5379
- # <li>SYSTEM:系统组件</li>
5380
- # @type ComponentType: String
5381
- # @param Description: 组件描述。
5382
- # @type Description: String
5383
-
5384
- attr_accessor :Id, :MachineNum, :ComponentName, :ComponentType, :Description
5385
-
5386
- def initialize(id=nil, machinenum=nil, componentname=nil, componenttype=nil, description=nil)
5387
- @Id = id
5388
- @MachineNum = machinenum
5389
- @ComponentName = componentname
5390
- @ComponentType = componenttype
5391
- @Description = description
5392
- end
5393
-
5394
- def deserialize(params)
5395
- @Id = params['Id']
5396
- @MachineNum = params['MachineNum']
5397
- @ComponentName = params['ComponentName']
5398
- @ComponentType = params['ComponentType']
5399
- @Description = params['Description']
5400
- end
5401
- end
5402
-
5403
5369
  # CreateBanWhiteList请求参数结构体
5404
5370
  class CreateBanWhiteListRequest < TencentCloud::Common::AbstractModel
5405
5371
  # @param Rules: 阻断规则
@@ -6362,81 +6328,6 @@ module TencentCloud
6362
6328
  end
6363
6329
  end
6364
6330
 
6365
- # 网络攻击日志
6366
- class DefendAttackLog < TencentCloud::Common::AbstractModel
6367
- # @param Id: 日志ID
6368
- # @type Id: Integer
6369
- # @param Uuid: 客户端ID
6370
- # @type Uuid: String
6371
- # @param SrcIp: 来源IP
6372
- # @type SrcIp: String
6373
- # @param SrcPort: 来源端口
6374
- # @type SrcPort: Integer
6375
- # @param HttpMethod: 攻击方式
6376
- # @type HttpMethod: String
6377
- # @param HttpCgi: 攻击描述
6378
- # @type HttpCgi: String
6379
- # @param HttpParam: 攻击参数
6380
- # @type HttpParam: String
6381
- # @param VulType: 威胁类型
6382
- # @type VulType: String
6383
- # @param CreatedAt: 攻击时间
6384
- # @type CreatedAt: String
6385
- # @param MachineIp: 目标服务器IP
6386
- # @type MachineIp: String
6387
- # @param MachineName: 目标服务器名称
6388
- # @type MachineName: String
6389
- # @param DstIp: 目标IP
6390
- # @type DstIp: String
6391
- # @param DstPort: 目标端口
6392
- # @type DstPort: Integer
6393
- # @param HttpContent: 攻击内容
6394
- # @type HttpContent: String
6395
- # @param MachineExtraInfo: 主机额外信息
6396
- # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
6397
-
6398
- attr_accessor :Id, :Uuid, :SrcIp, :SrcPort, :HttpMethod, :HttpCgi, :HttpParam, :VulType, :CreatedAt, :MachineIp, :MachineName, :DstIp, :DstPort, :HttpContent, :MachineExtraInfo
6399
-
6400
- def initialize(id=nil, uuid=nil, srcip=nil, srcport=nil, httpmethod=nil, httpcgi=nil, httpparam=nil, vultype=nil, createdat=nil, machineip=nil, machinename=nil, dstip=nil, dstport=nil, httpcontent=nil, machineextrainfo=nil)
6401
- @Id = id
6402
- @Uuid = uuid
6403
- @SrcIp = srcip
6404
- @SrcPort = srcport
6405
- @HttpMethod = httpmethod
6406
- @HttpCgi = httpcgi
6407
- @HttpParam = httpparam
6408
- @VulType = vultype
6409
- @CreatedAt = createdat
6410
- @MachineIp = machineip
6411
- @MachineName = machinename
6412
- @DstIp = dstip
6413
- @DstPort = dstport
6414
- @HttpContent = httpcontent
6415
- @MachineExtraInfo = machineextrainfo
6416
- end
6417
-
6418
- def deserialize(params)
6419
- @Id = params['Id']
6420
- @Uuid = params['Uuid']
6421
- @SrcIp = params['SrcIp']
6422
- @SrcPort = params['SrcPort']
6423
- @HttpMethod = params['HttpMethod']
6424
- @HttpCgi = params['HttpCgi']
6425
- @HttpParam = params['HttpParam']
6426
- @VulType = params['VulType']
6427
- @CreatedAt = params['CreatedAt']
6428
- @MachineIp = params['MachineIp']
6429
- @MachineName = params['MachineName']
6430
- @DstIp = params['DstIp']
6431
- @DstPort = params['DstPort']
6432
- @HttpContent = params['HttpContent']
6433
- unless params['MachineExtraInfo'].nil?
6434
- @MachineExtraInfo = MachineExtraInfo.new
6435
- @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
6436
- end
6437
- end
6438
- end
6439
-
6440
6331
  # DeleteAllJavaMemShells请求参数结构体
6441
6332
  class DeleteAllJavaMemShellsRequest < TencentCloud::Common::AbstractModel
6442
6333
  # @param Quuid: 服务器quuid
@@ -11314,84 +11205,6 @@ module TencentCloud
11314
11205
  end
11315
11206
  end
11316
11207
 
11317
- # DescribeAttackLogs请求参数结构体
11318
- class DescribeAttackLogsRequest < TencentCloud::Common::AbstractModel
11319
- # @param Limit: 返回数量,最大值为100。
11320
- # @type Limit: Integer
11321
- # @param Offset: 偏移量,默认为0。
11322
- # @type Offset: Integer
11323
- # @param Filters: 过滤条件。
11324
- # <li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
11325
- # <li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
11326
- # <li>VulType - String 威胁类型 - 是否必填: 否</li>
11327
- # <li>SrcIp - String 攻击源IP - 是否必填: 否</li>
11328
- # <li>DstIp - String 攻击目标IP - 是否必填: 否</li>
11329
- # <li>SrcPort - String 攻击源端口 - 是否必填: 否</li>
11330
- # <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
11331
- # @type Filters: Array
11332
- # @param Uuid: 主机安全客户端ID
11333
- # @type Uuid: String
11334
- # @param Quuid: 云主机机器ID
11335
- # @type Quuid: String
11336
-
11337
- attr_accessor :Limit, :Offset, :Filters, :Uuid, :Quuid
11338
-
11339
- def initialize(limit=nil, offset=nil, filters=nil, uuid=nil, quuid=nil)
11340
- @Limit = limit
11341
- @Offset = offset
11342
- @Filters = filters
11343
- @Uuid = uuid
11344
- @Quuid = quuid
11345
- end
11346
-
11347
- def deserialize(params)
11348
- @Limit = params['Limit']
11349
- @Offset = params['Offset']
11350
- unless params['Filters'].nil?
11351
- @Filters = []
11352
- params['Filters'].each do |i|
11353
- filter_tmp = Filter.new
11354
- filter_tmp.deserialize(i)
11355
- @Filters << filter_tmp
11356
- end
11357
- end
11358
- @Uuid = params['Uuid']
11359
- @Quuid = params['Quuid']
11360
- end
11361
- end
11362
-
11363
- # DescribeAttackLogs返回参数结构体
11364
- class DescribeAttackLogsResponse < TencentCloud::Common::AbstractModel
11365
- # @param AttackLogs: 日志列表
11366
- # 注意:此字段可能返回 null,表示取不到有效值。
11367
- # @type AttackLogs: Array
11368
- # @param TotalCount: 总条数
11369
- # @type TotalCount: Integer
11370
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11371
- # @type RequestId: String
11372
-
11373
- attr_accessor :AttackLogs, :TotalCount, :RequestId
11374
-
11375
- def initialize(attacklogs=nil, totalcount=nil, requestid=nil)
11376
- @AttackLogs = attacklogs
11377
- @TotalCount = totalcount
11378
- @RequestId = requestid
11379
- end
11380
-
11381
- def deserialize(params)
11382
- unless params['AttackLogs'].nil?
11383
- @AttackLogs = []
11384
- params['AttackLogs'].each do |i|
11385
- defendattacklog_tmp = DefendAttackLog.new
11386
- defendattacklog_tmp.deserialize(i)
11387
- @AttackLogs << defendattacklog_tmp
11388
- end
11389
- end
11390
- @TotalCount = params['TotalCount']
11391
- @RequestId = params['RequestId']
11392
- end
11393
- end
11394
-
11395
11208
  # DescribeAttackStatistics请求参数结构体
11396
11209
  class DescribeAttackStatisticsRequest < TencentCloud::Common::AbstractModel
11397
11210
 
@@ -14367,69 +14180,6 @@ module TencentCloud
14367
14180
  end
14368
14181
  end
14369
14182
 
14370
- # DescribeComponentStatistics请求参数结构体
14371
- class DescribeComponentStatisticsRequest < TencentCloud::Common::AbstractModel
14372
- # @param Limit: 返回数量,默认为10,最大值为100。
14373
- # @type Limit: Integer
14374
- # @param Offset: 偏移量,默认为0。
14375
- # @type Offset: Integer
14376
- # @param Filters: 过滤条件。
14377
- # ComponentName - String - 是否必填:否 - 组件名称
14378
- # @type Filters: Array
14379
-
14380
- attr_accessor :Limit, :Offset, :Filters
14381
-
14382
- def initialize(limit=nil, offset=nil, filters=nil)
14383
- @Limit = limit
14384
- @Offset = offset
14385
- @Filters = filters
14386
- end
14387
-
14388
- def deserialize(params)
14389
- @Limit = params['Limit']
14390
- @Offset = params['Offset']
14391
- unless params['Filters'].nil?
14392
- @Filters = []
14393
- params['Filters'].each do |i|
14394
- filter_tmp = Filter.new
14395
- filter_tmp.deserialize(i)
14396
- @Filters << filter_tmp
14397
- end
14398
- end
14399
- end
14400
- end
14401
-
14402
- # DescribeComponentStatistics返回参数结构体
14403
- class DescribeComponentStatisticsResponse < TencentCloud::Common::AbstractModel
14404
- # @param TotalCount: 组件统计列表记录总数。
14405
- # @type TotalCount: Integer
14406
- # @param ComponentStatistics: 组件统计列表数据数组。
14407
- # @type ComponentStatistics: Array
14408
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14409
- # @type RequestId: String
14410
-
14411
- attr_accessor :TotalCount, :ComponentStatistics, :RequestId
14412
-
14413
- def initialize(totalcount=nil, componentstatistics=nil, requestid=nil)
14414
- @TotalCount = totalcount
14415
- @ComponentStatistics = componentstatistics
14416
- @RequestId = requestid
14417
- end
14418
-
14419
- def deserialize(params)
14420
- @TotalCount = params['TotalCount']
14421
- unless params['ComponentStatistics'].nil?
14422
- @ComponentStatistics = []
14423
- params['ComponentStatistics'].each do |i|
14424
- componentstatistics_tmp = ComponentStatistics.new
14425
- componentstatistics_tmp.deserialize(i)
14426
- @ComponentStatistics << componentstatistics_tmp
14427
- end
14428
- end
14429
- @RequestId = params['RequestId']
14430
- end
14431
- end
14432
-
14433
14183
  # DescribeDefenceEventDetail请求参数结构体
14434
14184
  class DescribeDefenceEventDetailRequest < TencentCloud::Common::AbstractModel
14435
14185
  # @param Id: 漏洞事件id
@@ -17450,16 +17200,16 @@ module TencentCloud
17450
17200
 
17451
17201
  attr_accessor :MachineCnt, :TencentCloudMachineCnt, :AliCloudMachineCnt, :BaiduCloudMachineCnt, :IDCMachineCnt, :OtherCloudMachineCnt, :ProtectMachineCnt, :BaseMachineCnt, :SpecialtyMachineCnt, :FlagshipMachineCnt, :RiskMachineCnt, :CompareYesterdayRiskMachineCnt, :CompareYesterdayNotProtectMachineCnt, :CompareYesterdayDeadlineMachineCnt, :DeadlineMachineCnt, :NotProtectMachineCnt, :LHGeneralDiscountCnt, :CompareYesterdayMachineCnt, :MachineDestroyAfterOfflineHours, :CloudFrom, :RequestId
17452
17202
  extend Gem::Deprecate
17453
- deprecate :TencentCloudMachineCnt, :none, 2025, 1
17454
- deprecate :TencentCloudMachineCnt=, :none, 2025, 1
17455
- deprecate :AliCloudMachineCnt, :none, 2025, 1
17456
- deprecate :AliCloudMachineCnt=, :none, 2025, 1
17457
- deprecate :BaiduCloudMachineCnt, :none, 2025, 1
17458
- deprecate :BaiduCloudMachineCnt=, :none, 2025, 1
17459
- deprecate :IDCMachineCnt, :none, 2025, 1
17460
- deprecate :IDCMachineCnt=, :none, 2025, 1
17461
- deprecate :OtherCloudMachineCnt, :none, 2025, 1
17462
- deprecate :OtherCloudMachineCnt=, :none, 2025, 1
17203
+ deprecate :TencentCloudMachineCnt, :none, 2025, 2
17204
+ deprecate :TencentCloudMachineCnt=, :none, 2025, 2
17205
+ deprecate :AliCloudMachineCnt, :none, 2025, 2
17206
+ deprecate :AliCloudMachineCnt=, :none, 2025, 2
17207
+ deprecate :BaiduCloudMachineCnt, :none, 2025, 2
17208
+ deprecate :BaiduCloudMachineCnt=, :none, 2025, 2
17209
+ deprecate :IDCMachineCnt, :none, 2025, 2
17210
+ deprecate :IDCMachineCnt=, :none, 2025, 2
17211
+ deprecate :OtherCloudMachineCnt, :none, 2025, 2
17212
+ deprecate :OtherCloudMachineCnt=, :none, 2025, 2
17463
17213
 
17464
17214
  def initialize(machinecnt=nil, tencentcloudmachinecnt=nil, alicloudmachinecnt=nil, baiducloudmachinecnt=nil, idcmachinecnt=nil, othercloudmachinecnt=nil, protectmachinecnt=nil, basemachinecnt=nil, specialtymachinecnt=nil, flagshipmachinecnt=nil, riskmachinecnt=nil, compareyesterdayriskmachinecnt=nil, compareyesterdaynotprotectmachinecnt=nil, compareyesterdaydeadlinemachinecnt=nil, deadlinemachinecnt=nil, notprotectmachinecnt=nil, lhgeneraldiscountcnt=nil, compareyesterdaymachinecnt=nil, machinedestroyafterofflinehours=nil, cloudfrom=nil, requestid=nil)
17465
17215
  @MachineCnt = machinecnt
@@ -27857,8 +27607,8 @@ module TencentCloud
27857
27607
 
27858
27608
  attr_accessor :Filters, :Fileds, :Fields
27859
27609
  extend Gem::Deprecate
27860
- deprecate :Fileds, :none, 2025, 1
27861
- deprecate :Fileds=, :none, 2025, 1
27610
+ deprecate :Fileds, :none, 2025, 2
27611
+ deprecate :Fileds=, :none, 2025, 2
27862
27612
 
27863
27613
  def initialize(filters=nil, fileds=nil, fields=nil)
27864
27614
  @Filters = filters
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.992
4
+ version: 3.0.994
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-05 00:00:00.000000000 Z
11
+ date: 2025-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common