tencentcloud-sdk-tcss 3.0.880 → 3.0.882

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201101/models.rb +88 -41
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92731b65bea3bf8bbc1fc74b018961d49f1a0e42
4
- data.tar.gz: e68e9c010bf02fdcf5babc2eddcad7f0219c5997
3
+ metadata.gz: 1aefa071e707a67a8777cdbdd7e27ef2f8129fb3
4
+ data.tar.gz: 1c7cc5ce0058518d154355939bc32b52ed78a606
5
5
  SHA512:
6
- metadata.gz: fcfd7833ff7fc02dece7af40d95e25ffabc3c61dc625142d8b32602b1372859a8909c9646345532aee343a43fb72be671542a9ca80ed81f9a741d9125c13dbc4
7
- data.tar.gz: e604ccba0e83366f0d3e271321755c392158c361d93b03bfb98e3085bc45bd0e5a5e595e6903a3e0148d532585c99864b13153ae2ebba7094c55a349271b6b5f
6
+ metadata.gz: f51c0ca3f8eef4cf15aba13fedd01c355138c8aabb55b8d3c3f029b70ecfe36d76ee494fc46cefa47ad769af7e674821bee77dc07be5ae3a19c0174467c2f69e
7
+ data.tar.gz: 63970251f6726e3d0ac976f81a566c05345797aafb90806d0008709a91b74da517bf9d6c55a22b7307d57a91d6052b3e2fe83f7592079c771e5d6ec23c396ac4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.880
1
+ 3.0.882
@@ -1054,11 +1054,14 @@ module TencentCloud
1054
1054
  class AddComplianceAssetPolicySetToWhitelistRequest < TencentCloud::Common::AbstractModel
1055
1055
  # @param AssetPolicySetList: 资产ID+检查项IDs. 列表
1056
1056
  # @type AssetPolicySetList: Array
1057
+ # @param AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
1058
+ # @type AssetType: String
1057
1059
 
1058
- attr_accessor :AssetPolicySetList
1060
+ attr_accessor :AssetPolicySetList, :AssetType
1059
1061
 
1060
- def initialize(assetpolicysetlist=nil)
1062
+ def initialize(assetpolicysetlist=nil, assettype=nil)
1061
1063
  @AssetPolicySetList = assetpolicysetlist
1064
+ @AssetType = assettype
1062
1065
  end
1063
1066
 
1064
1067
  def deserialize(params)
@@ -1070,6 +1073,7 @@ module TencentCloud
1070
1073
  @AssetPolicySetList << complianceassetpolicysetitem_tmp
1071
1074
  end
1072
1075
  end
1076
+ @AssetType = params['AssetType']
1073
1077
  end
1074
1078
  end
1075
1079
 
@@ -3113,10 +3117,19 @@ module TencentCloud
3113
3117
  # @param IgnoredPolicyItemCount: 已忽略的检查项总数
3114
3118
  # 注意:此字段可能返回 null,表示取不到有效值。
3115
3119
  # @type IgnoredPolicyItemCount: Integer
3120
+ # @param TotalPolicyItemCount: 总检测项数
3121
+ # 注意:此字段可能返回 null,表示取不到有效值。
3122
+ # @type TotalPolicyItemCount: Integer
3123
+ # @param DetectHostCount: 检测主机数
3124
+ # 注意:此字段可能返回 null,表示取不到有效值。
3125
+ # @type DetectHostCount: Integer
3126
+ # @param LeftTime: 当前任务剩余时间,单位秒
3127
+ # 注意:此字段可能返回 null,表示取不到有效值。
3128
+ # @type LeftTime: Integer
3116
3129
 
3117
- attr_accessor :AssetType, :IsCustomerFirstCheck, :CheckStatus, :CheckProgress, :PassedPolicyItemCount, :FailedPolicyItemCount, :FailedCriticalPolicyItemCount, :FailedHighRiskPolicyItemCount, :FailedMediumRiskPolicyItemCount, :FailedLowRiskPolicyItemCount, :NoticePolicyItemCount, :PassedAssetCount, :FailedAssetCount, :AssetPassedRate, :ScanFailedAssetCount, :CheckCostTime, :LastCheckTime, :PeriodRule, :OpenPolicyItemCount, :IgnoredPolicyItemCount
3130
+ attr_accessor :AssetType, :IsCustomerFirstCheck, :CheckStatus, :CheckProgress, :PassedPolicyItemCount, :FailedPolicyItemCount, :FailedCriticalPolicyItemCount, :FailedHighRiskPolicyItemCount, :FailedMediumRiskPolicyItemCount, :FailedLowRiskPolicyItemCount, :NoticePolicyItemCount, :PassedAssetCount, :FailedAssetCount, :AssetPassedRate, :ScanFailedAssetCount, :CheckCostTime, :LastCheckTime, :PeriodRule, :OpenPolicyItemCount, :IgnoredPolicyItemCount, :TotalPolicyItemCount, :DetectHostCount, :LeftTime
3118
3131
 
3119
- def initialize(assettype=nil, iscustomerfirstcheck=nil, checkstatus=nil, checkprogress=nil, passedpolicyitemcount=nil, failedpolicyitemcount=nil, failedcriticalpolicyitemcount=nil, failedhighriskpolicyitemcount=nil, failedmediumriskpolicyitemcount=nil, failedlowriskpolicyitemcount=nil, noticepolicyitemcount=nil, passedassetcount=nil, failedassetcount=nil, assetpassedrate=nil, scanfailedassetcount=nil, checkcosttime=nil, lastchecktime=nil, periodrule=nil, openpolicyitemcount=nil, ignoredpolicyitemcount=nil)
3132
+ def initialize(assettype=nil, iscustomerfirstcheck=nil, checkstatus=nil, checkprogress=nil, passedpolicyitemcount=nil, failedpolicyitemcount=nil, failedcriticalpolicyitemcount=nil, failedhighriskpolicyitemcount=nil, failedmediumriskpolicyitemcount=nil, failedlowriskpolicyitemcount=nil, noticepolicyitemcount=nil, passedassetcount=nil, failedassetcount=nil, assetpassedrate=nil, scanfailedassetcount=nil, checkcosttime=nil, lastchecktime=nil, periodrule=nil, openpolicyitemcount=nil, ignoredpolicyitemcount=nil, totalpolicyitemcount=nil, detecthostcount=nil, lefttime=nil)
3120
3133
  @AssetType = assettype
3121
3134
  @IsCustomerFirstCheck = iscustomerfirstcheck
3122
3135
  @CheckStatus = checkstatus
@@ -3137,6 +3150,9 @@ module TencentCloud
3137
3150
  @PeriodRule = periodrule
3138
3151
  @OpenPolicyItemCount = openpolicyitemcount
3139
3152
  @IgnoredPolicyItemCount = ignoredpolicyitemcount
3153
+ @TotalPolicyItemCount = totalpolicyitemcount
3154
+ @DetectHostCount = detecthostcount
3155
+ @LeftTime = lefttime
3140
3156
  end
3141
3157
 
3142
3158
  def deserialize(params)
@@ -3163,6 +3179,9 @@ module TencentCloud
3163
3179
  end
3164
3180
  @OpenPolicyItemCount = params['OpenPolicyItemCount']
3165
3181
  @IgnoredPolicyItemCount = params['IgnoredPolicyItemCount']
3182
+ @TotalPolicyItemCount = params['TotalPolicyItemCount']
3183
+ @DetectHostCount = params['DetectHostCount']
3184
+ @LeftTime = params['LeftTime']
3166
3185
  end
3167
3186
  end
3168
3187
 
@@ -3493,10 +3512,15 @@ module TencentCloud
3493
3512
  # @param AuditProcedure: 检查项审计方法
3494
3513
  # 注意:此字段可能返回 null,表示取不到有效值。
3495
3514
  # @type AuditProcedure: String
3515
+ # @param IsEnable: 是否开启
3516
+ # <li>0 关闭</li>
3517
+ # <li>1 开启</li>
3518
+ # 注意:此字段可能返回 null,表示取不到有效值。
3519
+ # @type IsEnable: Integer
3496
3520
 
3497
- attr_accessor :CustomerPolicyItemId, :BasePolicyItemId, :Name, :Category, :BenchmarkStandardName, :RiskLevel, :AssetType, :LastCheckTime, :CheckStatus, :CheckResult, :PassedAssetCount, :FailedAssetCount, :WhitelistId, :FixSuggestion, :BenchmarkStandardId, :ApplicableVersion, :Description, :AuditProcedure
3521
+ attr_accessor :CustomerPolicyItemId, :BasePolicyItemId, :Name, :Category, :BenchmarkStandardName, :RiskLevel, :AssetType, :LastCheckTime, :CheckStatus, :CheckResult, :PassedAssetCount, :FailedAssetCount, :WhitelistId, :FixSuggestion, :BenchmarkStandardId, :ApplicableVersion, :Description, :AuditProcedure, :IsEnable
3498
3522
 
3499
- def initialize(customerpolicyitemid=nil, basepolicyitemid=nil, name=nil, category=nil, benchmarkstandardname=nil, risklevel=nil, assettype=nil, lastchecktime=nil, checkstatus=nil, checkresult=nil, passedassetcount=nil, failedassetcount=nil, whitelistid=nil, fixsuggestion=nil, benchmarkstandardid=nil, applicableversion=nil, description=nil, auditprocedure=nil)
3523
+ def initialize(customerpolicyitemid=nil, basepolicyitemid=nil, name=nil, category=nil, benchmarkstandardname=nil, risklevel=nil, assettype=nil, lastchecktime=nil, checkstatus=nil, checkresult=nil, passedassetcount=nil, failedassetcount=nil, whitelistid=nil, fixsuggestion=nil, benchmarkstandardid=nil, applicableversion=nil, description=nil, auditprocedure=nil, isenable=nil)
3500
3524
  @CustomerPolicyItemId = customerpolicyitemid
3501
3525
  @BasePolicyItemId = basepolicyitemid
3502
3526
  @Name = name
@@ -3515,6 +3539,7 @@ module TencentCloud
3515
3539
  @ApplicableVersion = applicableversion
3516
3540
  @Description = description
3517
3541
  @AuditProcedure = auditprocedure
3542
+ @IsEnable = isenable
3518
3543
  end
3519
3544
 
3520
3545
  def deserialize(params)
@@ -3536,6 +3561,7 @@ module TencentCloud
3536
3561
  @ApplicableVersion = params['ApplicableVersion']
3537
3562
  @Description = params['Description']
3538
3563
  @AuditProcedure = params['AuditProcedure']
3564
+ @IsEnable = params['IsEnable']
3539
3565
  end
3540
3566
  end
3541
3567
 
@@ -3670,8 +3696,8 @@ module TencentCloud
3670
3696
 
3671
3697
  attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
3672
3698
  extend Gem::Deprecate
3673
- deprecate :Component, :none, 2024, 7
3674
- deprecate :Component=, :none, 2024, 7
3699
+ deprecate :Component, :none, 2024, 8
3700
+ deprecate :Component=, :none, 2024, 8
3675
3701
 
3676
3702
  def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
3677
3703
  @Component = component
@@ -4124,8 +4150,8 @@ module TencentCloud
4124
4150
 
4125
4151
  attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
4126
4152
  extend Gem::Deprecate
4127
- deprecate :All, :none, 2024, 7
4128
- deprecate :All=, :none, 2024, 7
4153
+ deprecate :All, :none, 2024, 8
4154
+ deprecate :All=, :none, 2024, 8
4129
4155
 
4130
4156
  def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
4131
4157
  @All = all
@@ -4286,8 +4312,8 @@ module TencentCloud
4286
4312
 
4287
4313
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages
4288
4314
  extend Gem::Deprecate
4289
- deprecate :All, :none, 2024, 7
4290
- deprecate :All=, :none, 2024, 7
4315
+ deprecate :All, :none, 2024, 8
4316
+ deprecate :All=, :none, 2024, 8
4291
4317
 
4292
4318
  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)
4293
4319
  @Enable = enable
@@ -4361,8 +4387,8 @@ module TencentCloud
4361
4387
 
4362
4388
  attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout
4363
4389
  extend Gem::Deprecate
4364
- deprecate :All, :none, 2024, 7
4365
- deprecate :All=, :none, 2024, 7
4390
+ deprecate :All, :none, 2024, 8
4391
+ deprecate :All=, :none, 2024, 8
4366
4392
 
4367
4393
  def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil)
4368
4394
  @All = all
@@ -6448,17 +6474,21 @@ module TencentCloud
6448
6474
  # @type AssetItemId: Integer
6449
6475
  # @param CustomerPolicyItemIdSet: 需要忽略指定资产内的检查项ID列表
6450
6476
  # @type CustomerPolicyItemIdSet: Array
6477
+ # @param AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
6478
+ # @type AssetType: String
6451
6479
 
6452
- attr_accessor :AssetItemId, :CustomerPolicyItemIdSet
6480
+ attr_accessor :AssetItemId, :CustomerPolicyItemIdSet, :AssetType
6453
6481
 
6454
- def initialize(assetitemid=nil, customerpolicyitemidset=nil)
6482
+ def initialize(assetitemid=nil, customerpolicyitemidset=nil, assettype=nil)
6455
6483
  @AssetItemId = assetitemid
6456
6484
  @CustomerPolicyItemIdSet = customerpolicyitemidset
6485
+ @AssetType = assettype
6457
6486
  end
6458
6487
 
6459
6488
  def deserialize(params)
6460
6489
  @AssetItemId = params['AssetItemId']
6461
6490
  @CustomerPolicyItemIdSet = params['CustomerPolicyItemIdSet']
6491
+ @AssetType = params['AssetType']
6462
6492
  end
6463
6493
  end
6464
6494
 
@@ -9517,8 +9547,8 @@ module TencentCloud
9517
9547
 
9518
9548
  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
9519
9549
  extend Gem::Deprecate
9520
- deprecate :SentiveInfoCnt, :none, 2024, 7
9521
- deprecate :SentiveInfoCnt=, :none, 2024, 7
9550
+ deprecate :SentiveInfoCnt, :none, 2024, 8
9551
+ deprecate :SentiveInfoCnt=, :none, 2024, 8
9522
9552
 
9523
9553
  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)
9524
9554
  @ImageDigest = imagedigest
@@ -10615,8 +10645,8 @@ module TencentCloud
10615
10645
 
10616
10646
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages, :RequestId
10617
10647
  extend Gem::Deprecate
10618
- deprecate :All, :none, 2024, 7
10619
- deprecate :All=, :none, 2024, 7
10648
+ deprecate :All, :none, 2024, 8
10649
+ deprecate :All=, :none, 2024, 8
10620
10650
 
10621
10651
  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, requestid=nil)
10622
10652
  @Enable = enable
@@ -11992,15 +12022,19 @@ module TencentCloud
11992
12022
  class DescribeComplianceAssetDetailInfoRequest < TencentCloud::Common::AbstractModel
11993
12023
  # @param CustomerAssetId: 客户资产ID。
11994
12024
  # @type CustomerAssetId: Integer
12025
+ # @param AssetType: 资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
12026
+ # @type AssetType: String
11995
12027
 
11996
- attr_accessor :CustomerAssetId
12028
+ attr_accessor :CustomerAssetId, :AssetType
11997
12029
 
11998
- def initialize(customerassetid=nil)
12030
+ def initialize(customerassetid=nil, assettype=nil)
11999
12031
  @CustomerAssetId = customerassetid
12032
+ @AssetType = assettype
12000
12033
  end
12001
12034
 
12002
12035
  def deserialize(params)
12003
12036
  @CustomerAssetId = params['CustomerAssetId']
12037
+ @AssetType = params['AssetType']
12004
12038
  end
12005
12039
  end
12006
12040
 
@@ -12135,16 +12169,19 @@ module TencentCloud
12135
12169
  # @param Limit: 要获取的数据量,默认为10,最大为100。
12136
12170
  # @type Limit: Integer
12137
12171
  # @param Filters: 过滤器列表。Name字段支持
12138
- # RiskLevel
12172
+ # RiskLevel, AppId
12139
12173
  # @type Filters: Array
12174
+ # @param AssetType: 资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
12175
+ # @type AssetType: String
12140
12176
 
12141
- attr_accessor :CustomerAssetId, :Offset, :Limit, :Filters
12177
+ attr_accessor :CustomerAssetId, :Offset, :Limit, :Filters, :AssetType
12142
12178
 
12143
- def initialize(customerassetid=nil, offset=nil, limit=nil, filters=nil)
12179
+ def initialize(customerassetid=nil, offset=nil, limit=nil, filters=nil, assettype=nil)
12144
12180
  @CustomerAssetId = customerassetid
12145
12181
  @Offset = offset
12146
12182
  @Limit = limit
12147
12183
  @Filters = filters
12184
+ @AssetType = assettype
12148
12185
  end
12149
12186
 
12150
12187
  def deserialize(params)
@@ -12159,6 +12196,7 @@ module TencentCloud
12159
12196
  @Filters << compliancefilters_tmp
12160
12197
  end
12161
12198
  end
12199
+ @AssetType = params['AssetType']
12162
12200
  end
12163
12201
  end
12164
12202
 
@@ -12501,10 +12539,7 @@ module TencentCloud
12501
12539
  # @type Offset: Integer
12502
12540
  # @param Limit: 需要返回的数量,默认为10,最大值为100。
12503
12541
  # @type Limit: Integer
12504
- # @param Filters: 过滤条件。
12505
- # Name - String
12506
- # Name 可取值:ItemType, StandardId, RiskLevel。
12507
- # 当为K8S资产时,还可取ClusterName。
12542
+ # @param Filters: 过滤条件 <li>Name string 检测项名字</li> <li>ItemType string 检测项类型</li> <li>RiskLevel string 威胁等级</li> <li>IsOpen int 是否开启</li>
12508
12543
  # @type Filters: Array
12509
12544
 
12510
12545
  attr_accessor :AssetType, :Offset, :Limit, :Filters
@@ -14084,8 +14119,8 @@ module TencentCloud
14084
14119
 
14085
14120
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :ExcludeImageAssetIds, :RequestId
14086
14121
  extend Gem::Deprecate
14087
- deprecate :All, :none, 2024, 7
14088
- deprecate :All=, :none, 2024, 7
14122
+ deprecate :All, :none, 2024, 8
14123
+ deprecate :All=, :none, 2024, 8
14089
14124
 
14090
14125
  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, requestid=nil)
14091
14126
  @Enable = enable
@@ -22176,8 +22211,8 @@ module TencentCloud
22176
22211
 
22177
22212
  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
22178
22213
  extend Gem::Deprecate
22179
- deprecate :SentiveInfoCnt, :none, 2024, 7
22180
- deprecate :SentiveInfoCnt=, :none, 2024, 7
22214
+ deprecate :SentiveInfoCnt, :none, 2024, 8
22215
+ deprecate :SentiveInfoCnt=, :none, 2024, 8
22181
22216
 
22182
22217
  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)
22183
22218
  @ImageDigest = imagedigest
@@ -26838,17 +26873,21 @@ module TencentCloud
26838
26873
  # @type CustomerPolicyItemId: Integer
26839
26874
  # @param CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
26840
26875
  # @type CustomerAssetIdSet: Array
26876
+ # @param AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
26877
+ # @type AssetType: String
26841
26878
 
26842
- attr_accessor :CustomerPolicyItemId, :CustomerAssetIdSet
26879
+ attr_accessor :CustomerPolicyItemId, :CustomerAssetIdSet, :AssetType
26843
26880
 
26844
- def initialize(customerpolicyitemid=nil, customerassetidset=nil)
26881
+ def initialize(customerpolicyitemid=nil, customerassetidset=nil, assettype=nil)
26845
26882
  @CustomerPolicyItemId = customerpolicyitemid
26846
26883
  @CustomerAssetIdSet = customerassetidset
26884
+ @AssetType = assettype
26847
26885
  end
26848
26886
 
26849
26887
  def deserialize(params)
26850
26888
  @CustomerPolicyItemId = params['CustomerPolicyItemId']
26851
26889
  @CustomerAssetIdSet = params['CustomerAssetIdSet']
26890
+ @AssetType = params['AssetType']
26852
26891
  end
26853
26892
  end
26854
26893
 
@@ -26876,15 +26915,19 @@ module TencentCloud
26876
26915
  class ScanComplianceAssetsRequest < TencentCloud::Common::AbstractModel
26877
26916
  # @param CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
26878
26917
  # @type CustomerAssetIdSet: Array
26918
+ # @param AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
26919
+ # @type AssetType: String
26879
26920
 
26880
- attr_accessor :CustomerAssetIdSet
26921
+ attr_accessor :CustomerAssetIdSet, :AssetType
26881
26922
 
26882
- def initialize(customerassetidset=nil)
26923
+ def initialize(customerassetidset=nil, assettype=nil)
26883
26924
  @CustomerAssetIdSet = customerassetidset
26925
+ @AssetType = assettype
26884
26926
  end
26885
26927
 
26886
26928
  def deserialize(params)
26887
26929
  @CustomerAssetIdSet = params['CustomerAssetIdSet']
26930
+ @AssetType = params['AssetType']
26888
26931
  end
26889
26932
  end
26890
26933
 
@@ -26948,15 +26991,19 @@ module TencentCloud
26948
26991
  class ScanComplianceScanFailedAssetsRequest < TencentCloud::Common::AbstractModel
26949
26992
  # @param CustomerAssetIdSet: 要重新扫描的客户资产项ID的列表。
26950
26993
  # @type CustomerAssetIdSet: Array
26994
+ # @param AssetType: 扫描资产类型 <li>ASSET_CONTAINER Docker容器</li> <li>ASSET_IMAGE Docker镜像</li> <li>ASSET_HOST Docker主机</li> <li>ASSET_K8S Kubernetes</li> <li>ASSET_CONTAINERD Containerd主机</li> <li>ASSET_CONTAINERD_CONTAINER Containerd容器</li>
26995
+ # @type AssetType: String
26951
26996
 
26952
- attr_accessor :CustomerAssetIdSet
26997
+ attr_accessor :CustomerAssetIdSet, :AssetType
26953
26998
 
26954
- def initialize(customerassetidset=nil)
26999
+ def initialize(customerassetidset=nil, assettype=nil)
26955
27000
  @CustomerAssetIdSet = customerassetidset
27001
+ @AssetType = assettype
26956
27002
  end
26957
27003
 
26958
27004
  def deserialize(params)
26959
27005
  @CustomerAssetIdSet = params['CustomerAssetIdSet']
27006
+ @AssetType = params['AssetType']
26960
27007
  end
26961
27008
  end
26962
27009
 
@@ -28131,8 +28178,8 @@ module TencentCloud
28131
28178
 
28132
28179
  attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace, :ExcludeImageAssetIds
28133
28180
  extend Gem::Deprecate
28134
- deprecate :All, :none, 2024, 7
28135
- deprecate :All=, :none, 2024, 7
28181
+ deprecate :All, :none, 2024, 8
28182
+ deprecate :All=, :none, 2024, 8
28136
28183
 
28137
28184
  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)
28138
28185
  @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.880
4
+ version: 3.0.882
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-06 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common