tencentcloud-sdk-tcss 3.0.706 → 3.0.708
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/models.rb +199 -28
- 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: 97ce3485813ef4c44d87c69b53a6c116fe6f0da7
|
4
|
+
data.tar.gz: 3a668c90304b0e75588b4f57717e377246442620
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7011657d9e08ba2f2a6e4c6800aacc58796a171cd2794241818d17e62348c271ed744e463b3b8eb18719f3da15836000ed4b5ac24a1b75555c2c35ee8f1d1db2
|
7
|
+
data.tar.gz: 05404163a526f9b6cd198d25a57cdeee0347b31f1012658a97f40504065c6cccf8885776484178d10bc5644a0886bbb3e0a5bbb3bc9b859b06a7ab33aacf83f0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.708
|
data/lib/v20201101/models.rb
CHANGED
@@ -976,10 +976,12 @@ module TencentCloud
|
|
976
976
|
# @type Insecure: Integer
|
977
977
|
# @param ConnDetectConfig: 联通性检测的记录ID
|
978
978
|
# @type ConnDetectConfig: Array
|
979
|
+
# @param NeedScan: ”授权&扫描"开关
|
980
|
+
# @type NeedScan: Boolean
|
979
981
|
|
980
|
-
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig
|
982
|
+
attr_accessor :Name, :Username, :Password, :Url, :RegistryType, :NetType, :RegistryVersion, :RegistryRegion, :SpeedLimit, :Insecure, :ConnDetectConfig, :NeedScan
|
981
983
|
|
982
|
-
def initialize(name=nil, username=nil, password=nil, url=nil, registrytype=nil, nettype=nil, registryversion=nil, registryregion=nil, speedlimit=nil, insecure=nil, conndetectconfig=nil)
|
984
|
+
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)
|
983
985
|
@Name = name
|
984
986
|
@Username = username
|
985
987
|
@Password = password
|
@@ -991,6 +993,7 @@ module TencentCloud
|
|
991
993
|
@SpeedLimit = speedlimit
|
992
994
|
@Insecure = insecure
|
993
995
|
@ConnDetectConfig = conndetectconfig
|
996
|
+
@NeedScan = needscan
|
994
997
|
end
|
995
998
|
|
996
999
|
def deserialize(params)
|
@@ -1012,6 +1015,7 @@ module TencentCloud
|
|
1012
1015
|
@ConnDetectConfig << conndetectconfig_tmp
|
1013
1016
|
end
|
1014
1017
|
end
|
1018
|
+
@NeedScan = params['NeedScan']
|
1015
1019
|
end
|
1016
1020
|
end
|
1017
1021
|
|
@@ -1247,10 +1251,14 @@ module TencentCloud
|
|
1247
1251
|
# @type HostIdFilters: Array
|
1248
1252
|
# @param ExcludeHostIdSet: 根据条件过滤而且排除指定主机id
|
1249
1253
|
# @type ExcludeHostIdSet: Array
|
1254
|
+
# @param AutoScanEnabled: 自动扫描开关
|
1255
|
+
# @type AutoScanEnabled: Integer
|
1256
|
+
# @param ScanType: 自动扫描范围
|
1257
|
+
# @type ScanType: Array
|
1250
1258
|
|
1251
|
-
attr_accessor :RangeType, :MaxDailyCount, :IsEnabled, :HostIdSet, :RuleId, :HostIdFilters, :ExcludeHostIdSet
|
1259
|
+
attr_accessor :RangeType, :MaxDailyCount, :IsEnabled, :HostIdSet, :RuleId, :HostIdFilters, :ExcludeHostIdSet, :AutoScanEnabled, :ScanType
|
1252
1260
|
|
1253
|
-
def initialize(rangetype=nil, maxdailycount=nil, isenabled=nil, hostidset=nil, ruleid=nil, hostidfilters=nil, excludehostidset=nil)
|
1261
|
+
def initialize(rangetype=nil, maxdailycount=nil, isenabled=nil, hostidset=nil, ruleid=nil, hostidfilters=nil, excludehostidset=nil, autoscanenabled=nil, scantype=nil)
|
1254
1262
|
@RangeType = rangetype
|
1255
1263
|
@MaxDailyCount = maxdailycount
|
1256
1264
|
@IsEnabled = isenabled
|
@@ -1258,6 +1266,8 @@ module TencentCloud
|
|
1258
1266
|
@RuleId = ruleid
|
1259
1267
|
@HostIdFilters = hostidfilters
|
1260
1268
|
@ExcludeHostIdSet = excludehostidset
|
1269
|
+
@AutoScanEnabled = autoscanenabled
|
1270
|
+
@ScanType = scantype
|
1261
1271
|
end
|
1262
1272
|
|
1263
1273
|
def deserialize(params)
|
@@ -1275,6 +1285,8 @@ module TencentCloud
|
|
1275
1285
|
end
|
1276
1286
|
end
|
1277
1287
|
@ExcludeHostIdSet = params['ExcludeHostIdSet']
|
1288
|
+
@AutoScanEnabled = params['AutoScanEnabled']
|
1289
|
+
@ScanType = params['ScanType']
|
1278
1290
|
end
|
1279
1291
|
end
|
1280
1292
|
|
@@ -4021,7 +4033,8 @@ module TencentCloud
|
|
4021
4033
|
class CreateAssetImageScanSettingRequest < TencentCloud::Common::AbstractModel
|
4022
4034
|
# @param Enable: 开关
|
4023
4035
|
# @type Enable: Boolean
|
4024
|
-
# @param ScanTime:
|
4036
|
+
# @param ScanTime: 扫描开始时间
|
4037
|
+
# 01:00 时分
|
4025
4038
|
# @type ScanTime: String
|
4026
4039
|
# @param ScanPeriod: 扫描周期
|
4027
4040
|
# @type ScanPeriod: Integer
|
@@ -4035,10 +4048,20 @@ module TencentCloud
|
|
4035
4048
|
# @type All: Boolean
|
4036
4049
|
# @param Images: 自定义镜像
|
4037
4050
|
# @type Images: Array
|
4051
|
+
# @param ContainerRunning: 镜像是否存在运行中的容器
|
4052
|
+
# @type ContainerRunning: Boolean
|
4053
|
+
# @param ScanScope: 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
4054
|
+
# @type ScanScope: Integer
|
4055
|
+
# @param ScanEndTime: 扫描结束时间
|
4056
|
+
# 02:00 时分
|
4057
|
+
# @type ScanEndTime: String
|
4038
4058
|
|
4039
|
-
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images
|
4059
|
+
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime
|
4060
|
+
extend Gem::Deprecate
|
4061
|
+
deprecate :All, :none, 2023, 11
|
4062
|
+
deprecate :All=, :none, 2023, 11
|
4040
4063
|
|
4041
|
-
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil)
|
4064
|
+
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil)
|
4042
4065
|
@Enable = enable
|
4043
4066
|
@ScanTime = scantime
|
4044
4067
|
@ScanPeriod = scanperiod
|
@@ -4047,6 +4070,9 @@ module TencentCloud
|
|
4047
4070
|
@ScanVul = scanvul
|
4048
4071
|
@All = all
|
4049
4072
|
@Images = images
|
4073
|
+
@ContainerRunning = containerrunning
|
4074
|
+
@ScanScope = scanscope
|
4075
|
+
@ScanEndTime = scanendtime
|
4050
4076
|
end
|
4051
4077
|
|
4052
4078
|
def deserialize(params)
|
@@ -4058,6 +4084,9 @@ module TencentCloud
|
|
4058
4084
|
@ScanVul = params['ScanVul']
|
4059
4085
|
@All = params['All']
|
4060
4086
|
@Images = params['Images']
|
4087
|
+
@ContainerRunning = params['ContainerRunning']
|
4088
|
+
@ScanScope = params['ScanScope']
|
4089
|
+
@ScanEndTime = params['ScanEndTime']
|
4061
4090
|
end
|
4062
4091
|
end
|
4063
4092
|
|
@@ -4093,10 +4122,19 @@ module TencentCloud
|
|
4093
4122
|
# @type Filters: Array
|
4094
4123
|
# @param ExcludeImageIds: 根据过滤条件筛选出镜像,再排除个别镜像
|
4095
4124
|
# @type ExcludeImageIds: Array
|
4125
|
+
# @param ContainerRunning: 镜像是否存在运行中的容器
|
4126
|
+
# @type ContainerRunning: Boolean
|
4127
|
+
# @param ScanScope: 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
4128
|
+
# @type ScanScope: Integer
|
4129
|
+
# @param Timeout: 任务超时时长单位秒,默认1小时
|
4130
|
+
# @type Timeout: Integer
|
4096
4131
|
|
4097
|
-
attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds
|
4132
|
+
attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout
|
4133
|
+
extend Gem::Deprecate
|
4134
|
+
deprecate :All, :none, 2023, 11
|
4135
|
+
deprecate :All=, :none, 2023, 11
|
4098
4136
|
|
4099
|
-
def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil)
|
4137
|
+
def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil)
|
4100
4138
|
@All = all
|
4101
4139
|
@Images = images
|
4102
4140
|
@ScanVul = scanvul
|
@@ -4104,6 +4142,9 @@ module TencentCloud
|
|
4104
4142
|
@ScanRisk = scanrisk
|
4105
4143
|
@Filters = filters
|
4106
4144
|
@ExcludeImageIds = excludeimageids
|
4145
|
+
@ContainerRunning = containerrunning
|
4146
|
+
@ScanScope = scanscope
|
4147
|
+
@Timeout = timeout
|
4107
4148
|
end
|
4108
4149
|
|
4109
4150
|
def deserialize(params)
|
@@ -4121,6 +4162,9 @@ module TencentCloud
|
|
4121
4162
|
end
|
4122
4163
|
end
|
4123
4164
|
@ExcludeImageIds = params['ExcludeImageIds']
|
4165
|
+
@ContainerRunning = params['ContainerRunning']
|
4166
|
+
@ScanScope = params['ScanScope']
|
4167
|
+
@Timeout = params['Timeout']
|
4124
4168
|
end
|
4125
4169
|
end
|
4126
4170
|
|
@@ -8747,6 +8791,8 @@ module TencentCloud
|
|
8747
8791
|
# @type ImageID: String
|
8748
8792
|
# @param ImageName: 镜像名称
|
8749
8793
|
# @type ImageName: String
|
8794
|
+
# @param ImageDigest: 镜像摘要
|
8795
|
+
# @type ImageDigest: String
|
8750
8796
|
# @param CreateTime: 创建时间
|
8751
8797
|
# @type CreateTime: String
|
8752
8798
|
# @param Size: 镜像大小
|
@@ -8823,11 +8869,12 @@ module TencentCloud
|
|
8823
8869
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8824
8870
|
# @type RequestId: String
|
8825
8871
|
|
8826
|
-
attr_accessor :ImageID, :ImageName, :CreateTime, :Size, :HostCnt, :ContainerCnt, :ScanTime, :VulCnt, :RiskCnt, :SensitiveInfoCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :Architecture, :Author, :BuildHistory, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanVirusError, :ScanVulError, :ScanRiskError, :ScanStatus, :VirusCnt, :Status, :RemainScanTime, :IsAuthorized, :RequestId
|
8872
|
+
attr_accessor :ImageID, :ImageName, :ImageDigest, :CreateTime, :Size, :HostCnt, :ContainerCnt, :ScanTime, :VulCnt, :RiskCnt, :SensitiveInfoCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :Architecture, :Author, :BuildHistory, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanVirusError, :ScanVulError, :ScanRiskError, :ScanStatus, :VirusCnt, :Status, :RemainScanTime, :IsAuthorized, :RequestId
|
8827
8873
|
|
8828
|
-
def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, hostcnt=nil, containercnt=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)
|
8874
|
+
def initialize(imageid=nil, imagename=nil, imagedigest=nil, createtime=nil, size=nil, hostcnt=nil, containercnt=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)
|
8829
8875
|
@ImageID = imageid
|
8830
8876
|
@ImageName = imagename
|
8877
|
+
@ImageDigest = imagedigest
|
8831
8878
|
@CreateTime = createtime
|
8832
8879
|
@Size = size
|
8833
8880
|
@HostCnt = hostcnt
|
@@ -8860,6 +8907,7 @@ module TencentCloud
|
|
8860
8907
|
def deserialize(params)
|
8861
8908
|
@ImageID = params['ImageID']
|
8862
8909
|
@ImageName = params['ImageName']
|
8910
|
+
@ImageDigest = params['ImageDigest']
|
8863
8911
|
@CreateTime = params['CreateTime']
|
8864
8912
|
@Size = params['Size']
|
8865
8913
|
@HostCnt = params['HostCnt']
|
@@ -10333,12 +10381,21 @@ module TencentCloud
|
|
10333
10381
|
# @type All: Boolean
|
10334
10382
|
# @param Images: 自定义扫描镜像
|
10335
10383
|
# @type Images: Array
|
10384
|
+
# @param ContainerRunning: 镜像是否存在运行中的容器
|
10385
|
+
# @type ContainerRunning: Boolean
|
10386
|
+
# @param ScanScope: 扫描范围 0 全部授权镜像,1自选镜像,2 推荐扫描
|
10387
|
+
# @type ScanScope: Integer
|
10388
|
+
# @param ScanEndTime: 扫描结束时间 02:00 时分
|
10389
|
+
# @type ScanEndTime: String
|
10336
10390
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10337
10391
|
# @type RequestId: String
|
10338
10392
|
|
10339
|
-
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :RequestId
|
10393
|
+
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :RequestId
|
10394
|
+
extend Gem::Deprecate
|
10395
|
+
deprecate :All, :none, 2023, 11
|
10396
|
+
deprecate :All=, :none, 2023, 11
|
10340
10397
|
|
10341
|
-
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, requestid=nil)
|
10398
|
+
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, requestid=nil)
|
10342
10399
|
@Enable = enable
|
10343
10400
|
@ScanTime = scantime
|
10344
10401
|
@ScanPeriod = scanperiod
|
@@ -10347,6 +10404,9 @@ module TencentCloud
|
|
10347
10404
|
@ScanVul = scanvul
|
10348
10405
|
@All = all
|
10349
10406
|
@Images = images
|
10407
|
+
@ContainerRunning = containerrunning
|
10408
|
+
@ScanScope = scanscope
|
10409
|
+
@ScanEndTime = scanendtime
|
10350
10410
|
@RequestId = requestid
|
10351
10411
|
end
|
10352
10412
|
|
@@ -10359,6 +10419,9 @@ module TencentCloud
|
|
10359
10419
|
@ScanVul = params['ScanVul']
|
10360
10420
|
@All = params['All']
|
10361
10421
|
@Images = params['Images']
|
10422
|
+
@ContainerRunning = params['ContainerRunning']
|
10423
|
+
@ScanScope = params['ScanScope']
|
10424
|
+
@ScanEndTime = params['ScanEndTime']
|
10362
10425
|
@RequestId = params['RequestId']
|
10363
10426
|
end
|
10364
10427
|
end
|
@@ -10997,12 +11060,20 @@ module TencentCloud
|
|
10997
11060
|
# @type SuperNodeCnt: Integer
|
10998
11061
|
# @param SuperNodeRunningCnt: 超级节点运行个数
|
10999
11062
|
# @type SuperNodeRunningCnt: Integer
|
11063
|
+
# @param TodayNewImageCnt: 今日新增镜像个数
|
11064
|
+
# @type TodayNewImageCnt: Integer
|
11065
|
+
# @param TodayUnsafeImageCnt: 今日新增风险镜像个数
|
11066
|
+
# @type TodayUnsafeImageCnt: Integer
|
11067
|
+
# @param RecommendedFixImageCnt: 推荐处置镜像个数
|
11068
|
+
# @type RecommendedFixImageCnt: Integer
|
11069
|
+
# @param ScannedImageCnt: 已扫描镜像个数
|
11070
|
+
# @type ScannedImageCnt: Integer
|
11000
11071
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11001
11072
|
# @type RequestId: String
|
11002
11073
|
|
11003
|
-
attr_accessor :AppCnt, :ContainerCnt, :ContainerPause, :ContainerRunning, :ContainerStop, :CreateTime, :DbCnt, :ImageCnt, :HostOnline, :HostCnt, :ImageHasRiskInfoCnt, :ImageHasVirusCnt, :ImageHasVulsCnt, :ImageUntrustCnt, :ListenPortCnt, :ProcessCnt, :WebServiceCnt, :LatestImageScanTime, :ImageUnsafeCnt, :HostUnInstallCnt, :SuperNodeCnt, :SuperNodeRunningCnt, :RequestId
|
11074
|
+
attr_accessor :AppCnt, :ContainerCnt, :ContainerPause, :ContainerRunning, :ContainerStop, :CreateTime, :DbCnt, :ImageCnt, :HostOnline, :HostCnt, :ImageHasRiskInfoCnt, :ImageHasVirusCnt, :ImageHasVulsCnt, :ImageUntrustCnt, :ListenPortCnt, :ProcessCnt, :WebServiceCnt, :LatestImageScanTime, :ImageUnsafeCnt, :HostUnInstallCnt, :SuperNodeCnt, :SuperNodeRunningCnt, :TodayNewImageCnt, :TodayUnsafeImageCnt, :RecommendedFixImageCnt, :ScannedImageCnt, :RequestId
|
11004
11075
|
|
11005
|
-
def initialize(appcnt=nil, containercnt=nil, containerpause=nil, containerrunning=nil, containerstop=nil, createtime=nil, dbcnt=nil, imagecnt=nil, hostonline=nil, hostcnt=nil, imagehasriskinfocnt=nil, imagehasviruscnt=nil, imagehasvulscnt=nil, imageuntrustcnt=nil, listenportcnt=nil, processcnt=nil, webservicecnt=nil, latestimagescantime=nil, imageunsafecnt=nil, hostuninstallcnt=nil, supernodecnt=nil, supernoderunningcnt=nil, requestid=nil)
|
11076
|
+
def initialize(appcnt=nil, containercnt=nil, containerpause=nil, containerrunning=nil, containerstop=nil, createtime=nil, dbcnt=nil, imagecnt=nil, hostonline=nil, hostcnt=nil, imagehasriskinfocnt=nil, imagehasviruscnt=nil, imagehasvulscnt=nil, imageuntrustcnt=nil, listenportcnt=nil, processcnt=nil, webservicecnt=nil, latestimagescantime=nil, imageunsafecnt=nil, hostuninstallcnt=nil, supernodecnt=nil, supernoderunningcnt=nil, todaynewimagecnt=nil, todayunsafeimagecnt=nil, recommendedfiximagecnt=nil, scannedimagecnt=nil, requestid=nil)
|
11006
11077
|
@AppCnt = appcnt
|
11007
11078
|
@ContainerCnt = containercnt
|
11008
11079
|
@ContainerPause = containerpause
|
@@ -11025,6 +11096,10 @@ module TencentCloud
|
|
11025
11096
|
@HostUnInstallCnt = hostuninstallcnt
|
11026
11097
|
@SuperNodeCnt = supernodecnt
|
11027
11098
|
@SuperNodeRunningCnt = supernoderunningcnt
|
11099
|
+
@TodayNewImageCnt = todaynewimagecnt
|
11100
|
+
@TodayUnsafeImageCnt = todayunsafeimagecnt
|
11101
|
+
@RecommendedFixImageCnt = recommendedfiximagecnt
|
11102
|
+
@ScannedImageCnt = scannedimagecnt
|
11028
11103
|
@RequestId = requestid
|
11029
11104
|
end
|
11030
11105
|
|
@@ -11051,6 +11126,10 @@ module TencentCloud
|
|
11051
11126
|
@HostUnInstallCnt = params['HostUnInstallCnt']
|
11052
11127
|
@SuperNodeCnt = params['SuperNodeCnt']
|
11053
11128
|
@SuperNodeRunningCnt = params['SuperNodeRunningCnt']
|
11129
|
+
@TodayNewImageCnt = params['TodayNewImageCnt']
|
11130
|
+
@TodayUnsafeImageCnt = params['TodayUnsafeImageCnt']
|
11131
|
+
@RecommendedFixImageCnt = params['RecommendedFixImageCnt']
|
11132
|
+
@ScannedImageCnt = params['ScannedImageCnt']
|
11054
11133
|
@RequestId = params['RequestId']
|
11055
11134
|
end
|
11056
11135
|
end
|
@@ -13209,17 +13288,23 @@ module TencentCloud
|
|
13209
13288
|
# @param RuleId: 规则id,用未设置时为0
|
13210
13289
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
13211
13290
|
# @type RuleId: Integer
|
13291
|
+
# @param AutoScanEnabled: 自动扫描开关,0:关闭,1:开启
|
13292
|
+
# @type AutoScanEnabled: Integer
|
13293
|
+
# @param ScanType: 自动扫描范围
|
13294
|
+
# @type ScanType: Array
|
13212
13295
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13213
13296
|
# @type RequestId: String
|
13214
13297
|
|
13215
|
-
attr_accessor :IsEnabled, :RangeType, :HostCount, :MaxDailyCount, :RuleId, :RequestId
|
13298
|
+
attr_accessor :IsEnabled, :RangeType, :HostCount, :MaxDailyCount, :RuleId, :AutoScanEnabled, :ScanType, :RequestId
|
13216
13299
|
|
13217
|
-
def initialize(isenabled=nil, rangetype=nil, hostcount=nil, maxdailycount=nil, ruleid=nil, requestid=nil)
|
13300
|
+
def initialize(isenabled=nil, rangetype=nil, hostcount=nil, maxdailycount=nil, ruleid=nil, autoscanenabled=nil, scantype=nil, requestid=nil)
|
13218
13301
|
@IsEnabled = isenabled
|
13219
13302
|
@RangeType = rangetype
|
13220
13303
|
@HostCount = hostcount
|
13221
13304
|
@MaxDailyCount = maxdailycount
|
13222
13305
|
@RuleId = ruleid
|
13306
|
+
@AutoScanEnabled = autoscanenabled
|
13307
|
+
@ScanType = scantype
|
13223
13308
|
@RequestId = requestid
|
13224
13309
|
end
|
13225
13310
|
|
@@ -13229,6 +13314,8 @@ module TencentCloud
|
|
13229
13314
|
@HostCount = params['HostCount']
|
13230
13315
|
@MaxDailyCount = params['MaxDailyCount']
|
13231
13316
|
@RuleId = params['RuleId']
|
13317
|
+
@AutoScanEnabled = params['AutoScanEnabled']
|
13318
|
+
@ScanType = params['ScanType']
|
13232
13319
|
@RequestId = params['RequestId']
|
13233
13320
|
end
|
13234
13321
|
end
|
@@ -21289,13 +21376,15 @@ module TencentCloud
|
|
21289
21376
|
# @param SensitiveInfoCnt: 敏感信息
|
21290
21377
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21291
21378
|
# @type SensitiveInfoCnt: Integer
|
21379
|
+
# @param RecommendedFix: 是否推荐处置
|
21380
|
+
# @type RecommendedFix: Boolean
|
21292
21381
|
|
21293
|
-
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
|
21382
|
+
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
|
21294
21383
|
extend Gem::Deprecate
|
21295
21384
|
deprecate :SentiveInfoCnt, :none, 2023, 11
|
21296
21385
|
deprecate :SentiveInfoCnt=, :none, 2023, 11
|
21297
21386
|
|
21298
|
-
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)
|
21387
|
+
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)
|
21299
21388
|
@ImageDigest = imagedigest
|
21300
21389
|
@ImageRepoAddress = imagerepoaddress
|
21301
21390
|
@RegistryType = registrytype
|
@@ -21339,6 +21428,7 @@ module TencentCloud
|
|
21339
21428
|
@IsRunning = isrunning
|
21340
21429
|
@HasNeedFixVul = hasneedfixvul
|
21341
21430
|
@SensitiveInfoCnt = sensitiveinfocnt
|
21431
|
+
@RecommendedFix = recommendedfix
|
21342
21432
|
end
|
21343
21433
|
|
21344
21434
|
def deserialize(params)
|
@@ -21385,6 +21475,7 @@ module TencentCloud
|
|
21385
21475
|
@IsRunning = params['IsRunning']
|
21386
21476
|
@HasNeedFixVul = params['HasNeedFixVul']
|
21387
21477
|
@SensitiveInfoCnt = params['SensitiveInfoCnt']
|
21478
|
+
@RecommendedFix = params['RecommendedFix']
|
21388
21479
|
end
|
21389
21480
|
end
|
21390
21481
|
|
@@ -21735,10 +21826,13 @@ module TencentCloud
|
|
21735
21826
|
# @param AttackLevel: 攻击热度 0-3
|
21736
21827
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21737
21828
|
# @type AttackLevel: Integer
|
21829
|
+
# @param LayerInfos: 镜像层信息列表
|
21830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21831
|
+
# @type LayerInfos: Array
|
21738
21832
|
|
21739
|
-
attr_accessor :CVEID, :POCID, :Name, :Components, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CvssScore, :CvssVector, :IsSuggest, :FixedVersions, :Tag, :Component, :Version, :AttackLevel
|
21833
|
+
attr_accessor :CVEID, :POCID, :Name, :Components, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CvssScore, :CvssVector, :IsSuggest, :FixedVersions, :Tag, :Component, :Version, :AttackLevel, :LayerInfos
|
21740
21834
|
|
21741
|
-
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)
|
21835
|
+
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, layerinfos=nil)
|
21742
21836
|
@CVEID = cveid
|
21743
21837
|
@POCID = pocid
|
21744
21838
|
@Name = name
|
@@ -21759,6 +21853,7 @@ module TencentCloud
|
|
21759
21853
|
@Component = component
|
21760
21854
|
@Version = version
|
21761
21855
|
@AttackLevel = attacklevel
|
21856
|
+
@LayerInfos = layerinfos
|
21762
21857
|
end
|
21763
21858
|
|
21764
21859
|
def deserialize(params)
|
@@ -21789,6 +21884,36 @@ module TencentCloud
|
|
21789
21884
|
@Component = params['Component']
|
21790
21885
|
@Version = params['Version']
|
21791
21886
|
@AttackLevel = params['AttackLevel']
|
21887
|
+
unless params['LayerInfos'].nil?
|
21888
|
+
@LayerInfos = []
|
21889
|
+
params['LayerInfos'].each do |i|
|
21890
|
+
imagevullayerinfo_tmp = ImageVulLayerInfo.new
|
21891
|
+
imagevullayerinfo_tmp.deserialize(i)
|
21892
|
+
@LayerInfos << imagevullayerinfo_tmp
|
21893
|
+
end
|
21894
|
+
end
|
21895
|
+
end
|
21896
|
+
end
|
21897
|
+
|
21898
|
+
# 漏洞列表中的层信息
|
21899
|
+
class ImageVulLayerInfo < TencentCloud::Common::AbstractModel
|
21900
|
+
# @param LayerId: 层id
|
21901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21902
|
+
# @type LayerId: String
|
21903
|
+
# @param LayerCmd: 层cmd
|
21904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21905
|
+
# @type LayerCmd: String
|
21906
|
+
|
21907
|
+
attr_accessor :LayerId, :LayerCmd
|
21908
|
+
|
21909
|
+
def initialize(layerid=nil, layercmd=nil)
|
21910
|
+
@LayerId = layerid
|
21911
|
+
@LayerCmd = layercmd
|
21912
|
+
end
|
21913
|
+
|
21914
|
+
def deserialize(params)
|
21915
|
+
@LayerId = params['LayerId']
|
21916
|
+
@LayerCmd = params['LayerCmd']
|
21792
21917
|
end
|
21793
21918
|
end
|
21794
21919
|
|
@@ -21880,10 +22005,22 @@ module TencentCloud
|
|
21880
22005
|
# @type IsAuthorized: Integer
|
21881
22006
|
# @param ComponentCnt: 组件个数
|
21882
22007
|
# @type ComponentCnt: Integer
|
22008
|
+
# @param CriticalLevelVulCnt: 严重漏洞数
|
22009
|
+
# @type CriticalLevelVulCnt: Integer
|
22010
|
+
# @param HighLevelVulCnt: 高危漏洞数
|
22011
|
+
# @type HighLevelVulCnt: Integer
|
22012
|
+
# @param MediumLevelVulCnt: 中危漏洞数
|
22013
|
+
# @type MediumLevelVulCnt: Integer
|
22014
|
+
# @param LowLevelVulCnt: 低危漏洞数
|
22015
|
+
# @type LowLevelVulCnt: Integer
|
22016
|
+
# @param IsLatestImage: 是否最新版本镜像
|
22017
|
+
# @type IsLatestImage: Boolean
|
22018
|
+
# @param RecommendedFix: 是否推荐处置
|
22019
|
+
# @type RecommendedFix: Boolean
|
21883
22020
|
|
21884
|
-
attr_accessor :ImageID, :ImageName, :CreateTime, :Size, :HostCnt, :ContainerCnt, :ScanTime, :VulCnt, :VirusCnt, :RiskCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :ScanStatus, :ScanVirusError, :ScanVulError, :ScanRiskError, :IsSuggest, :IsAuthorized, :ComponentCnt
|
22021
|
+
attr_accessor :ImageID, :ImageName, :CreateTime, :Size, :HostCnt, :ContainerCnt, :ScanTime, :VulCnt, :VirusCnt, :RiskCnt, :IsTrustImage, :OsName, :AgentError, :ScanError, :ScanStatus, :ScanVirusError, :ScanVulError, :ScanRiskError, :IsSuggest, :IsAuthorized, :ComponentCnt, :CriticalLevelVulCnt, :HighLevelVulCnt, :MediumLevelVulCnt, :LowLevelVulCnt, :IsLatestImage, :RecommendedFix
|
21885
22022
|
|
21886
|
-
def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, hostcnt=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)
|
22023
|
+
def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, hostcnt=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)
|
21887
22024
|
@ImageID = imageid
|
21888
22025
|
@ImageName = imagename
|
21889
22026
|
@CreateTime = createtime
|
@@ -21905,6 +22042,12 @@ module TencentCloud
|
|
21905
22042
|
@IsSuggest = issuggest
|
21906
22043
|
@IsAuthorized = isauthorized
|
21907
22044
|
@ComponentCnt = componentcnt
|
22045
|
+
@CriticalLevelVulCnt = criticallevelvulcnt
|
22046
|
+
@HighLevelVulCnt = highlevelvulcnt
|
22047
|
+
@MediumLevelVulCnt = mediumlevelvulcnt
|
22048
|
+
@LowLevelVulCnt = lowlevelvulcnt
|
22049
|
+
@IsLatestImage = islatestimage
|
22050
|
+
@RecommendedFix = recommendedfix
|
21908
22051
|
end
|
21909
22052
|
|
21910
22053
|
def deserialize(params)
|
@@ -21929,6 +22072,12 @@ module TencentCloud
|
|
21929
22072
|
@IsSuggest = params['IsSuggest']
|
21930
22073
|
@IsAuthorized = params['IsAuthorized']
|
21931
22074
|
@ComponentCnt = params['ComponentCnt']
|
22075
|
+
@CriticalLevelVulCnt = params['CriticalLevelVulCnt']
|
22076
|
+
@HighLevelVulCnt = params['HighLevelVulCnt']
|
22077
|
+
@MediumLevelVulCnt = params['MediumLevelVulCnt']
|
22078
|
+
@LowLevelVulCnt = params['LowLevelVulCnt']
|
22079
|
+
@IsLatestImage = params['IsLatestImage']
|
22080
|
+
@RecommendedFix = params['RecommendedFix']
|
21932
22081
|
end
|
21933
22082
|
end
|
21934
22083
|
|
@@ -21970,10 +22119,13 @@ module TencentCloud
|
|
21970
22119
|
# @param Tag: 漏洞标签:"CanBeFixed","DynamicLevelPoc","DynamicLevelExp"
|
21971
22120
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21972
22121
|
# @type Tag: Array
|
22122
|
+
# @param AttackLevel: 攻击热度
|
22123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
22124
|
+
# @type AttackLevel: Integer
|
21973
22125
|
|
21974
|
-
attr_accessor :CVEID, :Name, :Component, :Version, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CVSSV3Score, :CVSSV3Desc, :IsSuggest, :FixedVersions, :Tag
|
22126
|
+
attr_accessor :CVEID, :Name, :Component, :Version, :Category, :CategoryType, :Level, :Des, :OfficialSolution, :Reference, :DefenseSolution, :SubmitTime, :CVSSV3Score, :CVSSV3Desc, :IsSuggest, :FixedVersions, :Tag, :AttackLevel
|
21975
22127
|
|
21976
|
-
def initialize(cveid=nil, name=nil, component=nil, version=nil, category=nil, categorytype=nil, level=nil, des=nil, officialsolution=nil, reference=nil, defensesolution=nil, submittime=nil, cvssv3score=nil, cvssv3desc=nil, issuggest=nil, fixedversions=nil, tag=nil)
|
22128
|
+
def initialize(cveid=nil, name=nil, component=nil, version=nil, category=nil, categorytype=nil, level=nil, des=nil, officialsolution=nil, reference=nil, defensesolution=nil, submittime=nil, cvssv3score=nil, cvssv3desc=nil, issuggest=nil, fixedversions=nil, tag=nil, attacklevel=nil)
|
21977
22129
|
@CVEID = cveid
|
21978
22130
|
@Name = name
|
21979
22131
|
@Component = component
|
@@ -21991,6 +22143,7 @@ module TencentCloud
|
|
21991
22143
|
@IsSuggest = issuggest
|
21992
22144
|
@FixedVersions = fixedversions
|
21993
22145
|
@Tag = tag
|
22146
|
+
@AttackLevel = attacklevel
|
21994
22147
|
end
|
21995
22148
|
|
21996
22149
|
def deserialize(params)
|
@@ -22011,6 +22164,7 @@ module TencentCloud
|
|
22011
22164
|
@IsSuggest = params['IsSuggest']
|
22012
22165
|
@FixedVersions = params['FixedVersions']
|
22013
22166
|
@Tag = params['Tag']
|
22167
|
+
@AttackLevel = params['AttackLevel']
|
22014
22168
|
end
|
22015
22169
|
end
|
22016
22170
|
|
@@ -24877,17 +25031,25 @@ module TencentCloud
|
|
24877
25031
|
# @type AllImages: Boolean
|
24878
25032
|
# @param ImageIds: 镜像ids
|
24879
25033
|
# @type ImageIds: Array
|
25034
|
+
# @param NeedScan: 是否授权后自动扫描
|
25035
|
+
# @type NeedScan: Boolean
|
25036
|
+
# @param ScanType: 扫描类型
|
25037
|
+
# @type ScanType: Array
|
24880
25038
|
|
24881
|
-
attr_accessor :AllImages, :ImageIds
|
25039
|
+
attr_accessor :AllImages, :ImageIds, :NeedScan, :ScanType
|
24882
25040
|
|
24883
|
-
def initialize(allimages=nil, imageids=nil)
|
25041
|
+
def initialize(allimages=nil, imageids=nil, needscan=nil, scantype=nil)
|
24884
25042
|
@AllImages = allimages
|
24885
25043
|
@ImageIds = imageids
|
25044
|
+
@NeedScan = needscan
|
25045
|
+
@ScanType = scantype
|
24886
25046
|
end
|
24887
25047
|
|
24888
25048
|
def deserialize(params)
|
24889
25049
|
@AllImages = params['AllImages']
|
24890
25050
|
@ImageIds = params['ImageIds']
|
25051
|
+
@NeedScan = params['NeedScan']
|
25052
|
+
@ScanType = params['ScanType']
|
24891
25053
|
end
|
24892
25054
|
end
|
24893
25055
|
|
@@ -26656,12 +26818,21 @@ module TencentCloud
|
|
26656
26818
|
|
26657
26819
|
# SyncAssetImageRegistryAsset请求参数结构体
|
26658
26820
|
class SyncAssetImageRegistryAssetRequest < TencentCloud::Common::AbstractModel
|
26821
|
+
# @param All: 是否同步所有镜像仓库
|
26822
|
+
# @type All: Boolean
|
26823
|
+
# @param RegistryIds: 需要同步的部分镜像仓库
|
26824
|
+
# @type RegistryIds: Array
|
26659
26825
|
|
26826
|
+
attr_accessor :All, :RegistryIds
|
26660
26827
|
|
26661
|
-
def initialize()
|
26828
|
+
def initialize(all=nil, registryids=nil)
|
26829
|
+
@All = all
|
26830
|
+
@RegistryIds = registryids
|
26662
26831
|
end
|
26663
26832
|
|
26664
26833
|
def deserialize(params)
|
26834
|
+
@All = params['All']
|
26835
|
+
@RegistryIds = params['RegistryIds']
|
26665
26836
|
end
|
26666
26837
|
end
|
26667
26838
|
|
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.708
|
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-11-
|
11
|
+
date: 2023-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|