tencentcloud-sdk-tcss 3.0.657 → 3.0.659
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/v20201101/client.rb +1 -1
- data/lib/v20201101/models.rb +219 -24
- 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: f91aec61375d8d3b7697201c3f92b49300a9039c
|
4
|
+
data.tar.gz: 11ea56d241592a16a3fdfd17cd7415e23c952c04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3053c96701062ceed6dd8d906017b3925fe7ac32f3542b0b231601e8c7a4cbf760e1df30dc70b3f9e6e61b4aa78b4a04efefb13a9e3dcef901527353450ec2ab
|
7
|
+
data.tar.gz: c33ec644b5e933e938cfc9768f4a4d83798b1a7baa63523bb92ae27a9425c82f2fbc2ded425004ae999638382459f0302946d97748f05fc4d2bbbadc7164e340
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.659
|
data/lib/v20201101/client.rb
CHANGED
@@ -4136,7 +4136,7 @@ module TencentCloud
|
|
4136
4136
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4137
4137
|
end
|
4138
4138
|
|
4139
|
-
#
|
4139
|
+
# 查询用户镜像仓库下的命令空间列表
|
4140
4140
|
|
4141
4141
|
# @param request: Request instance for DescribeImageRegistryNamespaceList.
|
4142
4142
|
# @type request: :class:`Tencentcloud::tcss::V20201101::DescribeImageRegistryNamespaceListRequest`
|
data/lib/v20201101/models.rb
CHANGED
@@ -3422,8 +3422,8 @@ module TencentCloud
|
|
3422
3422
|
|
3423
3423
|
attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
|
3424
3424
|
extend Gem::Deprecate
|
3425
|
-
deprecate :Component, :none, 2023,
|
3426
|
-
deprecate :Component=, :none, 2023,
|
3425
|
+
deprecate :Component, :none, 2023, 9
|
3426
|
+
deprecate :Component=, :none, 2023, 9
|
3427
3427
|
|
3428
3428
|
def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
|
3429
3429
|
@Component = component
|
@@ -3572,10 +3572,17 @@ module TencentCloud
|
|
3572
3572
|
# @type PodCpu: Integer
|
3573
3573
|
# @param PodMem: 所属Pod的内存
|
3574
3574
|
# @type PodMem: Integer
|
3575
|
+
# @param ClusterName: 集群名称
|
3576
|
+
# @type ClusterName: String
|
3577
|
+
# @param ClusterID: 集群ID
|
3578
|
+
# @type ClusterID: String
|
3579
|
+
# @param PodUid: pod uid
|
3580
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3581
|
+
# @type PodUid: String
|
3575
3582
|
|
3576
|
-
attr_accessor :ContainerID, :ContainerName, :Status, :CreateTime, :RunAs, :Cmd, :CPUUsage, :RamUsage, :ImageName, :ImageID, :POD, :HostID, :HostIP, :UpdateTime, :HostName, :PublicIp, :NetStatus, :NetSubStatus, :IsolateSource, :IsolateTime, :NodeID, :PodIP, :PodName, :NodeType, :NodeUniqueID, :PodCpu, :PodMem
|
3583
|
+
attr_accessor :ContainerID, :ContainerName, :Status, :CreateTime, :RunAs, :Cmd, :CPUUsage, :RamUsage, :ImageName, :ImageID, :POD, :HostID, :HostIP, :UpdateTime, :HostName, :PublicIp, :NetStatus, :NetSubStatus, :IsolateSource, :IsolateTime, :NodeID, :PodIP, :PodName, :NodeType, :NodeUniqueID, :PodCpu, :PodMem, :ClusterName, :ClusterID, :PodUid
|
3577
3584
|
|
3578
|
-
def initialize(containerid=nil, containername=nil, status=nil, createtime=nil, runas=nil, cmd=nil, cpuusage=nil, ramusage=nil, imagename=nil, imageid=nil, pod=nil, hostid=nil, hostip=nil, updatetime=nil, hostname=nil, publicip=nil, netstatus=nil, netsubstatus=nil, isolatesource=nil, isolatetime=nil, nodeid=nil, podip=nil, podname=nil, nodetype=nil, nodeuniqueid=nil, podcpu=nil, podmem=nil)
|
3585
|
+
def initialize(containerid=nil, containername=nil, status=nil, createtime=nil, runas=nil, cmd=nil, cpuusage=nil, ramusage=nil, imagename=nil, imageid=nil, pod=nil, hostid=nil, hostip=nil, updatetime=nil, hostname=nil, publicip=nil, netstatus=nil, netsubstatus=nil, isolatesource=nil, isolatetime=nil, nodeid=nil, podip=nil, podname=nil, nodetype=nil, nodeuniqueid=nil, podcpu=nil, podmem=nil, clustername=nil, clusterid=nil, poduid=nil)
|
3579
3586
|
@ContainerID = containerid
|
3580
3587
|
@ContainerName = containername
|
3581
3588
|
@Status = status
|
@@ -3603,6 +3610,9 @@ module TencentCloud
|
|
3603
3610
|
@NodeUniqueID = nodeuniqueid
|
3604
3611
|
@PodCpu = podcpu
|
3605
3612
|
@PodMem = podmem
|
3613
|
+
@ClusterName = clustername
|
3614
|
+
@ClusterID = clusterid
|
3615
|
+
@PodUid = poduid
|
3606
3616
|
end
|
3607
3617
|
|
3608
3618
|
def deserialize(params)
|
@@ -3633,6 +3643,9 @@ module TencentCloud
|
|
3633
3643
|
@NodeUniqueID = params['NodeUniqueID']
|
3634
3644
|
@PodCpu = params['PodCpu']
|
3635
3645
|
@PodMem = params['PodMem']
|
3646
|
+
@ClusterName = params['ClusterName']
|
3647
|
+
@ClusterID = params['ClusterID']
|
3648
|
+
@PodUid = params['PodUid']
|
3636
3649
|
end
|
3637
3650
|
end
|
3638
3651
|
|
@@ -3840,7 +3853,7 @@ module TencentCloud
|
|
3840
3853
|
|
3841
3854
|
# CreateAssetImageRegistryScanTaskOneKey请求参数结构体
|
3842
3855
|
class CreateAssetImageRegistryScanTaskOneKeyRequest < TencentCloud::Common::AbstractModel
|
3843
|
-
# @param All: 是否扫描全部镜像
|
3856
|
+
# @param All: 是否扫描全部镜像(废弃)
|
3844
3857
|
# @type All: Boolean
|
3845
3858
|
# @param Images: 扫描的镜像列表
|
3846
3859
|
# @type Images: Array
|
@@ -3848,14 +3861,35 @@ module TencentCloud
|
|
3848
3861
|
# @type ScanType: Array
|
3849
3862
|
# @param Id: 扫描的镜像列表Id
|
3850
3863
|
# @type Id: Array
|
3864
|
+
# @param IsLatest: 是否最新镜像
|
3865
|
+
# @type IsLatest: Boolean
|
3866
|
+
# @param ScanScope: 扫描范围 0全部镜像,1自选镜像,2推荐扫描镜像
|
3867
|
+
# @type ScanScope: Integer
|
3868
|
+
# @param RegistryType: 仓库类型
|
3869
|
+
# @type RegistryType: Array
|
3870
|
+
# @param Namespace: 命名空间
|
3871
|
+
# @type Namespace: Array
|
3872
|
+
# @param ContainerRunning: 是否存在运行中的容器
|
3873
|
+
# @type ContainerRunning: Boolean
|
3874
|
+
# @param Timeout: 任务超时时长单位s
|
3875
|
+
# @type Timeout: Integer
|
3851
3876
|
|
3852
|
-
attr_accessor :All, :Images, :ScanType, :Id
|
3877
|
+
attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
|
3878
|
+
extend Gem::Deprecate
|
3879
|
+
deprecate :All, :none, 2023, 9
|
3880
|
+
deprecate :All=, :none, 2023, 9
|
3853
3881
|
|
3854
|
-
def initialize(all=nil, images=nil, scantype=nil, id=nil)
|
3882
|
+
def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
|
3855
3883
|
@All = all
|
3856
3884
|
@Images = images
|
3857
3885
|
@ScanType = scantype
|
3858
3886
|
@Id = id
|
3887
|
+
@IsLatest = islatest
|
3888
|
+
@ScanScope = scanscope
|
3889
|
+
@RegistryType = registrytype
|
3890
|
+
@Namespace = namespace
|
3891
|
+
@ContainerRunning = containerrunning
|
3892
|
+
@Timeout = timeout
|
3859
3893
|
end
|
3860
3894
|
|
3861
3895
|
def deserialize(params)
|
@@ -3870,6 +3904,12 @@ module TencentCloud
|
|
3870
3904
|
end
|
3871
3905
|
@ScanType = params['ScanType']
|
3872
3906
|
@Id = params['Id']
|
3907
|
+
@IsLatest = params['IsLatest']
|
3908
|
+
@ScanScope = params['ScanScope']
|
3909
|
+
@RegistryType = params['RegistryType']
|
3910
|
+
@Namespace = params['Namespace']
|
3911
|
+
@ContainerRunning = params['ContainerRunning']
|
3912
|
+
@Timeout = params['Timeout']
|
3873
3913
|
end
|
3874
3914
|
end
|
3875
3915
|
|
@@ -9176,12 +9216,18 @@ module TencentCloud
|
|
9176
9216
|
# @param ImageCreateTime: 镜像创建的时间
|
9177
9217
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9178
9218
|
# @type ImageCreateTime: String
|
9219
|
+
# @param SensitiveInfoCnt: 敏感信息数
|
9220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9221
|
+
# @type SensitiveInfoCnt: Integer
|
9179
9222
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9180
9223
|
# @type RequestId: String
|
9181
9224
|
|
9182
|
-
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, :RequestId
|
9225
|
+
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, :RequestId
|
9226
|
+
extend Gem::Deprecate
|
9227
|
+
deprecate :SentiveInfoCnt, :none, 2023, 9
|
9228
|
+
deprecate :SentiveInfoCnt=, :none, 2023, 9
|
9183
9229
|
|
9184
|
-
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, requestid=nil)
|
9230
|
+
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, requestid=nil)
|
9185
9231
|
@ImageDigest = imagedigest
|
9186
9232
|
@ImageRepoAddress = imagerepoaddress
|
9187
9233
|
@RegistryType = registrytype
|
@@ -9214,6 +9260,7 @@ module TencentCloud
|
|
9214
9260
|
@ImageId = imageid
|
9215
9261
|
@RegistryRegion = registryregion
|
9216
9262
|
@ImageCreateTime = imagecreatetime
|
9263
|
+
@SensitiveInfoCnt = sensitiveinfocnt
|
9217
9264
|
@RequestId = requestid
|
9218
9265
|
end
|
9219
9266
|
|
@@ -9250,6 +9297,7 @@ module TencentCloud
|
|
9250
9297
|
@ImageId = params['ImageId']
|
9251
9298
|
@RegistryRegion = params['RegistryRegion']
|
9252
9299
|
@ImageCreateTime = params['ImageCreateTime']
|
9300
|
+
@SensitiveInfoCnt = params['SensitiveInfoCnt']
|
9253
9301
|
@RequestId = params['RequestId']
|
9254
9302
|
end
|
9255
9303
|
end
|
@@ -9337,16 +9385,19 @@ module TencentCloud
|
|
9337
9385
|
# @type Order: String
|
9338
9386
|
# @param OnlyShowLatest: 是否仅展示各repository最新的镜像, 默认为false
|
9339
9387
|
# @type OnlyShowLatest: Boolean
|
9388
|
+
# @param IsRunning: 是否仅展示运行中容器镜像
|
9389
|
+
# @type IsRunning: Boolean
|
9340
9390
|
|
9341
|
-
attr_accessor :Limit, :Offset, :Filters, :By, :Order, :OnlyShowLatest
|
9391
|
+
attr_accessor :Limit, :Offset, :Filters, :By, :Order, :OnlyShowLatest, :IsRunning
|
9342
9392
|
|
9343
|
-
def initialize(limit=nil, offset=nil, filters=nil, by=nil, order=nil, onlyshowlatest=nil)
|
9393
|
+
def initialize(limit=nil, offset=nil, filters=nil, by=nil, order=nil, onlyshowlatest=nil, isrunning=nil)
|
9344
9394
|
@Limit = limit
|
9345
9395
|
@Offset = offset
|
9346
9396
|
@Filters = filters
|
9347
9397
|
@By = by
|
9348
9398
|
@Order = order
|
9349
9399
|
@OnlyShowLatest = onlyshowlatest
|
9400
|
+
@IsRunning = isrunning
|
9350
9401
|
end
|
9351
9402
|
|
9352
9403
|
def deserialize(params)
|
@@ -9363,6 +9414,7 @@ module TencentCloud
|
|
9363
9414
|
@By = params['By']
|
9364
9415
|
@Order = params['Order']
|
9365
9416
|
@OnlyShowLatest = params['OnlyShowLatest']
|
9417
|
+
@IsRunning = params['IsRunning']
|
9366
9418
|
end
|
9367
9419
|
end
|
9368
9420
|
|
@@ -9765,12 +9817,24 @@ module TencentCloud
|
|
9765
9817
|
|
9766
9818
|
# DescribeAssetImageRegistrySummary请求参数结构体
|
9767
9819
|
class DescribeAssetImageRegistrySummaryRequest < TencentCloud::Common::AbstractModel
|
9820
|
+
# @param Filters: 过滤字段
|
9821
|
+
# @type Filters: Array
|
9768
9822
|
|
9823
|
+
attr_accessor :Filters
|
9769
9824
|
|
9770
|
-
def initialize()
|
9825
|
+
def initialize(filters=nil)
|
9826
|
+
@Filters = filters
|
9771
9827
|
end
|
9772
9828
|
|
9773
9829
|
def deserialize(params)
|
9830
|
+
unless params['Filters'].nil?
|
9831
|
+
@Filters = []
|
9832
|
+
params['Filters'].each do |i|
|
9833
|
+
assetfilters_tmp = AssetFilters.new
|
9834
|
+
assetfilters_tmp.deserialize(i)
|
9835
|
+
@Filters << assetfilters_tmp
|
9836
|
+
end
|
9837
|
+
end
|
9774
9838
|
end
|
9775
9839
|
end
|
9776
9840
|
|
@@ -13307,24 +13371,35 @@ module TencentCloud
|
|
13307
13371
|
|
13308
13372
|
# DescribeImageRegistryNamespaceList返回参数结构体
|
13309
13373
|
class DescribeImageRegistryNamespaceListResponse < TencentCloud::Common::AbstractModel
|
13310
|
-
# @param TotalCount:
|
13374
|
+
# @param TotalCount: 可返回的命令空间的总量。
|
13311
13375
|
# @type TotalCount: Integer
|
13312
|
-
# @param NamespaceList:
|
13376
|
+
# @param NamespaceList: 返回的命令空间列表
|
13313
13377
|
# @type NamespaceList: Array
|
13378
|
+
# @param NamespaceDetail: 返回的命令空间详细信息列表
|
13379
|
+
# @type NamespaceDetail: Array
|
13314
13380
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13315
13381
|
# @type RequestId: String
|
13316
13382
|
|
13317
|
-
attr_accessor :TotalCount, :NamespaceList, :RequestId
|
13383
|
+
attr_accessor :TotalCount, :NamespaceList, :NamespaceDetail, :RequestId
|
13318
13384
|
|
13319
|
-
def initialize(totalcount=nil, namespacelist=nil, requestid=nil)
|
13385
|
+
def initialize(totalcount=nil, namespacelist=nil, namespacedetail=nil, requestid=nil)
|
13320
13386
|
@TotalCount = totalcount
|
13321
13387
|
@NamespaceList = namespacelist
|
13388
|
+
@NamespaceDetail = namespacedetail
|
13322
13389
|
@RequestId = requestid
|
13323
13390
|
end
|
13324
13391
|
|
13325
13392
|
def deserialize(params)
|
13326
13393
|
@TotalCount = params['TotalCount']
|
13327
13394
|
@NamespaceList = params['NamespaceList']
|
13395
|
+
unless params['NamespaceDetail'].nil?
|
13396
|
+
@NamespaceDetail = []
|
13397
|
+
params['NamespaceDetail'].each do |i|
|
13398
|
+
namespaceinfo_tmp = NamespaceInfo.new
|
13399
|
+
namespaceinfo_tmp.deserialize(i)
|
13400
|
+
@NamespaceDetail << namespaceinfo_tmp
|
13401
|
+
end
|
13402
|
+
end
|
13328
13403
|
@RequestId = params['RequestId']
|
13329
13404
|
end
|
13330
13405
|
end
|
@@ -13363,12 +13438,26 @@ module TencentCloud
|
|
13363
13438
|
# @param Latest: 是否扫描最新版本镜像
|
13364
13439
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13365
13440
|
# @type Latest: Boolean
|
13441
|
+
# @param ScanEndTime: 扫描结束时间
|
13442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13443
|
+
# @type ScanEndTime: String
|
13444
|
+
# @param RegistryType: 仓库类型 tcr,ccr,harbor
|
13445
|
+
# @type RegistryType: Array
|
13446
|
+
# @param ContainerRunning: 是否存在运行中的容器
|
13447
|
+
# @type ContainerRunning: Boolean
|
13448
|
+
# @param ScanScope: 扫描范围 0全部镜像,1自选镜像,2推荐扫描镜像
|
13449
|
+
# @type ScanScope: Integer
|
13450
|
+
# @param Namespace: 命名空间
|
13451
|
+
# @type Namespace: Array
|
13366
13452
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13367
13453
|
# @type RequestId: String
|
13368
13454
|
|
13369
|
-
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :RequestId
|
13455
|
+
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :RequestId
|
13456
|
+
extend Gem::Deprecate
|
13457
|
+
deprecate :All, :none, 2023, 9
|
13458
|
+
deprecate :All=, :none, 2023, 9
|
13370
13459
|
|
13371
|
-
def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, requestid=nil)
|
13460
|
+
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, requestid=nil)
|
13372
13461
|
@Enable = enable
|
13373
13462
|
@ScanTime = scantime
|
13374
13463
|
@ScanPeriod = scanperiod
|
@@ -13377,6 +13466,11 @@ module TencentCloud
|
|
13377
13466
|
@Images = images
|
13378
13467
|
@Id = id
|
13379
13468
|
@Latest = latest
|
13469
|
+
@ScanEndTime = scanendtime
|
13470
|
+
@RegistryType = registrytype
|
13471
|
+
@ContainerRunning = containerrunning
|
13472
|
+
@ScanScope = scanscope
|
13473
|
+
@Namespace = namespace
|
13380
13474
|
@RequestId = requestid
|
13381
13475
|
end
|
13382
13476
|
|
@@ -13396,6 +13490,11 @@ module TencentCloud
|
|
13396
13490
|
end
|
13397
13491
|
@Id = params['Id']
|
13398
13492
|
@Latest = params['Latest']
|
13493
|
+
@ScanEndTime = params['ScanEndTime']
|
13494
|
+
@RegistryType = params['RegistryType']
|
13495
|
+
@ContainerRunning = params['ContainerRunning']
|
13496
|
+
@ScanScope = params['ScanScope']
|
13497
|
+
@Namespace = params['Namespace']
|
13399
13498
|
@RequestId = params['RequestId']
|
13400
13499
|
end
|
13401
13500
|
end
|
@@ -21128,10 +21227,32 @@ module TencentCloud
|
|
21128
21227
|
# @param IsLatestImage: 是否为镜像的最新版本
|
21129
21228
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21130
21229
|
# @type IsLatestImage: Boolean
|
21230
|
+
# @param LowLevelVulCnt: low级别漏洞个数
|
21231
|
+
# @type LowLevelVulCnt: Integer
|
21232
|
+
# @param MediumLevelVulCnt: medium级别漏洞个数
|
21233
|
+
# @type MediumLevelVulCnt: Integer
|
21234
|
+
# @param HighLevelVulCnt: high级别漏洞个数
|
21235
|
+
# @type HighLevelVulCnt: Integer
|
21236
|
+
# @param CriticalLevelVulCnt: critical级别漏洞个数
|
21237
|
+
# @type CriticalLevelVulCnt: Integer
|
21238
|
+
# @param ContainerCnt: 关联容器数
|
21239
|
+
# @type ContainerCnt: Integer
|
21240
|
+
# @param ComponentCnt: 组件数
|
21241
|
+
# @type ComponentCnt: Integer
|
21242
|
+
# @param IsRunning: 是否运行中
|
21243
|
+
# @type IsRunning: Boolean
|
21244
|
+
# @param HasNeedFixVul: 是否存在必修漏洞
|
21245
|
+
# @type HasNeedFixVul: Boolean
|
21246
|
+
# @param SensitiveInfoCnt: 敏感信息
|
21247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21248
|
+
# @type SensitiveInfoCnt: Integer
|
21131
21249
|
|
21132
|
-
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
|
21250
|
+
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
|
21251
|
+
extend Gem::Deprecate
|
21252
|
+
deprecate :SentiveInfoCnt, :none, 2023, 9
|
21253
|
+
deprecate :SentiveInfoCnt=, :none, 2023, 9
|
21133
21254
|
|
21134
|
-
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)
|
21255
|
+
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)
|
21135
21256
|
@ImageDigest = imagedigest
|
21136
21257
|
@ImageRepoAddress = imagerepoaddress
|
21137
21258
|
@RegistryType = registrytype
|
@@ -21166,6 +21287,15 @@ module TencentCloud
|
|
21166
21287
|
@ImageId = imageid
|
21167
21288
|
@ImageCreateTime = imagecreatetime
|
21168
21289
|
@IsLatestImage = islatestimage
|
21290
|
+
@LowLevelVulCnt = lowlevelvulcnt
|
21291
|
+
@MediumLevelVulCnt = mediumlevelvulcnt
|
21292
|
+
@HighLevelVulCnt = highlevelvulcnt
|
21293
|
+
@CriticalLevelVulCnt = criticallevelvulcnt
|
21294
|
+
@ContainerCnt = containercnt
|
21295
|
+
@ComponentCnt = componentcnt
|
21296
|
+
@IsRunning = isrunning
|
21297
|
+
@HasNeedFixVul = hasneedfixvul
|
21298
|
+
@SensitiveInfoCnt = sensitiveinfocnt
|
21169
21299
|
end
|
21170
21300
|
|
21171
21301
|
def deserialize(params)
|
@@ -21203,6 +21333,15 @@ module TencentCloud
|
|
21203
21333
|
@ImageId = params['ImageId']
|
21204
21334
|
@ImageCreateTime = params['ImageCreateTime']
|
21205
21335
|
@IsLatestImage = params['IsLatestImage']
|
21336
|
+
@LowLevelVulCnt = params['LowLevelVulCnt']
|
21337
|
+
@MediumLevelVulCnt = params['MediumLevelVulCnt']
|
21338
|
+
@HighLevelVulCnt = params['HighLevelVulCnt']
|
21339
|
+
@CriticalLevelVulCnt = params['CriticalLevelVulCnt']
|
21340
|
+
@ContainerCnt = params['ContainerCnt']
|
21341
|
+
@ComponentCnt = params['ComponentCnt']
|
21342
|
+
@IsRunning = params['IsRunning']
|
21343
|
+
@HasNeedFixVul = params['HasNeedFixVul']
|
21344
|
+
@SensitiveInfoCnt = params['SensitiveInfoCnt']
|
21206
21345
|
end
|
21207
21346
|
end
|
21208
21347
|
|
@@ -21550,10 +21689,13 @@ module TencentCloud
|
|
21550
21689
|
# @param Version: 组件版本
|
21551
21690
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21552
21691
|
# @type Version: String
|
21692
|
+
# @param AttackLevel: 攻击热度 0-3
|
21693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21694
|
+
# @type AttackLevel: Integer
|
21553
21695
|
|
21554
|
-
attr_accessor :CVEID, :POCID, :Name, :Components, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CvssScore, :CvssVector, :IsSuggest, :FixedVersions, :Tag, :Component, :Version
|
21696
|
+
attr_accessor :CVEID, :POCID, :Name, :Components, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CvssScore, :CvssVector, :IsSuggest, :FixedVersions, :Tag, :Component, :Version, :AttackLevel
|
21555
21697
|
|
21556
|
-
def initialize(cveid=nil, pocid=nil, name=nil, components=nil, category=nil, categorytype=nil, level=nil, des=nil, officialsolution=nil, reference=nil, defensesolution=nil, submittime=nil, cvssscore=nil, cvssvector=nil, issuggest=nil, fixedversions=nil, tag=nil, component=nil, version=nil)
|
21698
|
+
def initialize(cveid=nil, pocid=nil, name=nil, components=nil, category=nil, categorytype=nil, level=nil, des=nil, officialsolution=nil, reference=nil, defensesolution=nil, submittime=nil, cvssscore=nil, cvssvector=nil, issuggest=nil, fixedversions=nil, tag=nil, component=nil, version=nil, attacklevel=nil)
|
21557
21699
|
@CVEID = cveid
|
21558
21700
|
@POCID = pocid
|
21559
21701
|
@Name = name
|
@@ -21573,6 +21715,7 @@ module TencentCloud
|
|
21573
21715
|
@Tag = tag
|
21574
21716
|
@Component = component
|
21575
21717
|
@Version = version
|
21718
|
+
@AttackLevel = attacklevel
|
21576
21719
|
end
|
21577
21720
|
|
21578
21721
|
def deserialize(params)
|
@@ -21602,6 +21745,7 @@ module TencentCloud
|
|
21602
21745
|
@Tag = params['Tag']
|
21603
21746
|
@Component = params['Component']
|
21604
21747
|
@Version = params['Version']
|
21748
|
+
@AttackLevel = params['AttackLevel']
|
21605
21749
|
end
|
21606
21750
|
end
|
21607
21751
|
|
@@ -23788,6 +23932,34 @@ module TencentCloud
|
|
23788
23932
|
end
|
23789
23933
|
end
|
23790
23934
|
|
23935
|
+
# 返回的命名空间列表信息
|
23936
|
+
class NamespaceInfo < TencentCloud::Common::AbstractModel
|
23937
|
+
# @param Namespace: 命名空间名称
|
23938
|
+
# @type Namespace: String
|
23939
|
+
# @param RegistryCnt: 包含仓库数
|
23940
|
+
# @type RegistryCnt: Integer
|
23941
|
+
# @param ImageCnt: 包含镜像数
|
23942
|
+
# @type ImageCnt: Integer
|
23943
|
+
# @param RiskImageCnt: 包含风险镜像数
|
23944
|
+
# @type RiskImageCnt: Integer
|
23945
|
+
|
23946
|
+
attr_accessor :Namespace, :RegistryCnt, :ImageCnt, :RiskImageCnt
|
23947
|
+
|
23948
|
+
def initialize(namespace=nil, registrycnt=nil, imagecnt=nil, riskimagecnt=nil)
|
23949
|
+
@Namespace = namespace
|
23950
|
+
@RegistryCnt = registrycnt
|
23951
|
+
@ImageCnt = imagecnt
|
23952
|
+
@RiskImageCnt = riskimagecnt
|
23953
|
+
end
|
23954
|
+
|
23955
|
+
def deserialize(params)
|
23956
|
+
@Namespace = params['Namespace']
|
23957
|
+
@RegistryCnt = params['RegistryCnt']
|
23958
|
+
@ImageCnt = params['ImageCnt']
|
23959
|
+
@RiskImageCnt = params['RiskImageCnt']
|
23960
|
+
end
|
23961
|
+
end
|
23962
|
+
|
23791
23963
|
# 网络集群资产审计返回结构体
|
23792
23964
|
class NetworkAuditRecord < TencentCloud::Common::AbstractModel
|
23793
23965
|
# @param ClusterId: 集群id
|
@@ -26757,10 +26929,23 @@ module TencentCloud
|
|
26757
26929
|
# @type Id: Array
|
26758
26930
|
# @param Latest: 是否扫描最新版本
|
26759
26931
|
# @type Latest: Boolean
|
26932
|
+
# @param ContainerRunning: 是否存在运行中的容器
|
26933
|
+
# @type ContainerRunning: Boolean
|
26934
|
+
# @param ScanEndTime: 扫描结束时间
|
26935
|
+
# @type ScanEndTime: String
|
26936
|
+
# @param ScanScope: 扫描范围 0全部镜像,1自选镜像,2推荐扫描镜像
|
26937
|
+
# @type ScanScope: Integer
|
26938
|
+
# @param RegistryType: 仓库类型 tcr,ccr,harbor
|
26939
|
+
# @type RegistryType: Array
|
26940
|
+
# @param Namespace: 命名空间
|
26941
|
+
# @type Namespace: Array
|
26760
26942
|
|
26761
|
-
attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest
|
26943
|
+
attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace
|
26944
|
+
extend Gem::Deprecate
|
26945
|
+
deprecate :All, :none, 2023, 9
|
26946
|
+
deprecate :All=, :none, 2023, 9
|
26762
26947
|
|
26763
|
-
def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil)
|
26948
|
+
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)
|
26764
26949
|
@ScanPeriod = scanperiod
|
26765
26950
|
@Enable = enable
|
26766
26951
|
@ScanTime = scantime
|
@@ -26769,6 +26954,11 @@ module TencentCloud
|
|
26769
26954
|
@All = all
|
26770
26955
|
@Id = id
|
26771
26956
|
@Latest = latest
|
26957
|
+
@ContainerRunning = containerrunning
|
26958
|
+
@ScanEndTime = scanendtime
|
26959
|
+
@ScanScope = scanscope
|
26960
|
+
@RegistryType = registrytype
|
26961
|
+
@Namespace = namespace
|
26772
26962
|
end
|
26773
26963
|
|
26774
26964
|
def deserialize(params)
|
@@ -26787,6 +26977,11 @@ module TencentCloud
|
|
26787
26977
|
@All = params['All']
|
26788
26978
|
@Id = params['Id']
|
26789
26979
|
@Latest = params['Latest']
|
26980
|
+
@ContainerRunning = params['ContainerRunning']
|
26981
|
+
@ScanEndTime = params['ScanEndTime']
|
26982
|
+
@ScanScope = params['ScanScope']
|
26983
|
+
@RegistryType = params['RegistryType']
|
26984
|
+
@Namespace = params['Namespace']
|
26790
26985
|
end
|
26791
26986
|
end
|
26792
26987
|
|
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.659
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|