tencentcloud-sdk-tcss 3.0.1074 → 3.0.1078
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201101/client.rb +24 -0
- data/lib/v20201101/models.rb +93 -10
- 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: f5a61c4f39c91df9a107c6ceb8e2730ca661de15
|
4
|
+
data.tar.gz: 2d97e7594150aa01ea734f7430b4a16aa5b0ced2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b708ae8802445745b42b728fb5ab056b3283e4af63d9ef38fb04ed28080a95e0ae7b8ce495b1b27c93f19f8dff4adae6ee3db04bfc162e40f66f367406ddee8
|
7
|
+
data.tar.gz: 3651942324fc89426342c44f32ecc2216631c466d65504eba565a8de8edea416538f658d4069598004e9e53035db1c66e7e54b72030fe5341502ba27576dc984
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1078
|
data/lib/v20201101/client.rb
CHANGED
@@ -7306,6 +7306,30 @@ module TencentCloud
|
|
7306
7306
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7307
7307
|
end
|
7308
7308
|
|
7309
|
+
# 编辑恶意请求事件状态
|
7310
|
+
|
7311
|
+
# @param request: Request instance for ModifyRiskDnsEventStatus.
|
7312
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::ModifyRiskDnsEventStatusRequest`
|
7313
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyRiskDnsEventStatusResponse`
|
7314
|
+
def ModifyRiskDnsEventStatus(request)
|
7315
|
+
body = send_request('ModifyRiskDnsEventStatus', request.serialize)
|
7316
|
+
response = JSON.parse(body)
|
7317
|
+
if response['Response'].key?('Error') == false
|
7318
|
+
model = ModifyRiskDnsEventStatusResponse.new
|
7319
|
+
model.deserialize(response['Response'])
|
7320
|
+
model
|
7321
|
+
else
|
7322
|
+
code = response['Response']['Error']['Code']
|
7323
|
+
message = response['Response']['Error']['Message']
|
7324
|
+
reqid = response['Response']['RequestId']
|
7325
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7326
|
+
end
|
7327
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7328
|
+
raise e
|
7329
|
+
rescue StandardError => e
|
7330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7331
|
+
end
|
7332
|
+
|
7309
7333
|
# 修改高危系统调用事件的状态信息
|
7310
7334
|
|
7311
7335
|
# @param request: Request instance for ModifyRiskSyscallStatus.
|
data/lib/v20201101/models.rb
CHANGED
@@ -970,10 +970,12 @@ module TencentCloud
|
|
970
970
|
# @type WebhookUrl: String
|
971
971
|
# @param WebhookToken: webhook接入token
|
972
972
|
# @type WebhookToken: String
|
973
|
+
# @param InstanceId: tcr实例ID
|
974
|
+
# @type InstanceId: String
|
973
975
|
|
974
|
-
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig, :NeedScan, :SyncMode, :WebhookUrl, :WebhookToken
|
976
|
+
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig, :NeedScan, :SyncMode, :WebhookUrl, :WebhookToken, :InstanceId
|
975
977
|
|
976
|
-
def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil, needscan=nil, syncmode=nil, webhookurl=nil, webhooktoken=nil)
|
978
|
+
def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil, needscan=nil, syncmode=nil, webhookurl=nil, webhooktoken=nil, instanceid=nil)
|
977
979
|
@Name = name
|
978
980
|
@Username = username
|
979
981
|
@Password = password
|
@@ -989,6 +991,7 @@ module TencentCloud
|
|
989
991
|
@SyncMode = syncmode
|
990
992
|
@WebhookUrl = webhookurl
|
991
993
|
@WebhookToken = webhooktoken
|
994
|
+
@InstanceId = instanceid
|
992
995
|
end
|
993
996
|
|
994
997
|
def deserialize(params)
|
@@ -1014,6 +1017,7 @@ module TencentCloud
|
|
1014
1017
|
@SyncMode = params['SyncMode']
|
1015
1018
|
@WebhookUrl = params['WebhookUrl']
|
1016
1019
|
@WebhookToken = params['WebhookToken']
|
1020
|
+
@InstanceId = params['InstanceId']
|
1017
1021
|
end
|
1018
1022
|
end
|
1019
1023
|
|
@@ -23621,21 +23625,33 @@ module TencentCloud
|
|
23621
23625
|
|
23622
23626
|
# ModifyAsset请求参数结构体
|
23623
23627
|
class ModifyAssetRequest < TencentCloud::Common::AbstractModel
|
23624
|
-
# @param All:
|
23628
|
+
# @param All: 同步全部普通节点
|
23625
23629
|
# @type All: Boolean
|
23626
|
-
# @param Hosts: 要同步的主机列表uuid
|
23630
|
+
# @param Hosts: 要同步的主机列表uuid
|
23627
23631
|
# @type Hosts: Array
|
23632
|
+
# @param AllSuperHost: 同步全部超级节点
|
23633
|
+
# @type AllSuperHost: Boolean
|
23634
|
+
# @param NodeUniqueIds: 要同步的超级节点唯一id
|
23635
|
+
# @type NodeUniqueIds: Array
|
23636
|
+
# @param TimeoutSec: 超时时间(秒) 最低3600s
|
23637
|
+
# @type TimeoutSec: Integer
|
23628
23638
|
|
23629
|
-
attr_accessor :All, :Hosts
|
23639
|
+
attr_accessor :All, :Hosts, :AllSuperHost, :NodeUniqueIds, :TimeoutSec
|
23630
23640
|
|
23631
|
-
def initialize(all=nil, hosts=nil)
|
23641
|
+
def initialize(all=nil, hosts=nil, allsuperhost=nil, nodeuniqueids=nil, timeoutsec=nil)
|
23632
23642
|
@All = all
|
23633
23643
|
@Hosts = hosts
|
23644
|
+
@AllSuperHost = allsuperhost
|
23645
|
+
@NodeUniqueIds = nodeuniqueids
|
23646
|
+
@TimeoutSec = timeoutsec
|
23634
23647
|
end
|
23635
23648
|
|
23636
23649
|
def deserialize(params)
|
23637
23650
|
@All = params['All']
|
23638
23651
|
@Hosts = params['Hosts']
|
23652
|
+
@AllSuperHost = params['AllSuperHost']
|
23653
|
+
@NodeUniqueIds = params['NodeUniqueIds']
|
23654
|
+
@TimeoutSec = params['TimeoutSec']
|
23639
23655
|
end
|
23640
23656
|
end
|
23641
23657
|
|
@@ -23643,18 +23659,22 @@ module TencentCloud
|
|
23643
23659
|
class ModifyAssetResponse < TencentCloud::Common::AbstractModel
|
23644
23660
|
# @param Status: 同步任务发送结果
|
23645
23661
|
# @type Status: String
|
23662
|
+
# @param TaskId: 任务id
|
23663
|
+
# @type TaskId: Integer
|
23646
23664
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23647
23665
|
# @type RequestId: String
|
23648
23666
|
|
23649
|
-
attr_accessor :Status, :RequestId
|
23667
|
+
attr_accessor :Status, :TaskId, :RequestId
|
23650
23668
|
|
23651
|
-
def initialize(status=nil, requestid=nil)
|
23669
|
+
def initialize(status=nil, taskid=nil, requestid=nil)
|
23652
23670
|
@Status = status
|
23671
|
+
@TaskId = taskid
|
23653
23672
|
@RequestId = requestid
|
23654
23673
|
end
|
23655
23674
|
|
23656
23675
|
def deserialize(params)
|
23657
23676
|
@Status = params['Status']
|
23677
|
+
@TaskId = params['TaskId']
|
23658
23678
|
@RequestId = params['RequestId']
|
23659
23679
|
end
|
23660
23680
|
end
|
@@ -24204,6 +24224,65 @@ module TencentCloud
|
|
24204
24224
|
end
|
24205
24225
|
end
|
24206
24226
|
|
24227
|
+
# ModifyRiskDnsEventStatus请求参数结构体
|
24228
|
+
class ModifyRiskDnsEventStatusRequest < TencentCloud::Common::AbstractModel
|
24229
|
+
# @param EventIDSet: 恶意请求事件ID数组。加白时必需,否则Filters和EventIDSet二者选其一。
|
24230
|
+
# @type EventIDSet: Array
|
24231
|
+
# @param EventStatus: 标记事件的状态:
|
24232
|
+
# EVENT_UNDEAL:未处理(取消忽略),
|
24233
|
+
# EVENT_DEALED:已处理,
|
24234
|
+
# EVENT_IGNORE:忽略,
|
24235
|
+
# EVENT_DELETE:已删除
|
24236
|
+
# EVENT_ADD_WHITE:加白
|
24237
|
+
# EVENT_ISOLATE_CONTAINER:隔离容器
|
24238
|
+
# EVENT_RESOTRE_CONTAINER:恢复容器
|
24239
|
+
# @type EventStatus: String
|
24240
|
+
# @param Address: 白名单域名/IP
|
24241
|
+
# @type Address: String
|
24242
|
+
# @param Remark: 备注
|
24243
|
+
# @type Remark: String
|
24244
|
+
# @param AllSameEventAddWhite: 相同的请求域名/IP事件加白处理
|
24245
|
+
# @type AllSameEventAddWhite: Boolean
|
24246
|
+
# @param AddWhiteEventType: 加白的事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP
|
24247
|
+
# @type AddWhiteEventType: String
|
24248
|
+
|
24249
|
+
attr_accessor :EventIDSet, :EventStatus, :Address, :Remark, :AllSameEventAddWhite, :AddWhiteEventType
|
24250
|
+
|
24251
|
+
def initialize(eventidset=nil, eventstatus=nil, address=nil, remark=nil, allsameeventaddwhite=nil, addwhiteeventtype=nil)
|
24252
|
+
@EventIDSet = eventidset
|
24253
|
+
@EventStatus = eventstatus
|
24254
|
+
@Address = address
|
24255
|
+
@Remark = remark
|
24256
|
+
@AllSameEventAddWhite = allsameeventaddwhite
|
24257
|
+
@AddWhiteEventType = addwhiteeventtype
|
24258
|
+
end
|
24259
|
+
|
24260
|
+
def deserialize(params)
|
24261
|
+
@EventIDSet = params['EventIDSet']
|
24262
|
+
@EventStatus = params['EventStatus']
|
24263
|
+
@Address = params['Address']
|
24264
|
+
@Remark = params['Remark']
|
24265
|
+
@AllSameEventAddWhite = params['AllSameEventAddWhite']
|
24266
|
+
@AddWhiteEventType = params['AddWhiteEventType']
|
24267
|
+
end
|
24268
|
+
end
|
24269
|
+
|
24270
|
+
# ModifyRiskDnsEventStatus返回参数结构体
|
24271
|
+
class ModifyRiskDnsEventStatusResponse < TencentCloud::Common::AbstractModel
|
24272
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24273
|
+
# @type RequestId: String
|
24274
|
+
|
24275
|
+
attr_accessor :RequestId
|
24276
|
+
|
24277
|
+
def initialize(requestid=nil)
|
24278
|
+
@RequestId = requestid
|
24279
|
+
end
|
24280
|
+
|
24281
|
+
def deserialize(params)
|
24282
|
+
@RequestId = params['RequestId']
|
24283
|
+
end
|
24284
|
+
end
|
24285
|
+
|
24207
24286
|
# ModifyRiskSyscallStatus请求参数结构体
|
24208
24287
|
class ModifyRiskSyscallStatusRequest < TencentCloud::Common::AbstractModel
|
24209
24288
|
# @param EventIdSet: 处理事件ids
|
@@ -28155,10 +28234,12 @@ module TencentCloud
|
|
28155
28234
|
# @type SyncMode: Integer
|
28156
28235
|
# @param NeedScan: 是否自动授权&扫描,选择增量同步时参数生效,包含所有新增镜像
|
28157
28236
|
# @type NeedScan: Boolean
|
28237
|
+
# @param InstanceId: tcr实例ID
|
28238
|
+
# @type InstanceId: String
|
28158
28239
|
|
28159
|
-
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig, :RegistryId, :SyncMode, :NeedScan
|
28240
|
+
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig, :RegistryId, :SyncMode, :NeedScan, :InstanceId
|
28160
28241
|
|
28161
|
-
def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil, registryid=nil, syncmode=nil, needscan=nil)
|
28242
|
+
def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil, registryid=nil, syncmode=nil, needscan=nil, instanceid=nil)
|
28162
28243
|
@Name = name
|
28163
28244
|
@Username = username
|
28164
28245
|
@Password = password
|
@@ -28173,6 +28254,7 @@ module TencentCloud
|
|
28173
28254
|
@RegistryId = registryid
|
28174
28255
|
@SyncMode = syncmode
|
28175
28256
|
@NeedScan = needscan
|
28257
|
+
@InstanceId = instanceid
|
28176
28258
|
end
|
28177
28259
|
|
28178
28260
|
def deserialize(params)
|
@@ -28197,6 +28279,7 @@ module TencentCloud
|
|
28197
28279
|
@RegistryId = params['RegistryId']
|
28198
28280
|
@SyncMode = params['SyncMode']
|
28199
28281
|
@NeedScan = params['NeedScan']
|
28282
|
+
@InstanceId = params['InstanceId']
|
28200
28283
|
end
|
28201
28284
|
end
|
28202
28285
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1078
|
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-06-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|