tencentcloud-sdk-tcss 1.0.247 → 1.0.251

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201101/models.rb +48 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62b20f4493b5cc82cf90a77135956bf8a469a208
4
- data.tar.gz: be28bc5706a1bcfdf54089f5713bd16f381afa52
3
+ metadata.gz: 6316211d92527b2e2c072a281b8be5db32441777
4
+ data.tar.gz: b3e24852a35a67b5b7719553b3d1963b5b129644
5
5
  SHA512:
6
- metadata.gz: f7f235ebee84f60ca86e7f0c1e30bdf7f597f9dccd5c113ac225a3a9f49beea26942ab1db0e5ef0ee642aa535d2823fbd0b8da2772b3b156846c9fcb474dd6df
7
- data.tar.gz: 306890396b9f01faa105c1b9cbe03da672a278e7928f775188e5b2262201a49fd64997c8575a3067e5231e85bdbb458084ac34eb2a9fe2610f8281de12ecc31e
6
+ metadata.gz: 80b50038fad1fd6a22c8e29bbf8ac89df8c01d03e089594f4b51aed13e1880cc04fd4b4a160494f92d146a57041a9e387e71ce8a47fa92dce80ff8de7af225e4
7
+ data.tar.gz: 501b51ba1be84da50ab39c8b976a4f26e9115dddba2fac4926cb0e29f53858f6344917e3ef200c025f4f59e490f331860a36b0c0703eeee166e55238ca4f5f32
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.247
1
+ 1.0.251
@@ -2473,25 +2473,31 @@ module TencentCloud
2473
2473
 
2474
2474
  # CreateAssetImageScanTask请求参数结构体
2475
2475
  class CreateAssetImageScanTaskRequest < TencentCloud::Common::AbstractModel
2476
- # @param All: 是否扫描全部镜像
2476
+ # @param All: 是否扫描全部镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
2477
2477
  # @type All: Boolean
2478
- # @param Images: 需要扫描的镜像列表
2478
+ # @param Images: 需要扫描的镜像列表;全部镜像,镜像列表和根据过滤条件筛选三选一。
2479
2479
  # @type Images: Array
2480
- # @param ScanVul: 扫描漏洞
2480
+ # @param ScanVul: 扫描漏洞;漏洞,木马和风险需选其一
2481
2481
  # @type ScanVul: Boolean
2482
- # @param ScanVirus: 扫描木马
2482
+ # @param ScanVirus: 扫描木马;漏洞,木马和风险需选其一
2483
2483
  # @type ScanVirus: Boolean
2484
- # @param ScanRisk: 扫描风险
2484
+ # @param ScanRisk: 扫描风险;漏洞,木马和风险需选其一
2485
2485
  # @type ScanRisk: Boolean
2486
+ # @param Filters: 根据过滤条件筛选出镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
2487
+ # @type Filters: Array
2488
+ # @param ExcludeImageIds: 根据过滤条件筛选出镜像,再排除个别镜像
2489
+ # @type ExcludeImageIds: Array
2486
2490
 
2487
- attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk
2491
+ attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds
2488
2492
 
2489
- def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil)
2493
+ def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil)
2490
2494
  @All = all
2491
2495
  @Images = images
2492
2496
  @ScanVul = scanvul
2493
2497
  @ScanVirus = scanvirus
2494
2498
  @ScanRisk = scanrisk
2499
+ @Filters = filters
2500
+ @ExcludeImageIds = excludeimageids
2495
2501
  end
2496
2502
 
2497
2503
  def deserialize(params)
@@ -2500,6 +2506,15 @@ module TencentCloud
2500
2506
  @ScanVul = params['ScanVul']
2501
2507
  @ScanVirus = params['ScanVirus']
2502
2508
  @ScanRisk = params['ScanRisk']
2509
+ unless params['Filters'].nil?
2510
+ @Filters = []
2511
+ params['Filters'].each do |i|
2512
+ assetfilters_tmp = AssetFilters.new
2513
+ assetfilters_tmp.deserialize(i)
2514
+ @Filters << assetfilters_tmp
2515
+ end
2516
+ end
2517
+ @ExcludeImageIds = params['ExcludeImageIds']
2503
2518
  end
2504
2519
  end
2505
2520
 
@@ -4520,7 +4535,7 @@ module TencentCloud
4520
4535
  # <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
4521
4536
  # <li>HostID- string - 是否必填:否 - 主机id搜索</li>
4522
4537
  # <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
4523
- # <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"</li>
4538
+ # <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
4524
4539
  # <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
4525
4540
  # @type Filters: Array
4526
4541
  # @param By: 排序字段
@@ -8284,16 +8299,19 @@ module TencentCloud
8284
8299
  # @type ScannedImageCnt: Integer
8285
8300
  # @param NotScannedImageCnt: 未开启扫描镜像数
8286
8301
  # @type NotScannedImageCnt: Integer
8302
+ # @param NotScannedLocalImageCnt: 本地未开启扫描镜像数
8303
+ # @type NotScannedLocalImageCnt: Integer
8287
8304
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8288
8305
  # @type RequestId: String
8289
8306
 
8290
- attr_accessor :TotalAuthorizedCnt, :UsedAuthorizedCnt, :ScannedImageCnt, :NotScannedImageCnt, :RequestId
8307
+ attr_accessor :TotalAuthorizedCnt, :UsedAuthorizedCnt, :ScannedImageCnt, :NotScannedImageCnt, :NotScannedLocalImageCnt, :RequestId
8291
8308
 
8292
- def initialize(totalauthorizedcnt=nil, usedauthorizedcnt=nil, scannedimagecnt=nil, notscannedimagecnt=nil, requestid=nil)
8309
+ def initialize(totalauthorizedcnt=nil, usedauthorizedcnt=nil, scannedimagecnt=nil, notscannedimagecnt=nil, notscannedlocalimagecnt=nil, requestid=nil)
8293
8310
  @TotalAuthorizedCnt = totalauthorizedcnt
8294
8311
  @UsedAuthorizedCnt = usedauthorizedcnt
8295
8312
  @ScannedImageCnt = scannedimagecnt
8296
8313
  @NotScannedImageCnt = notscannedimagecnt
8314
+ @NotScannedLocalImageCnt = notscannedlocalimagecnt
8297
8315
  @RequestId = requestid
8298
8316
  end
8299
8317
 
@@ -8302,6 +8320,7 @@ module TencentCloud
8302
8320
  @UsedAuthorizedCnt = params['UsedAuthorizedCnt']
8303
8321
  @ScannedImageCnt = params['ScannedImageCnt']
8304
8322
  @NotScannedImageCnt = params['NotScannedImageCnt']
8323
+ @NotScannedLocalImageCnt = params['NotScannedLocalImageCnt']
8305
8324
  @RequestId = params['RequestId']
8306
8325
  end
8307
8326
  end
@@ -11960,21 +11979,36 @@ module TencentCloud
11960
11979
 
11961
11980
  # ModifyAssetImageScanStop请求参数结构体
11962
11981
  class ModifyAssetImageScanStopRequest < TencentCloud::Common::AbstractModel
11963
- # @param TaskID: 任务id
11982
+ # @param TaskID: 任务id;任务id,镜像id和根据过滤条件筛选三选一。
11964
11983
  # @type TaskID: String
11965
- # @param Images: 镜像id
11984
+ # @param Images: 镜像id;任务id,镜像id和根据过滤条件筛选三选一。
11966
11985
  # @type Images: Array
11986
+ # @param Filters: 根据过滤条件筛选出镜像;任务id,镜像id和根据过滤条件筛选三选一。
11987
+ # @type Filters: Array
11988
+ # @param ExcludeImageIds: 根据过滤条件筛选出镜像,再排除个别镜像
11989
+ # @type ExcludeImageIds: String
11967
11990
 
11968
- attr_accessor :TaskID, :Images
11991
+ attr_accessor :TaskID, :Images, :Filters, :ExcludeImageIds
11969
11992
 
11970
- def initialize(taskid=nil, images=nil)
11993
+ def initialize(taskid=nil, images=nil, filters=nil, excludeimageids=nil)
11971
11994
  @TaskID = taskid
11972
11995
  @Images = images
11996
+ @Filters = filters
11997
+ @ExcludeImageIds = excludeimageids
11973
11998
  end
11974
11999
 
11975
12000
  def deserialize(params)
11976
12001
  @TaskID = params['TaskID']
11977
12002
  @Images = params['Images']
12003
+ unless params['Filters'].nil?
12004
+ @Filters = []
12005
+ params['Filters'].each do |i|
12006
+ assetfilters_tmp = AssetFilters.new
12007
+ assetfilters_tmp.deserialize(i)
12008
+ @Filters << assetfilters_tmp
12009
+ end
12010
+ end
12011
+ @ExcludeImageIds = params['ExcludeImageIds']
11978
12012
  end
11979
12013
  end
11980
12014
 
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: 1.0.247
4
+ version: 1.0.251
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common