tencentcloud-sdk-cwp 3.0.882 → 3.0.883

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: 2305ade8deb7ac5b55a16160de46aa024f87e61a
4
- data.tar.gz: 4d365704a7d33274e12336fc47574552a3b78d0b
3
+ metadata.gz: d054a8dee7c6a890fbe7d4117cbac6d15552fbb8
4
+ data.tar.gz: 30f7e31d4127770d0ec937810bbdd166ef02c33f
5
5
  SHA512:
6
- metadata.gz: 5540b6537256abb4cf743ce83ff66a45078e239b228f57486bc5dc82a3b3f52e6df0f1fc2507cfa302e897e3d7c9d9e2fa3e04cb9756df33e9c73a4fa6b86b94
7
- data.tar.gz: 55b7af6c254daa66bf74451f26ac98d14aa2088e4087f837adaef3c7464cb8a3d9e25e1b0ea990e4fbc17a41b5c44d6d65e3ec4e766b4780b3e11aaee5b94347
6
+ metadata.gz: 2cefc0ba5f2c8f9522952922f7f23989016bc0063f323f98c31a3843b379ee357b289e819e4207e134c4a3d5ed6a81f04511f3e070eb5096f73e71db0b731e7c
7
+ data.tar.gz: a43b9f8ad9b01908cc2627cb82e5e222e5288b10de39c4fbfaed86964e9426325ad43df27407a4bf4544167e8fa296a8b8ddeb24d56cb61696cabd087c904d95
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.882
1
+ 3.0.883
@@ -341,6 +341,8 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
+ # 云护航计费产品已下线
345
+
344
346
  # 云护航服务使用完成后,该接口可以确认收货
345
347
 
346
348
  # @param request: Request instance for CreateCloudProtectServiceOrderRecord.
@@ -11288,6 +11290,30 @@ module TencentCloud
11288
11290
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
11289
11291
  end
11290
11292
 
11293
+ # 编辑反弹Shell规则(支持多服务器选择)
11294
+
11295
+ # @param request: Request instance for ModifyReverseShellRulesAggregation.
11296
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ModifyReverseShellRulesAggregationRequest`
11297
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyReverseShellRulesAggregationResponse`
11298
+ def ModifyReverseShellRulesAggregation(request)
11299
+ body = send_request('ModifyReverseShellRulesAggregation', request.serialize)
11300
+ response = JSON.parse(body)
11301
+ if response['Response'].key?('Error') == false
11302
+ model = ModifyReverseShellRulesAggregationResponse.new
11303
+ model.deserialize(response['Response'])
11304
+ model
11305
+ else
11306
+ code = response['Response']['Error']['Code']
11307
+ message = response['Response']['Error']['Message']
11308
+ reqid = response['Response']['RequestId']
11309
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
11310
+ end
11311
+ rescue TencentCloud::Common::TencentCloudSDKException => e
11312
+ raise e
11313
+ rescue StandardError => e
11314
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
11315
+ end
11316
+
11291
11317
  # 更改恶意请求策略
11292
11318
 
11293
11319
  # @param request: Request instance for ModifyRiskDnsPolicy.
@@ -34881,6 +34881,82 @@ module TencentCloud
34881
34881
  end
34882
34882
  end
34883
34883
 
34884
+ # ModifyReverseShellRulesAggregation请求参数结构体
34885
+ class ModifyReverseShellRulesAggregationRequest < TencentCloud::Common::AbstractModel
34886
+ # @param Id: 规则ID(新增时请留空)
34887
+ # @type Id: Integer
34888
+ # @param Uuids: 客户端ID数组
34889
+ # @type Uuids: Array
34890
+ # @param HostIp: 主机IP
34891
+ # @type HostIp: String
34892
+ # @param DestIp: 目标IP
34893
+ # @type DestIp: String
34894
+ # @param DestPort: 目标端口
34895
+ # @type DestPort: String
34896
+ # @param ProcessName: 进程名
34897
+ # @type ProcessName: String
34898
+ # @param IsGlobal: 是否全局规则(默认否)
34899
+ # @type IsGlobal: Integer
34900
+ # @param EventId: 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
34901
+ # @type EventId: Integer
34902
+ # @param WhiteType: 加白方式, 0:常规加白 1:正则加白
34903
+ # @type WhiteType: Integer
34904
+ # @param RuleRegexp: 正则表达式
34905
+ # @type RuleRegexp: String
34906
+ # @param HandleHistory: 处理历史事件, 0:不处理 1:处理
34907
+ # @type HandleHistory: Integer
34908
+ # @param GroupID: 批次id
34909
+ # @type GroupID: String
34910
+
34911
+ attr_accessor :Id, :Uuids, :HostIp, :DestIp, :DestPort, :ProcessName, :IsGlobal, :EventId, :WhiteType, :RuleRegexp, :HandleHistory, :GroupID
34912
+
34913
+ def initialize(id=nil, uuids=nil, hostip=nil, destip=nil, destport=nil, processname=nil, isglobal=nil, eventid=nil, whitetype=nil, ruleregexp=nil, handlehistory=nil, groupid=nil)
34914
+ @Id = id
34915
+ @Uuids = uuids
34916
+ @HostIp = hostip
34917
+ @DestIp = destip
34918
+ @DestPort = destport
34919
+ @ProcessName = processname
34920
+ @IsGlobal = isglobal
34921
+ @EventId = eventid
34922
+ @WhiteType = whitetype
34923
+ @RuleRegexp = ruleregexp
34924
+ @HandleHistory = handlehistory
34925
+ @GroupID = groupid
34926
+ end
34927
+
34928
+ def deserialize(params)
34929
+ @Id = params['Id']
34930
+ @Uuids = params['Uuids']
34931
+ @HostIp = params['HostIp']
34932
+ @DestIp = params['DestIp']
34933
+ @DestPort = params['DestPort']
34934
+ @ProcessName = params['ProcessName']
34935
+ @IsGlobal = params['IsGlobal']
34936
+ @EventId = params['EventId']
34937
+ @WhiteType = params['WhiteType']
34938
+ @RuleRegexp = params['RuleRegexp']
34939
+ @HandleHistory = params['HandleHistory']
34940
+ @GroupID = params['GroupID']
34941
+ end
34942
+ end
34943
+
34944
+ # ModifyReverseShellRulesAggregation返回参数结构体
34945
+ class ModifyReverseShellRulesAggregationResponse < TencentCloud::Common::AbstractModel
34946
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34947
+ # @type RequestId: String
34948
+
34949
+ attr_accessor :RequestId
34950
+
34951
+ def initialize(requestid=nil)
34952
+ @RequestId = requestid
34953
+ end
34954
+
34955
+ def deserialize(params)
34956
+ @RequestId = params['RequestId']
34957
+ end
34958
+ end
34959
+
34884
34960
  # ModifyRiskDnsPolicy请求参数结构体
34885
34961
  class ModifyRiskDnsPolicyRequest < TencentCloud::Common::AbstractModel
34886
34962
  # @param Data: 策略
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.882
4
+ version: 3.0.883
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-08-08 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common