tencentcloud-sdk-cwp 3.0.881 → 3.0.883
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 +26 -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: d054a8dee7c6a890fbe7d4117cbac6d15552fbb8
|
4
|
+
data.tar.gz: 30f7e31d4127770d0ec937810bbdd166ef02c33f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cefc0ba5f2c8f9522952922f7f23989016bc0063f323f98c31a3843b379ee357b289e819e4207e134c4a3d5ed6a81f04511f3e070eb5096f73e71db0b731e7c
|
7
|
+
data.tar.gz: a43b9f8ad9b01908cc2627cb82e5e222e5288b10de39c4fbfaed86964e9426325ad43df27407a4bf4544167e8fa296a8b8ddeb24d56cb61696cabd087c904d95
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.883
|
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.
|
@@ -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.
|
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.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-
|
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
|