tencentcloud-sdk-tcss 3.0.820 → 3.0.822

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 305b021563d33ad216cbb92ddd4274285039890b
4
- data.tar.gz: 3448077990875ef40a8ba5e89154ae8f1ac17aa0
3
+ metadata.gz: 1a33515888822001499aba2c6f8f8e363ac9fc64
4
+ data.tar.gz: 66a0ea1178d83f695233a31c9430eabd877c32e8
5
5
  SHA512:
6
- metadata.gz: 82f6d1174c87f76e6e8e4cc4b4dab6b4eeb4cec3a19d0b4480b55aa641b51362c107d2d700217f138f9fe59985c5e9d974649d10eb303f33316de3cf7ecbafe6
7
- data.tar.gz: 4be98f901eb9e713ebec8bb3229eaf20f3576a4991d760b6c2f78f9d3e5698104ee59c7b44e3ffd16b25e30b42e7197ae538cf81264d0502e46137b96e54f1b3
6
+ metadata.gz: d143f9ff7937c5519c9c1a98a0314ec5c9c44132b8d94c9ff51e87adfd35384cfe53a9158c4da1d9481a9a4252c1f803fce395708d0331a25922dbe193a344f8
7
+ data.tar.gz: dacfd6dd240c9511dc0bdfbf90c477ac4bda9bb66a5243be575249bcf8a4f20ae4961e7d9008b0e461ba4c45288edaa4ceb2e53e0fd181364b25b5cc0f398beb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.820
1
+ 3.0.822
@@ -3992,6 +3992,30 @@ module TencentCloud
3992
3992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3993
3993
  end
3994
3994
 
3995
+ # DescribeRiskContainerImageList查询风险容器镜像列表
3996
+
3997
+ # @param request: Request instance for DescribeEventEscapeImageList.
3998
+ # @type request: :class:`Tencentcloud::tcss::V20201101::DescribeEventEscapeImageListRequest`
3999
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeEventEscapeImageListResponse`
4000
+ def DescribeEventEscapeImageList(request)
4001
+ body = send_request('DescribeEventEscapeImageList', request.serialize)
4002
+ response = JSON.parse(body)
4003
+ if response['Response'].key?('Error') == false
4004
+ model = DescribeEventEscapeImageListResponse.new
4005
+ model.deserialize(response['Response'])
4006
+ model
4007
+ else
4008
+ code = response['Response']['Error']['Code']
4009
+ message = response['Response']['Error']['Message']
4010
+ reqid = response['Response']['RequestId']
4011
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4012
+ end
4013
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4014
+ raise e
4015
+ rescue StandardError => e
4016
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4017
+ end
4018
+
3995
4019
  # 查询导出任务下载URL
3996
4020
 
3997
4021
  # @param request: Request instance for DescribeExportJobDownloadURL.
@@ -3662,8 +3662,8 @@ module TencentCloud
3662
3662
 
3663
3663
  attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
3664
3664
  extend Gem::Deprecate
3665
- deprecate :Component, :none, 2024, 4
3666
- deprecate :Component=, :none, 2024, 4
3665
+ deprecate :Component, :none, 2024, 5
3666
+ deprecate :Component=, :none, 2024, 5
3667
3667
 
3668
3668
  def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
3669
3669
  @Component = component
@@ -4116,8 +4116,8 @@ module TencentCloud
4116
4116
 
4117
4117
  attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
4118
4118
  extend Gem::Deprecate
4119
- deprecate :All, :none, 2024, 4
4120
- deprecate :All=, :none, 2024, 4
4119
+ deprecate :All, :none, 2024, 5
4120
+ deprecate :All=, :none, 2024, 5
4121
4121
 
4122
4122
  def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
4123
4123
  @All = all
@@ -4276,8 +4276,8 @@ module TencentCloud
4276
4276
 
4277
4277
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime
4278
4278
  extend Gem::Deprecate
4279
- deprecate :All, :none, 2024, 4
4280
- deprecate :All=, :none, 2024, 4
4279
+ deprecate :All, :none, 2024, 5
4280
+ deprecate :All=, :none, 2024, 5
4281
4281
 
4282
4282
  def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil)
4283
4283
  @Enable = enable
@@ -4349,8 +4349,8 @@ module TencentCloud
4349
4349
 
4350
4350
  attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout
4351
4351
  extend Gem::Deprecate
4352
- deprecate :All, :none, 2024, 4
4353
- deprecate :All=, :none, 2024, 4
4352
+ deprecate :All, :none, 2024, 5
4353
+ deprecate :All=, :none, 2024, 5
4354
4354
 
4355
4355
  def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil)
4356
4356
  @All = all
@@ -9515,8 +9515,8 @@ module TencentCloud
9515
9515
 
9516
9516
  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
9517
9517
  extend Gem::Deprecate
9518
- deprecate :SentiveInfoCnt, :none, 2024, 4
9519
- deprecate :SentiveInfoCnt=, :none, 2024, 4
9518
+ deprecate :SentiveInfoCnt, :none, 2024, 5
9519
+ deprecate :SentiveInfoCnt=, :none, 2024, 5
9520
9520
 
9521
9521
  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)
9522
9522
  @ImageDigest = imagedigest
@@ -10610,8 +10610,8 @@ module TencentCloud
10610
10610
 
10611
10611
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :RequestId
10612
10612
  extend Gem::Deprecate
10613
- deprecate :All, :none, 2024, 4
10614
- deprecate :All=, :none, 2024, 4
10613
+ deprecate :All, :none, 2024, 5
10614
+ deprecate :All=, :none, 2024, 5
10615
10615
 
10616
10616
  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)
10617
10617
  @Enable = enable
@@ -13374,6 +13374,80 @@ module TencentCloud
13374
13374
  end
13375
13375
  end
13376
13376
 
13377
+ # DescribeEventEscapeImageList请求参数结构体
13378
+ class DescribeEventEscapeImageListRequest < TencentCloud::Common::AbstractModel
13379
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
13380
+ # @type Limit: Integer
13381
+ # @param Offset: 偏移量,默认为0。
13382
+ # @type Offset: Integer
13383
+ # @param Filters: 过滤参数:
13384
+ # EventType: 事件类型(MOUNT_SENSITIVE_PTAH:敏感路径挂载 PRIVILEGE_CONTAINER_START:特权容器)
13385
+ # Status: 事件状态(EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略)
13386
+ # ImageID: 镜像id
13387
+ # ImageName:镜像名称
13388
+ # @type Filters: Array
13389
+ # @param Order: 升序降序,asc desc
13390
+ # @type Order: String
13391
+ # @param By: 排序字段
13392
+ # @type By: String
13393
+
13394
+ attr_accessor :Limit, :Offset, :Filters, :Order, :By
13395
+
13396
+ def initialize(limit=nil, offset=nil, filters=nil, order=nil, by=nil)
13397
+ @Limit = limit
13398
+ @Offset = offset
13399
+ @Filters = filters
13400
+ @Order = order
13401
+ @By = by
13402
+ end
13403
+
13404
+ def deserialize(params)
13405
+ @Limit = params['Limit']
13406
+ @Offset = params['Offset']
13407
+ unless params['Filters'].nil?
13408
+ @Filters = []
13409
+ params['Filters'].each do |i|
13410
+ runtimefilters_tmp = RunTimeFilters.new
13411
+ runtimefilters_tmp.deserialize(i)
13412
+ @Filters << runtimefilters_tmp
13413
+ end
13414
+ end
13415
+ @Order = params['Order']
13416
+ @By = params['By']
13417
+ end
13418
+ end
13419
+
13420
+ # DescribeEventEscapeImageList返回参数结构体
13421
+ class DescribeEventEscapeImageListResponse < TencentCloud::Common::AbstractModel
13422
+ # @param List: 风险容器镜像列表
13423
+ # @type List: Array
13424
+ # @param TotalCount: 事件总数量
13425
+ # @type TotalCount: Integer
13426
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13427
+ # @type RequestId: String
13428
+
13429
+ attr_accessor :List, :TotalCount, :RequestId
13430
+
13431
+ def initialize(list=nil, totalcount=nil, requestid=nil)
13432
+ @List = list
13433
+ @TotalCount = totalcount
13434
+ @RequestId = requestid
13435
+ end
13436
+
13437
+ def deserialize(params)
13438
+ unless params['List'].nil?
13439
+ @List = []
13440
+ params['List'].each do |i|
13441
+ eventescapeimageinfo_tmp = EventEscapeImageInfo.new
13442
+ eventescapeimageinfo_tmp.deserialize(i)
13443
+ @List << eventescapeimageinfo_tmp
13444
+ end
13445
+ end
13446
+ @TotalCount = params['TotalCount']
13447
+ @RequestId = params['RequestId']
13448
+ end
13449
+ end
13450
+
13377
13451
  # DescribeExportJobDownloadURL请求参数结构体
13378
13452
  class DescribeExportJobDownloadURLRequest < TencentCloud::Common::AbstractModel
13379
13453
  # @param JobID: 任务ID
@@ -14000,8 +14074,8 @@ module TencentCloud
14000
14074
 
14001
14075
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :RequestId
14002
14076
  extend Gem::Deprecate
14003
- deprecate :All, :none, 2024, 4
14004
- deprecate :All=, :none, 2024, 4
14077
+ deprecate :All, :none, 2024, 5
14078
+ deprecate :All=, :none, 2024, 5
14005
14079
 
14006
14080
  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)
14007
14081
  @Enable = enable
@@ -21385,6 +21459,73 @@ module TencentCloud
21385
21459
  end
21386
21460
  end
21387
21461
 
21462
+ # 风险容器信息
21463
+ class EventEscapeImageInfo < TencentCloud::Common::AbstractModel
21464
+ # @param ImageId: 镜像id,用于跳转
21465
+ # @type ImageId: String
21466
+ # @param UniqueKey: 唯一值
21467
+ # @type UniqueKey: String
21468
+ # @param EventType: 事件类型
21469
+ # ESCAPE_CGROUPS:利用cgroup机制逃逸
21470
+ # ESCAPE_TAMPER_SENSITIVE_FILE:篡改敏感文件逃逸
21471
+ # ESCAPE_DOCKER_API:访问Docker API接口逃逸
21472
+ # ESCAPE_VUL_OCCURRED:逃逸漏洞利用
21473
+ # MOUNT_SENSITIVE_PTAH:敏感路径挂载
21474
+ # PRIVILEGE_CONTAINER_START:特权容器
21475
+ # PRIVILEGE:程序提权逃逸
21476
+ # @type EventType: String
21477
+ # @param OriginEventType: 原始事件类型
21478
+ # @type OriginEventType: String
21479
+ # @param ImageName: 镜像名
21480
+ # @type ImageName: String
21481
+ # @param ContainerCount: 容器数量
21482
+ # @type ContainerCount: Integer
21483
+ # @param FoundTime: 生成时间
21484
+ # @type FoundTime: String
21485
+ # @param LatestFoundTime: 最近生成时间
21486
+ # @type LatestFoundTime: String
21487
+ # @param EventCount: 事件数量
21488
+ # @type EventCount: Integer
21489
+ # @param Status: 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
21490
+ # @type Status: String
21491
+ # @param Description: 风险描述
21492
+ # @type Description: String
21493
+ # @param Solution: 解决方案
21494
+ # @type Solution: String
21495
+
21496
+ attr_accessor :ImageId, :UniqueKey, :EventType, :OriginEventType, :ImageName, :ContainerCount, :FoundTime, :LatestFoundTime, :EventCount, :Status, :Description, :Solution
21497
+
21498
+ def initialize(imageid=nil, uniquekey=nil, eventtype=nil, origineventtype=nil, imagename=nil, containercount=nil, foundtime=nil, latestfoundtime=nil, eventcount=nil, status=nil, description=nil, solution=nil)
21499
+ @ImageId = imageid
21500
+ @UniqueKey = uniquekey
21501
+ @EventType = eventtype
21502
+ @OriginEventType = origineventtype
21503
+ @ImageName = imagename
21504
+ @ContainerCount = containercount
21505
+ @FoundTime = foundtime
21506
+ @LatestFoundTime = latestfoundtime
21507
+ @EventCount = eventcount
21508
+ @Status = status
21509
+ @Description = description
21510
+ @Solution = solution
21511
+ end
21512
+
21513
+ def deserialize(params)
21514
+ @ImageId = params['ImageId']
21515
+ @UniqueKey = params['UniqueKey']
21516
+ @EventType = params['EventType']
21517
+ @OriginEventType = params['OriginEventType']
21518
+ @ImageName = params['ImageName']
21519
+ @ContainerCount = params['ContainerCount']
21520
+ @FoundTime = params['FoundTime']
21521
+ @LatestFoundTime = params['LatestFoundTime']
21522
+ @EventCount = params['EventCount']
21523
+ @Status = params['Status']
21524
+ @Description = params['Description']
21525
+ @Solution = params['Solution']
21526
+ end
21527
+ end
21528
+
21388
21529
  # 导出任务详情
21389
21530
  class ExportJobInfo < TencentCloud::Common::AbstractModel
21390
21531
  # @param JobID: 任务ID
@@ -21986,8 +22127,8 @@ module TencentCloud
21986
22127
 
21987
22128
  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
21988
22129
  extend Gem::Deprecate
21989
- deprecate :SentiveInfoCnt, :none, 2024, 4
21990
- deprecate :SentiveInfoCnt=, :none, 2024, 4
22130
+ deprecate :SentiveInfoCnt, :none, 2024, 5
22131
+ deprecate :SentiveInfoCnt=, :none, 2024, 5
21991
22132
 
21992
22133
  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)
21993
22134
  @ImageDigest = imagedigest
@@ -27939,8 +28080,8 @@ module TencentCloud
27939
28080
 
27940
28081
  attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace
27941
28082
  extend Gem::Deprecate
27942
- deprecate :All, :none, 2024, 4
27943
- deprecate :All=, :none, 2024, 4
28083
+ deprecate :All, :none, 2024, 5
28084
+ deprecate :All=, :none, 2024, 5
27944
28085
 
27945
28086
  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)
27946
28087
  @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.820
4
+ version: 3.0.822
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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-15 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
36
  - lib/v20201101/client.rb
38
37
  - lib/v20201101/models.rb
38
+ - lib/tencentcloud-sdk-tcss.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: