tencentcloud-sdk-cwp 3.0.882 → 3.0.884
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 +28 -0
- data/lib/v20180228/models.rb +76 -0
- 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: b1ccf74e3bdd0927658b4bcee9bec631681dfb76
|
4
|
+
data.tar.gz: 45398fa55dc9029432a783b6719b912b0f1acc8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f886c604f065a3e650fae91e5cf2dbc6e0d82a567e84eb68e794ec9082bf1da473d7e63b6424756b37ae0f45c42da66fee78de1b2cbfb9938c54ad0e961e9bf
|
7
|
+
data.tar.gz: 1a36e602321a36f8b26b5724980f5b50d82475960f6db6f1114332722cb64d7554b8011cabb8ba04f0d53c23b3dbd6d00328061d16cbeb1a9bad9495da6e2a13
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.884
|
data/lib/v20180228/client.rb
CHANGED
@@ -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.
|
@@ -4208,6 +4210,8 @@ module TencentCloud
|
|
4208
4210
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4209
4211
|
end
|
4210
4212
|
|
4213
|
+
# 云护航计费产品已下线
|
4214
|
+
|
4211
4215
|
# 查询云护航服务订单列表
|
4212
4216
|
|
4213
4217
|
# @param request: Request instance for DescribeCloudProtectServiceOrderList.
|
@@ -11288,6 +11292,30 @@ module TencentCloud
|
|
11288
11292
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
11289
11293
|
end
|
11290
11294
|
|
11295
|
+
# 编辑反弹Shell规则(支持多服务器选择)
|
11296
|
+
|
11297
|
+
# @param request: Request instance for ModifyReverseShellRulesAggregation.
|
11298
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::ModifyReverseShellRulesAggregationRequest`
|
11299
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyReverseShellRulesAggregationResponse`
|
11300
|
+
def ModifyReverseShellRulesAggregation(request)
|
11301
|
+
body = send_request('ModifyReverseShellRulesAggregation', request.serialize)
|
11302
|
+
response = JSON.parse(body)
|
11303
|
+
if response['Response'].key?('Error') == false
|
11304
|
+
model = ModifyReverseShellRulesAggregationResponse.new
|
11305
|
+
model.deserialize(response['Response'])
|
11306
|
+
model
|
11307
|
+
else
|
11308
|
+
code = response['Response']['Error']['Code']
|
11309
|
+
message = response['Response']['Error']['Message']
|
11310
|
+
reqid = response['Response']['RequestId']
|
11311
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
11312
|
+
end
|
11313
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
11314
|
+
raise e
|
11315
|
+
rescue StandardError => e
|
11316
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
11317
|
+
end
|
11318
|
+
|
11291
11319
|
# 更改恶意请求策略
|
11292
11320
|
|
11293
11321
|
# @param request: Request instance for ModifyRiskDnsPolicy.
|
data/lib/v20180228/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.884
|
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-
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|