tencentcloud-sdk-tcss 3.0.1146 → 3.0.1160
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 +48 -0
- data/lib/v20201101/models.rb +153 -30
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3e99a753f3c04f7885ad99834a7d1efcf68eba5
|
|
4
|
+
data.tar.gz: a7a2c9a9499af2d418d550cda097bf4b50ab84fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61601e82e3c25ee9ae03b8b082bac7a27e239f4111eb19617831e7b121a59b88be265b696935e4a38ca8947c94c25c2dba44a68afae2f57b316d6069d794dd71
|
|
7
|
+
data.tar.gz: 599ddd7773616f7e2bf5eb0e6aeda18bd6d2dba8fc0f52259e49571d8a07d069e7e4b00640a486161f9d29f005b99251e466baf9ca036ffee20cc65ddfbf7600
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1160
|
data/lib/v20201101/client.rb
CHANGED
|
@@ -679,6 +679,30 @@ module TencentCloud
|
|
|
679
679
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
680
680
|
end
|
|
681
681
|
|
|
682
|
+
# 创建集群接入
|
|
683
|
+
|
|
684
|
+
# @param request: Request instance for CreateClusterAccess.
|
|
685
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::CreateClusterAccessRequest`
|
|
686
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::CreateClusterAccessResponse`
|
|
687
|
+
def CreateClusterAccess(request)
|
|
688
|
+
body = send_request('CreateClusterAccess', request.serialize)
|
|
689
|
+
response = JSON.parse(body)
|
|
690
|
+
if response['Response'].key?('Error') == false
|
|
691
|
+
model = CreateClusterAccessResponse.new
|
|
692
|
+
model.deserialize(response['Response'])
|
|
693
|
+
model
|
|
694
|
+
else
|
|
695
|
+
code = response['Response']['Error']['Code']
|
|
696
|
+
message = response['Response']['Error']['Message']
|
|
697
|
+
reqid = response['Response']['RequestId']
|
|
698
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
699
|
+
end
|
|
700
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
701
|
+
raise e
|
|
702
|
+
rescue StandardError => e
|
|
703
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
704
|
+
end
|
|
705
|
+
|
|
682
706
|
# 创建集群检查任务,用户检查用户的集群相关风险项
|
|
683
707
|
|
|
684
708
|
# @param request: Request instance for CreateClusterCheckTask.
|
|
@@ -7090,6 +7114,30 @@ module TencentCloud
|
|
|
7090
7114
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
7091
7115
|
end
|
|
7092
7116
|
|
|
7117
|
+
# 修改防护状态
|
|
7118
|
+
|
|
7119
|
+
# @param request: Request instance for ModifyDefendStatus.
|
|
7120
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::ModifyDefendStatusRequest`
|
|
7121
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyDefendStatusResponse`
|
|
7122
|
+
def ModifyDefendStatus(request)
|
|
7123
|
+
body = send_request('ModifyDefendStatus', request.serialize)
|
|
7124
|
+
response = JSON.parse(body)
|
|
7125
|
+
if response['Response'].key?('Error') == false
|
|
7126
|
+
model = ModifyDefendStatusResponse.new
|
|
7127
|
+
model.deserialize(response['Response'])
|
|
7128
|
+
model
|
|
7129
|
+
else
|
|
7130
|
+
code = response['Response']['Error']['Code']
|
|
7131
|
+
message = response['Response']['Error']['Message']
|
|
7132
|
+
reqid = response['Response']['RequestId']
|
|
7133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
7134
|
+
end
|
|
7135
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
7136
|
+
raise e
|
|
7137
|
+
rescue StandardError => e
|
|
7138
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
7139
|
+
end
|
|
7140
|
+
|
|
7093
7141
|
# ModifyEscapeEventStatus 修改容器逃逸扫描事件状态
|
|
7094
7142
|
|
|
7095
7143
|
# @param request: Request instance for ModifyEscapeEventStatus.
|
data/lib/v20201101/models.rb
CHANGED
|
@@ -3655,8 +3655,8 @@ module TencentCloud
|
|
|
3655
3655
|
|
|
3656
3656
|
attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
|
|
3657
3657
|
extend Gem::Deprecate
|
|
3658
|
-
deprecate :Component, :none, 2025,
|
|
3659
|
-
deprecate :Component=, :none, 2025,
|
|
3658
|
+
deprecate :Component, :none, 2025, 10
|
|
3659
|
+
deprecate :Component=, :none, 2025, 10
|
|
3660
3660
|
|
|
3661
3661
|
def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
|
|
3662
3662
|
@Component = component
|
|
@@ -4106,8 +4106,8 @@ module TencentCloud
|
|
|
4106
4106
|
|
|
4107
4107
|
attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
|
|
4108
4108
|
extend Gem::Deprecate
|
|
4109
|
-
deprecate :All, :none, 2025,
|
|
4110
|
-
deprecate :All=, :none, 2025,
|
|
4109
|
+
deprecate :All, :none, 2025, 10
|
|
4110
|
+
deprecate :All=, :none, 2025, 10
|
|
4111
4111
|
|
|
4112
4112
|
def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
|
|
4113
4113
|
@All = all
|
|
@@ -4268,8 +4268,8 @@ module TencentCloud
|
|
|
4268
4268
|
|
|
4269
4269
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages
|
|
4270
4270
|
extend Gem::Deprecate
|
|
4271
|
-
deprecate :All, :none, 2025,
|
|
4272
|
-
deprecate :All=, :none, 2025,
|
|
4271
|
+
deprecate :All, :none, 2025, 10
|
|
4272
|
+
deprecate :All=, :none, 2025, 10
|
|
4273
4273
|
|
|
4274
4274
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil)
|
|
4275
4275
|
@Enable = enable
|
|
@@ -4345,8 +4345,8 @@ module TencentCloud
|
|
|
4345
4345
|
|
|
4346
4346
|
attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout, :IsOneClickScanningTask
|
|
4347
4347
|
extend Gem::Deprecate
|
|
4348
|
-
deprecate :All, :none, 2025,
|
|
4349
|
-
deprecate :All=, :none, 2025,
|
|
4348
|
+
deprecate :All, :none, 2025, 10
|
|
4349
|
+
deprecate :All=, :none, 2025, 10
|
|
4350
4350
|
|
|
4351
4351
|
def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil, isoneclickscanningtask=nil)
|
|
4352
4352
|
@All = all
|
|
@@ -4514,6 +4514,38 @@ module TencentCloud
|
|
|
4514
4514
|
end
|
|
4515
4515
|
end
|
|
4516
4516
|
|
|
4517
|
+
# CreateClusterAccess请求参数结构体
|
|
4518
|
+
class CreateClusterAccessRequest < TencentCloud::Common::AbstractModel
|
|
4519
|
+
# @param ClusterIDs: 集群ID
|
|
4520
|
+
# @type ClusterIDs: Array
|
|
4521
|
+
|
|
4522
|
+
attr_accessor :ClusterIDs
|
|
4523
|
+
|
|
4524
|
+
def initialize(clusterids=nil)
|
|
4525
|
+
@ClusterIDs = clusterids
|
|
4526
|
+
end
|
|
4527
|
+
|
|
4528
|
+
def deserialize(params)
|
|
4529
|
+
@ClusterIDs = params['ClusterIDs']
|
|
4530
|
+
end
|
|
4531
|
+
end
|
|
4532
|
+
|
|
4533
|
+
# CreateClusterAccess返回参数结构体
|
|
4534
|
+
class CreateClusterAccessResponse < TencentCloud::Common::AbstractModel
|
|
4535
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4536
|
+
# @type RequestId: String
|
|
4537
|
+
|
|
4538
|
+
attr_accessor :RequestId
|
|
4539
|
+
|
|
4540
|
+
def initialize(requestid=nil)
|
|
4541
|
+
@RequestId = requestid
|
|
4542
|
+
end
|
|
4543
|
+
|
|
4544
|
+
def deserialize(params)
|
|
4545
|
+
@RequestId = params['RequestId']
|
|
4546
|
+
end
|
|
4547
|
+
end
|
|
4548
|
+
|
|
4517
4549
|
# CreateClusterCheckTask请求参数结构体
|
|
4518
4550
|
class CreateClusterCheckTaskRequest < TencentCloud::Common::AbstractModel
|
|
4519
4551
|
# @param ClusterCheckTaskList: 指定要扫描的集群信息
|
|
@@ -4949,14 +4981,17 @@ module TencentCloud
|
|
|
4949
4981
|
# @type ExportAll: Boolean
|
|
4950
4982
|
# @param IdList: 要导出的资产ID列表或检测项ID列表,由ExportByAsset的取值决定。
|
|
4951
4983
|
# @type IdList: Array
|
|
4984
|
+
# @param Filters: 筛选
|
|
4985
|
+
# @type Filters: Array
|
|
4952
4986
|
|
|
4953
|
-
attr_accessor :AssetType, :ExportByAsset, :ExportAll, :IdList
|
|
4987
|
+
attr_accessor :AssetType, :ExportByAsset, :ExportAll, :IdList, :Filters
|
|
4954
4988
|
|
|
4955
|
-
def initialize(assettype=nil, exportbyasset=nil, exportall=nil, idlist=nil)
|
|
4989
|
+
def initialize(assettype=nil, exportbyasset=nil, exportall=nil, idlist=nil, filters=nil)
|
|
4956
4990
|
@AssetType = assettype
|
|
4957
4991
|
@ExportByAsset = exportbyasset
|
|
4958
4992
|
@ExportAll = exportall
|
|
4959
4993
|
@IdList = idlist
|
|
4994
|
+
@Filters = filters
|
|
4960
4995
|
end
|
|
4961
4996
|
|
|
4962
4997
|
def deserialize(params)
|
|
@@ -4964,6 +4999,14 @@ module TencentCloud
|
|
|
4964
4999
|
@ExportByAsset = params['ExportByAsset']
|
|
4965
5000
|
@ExportAll = params['ExportAll']
|
|
4966
5001
|
@IdList = params['IdList']
|
|
5002
|
+
unless params['Filters'].nil?
|
|
5003
|
+
@Filters = []
|
|
5004
|
+
params['Filters'].each do |i|
|
|
5005
|
+
runtimefilters_tmp = RunTimeFilters.new
|
|
5006
|
+
runtimefilters_tmp.deserialize(i)
|
|
5007
|
+
@Filters << runtimefilters_tmp
|
|
5008
|
+
end
|
|
5009
|
+
end
|
|
4967
5010
|
end
|
|
4968
5011
|
end
|
|
4969
5012
|
|
|
@@ -8927,12 +8970,16 @@ module TencentCloud
|
|
|
8927
8970
|
# @type RemainScanTime: Integer
|
|
8928
8971
|
# @param IsAuthorized: 授权为:1,未授权为:0
|
|
8929
8972
|
# @type IsAuthorized: Integer
|
|
8973
|
+
# @param Solution: 解决方案
|
|
8974
|
+
# @type Solution: String
|
|
8975
|
+
# @param Reason: 原因
|
|
8976
|
+
# @type Reason: String
|
|
8930
8977
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8931
8978
|
# @type RequestId: String
|
|
8932
8979
|
|
|
8933
|
-
attr_accessor :ImageID, :ImageName, :ImageDigest, :CreateTime, :Size, :HostCnt, :ContainerCnt, :SuperNodeCnt, :ScanTime, :VulCnt, :RiskCnt, :SensitiveInfoCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :Architecture, :Author, :BuildHistory, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanVirusError, :ScanVulError, :ScanRiskError, :ScanStatus, :VirusCnt, :Status, :RemainScanTime, :IsAuthorized, :RequestId
|
|
8980
|
+
attr_accessor :ImageID, :ImageName, :ImageDigest, :CreateTime, :Size, :HostCnt, :ContainerCnt, :SuperNodeCnt, :ScanTime, :VulCnt, :RiskCnt, :SensitiveInfoCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :Architecture, :Author, :BuildHistory, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanVirusError, :ScanVulError, :ScanRiskError, :ScanStatus, :VirusCnt, :Status, :RemainScanTime, :IsAuthorized, :Solution, :Reason, :RequestId
|
|
8934
8981
|
|
|
8935
|
-
def initialize(imageid=nil, imagename=nil, imagedigest=nil, createtime=nil, size=nil, hostcnt=nil, containercnt=nil, supernodecnt=nil, scantime=nil, vulcnt=nil, riskcnt=nil, sensitiveinfocnt=nil, istrustimage=nil, osname=nil, agenterror=nil, scanerror=nil, architecture=nil, author=nil, buildhistory=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanviruserror=nil, scanvulerror=nil, scanriskerror=nil, scanstatus=nil, viruscnt=nil, status=nil, remainscantime=nil, isauthorized=nil, requestid=nil)
|
|
8982
|
+
def initialize(imageid=nil, imagename=nil, imagedigest=nil, createtime=nil, size=nil, hostcnt=nil, containercnt=nil, supernodecnt=nil, scantime=nil, vulcnt=nil, riskcnt=nil, sensitiveinfocnt=nil, istrustimage=nil, osname=nil, agenterror=nil, scanerror=nil, architecture=nil, author=nil, buildhistory=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanviruserror=nil, scanvulerror=nil, scanriskerror=nil, scanstatus=nil, viruscnt=nil, status=nil, remainscantime=nil, isauthorized=nil, solution=nil, reason=nil, requestid=nil)
|
|
8936
8983
|
@ImageID = imageid
|
|
8937
8984
|
@ImageName = imagename
|
|
8938
8985
|
@ImageDigest = imagedigest
|
|
@@ -8963,6 +9010,8 @@ module TencentCloud
|
|
|
8963
9010
|
@Status = status
|
|
8964
9011
|
@RemainScanTime = remainscantime
|
|
8965
9012
|
@IsAuthorized = isauthorized
|
|
9013
|
+
@Solution = solution
|
|
9014
|
+
@Reason = reason
|
|
8966
9015
|
@RequestId = requestid
|
|
8967
9016
|
end
|
|
8968
9017
|
|
|
@@ -8997,6 +9046,8 @@ module TencentCloud
|
|
|
8997
9046
|
@Status = params['Status']
|
|
8998
9047
|
@RemainScanTime = params['RemainScanTime']
|
|
8999
9048
|
@IsAuthorized = params['IsAuthorized']
|
|
9049
|
+
@Solution = params['Solution']
|
|
9050
|
+
@Reason = params['Reason']
|
|
9000
9051
|
@RequestId = params['RequestId']
|
|
9001
9052
|
end
|
|
9002
9053
|
end
|
|
@@ -9258,15 +9309,19 @@ module TencentCloud
|
|
|
9258
9309
|
# @type SensitiveInfoCnt: Integer
|
|
9259
9310
|
# @param Id: Id
|
|
9260
9311
|
# @type Id: Integer
|
|
9312
|
+
# @param Solution: 解决方案
|
|
9313
|
+
# @type Solution: String
|
|
9314
|
+
# @param Reason: 原因
|
|
9315
|
+
# @type Reason: String
|
|
9261
9316
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9262
9317
|
# @type RequestId: String
|
|
9263
9318
|
|
|
9264
|
-
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :OsName, :ScanVirusError, :ScanVulError, :LayerInfo, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :ImageSize, :ImageId, :RegistryRegion, :ImageCreateTime, :SensitiveInfoCnt, :Id, :RequestId
|
|
9319
|
+
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :OsName, :ScanVirusError, :ScanVulError, :LayerInfo, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :ImageSize, :ImageId, :RegistryRegion, :ImageCreateTime, :SensitiveInfoCnt, :Id, :Solution, :Reason, :RequestId
|
|
9265
9320
|
extend Gem::Deprecate
|
|
9266
|
-
deprecate :SentiveInfoCnt, :none, 2025,
|
|
9267
|
-
deprecate :SentiveInfoCnt=, :none, 2025,
|
|
9321
|
+
deprecate :SentiveInfoCnt, :none, 2025, 10
|
|
9322
|
+
deprecate :SentiveInfoCnt=, :none, 2025, 10
|
|
9268
9323
|
|
|
9269
|
-
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, layerinfo=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, imagesize=nil, imageid=nil, registryregion=nil, imagecreatetime=nil, sensitiveinfocnt=nil, id=nil, requestid=nil)
|
|
9324
|
+
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, layerinfo=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, imagesize=nil, imageid=nil, registryregion=nil, imagecreatetime=nil, sensitiveinfocnt=nil, id=nil, solution=nil, reason=nil, requestid=nil)
|
|
9270
9325
|
@ImageDigest = imagedigest
|
|
9271
9326
|
@ImageRepoAddress = imagerepoaddress
|
|
9272
9327
|
@RegistryType = registrytype
|
|
@@ -9301,6 +9356,8 @@ module TencentCloud
|
|
|
9301
9356
|
@ImageCreateTime = imagecreatetime
|
|
9302
9357
|
@SensitiveInfoCnt = sensitiveinfocnt
|
|
9303
9358
|
@Id = id
|
|
9359
|
+
@Solution = solution
|
|
9360
|
+
@Reason = reason
|
|
9304
9361
|
@RequestId = requestid
|
|
9305
9362
|
end
|
|
9306
9363
|
|
|
@@ -9339,6 +9396,8 @@ module TencentCloud
|
|
|
9339
9396
|
@ImageCreateTime = params['ImageCreateTime']
|
|
9340
9397
|
@SensitiveInfoCnt = params['SensitiveInfoCnt']
|
|
9341
9398
|
@Id = params['Id']
|
|
9399
|
+
@Solution = params['Solution']
|
|
9400
|
+
@Reason = params['Reason']
|
|
9342
9401
|
@RequestId = params['RequestId']
|
|
9343
9402
|
end
|
|
9344
9403
|
end
|
|
@@ -9802,18 +9861,22 @@ module TencentCloud
|
|
|
9802
9861
|
class DescribeAssetImageRegistryRiskListExportResponse < TencentCloud::Common::AbstractModel
|
|
9803
9862
|
# @param DownloadUrl: excel文件下载地址
|
|
9804
9863
|
# @type DownloadUrl: String
|
|
9864
|
+
# @param JobId: 导出任务id
|
|
9865
|
+
# @type JobId: String
|
|
9805
9866
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9806
9867
|
# @type RequestId: String
|
|
9807
9868
|
|
|
9808
|
-
attr_accessor :DownloadUrl, :RequestId
|
|
9869
|
+
attr_accessor :DownloadUrl, :JobId, :RequestId
|
|
9809
9870
|
|
|
9810
|
-
def initialize(downloadurl=nil, requestid=nil)
|
|
9871
|
+
def initialize(downloadurl=nil, jobid=nil, requestid=nil)
|
|
9811
9872
|
@DownloadUrl = downloadurl
|
|
9873
|
+
@JobId = jobid
|
|
9812
9874
|
@RequestId = requestid
|
|
9813
9875
|
end
|
|
9814
9876
|
|
|
9815
9877
|
def deserialize(params)
|
|
9816
9878
|
@DownloadUrl = params['DownloadUrl']
|
|
9879
|
+
@JobId = params['JobId']
|
|
9817
9880
|
@RequestId = params['RequestId']
|
|
9818
9881
|
end
|
|
9819
9882
|
end
|
|
@@ -10422,8 +10485,8 @@ module TencentCloud
|
|
|
10422
10485
|
|
|
10423
10486
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages, :LastScanTime, :ScanResult, :RequestId
|
|
10424
10487
|
extend Gem::Deprecate
|
|
10425
|
-
deprecate :All, :none, 2025,
|
|
10426
|
-
deprecate :All=, :none, 2025,
|
|
10488
|
+
deprecate :All, :none, 2025, 10
|
|
10489
|
+
deprecate :All=, :none, 2025, 10
|
|
10427
10490
|
|
|
10428
10491
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil, lastscantime=nil, scanresult=nil, requestid=nil)
|
|
10429
10492
|
@Enable = enable
|
|
@@ -13873,8 +13936,8 @@ module TencentCloud
|
|
|
13873
13936
|
|
|
13874
13937
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :ExcludeImageAssetIds, :LastScanTime, :ScanResult, :RequestId
|
|
13875
13938
|
extend Gem::Deprecate
|
|
13876
|
-
deprecate :All, :none, 2025,
|
|
13877
|
-
deprecate :All=, :none, 2025,
|
|
13939
|
+
deprecate :All, :none, 2025, 10
|
|
13940
|
+
deprecate :All=, :none, 2025, 10
|
|
13878
13941
|
|
|
13879
13942
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, scanendtime=nil, registrytype=nil, containerrunning=nil, scanscope=nil, namespace=nil, excludeimageassetids=nil, lastscantime=nil, scanresult=nil, requestid=nil)
|
|
13880
13943
|
@Enable = enable
|
|
@@ -22026,13 +22089,17 @@ module TencentCloud
|
|
|
22026
22089
|
# @type SensitiveInfoCnt: Integer
|
|
22027
22090
|
# @param RecommendedFix: 是否推荐处置
|
|
22028
22091
|
# @type RecommendedFix: Boolean
|
|
22092
|
+
# @param Solution: 解决方案
|
|
22093
|
+
# @type Solution: String
|
|
22094
|
+
# @param Reason: 原因
|
|
22095
|
+
# @type Reason: String
|
|
22029
22096
|
|
|
22030
|
-
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ImageSize, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :IsTrustImage, :OsName, :ScanVirusError, :ScanVulError, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :RegistryRegion, :Id, :ImageId, :ImageCreateTime, :IsLatestImage, :LowLevelVulCnt, :MediumLevelVulCnt, :HighLevelVulCnt, :CriticalLevelVulCnt, :ContainerCnt, :ComponentCnt, :IsRunning, :HasNeedFixVul, :SensitiveInfoCnt, :RecommendedFix
|
|
22097
|
+
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ImageSize, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :IsTrustImage, :OsName, :ScanVirusError, :ScanVulError, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :RegistryRegion, :Id, :ImageId, :ImageCreateTime, :IsLatestImage, :LowLevelVulCnt, :MediumLevelVulCnt, :HighLevelVulCnt, :CriticalLevelVulCnt, :ContainerCnt, :ComponentCnt, :IsRunning, :HasNeedFixVul, :SensitiveInfoCnt, :RecommendedFix, :Solution, :Reason
|
|
22031
22098
|
extend Gem::Deprecate
|
|
22032
|
-
deprecate :SentiveInfoCnt, :none, 2025,
|
|
22033
|
-
deprecate :SentiveInfoCnt=, :none, 2025,
|
|
22099
|
+
deprecate :SentiveInfoCnt, :none, 2025, 10
|
|
22100
|
+
deprecate :SentiveInfoCnt=, :none, 2025, 10
|
|
22034
22101
|
|
|
22035
|
-
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, imagesize=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, istrustimage=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, registryregion=nil, id=nil, imageid=nil, imagecreatetime=nil, islatestimage=nil, lowlevelvulcnt=nil, mediumlevelvulcnt=nil, highlevelvulcnt=nil, criticallevelvulcnt=nil, containercnt=nil, componentcnt=nil, isrunning=nil, hasneedfixvul=nil, sensitiveinfocnt=nil, recommendedfix=nil)
|
|
22102
|
+
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, imagesize=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, istrustimage=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, registryregion=nil, id=nil, imageid=nil, imagecreatetime=nil, islatestimage=nil, lowlevelvulcnt=nil, mediumlevelvulcnt=nil, highlevelvulcnt=nil, criticallevelvulcnt=nil, containercnt=nil, componentcnt=nil, isrunning=nil, hasneedfixvul=nil, sensitiveinfocnt=nil, recommendedfix=nil, solution=nil, reason=nil)
|
|
22036
22103
|
@ImageDigest = imagedigest
|
|
22037
22104
|
@ImageRepoAddress = imagerepoaddress
|
|
22038
22105
|
@RegistryType = registrytype
|
|
@@ -22077,6 +22144,8 @@ module TencentCloud
|
|
|
22077
22144
|
@HasNeedFixVul = hasneedfixvul
|
|
22078
22145
|
@SensitiveInfoCnt = sensitiveinfocnt
|
|
22079
22146
|
@RecommendedFix = recommendedfix
|
|
22147
|
+
@Solution = solution
|
|
22148
|
+
@Reason = reason
|
|
22080
22149
|
end
|
|
22081
22150
|
|
|
22082
22151
|
def deserialize(params)
|
|
@@ -22124,6 +22193,8 @@ module TencentCloud
|
|
|
22124
22193
|
@HasNeedFixVul = params['HasNeedFixVul']
|
|
22125
22194
|
@SensitiveInfoCnt = params['SensitiveInfoCnt']
|
|
22126
22195
|
@RecommendedFix = params['RecommendedFix']
|
|
22196
|
+
@Solution = params['Solution']
|
|
22197
|
+
@Reason = params['Reason']
|
|
22127
22198
|
end
|
|
22128
22199
|
end
|
|
22129
22200
|
|
|
@@ -22760,10 +22831,14 @@ module TencentCloud
|
|
|
22760
22831
|
# @type IsLatestImage: Boolean
|
|
22761
22832
|
# @param RecommendedFix: 是否推荐处置
|
|
22762
22833
|
# @type RecommendedFix: Boolean
|
|
22834
|
+
# @param Solution: 解决方案
|
|
22835
|
+
# @type Solution: String
|
|
22836
|
+
# @param Reason: 原因
|
|
22837
|
+
# @type Reason: String
|
|
22763
22838
|
|
|
22764
|
-
attr_accessor :ImageID, :ImageName, :CreateTime, :Size, :HostCnt, :SuperNodeCnt, :ContainerCnt, :ScanTime, :VulCnt, :VirusCnt, :RiskCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :ScanStatus, :ScanVirusError, :ScanVulError, :ScanRiskError, :IsSuggest, :IsAuthorized, :ComponentCnt, :CriticalLevelVulCnt, :HighLevelVulCnt, :MediumLevelVulCnt, :LowLevelVulCnt, :IsLatestImage, :RecommendedFix
|
|
22839
|
+
attr_accessor :ImageID, :ImageName, :CreateTime, :Size, :HostCnt, :SuperNodeCnt, :ContainerCnt, :ScanTime, :VulCnt, :VirusCnt, :RiskCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :ScanStatus, :ScanVirusError, :ScanVulError, :ScanRiskError, :IsSuggest, :IsAuthorized, :ComponentCnt, :CriticalLevelVulCnt, :HighLevelVulCnt, :MediumLevelVulCnt, :LowLevelVulCnt, :IsLatestImage, :RecommendedFix, :Solution, :Reason
|
|
22765
22840
|
|
|
22766
|
-
def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, hostcnt=nil, supernodecnt=nil, containercnt=nil, scantime=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, istrustimage=nil, osname=nil, agenterror=nil, scanerror=nil, scanstatus=nil, scanviruserror=nil, scanvulerror=nil, scanriskerror=nil, issuggest=nil, isauthorized=nil, componentcnt=nil, criticallevelvulcnt=nil, highlevelvulcnt=nil, mediumlevelvulcnt=nil, lowlevelvulcnt=nil, islatestimage=nil, recommendedfix=nil)
|
|
22841
|
+
def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, hostcnt=nil, supernodecnt=nil, containercnt=nil, scantime=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, istrustimage=nil, osname=nil, agenterror=nil, scanerror=nil, scanstatus=nil, scanviruserror=nil, scanvulerror=nil, scanriskerror=nil, issuggest=nil, isauthorized=nil, componentcnt=nil, criticallevelvulcnt=nil, highlevelvulcnt=nil, mediumlevelvulcnt=nil, lowlevelvulcnt=nil, islatestimage=nil, recommendedfix=nil, solution=nil, reason=nil)
|
|
22767
22842
|
@ImageID = imageid
|
|
22768
22843
|
@ImageName = imagename
|
|
22769
22844
|
@CreateTime = createtime
|
|
@@ -22792,6 +22867,8 @@ module TencentCloud
|
|
|
22792
22867
|
@LowLevelVulCnt = lowlevelvulcnt
|
|
22793
22868
|
@IsLatestImage = islatestimage
|
|
22794
22869
|
@RecommendedFix = recommendedfix
|
|
22870
|
+
@Solution = solution
|
|
22871
|
+
@Reason = reason
|
|
22795
22872
|
end
|
|
22796
22873
|
|
|
22797
22874
|
def deserialize(params)
|
|
@@ -22823,6 +22900,8 @@ module TencentCloud
|
|
|
22823
22900
|
@LowLevelVulCnt = params['LowLevelVulCnt']
|
|
22824
22901
|
@IsLatestImage = params['IsLatestImage']
|
|
22825
22902
|
@RecommendedFix = params['RecommendedFix']
|
|
22903
|
+
@Solution = params['Solution']
|
|
22904
|
+
@Reason = params['Reason']
|
|
22826
22905
|
end
|
|
22827
22906
|
end
|
|
22828
22907
|
|
|
@@ -23784,6 +23863,50 @@ module TencentCloud
|
|
|
23784
23863
|
end
|
|
23785
23864
|
end
|
|
23786
23865
|
|
|
23866
|
+
# ModifyDefendStatus请求参数结构体
|
|
23867
|
+
class ModifyDefendStatusRequest < TencentCloud::Common::AbstractModel
|
|
23868
|
+
# @param SwitchOn: 开关是否开启
|
|
23869
|
+
# @type SwitchOn: Boolean
|
|
23870
|
+
# @param InstanceType: 实例类型 <li> Cluster: 集群</li> <li> Node: 节点</li>
|
|
23871
|
+
# @type InstanceType: String
|
|
23872
|
+
# @param IsAll: 是否是全部实例
|
|
23873
|
+
# @type IsAll: Boolean
|
|
23874
|
+
# @param InstanceIDs: 实例id列表
|
|
23875
|
+
# @type InstanceIDs: Array
|
|
23876
|
+
|
|
23877
|
+
attr_accessor :SwitchOn, :InstanceType, :IsAll, :InstanceIDs
|
|
23878
|
+
|
|
23879
|
+
def initialize(switchon=nil, instancetype=nil, isall=nil, instanceids=nil)
|
|
23880
|
+
@SwitchOn = switchon
|
|
23881
|
+
@InstanceType = instancetype
|
|
23882
|
+
@IsAll = isall
|
|
23883
|
+
@InstanceIDs = instanceids
|
|
23884
|
+
end
|
|
23885
|
+
|
|
23886
|
+
def deserialize(params)
|
|
23887
|
+
@SwitchOn = params['SwitchOn']
|
|
23888
|
+
@InstanceType = params['InstanceType']
|
|
23889
|
+
@IsAll = params['IsAll']
|
|
23890
|
+
@InstanceIDs = params['InstanceIDs']
|
|
23891
|
+
end
|
|
23892
|
+
end
|
|
23893
|
+
|
|
23894
|
+
# ModifyDefendStatus返回参数结构体
|
|
23895
|
+
class ModifyDefendStatusResponse < TencentCloud::Common::AbstractModel
|
|
23896
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23897
|
+
# @type RequestId: String
|
|
23898
|
+
|
|
23899
|
+
attr_accessor :RequestId
|
|
23900
|
+
|
|
23901
|
+
def initialize(requestid=nil)
|
|
23902
|
+
@RequestId = requestid
|
|
23903
|
+
end
|
|
23904
|
+
|
|
23905
|
+
def deserialize(params)
|
|
23906
|
+
@RequestId = params['RequestId']
|
|
23907
|
+
end
|
|
23908
|
+
end
|
|
23909
|
+
|
|
23787
23910
|
# ModifyEscapeEventStatus请求参数结构体
|
|
23788
23911
|
class ModifyEscapeEventStatusRequest < TencentCloud::Common::AbstractModel
|
|
23789
23912
|
# @param EventIdSet: 处理事件ids
|
|
@@ -28360,8 +28483,8 @@ module TencentCloud
|
|
|
28360
28483
|
|
|
28361
28484
|
attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace, :ExcludeImageAssetIds
|
|
28362
28485
|
extend Gem::Deprecate
|
|
28363
|
-
deprecate :All, :none, 2025,
|
|
28364
|
-
deprecate :All=, :none, 2025,
|
|
28486
|
+
deprecate :All, :none, 2025, 10
|
|
28487
|
+
deprecate :All=, :none, 2025, 10
|
|
28365
28488
|
|
|
28366
28489
|
def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil, containerrunning=nil, scanendtime=nil, scanscope=nil, registrytype=nil, namespace=nil, excludeimageassetids=nil)
|
|
28367
28490
|
@ScanPeriod = scanperiod
|
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.1160
|
|
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-
|
|
11
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-tcss.rb
|
|
37
|
-
- lib/v20201101/client.rb
|
|
38
36
|
- lib/v20201101/models.rb
|
|
37
|
+
- lib/v20201101/client.rb
|
|
38
|
+
- lib/tencentcloud-sdk-tcss.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|