tencentcloud-sdk-tcr 3.0.506 → 3.0.507
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/v20190924/client.rb +1 -1
- data/lib/v20190924/models.rb +98 -12
- 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: 56a23c497710dc5bdedfca56ac850c2740229086
|
4
|
+
data.tar.gz: b6a45096af437779beca2688492e1db0c1a1588d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fff60b801c565fe5db9a3cc989cf7e03fc6c21721e40c653853677d2ab15952e0dfcabe4fc1625d72966291a1229b03f2022dad262a0149c246abd007bfb24e
|
7
|
+
data.tar.gz: 2d78b3da6f5fadaf0ff769de739eaa6565745bd9e64658d9fcb39cd98eea11d25ae8ffa0443964d9bd86a1fdacd75accc206f69145d76eacdd168ac0b4d4f09e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.507
|
data/lib/v20190924/client.rb
CHANGED
@@ -2333,7 +2333,7 @@ module TencentCloud
|
|
2333
2333
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2334
2334
|
end
|
2335
2335
|
|
2336
|
-
#
|
2336
|
+
# 更新命名空间信息
|
2337
2337
|
|
2338
2338
|
# @param request: Request instance for ModifyNamespace.
|
2339
2339
|
# @type request: :class:`Tencentcloud::tcr::V20190924::ModifyNamespaceRequest`
|
data/lib/v20190924/models.rb
CHANGED
@@ -177,6 +177,23 @@ module TencentCloud
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
+
# 命名空间漏洞白名单列表
|
181
|
+
class CVEWhitelistItem < TencentCloud::Common::AbstractModel
|
182
|
+
# @param CVEID: 漏洞白名单 ID
|
183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
184
|
+
# @type CVEID: String
|
185
|
+
|
186
|
+
attr_accessor :CVEID
|
187
|
+
|
188
|
+
def initialize(cveid=nil)
|
189
|
+
@CVEID = cveid
|
190
|
+
end
|
191
|
+
|
192
|
+
def deserialize(params)
|
193
|
+
@CVEID = params['CVEID']
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
180
197
|
# CheckInstanceName请求参数结构体
|
181
198
|
class CheckInstanceNameRequest < TencentCloud::Common::AbstractModel
|
182
199
|
# @param RegistryName: 待创建的实例名称
|
@@ -770,14 +787,26 @@ module TencentCloud
|
|
770
787
|
# @type IsPublic: Boolean
|
771
788
|
# @param TagSpecification: 云标签描述
|
772
789
|
# @type TagSpecification: :class:`Tencentcloud::Tcr.v20190924.models.TagSpecification`
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
790
|
+
# @param IsAutoScan: 自动扫描级别,true为自动,false为手动
|
791
|
+
# @type IsAutoScan: Boolean
|
792
|
+
# @param IsPreventVUL: 安全阻断级别,true为自动,false为手动
|
793
|
+
# @type IsPreventVUL: Boolean
|
794
|
+
# @param Severity: 阻断漏洞等级,目前仅支持low、medium、high
|
795
|
+
# @type Severity: String
|
796
|
+
# @param CVEWhitelistItems: 漏洞白名单列表
|
797
|
+
# @type CVEWhitelistItems: Array
|
798
|
+
|
799
|
+
attr_accessor :RegistryId, :NamespaceName, :IsPublic, :TagSpecification, :IsAutoScan, :IsPreventVUL, :Severity, :CVEWhitelistItems
|
800
|
+
|
801
|
+
def initialize(registryid=nil, namespacename=nil, ispublic=nil, tagspecification=nil, isautoscan=nil, ispreventvul=nil, severity=nil, cvewhitelistitems=nil)
|
777
802
|
@RegistryId = registryid
|
778
803
|
@NamespaceName = namespacename
|
779
804
|
@IsPublic = ispublic
|
780
805
|
@TagSpecification = tagspecification
|
806
|
+
@IsAutoScan = isautoscan
|
807
|
+
@IsPreventVUL = ispreventvul
|
808
|
+
@Severity = severity
|
809
|
+
@CVEWhitelistItems = cvewhitelistitems
|
781
810
|
end
|
782
811
|
|
783
812
|
def deserialize(params)
|
@@ -788,6 +817,17 @@ module TencentCloud
|
|
788
817
|
@TagSpecification = TagSpecification.new
|
789
818
|
@TagSpecification.deserialize(params['TagSpecification'])
|
790
819
|
end
|
820
|
+
@IsAutoScan = params['IsAutoScan']
|
821
|
+
@IsPreventVUL = params['IsPreventVUL']
|
822
|
+
@Severity = params['Severity']
|
823
|
+
unless params['CVEWhitelistItems'].nil?
|
824
|
+
@CVEWhitelistItems = []
|
825
|
+
params['CVEWhitelistItems'].each do |i|
|
826
|
+
cvewhitelistitem_tmp = CVEWhitelistItem.new
|
827
|
+
cvewhitelistitem_tmp.deserialize(i)
|
828
|
+
@CVEWhitelistItems << cvewhitelistitem_tmp
|
829
|
+
end
|
830
|
+
end
|
791
831
|
end
|
792
832
|
end
|
793
833
|
|
@@ -5000,19 +5040,42 @@ module TencentCloud
|
|
5000
5040
|
# @type NamespaceName: String
|
5001
5041
|
# @param IsPublic: 访问级别,True为公开,False为私有
|
5002
5042
|
# @type IsPublic: Boolean
|
5003
|
-
|
5004
|
-
|
5005
|
-
|
5006
|
-
|
5043
|
+
# @param IsAutoScan: 扫描级别,True为自动,False为手动
|
5044
|
+
# @type IsAutoScan: Boolean
|
5045
|
+
# @param IsPreventVUL: 阻断开关,True为开放,False为关闭
|
5046
|
+
# @type IsPreventVUL: Boolean
|
5047
|
+
# @param Severity: 阻断漏洞等级,目前仅支持 low、medium、high
|
5048
|
+
# @type Severity: String
|
5049
|
+
# @param CVEWhitelistItems: 漏洞白名单列表
|
5050
|
+
# @type CVEWhitelistItems: Array
|
5051
|
+
|
5052
|
+
attr_accessor :RegistryId, :NamespaceName, :IsPublic, :IsAutoScan, :IsPreventVUL, :Severity, :CVEWhitelistItems
|
5053
|
+
|
5054
|
+
def initialize(registryid=nil, namespacename=nil, ispublic=nil, isautoscan=nil, ispreventvul=nil, severity=nil, cvewhitelistitems=nil)
|
5007
5055
|
@RegistryId = registryid
|
5008
5056
|
@NamespaceName = namespacename
|
5009
5057
|
@IsPublic = ispublic
|
5058
|
+
@IsAutoScan = isautoscan
|
5059
|
+
@IsPreventVUL = ispreventvul
|
5060
|
+
@Severity = severity
|
5061
|
+
@CVEWhitelistItems = cvewhitelistitems
|
5010
5062
|
end
|
5011
5063
|
|
5012
5064
|
def deserialize(params)
|
5013
5065
|
@RegistryId = params['RegistryId']
|
5014
5066
|
@NamespaceName = params['NamespaceName']
|
5015
5067
|
@IsPublic = params['IsPublic']
|
5068
|
+
@IsAutoScan = params['IsAutoScan']
|
5069
|
+
@IsPreventVUL = params['IsPreventVUL']
|
5070
|
+
@Severity = params['Severity']
|
5071
|
+
unless params['CVEWhitelistItems'].nil?
|
5072
|
+
@CVEWhitelistItems = []
|
5073
|
+
params['CVEWhitelistItems'].each do |i|
|
5074
|
+
cvewhitelistitem_tmp = CVEWhitelistItem.new
|
5075
|
+
cvewhitelistitem_tmp.deserialize(i)
|
5076
|
+
@CVEWhitelistItems << cvewhitelistitem_tmp
|
5077
|
+
end
|
5078
|
+
end
|
5016
5079
|
end
|
5017
5080
|
end
|
5018
5081
|
|
@@ -6504,16 +6567,28 @@ module TencentCloud
|
|
6504
6567
|
# @param Metadata: 命名空间元数据
|
6505
6568
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6506
6569
|
# @type Metadata: Array
|
6507
|
-
|
6508
|
-
|
6509
|
-
|
6510
|
-
|
6570
|
+
# @param CVEWhitelistItems: 漏洞白名单列表
|
6571
|
+
# @type CVEWhitelistItems: Array
|
6572
|
+
# @param AutoScan: 扫描级别,true为自动,false为手动
|
6573
|
+
# @type AutoScan: Boolean
|
6574
|
+
# @param PreventVUL: 安全阻断级别,true为开启,false为关闭
|
6575
|
+
# @type PreventVUL: Boolean
|
6576
|
+
# @param Severity: 阻断漏洞等级,目前仅支持low、medium、high, 为""时表示没有设置
|
6577
|
+
# @type Severity: String
|
6578
|
+
|
6579
|
+
attr_accessor :Name, :CreationTime, :Public, :NamespaceId, :TagSpecification, :Metadata, :CVEWhitelistItems, :AutoScan, :PreventVUL, :Severity
|
6580
|
+
|
6581
|
+
def initialize(name=nil, creationtime=nil, public=nil, namespaceid=nil, tagspecification=nil, metadata=nil, cvewhitelistitems=nil, autoscan=nil, preventvul=nil, severity=nil)
|
6511
6582
|
@Name = name
|
6512
6583
|
@CreationTime = creationtime
|
6513
6584
|
@Public = public
|
6514
6585
|
@NamespaceId = namespaceid
|
6515
6586
|
@TagSpecification = tagspecification
|
6516
6587
|
@Metadata = metadata
|
6588
|
+
@CVEWhitelistItems = cvewhitelistitems
|
6589
|
+
@AutoScan = autoscan
|
6590
|
+
@PreventVUL = preventvul
|
6591
|
+
@Severity = severity
|
6517
6592
|
end
|
6518
6593
|
|
6519
6594
|
def deserialize(params)
|
@@ -6533,6 +6608,17 @@ module TencentCloud
|
|
6533
6608
|
@Metadata << keyvaluestring_tmp
|
6534
6609
|
end
|
6535
6610
|
end
|
6611
|
+
unless params['CVEWhitelistItems'].nil?
|
6612
|
+
@CVEWhitelistItems = []
|
6613
|
+
params['CVEWhitelistItems'].each do |i|
|
6614
|
+
cvewhitelistitem_tmp = CVEWhitelistItem.new
|
6615
|
+
cvewhitelistitem_tmp.deserialize(i)
|
6616
|
+
@CVEWhitelistItems << cvewhitelistitem_tmp
|
6617
|
+
end
|
6618
|
+
end
|
6619
|
+
@AutoScan = params['AutoScan']
|
6620
|
+
@PreventVUL = params['PreventVUL']
|
6621
|
+
@Severity = params['Severity']
|
6536
6622
|
end
|
6537
6623
|
end
|
6538
6624
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.507
|
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-02-
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|