tencentcloud-sdk-tcss 3.0.581 → 3.0.583
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 +24 -0
- data/lib/v20201101/models.rb +133 -0
- 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: 601541fe5a45d578071e95ec4ccc6ebcb47ca7a5
|
4
|
+
data.tar.gz: 4933de68266e20727ff1a4446ed1c3ac17013c5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73dcda84b06c843d3de792c44f85b6c51a719b0eb729746ae679227e8d060adace9b65fb8c0dc9a9d49ed7db8f27bef9e79b4d463b14d2a78c40344d0d7398c6
|
7
|
+
data.tar.gz: 18e2b703f967b69bc6a542bade7fe1815987d8c47b950d30242bbb2272aec543448d768168e9518e533b5667c2570e4f7bbdf9a07bd3c972e18fa28453997c7a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.583
|
data/lib/v20201101/client.rb
CHANGED
@@ -6464,6 +6464,30 @@ module TencentCloud
|
|
6464
6464
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6465
6465
|
end
|
6466
6466
|
|
6467
|
+
# 查询漏洞影响的仓库镜像列表
|
6468
|
+
|
6469
|
+
# @param request: Request instance for DescribeVulRegistryImageList.
|
6470
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::DescribeVulRegistryImageListRequest`
|
6471
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeVulRegistryImageListResponse`
|
6472
|
+
def DescribeVulRegistryImageList(request)
|
6473
|
+
body = send_request('DescribeVulRegistryImageList', request.serialize)
|
6474
|
+
response = JSON.parse(body)
|
6475
|
+
if response['Response'].key?('Error') == false
|
6476
|
+
model = DescribeVulRegistryImageListResponse.new
|
6477
|
+
model.deserialize(response['Response'])
|
6478
|
+
model
|
6479
|
+
else
|
6480
|
+
code = response['Response']['Error']['Code']
|
6481
|
+
message = response['Response']['Error']['Message']
|
6482
|
+
reqid = response['Response']['RequestId']
|
6483
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6484
|
+
end
|
6485
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6486
|
+
raise e
|
6487
|
+
rescue StandardError => e
|
6488
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6489
|
+
end
|
6490
|
+
|
6467
6491
|
# 统计漏洞扫描页已授权和未扫描镜像数
|
6468
6492
|
|
6469
6493
|
# @param request: Request instance for DescribeVulScanAuthorizedImageSummary.
|
data/lib/v20201101/models.rb
CHANGED
@@ -19030,6 +19030,88 @@ module TencentCloud
|
|
19030
19030
|
end
|
19031
19031
|
end
|
19032
19032
|
|
19033
|
+
# DescribeVulRegistryImageList请求参数结构体
|
19034
|
+
class DescribeVulRegistryImageListRequest < TencentCloud::Common::AbstractModel
|
19035
|
+
# @param PocID: 漏洞ID
|
19036
|
+
# @type PocID: String
|
19037
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
19038
|
+
# @type Limit: Integer
|
19039
|
+
# @param Offset: 偏移量,默认为0。
|
19040
|
+
# @type Offset: Integer
|
19041
|
+
# @param Filters: 过滤条件。
|
19042
|
+
# OnlyAffectedNewestImage bool 是否影响最新镜像
|
19043
|
+
# ImageDigest 镜像Digest,支持模糊查询
|
19044
|
+
# ImageId 镜像ID,支持模糊查询
|
19045
|
+
# Namespace 命名空间,支持模糊查询
|
19046
|
+
# ImageTag 镜像版本,支持模糊查询
|
19047
|
+
# InstanceName 实例名称,支持模糊查询
|
19048
|
+
# ImageName 镜像名,支持模糊查询
|
19049
|
+
# ImageRepoAddress 镜像地址,支持模糊查询
|
19050
|
+
# @type Filters: Array
|
19051
|
+
# @param Order: 排序方式
|
19052
|
+
# @type Order: String
|
19053
|
+
# @param By: 排序字段
|
19054
|
+
# @type By: String
|
19055
|
+
|
19056
|
+
attr_accessor :PocID, :Limit, :Offset, :Filters, :Order, :By
|
19057
|
+
|
19058
|
+
def initialize(pocid=nil, limit=nil, offset=nil, filters=nil, order=nil, by=nil)
|
19059
|
+
@PocID = pocid
|
19060
|
+
@Limit = limit
|
19061
|
+
@Offset = offset
|
19062
|
+
@Filters = filters
|
19063
|
+
@Order = order
|
19064
|
+
@By = by
|
19065
|
+
end
|
19066
|
+
|
19067
|
+
def deserialize(params)
|
19068
|
+
@PocID = params['PocID']
|
19069
|
+
@Limit = params['Limit']
|
19070
|
+
@Offset = params['Offset']
|
19071
|
+
unless params['Filters'].nil?
|
19072
|
+
@Filters = []
|
19073
|
+
params['Filters'].each do |i|
|
19074
|
+
assetfilters_tmp = AssetFilters.new
|
19075
|
+
assetfilters_tmp.deserialize(i)
|
19076
|
+
@Filters << assetfilters_tmp
|
19077
|
+
end
|
19078
|
+
end
|
19079
|
+
@Order = params['Order']
|
19080
|
+
@By = params['By']
|
19081
|
+
end
|
19082
|
+
end
|
19083
|
+
|
19084
|
+
# DescribeVulRegistryImageList返回参数结构体
|
19085
|
+
class DescribeVulRegistryImageListResponse < TencentCloud::Common::AbstractModel
|
19086
|
+
# @param TotalCount: 镜像总数
|
19087
|
+
# @type TotalCount: Integer
|
19088
|
+
# @param List: 仓库镜像列表
|
19089
|
+
# @type List: Array
|
19090
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
19091
|
+
# @type RequestId: String
|
19092
|
+
|
19093
|
+
attr_accessor :TotalCount, :List, :RequestId
|
19094
|
+
|
19095
|
+
def initialize(totalcount=nil, list=nil, requestid=nil)
|
19096
|
+
@TotalCount = totalcount
|
19097
|
+
@List = list
|
19098
|
+
@RequestId = requestid
|
19099
|
+
end
|
19100
|
+
|
19101
|
+
def deserialize(params)
|
19102
|
+
@TotalCount = params['TotalCount']
|
19103
|
+
unless params['List'].nil?
|
19104
|
+
@List = []
|
19105
|
+
params['List'].each do |i|
|
19106
|
+
vulaffectedregistryimageinfo_tmp = VulAffectedRegistryImageInfo.new
|
19107
|
+
vulaffectedregistryimageinfo_tmp.deserialize(i)
|
19108
|
+
@List << vulaffectedregistryimageinfo_tmp
|
19109
|
+
end
|
19110
|
+
end
|
19111
|
+
@RequestId = params['RequestId']
|
19112
|
+
end
|
19113
|
+
end
|
19114
|
+
|
19033
19115
|
# DescribeVulScanAuthorizedImageSummary请求参数结构体
|
19034
19116
|
class DescribeVulScanAuthorizedImageSummaryRequest < TencentCloud::Common::AbstractModel
|
19035
19117
|
|
@@ -26625,6 +26707,57 @@ module TencentCloud
|
|
26625
26707
|
end
|
26626
26708
|
end
|
26627
26709
|
|
26710
|
+
# 漏洞影响的仓库镜像列表
|
26711
|
+
class VulAffectedRegistryImageInfo < TencentCloud::Common::AbstractModel
|
26712
|
+
# @param ImageID: 镜像ID
|
26713
|
+
# @type ImageID: String
|
26714
|
+
# @param ImageName: 镜像名称
|
26715
|
+
# @type ImageName: String
|
26716
|
+
# @param ImageTag: 镜像版本
|
26717
|
+
# @type ImageTag: String
|
26718
|
+
# @param Namespace: 镜像命名空间
|
26719
|
+
# @type Namespace: String
|
26720
|
+
# @param ImageRepoAddress: 镜像地址
|
26721
|
+
# @type ImageRepoAddress: String
|
26722
|
+
# @param ComponentList: 组件列表
|
26723
|
+
# @type ComponentList: Array
|
26724
|
+
# @param IsLatestImage: 是否为镜像的最新版本
|
26725
|
+
# @type IsLatestImage: Boolean
|
26726
|
+
# @param ImageAssetId: 内部镜像资产ID
|
26727
|
+
# @type ImageAssetId: Integer
|
26728
|
+
|
26729
|
+
attr_accessor :ImageID, :ImageName, :ImageTag, :Namespace, :ImageRepoAddress, :ComponentList, :IsLatestImage, :ImageAssetId
|
26730
|
+
|
26731
|
+
def initialize(imageid=nil, imagename=nil, imagetag=nil, namespace=nil, imagerepoaddress=nil, componentlist=nil, islatestimage=nil, imageassetid=nil)
|
26732
|
+
@ImageID = imageid
|
26733
|
+
@ImageName = imagename
|
26734
|
+
@ImageTag = imagetag
|
26735
|
+
@Namespace = namespace
|
26736
|
+
@ImageRepoAddress = imagerepoaddress
|
26737
|
+
@ComponentList = componentlist
|
26738
|
+
@IsLatestImage = islatestimage
|
26739
|
+
@ImageAssetId = imageassetid
|
26740
|
+
end
|
26741
|
+
|
26742
|
+
def deserialize(params)
|
26743
|
+
@ImageID = params['ImageID']
|
26744
|
+
@ImageName = params['ImageName']
|
26745
|
+
@ImageTag = params['ImageTag']
|
26746
|
+
@Namespace = params['Namespace']
|
26747
|
+
@ImageRepoAddress = params['ImageRepoAddress']
|
26748
|
+
unless params['ComponentList'].nil?
|
26749
|
+
@ComponentList = []
|
26750
|
+
params['ComponentList'].each do |i|
|
26751
|
+
vulaffectedimagecomponentinfo_tmp = VulAffectedImageComponentInfo.new
|
26752
|
+
vulaffectedimagecomponentinfo_tmp.deserialize(i)
|
26753
|
+
@ComponentList << vulaffectedimagecomponentinfo_tmp
|
26754
|
+
end
|
26755
|
+
end
|
26756
|
+
@IsLatestImage = params['IsLatestImage']
|
26757
|
+
@ImageAssetId = params['ImageAssetId']
|
26758
|
+
end
|
26759
|
+
end
|
26760
|
+
|
26628
26761
|
# 漏洞防御事件详情
|
26629
26762
|
class VulDefenceEvent < TencentCloud::Common::AbstractModel
|
26630
26763
|
# @param CVEID: 漏洞CVEID
|
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.583
|
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
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|