tencentcloud-sdk-python-csip 3.1.3__py2.py3-none-any.whl → 3.1.25__py2.py3-none-any.whl

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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.3'
17
+ __version__ = '3.1.25'
@@ -488,10 +488,19 @@ class AccessKeyAlarmCount(AbstractModel):
488
488
  :type AccessKey: str
489
489
  :param _AlarmCount: 告警数量
490
490
  :type AlarmCount: int
491
+ :param _AccessKeyStatus: 访问密钥状态 0 禁用 1 已启用 2 已删除
492
+ :type AccessKeyStatus: int
493
+ :param _AccessKeyCreateTime: AK创建时间
494
+ :type AccessKeyCreateTime: str
495
+ :param _LastAccessTime: AK最后使用时间,从未使用过则返回“-”
496
+ :type LastAccessTime: str
491
497
  """
492
498
  self._ID = None
493
499
  self._AccessKey = None
494
500
  self._AlarmCount = None
501
+ self._AccessKeyStatus = None
502
+ self._AccessKeyCreateTime = None
503
+ self._LastAccessTime = None
495
504
 
496
505
  @property
497
506
  def ID(self):
@@ -526,11 +535,47 @@ class AccessKeyAlarmCount(AbstractModel):
526
535
  def AlarmCount(self, AlarmCount):
527
536
  self._AlarmCount = AlarmCount
528
537
 
538
+ @property
539
+ def AccessKeyStatus(self):
540
+ r"""访问密钥状态 0 禁用 1 已启用 2 已删除
541
+ :rtype: int
542
+ """
543
+ return self._AccessKeyStatus
544
+
545
+ @AccessKeyStatus.setter
546
+ def AccessKeyStatus(self, AccessKeyStatus):
547
+ self._AccessKeyStatus = AccessKeyStatus
548
+
549
+ @property
550
+ def AccessKeyCreateTime(self):
551
+ r"""AK创建时间
552
+ :rtype: str
553
+ """
554
+ return self._AccessKeyCreateTime
555
+
556
+ @AccessKeyCreateTime.setter
557
+ def AccessKeyCreateTime(self, AccessKeyCreateTime):
558
+ self._AccessKeyCreateTime = AccessKeyCreateTime
559
+
560
+ @property
561
+ def LastAccessTime(self):
562
+ r"""AK最后使用时间,从未使用过则返回“-”
563
+ :rtype: str
564
+ """
565
+ return self._LastAccessTime
566
+
567
+ @LastAccessTime.setter
568
+ def LastAccessTime(self, LastAccessTime):
569
+ self._LastAccessTime = LastAccessTime
570
+
529
571
 
530
572
  def _deserialize(self, params):
531
573
  self._ID = params.get("ID")
532
574
  self._AccessKey = params.get("AccessKey")
533
575
  self._AlarmCount = params.get("AlarmCount")
576
+ self._AccessKeyStatus = params.get("AccessKeyStatus")
577
+ self._AccessKeyCreateTime = params.get("AccessKeyCreateTime")
578
+ self._LastAccessTime = params.get("LastAccessTime")
534
579
  memeber_set = set(params.keys())
535
580
  for name, value in vars(self).items():
536
581
  property_name = name[1:]
@@ -983,6 +1028,10 @@ class AccessKeyRisk(AbstractModel):
983
1028
  :type AppID: int
984
1029
  :param _QueryParam: 对应风险的查询参数
985
1030
  :type QueryParam: str
1031
+ :param _CloudType: 云类型 0-腾讯云 4-阿里云
1032
+ :type CloudType: int
1033
+ :param _RelatedAK: 相关的AK列表,包含AK名和AK备注
1034
+ :type RelatedAK: list of AKInfo
986
1035
  """
987
1036
  self._Name = None
988
1037
  self._Level = None
@@ -1005,6 +1054,8 @@ class AccessKeyRisk(AbstractModel):
1005
1054
  self._CheckStatus = None
1006
1055
  self._AppID = None
1007
1056
  self._QueryParam = None
1057
+ self._CloudType = None
1058
+ self._RelatedAK = None
1008
1059
 
1009
1060
  @property
1010
1061
  def Name(self):
@@ -1244,6 +1295,28 @@ class AccessKeyRisk(AbstractModel):
1244
1295
  def QueryParam(self, QueryParam):
1245
1296
  self._QueryParam = QueryParam
1246
1297
 
1298
+ @property
1299
+ def CloudType(self):
1300
+ r"""云类型 0-腾讯云 4-阿里云
1301
+ :rtype: int
1302
+ """
1303
+ return self._CloudType
1304
+
1305
+ @CloudType.setter
1306
+ def CloudType(self, CloudType):
1307
+ self._CloudType = CloudType
1308
+
1309
+ @property
1310
+ def RelatedAK(self):
1311
+ r"""相关的AK列表,包含AK名和AK备注
1312
+ :rtype: list of AKInfo
1313
+ """
1314
+ return self._RelatedAK
1315
+
1316
+ @RelatedAK.setter
1317
+ def RelatedAK(self, RelatedAK):
1318
+ self._RelatedAK = RelatedAK
1319
+
1247
1320
 
1248
1321
  def _deserialize(self, params):
1249
1322
  self._Name = params.get("Name")
@@ -1267,6 +1340,13 @@ class AccessKeyRisk(AbstractModel):
1267
1340
  self._CheckStatus = params.get("CheckStatus")
1268
1341
  self._AppID = params.get("AppID")
1269
1342
  self._QueryParam = params.get("QueryParam")
1343
+ self._CloudType = params.get("CloudType")
1344
+ if params.get("RelatedAK") is not None:
1345
+ self._RelatedAK = []
1346
+ for item in params.get("RelatedAK"):
1347
+ obj = AKInfo()
1348
+ obj._deserialize(item)
1349
+ self._RelatedAK.append(obj)
1270
1350
  memeber_set = set(params.keys())
1271
1351
  for name, value in vars(self).items():
1272
1352
  property_name = name[1:]
@@ -5235,6 +5315,8 @@ class AssetRiskItem(AbstractModel):
5235
5315
  :type RiskRuleId: str
5236
5316
  :param _Classify: 处置分类
5237
5317
  :type Classify: str
5318
+ :param _StandardTerms: 等保合规
5319
+ :type StandardTerms: list of StandardTerm
5238
5320
  """
5239
5321
  self._AppId = None
5240
5322
  self._Provider = None
@@ -5251,6 +5333,7 @@ class AssetRiskItem(AbstractModel):
5251
5333
  self._Severity = None
5252
5334
  self._RiskRuleId = None
5253
5335
  self._Classify = None
5336
+ self._StandardTerms = None
5254
5337
 
5255
5338
  @property
5256
5339
  def AppId(self):
@@ -5417,6 +5500,17 @@ class AssetRiskItem(AbstractModel):
5417
5500
  def Classify(self, Classify):
5418
5501
  self._Classify = Classify
5419
5502
 
5503
+ @property
5504
+ def StandardTerms(self):
5505
+ r"""等保合规
5506
+ :rtype: list of StandardTerm
5507
+ """
5508
+ return self._StandardTerms
5509
+
5510
+ @StandardTerms.setter
5511
+ def StandardTerms(self, StandardTerms):
5512
+ self._StandardTerms = StandardTerms
5513
+
5420
5514
 
5421
5515
  def _deserialize(self, params):
5422
5516
  self._AppId = params.get("AppId")
@@ -5434,6 +5528,12 @@ class AssetRiskItem(AbstractModel):
5434
5528
  self._Severity = params.get("Severity")
5435
5529
  self._RiskRuleId = params.get("RiskRuleId")
5436
5530
  self._Classify = params.get("Classify")
5531
+ if params.get("StandardTerms") is not None:
5532
+ self._StandardTerms = []
5533
+ for item in params.get("StandardTerms"):
5534
+ obj = StandardTerm()
5535
+ obj._deserialize(item)
5536
+ self._StandardTerms.append(obj)
5437
5537
  memeber_set = set(params.keys())
5438
5538
  for name, value in vars(self).items():
5439
5539
  property_name = name[1:]
@@ -9859,6 +9959,8 @@ class CheckViewRiskItem(AbstractModel):
9859
9959
  :type EventType: str
9860
9960
  :param _Classify: 处置分类
9861
9961
  :type Classify: str
9962
+ :param _StandardTerms: cspm规范条款
9963
+ :type StandardTerms: list of StandardTerm
9862
9964
  """
9863
9965
  self._RiskRuleId = None
9864
9966
  self._RiskTitle = None
@@ -9874,6 +9976,7 @@ class CheckViewRiskItem(AbstractModel):
9874
9976
  self._AssetType = None
9875
9977
  self._EventType = None
9876
9978
  self._Classify = None
9979
+ self._StandardTerms = None
9877
9980
 
9878
9981
  @property
9879
9982
  def RiskRuleId(self):
@@ -10029,6 +10132,17 @@ class CheckViewRiskItem(AbstractModel):
10029
10132
  def Classify(self, Classify):
10030
10133
  self._Classify = Classify
10031
10134
 
10135
+ @property
10136
+ def StandardTerms(self):
10137
+ r"""cspm规范条款
10138
+ :rtype: list of StandardTerm
10139
+ """
10140
+ return self._StandardTerms
10141
+
10142
+ @StandardTerms.setter
10143
+ def StandardTerms(self, StandardTerms):
10144
+ self._StandardTerms = StandardTerms
10145
+
10032
10146
 
10033
10147
  def _deserialize(self, params):
10034
10148
  self._RiskRuleId = params.get("RiskRuleId")
@@ -10045,6 +10159,12 @@ class CheckViewRiskItem(AbstractModel):
10045
10159
  self._AssetType = params.get("AssetType")
10046
10160
  self._EventType = params.get("EventType")
10047
10161
  self._Classify = params.get("Classify")
10162
+ if params.get("StandardTerms") is not None:
10163
+ self._StandardTerms = []
10164
+ for item in params.get("StandardTerms"):
10165
+ obj = StandardTerm()
10166
+ obj._deserialize(item)
10167
+ self._StandardTerms.append(obj)
10048
10168
  memeber_set = set(params.keys())
10049
10169
  for name, value in vars(self).items():
10050
10170
  property_name = name[1:]
@@ -13935,11 +14055,14 @@ class DescribeAssetRiskListResponse(AbstractModel):
13935
14055
  :type TotalCount: int
13936
14056
  :param _AssetRiskList: 资产视角下风险列表
13937
14057
  :type AssetRiskList: list of AssetRiskItem
14058
+ :param _StandardNameList: 等保规范名称集合
14059
+ :type StandardNameList: list of StandardItem
13938
14060
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13939
14061
  :type RequestId: str
13940
14062
  """
13941
14063
  self._TotalCount = None
13942
14064
  self._AssetRiskList = None
14065
+ self._StandardNameList = None
13943
14066
  self._RequestId = None
13944
14067
 
13945
14068
  @property
@@ -13964,6 +14087,17 @@ class DescribeAssetRiskListResponse(AbstractModel):
13964
14087
  def AssetRiskList(self, AssetRiskList):
13965
14088
  self._AssetRiskList = AssetRiskList
13966
14089
 
14090
+ @property
14091
+ def StandardNameList(self):
14092
+ r"""等保规范名称集合
14093
+ :rtype: list of StandardItem
14094
+ """
14095
+ return self._StandardNameList
14096
+
14097
+ @StandardNameList.setter
14098
+ def StandardNameList(self, StandardNameList):
14099
+ self._StandardNameList = StandardNameList
14100
+
13967
14101
  @property
13968
14102
  def RequestId(self):
13969
14103
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13984,6 +14118,12 @@ class DescribeAssetRiskListResponse(AbstractModel):
13984
14118
  obj = AssetRiskItem()
13985
14119
  obj._deserialize(item)
13986
14120
  self._AssetRiskList.append(obj)
14121
+ if params.get("StandardNameList") is not None:
14122
+ self._StandardNameList = []
14123
+ for item in params.get("StandardNameList"):
14124
+ obj = StandardItem()
14125
+ obj._deserialize(item)
14126
+ self._StandardNameList.append(obj)
13987
14127
  self._RequestId = params.get("RequestId")
13988
14128
 
13989
14129
 
@@ -15265,11 +15405,14 @@ class DescribeCheckViewRisksResponse(AbstractModel):
15265
15405
  :type TotalCount: int
15266
15406
  :param _CheckViewRiskList: 检查视角下风险列表
15267
15407
  :type CheckViewRiskList: list of CheckViewRiskItem
15408
+ :param _StandardNameList: 检查视角下cspm规范标签列表
15409
+ :type StandardNameList: list of StandardItem
15268
15410
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15269
15411
  :type RequestId: str
15270
15412
  """
15271
15413
  self._TotalCount = None
15272
15414
  self._CheckViewRiskList = None
15415
+ self._StandardNameList = None
15273
15416
  self._RequestId = None
15274
15417
 
15275
15418
  @property
@@ -15294,6 +15437,17 @@ class DescribeCheckViewRisksResponse(AbstractModel):
15294
15437
  def CheckViewRiskList(self, CheckViewRiskList):
15295
15438
  self._CheckViewRiskList = CheckViewRiskList
15296
15439
 
15440
+ @property
15441
+ def StandardNameList(self):
15442
+ r"""检查视角下cspm规范标签列表
15443
+ :rtype: list of StandardItem
15444
+ """
15445
+ return self._StandardNameList
15446
+
15447
+ @StandardNameList.setter
15448
+ def StandardNameList(self, StandardNameList):
15449
+ self._StandardNameList = StandardNameList
15450
+
15297
15451
  @property
15298
15452
  def RequestId(self):
15299
15453
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -15314,6 +15468,12 @@ class DescribeCheckViewRisksResponse(AbstractModel):
15314
15468
  obj = CheckViewRiskItem()
15315
15469
  obj._deserialize(item)
15316
15470
  self._CheckViewRiskList.append(obj)
15471
+ if params.get("StandardNameList") is not None:
15472
+ self._StandardNameList = []
15473
+ for item in params.get("StandardNameList"):
15474
+ obj = StandardItem()
15475
+ obj._deserialize(item)
15476
+ self._StandardNameList.append(obj)
15317
15477
  self._RequestId = params.get("RequestId")
15318
15478
 
15319
15479
 
@@ -32947,6 +33107,108 @@ class SourceIPVpcInfo(AbstractModel):
32947
33107
 
32948
33108
 
32949
33109
 
33110
+ class StandardItem(AbstractModel):
33111
+ r"""CSPM规范
33112
+
33113
+ """
33114
+
33115
+ def __init__(self):
33116
+ r"""
33117
+ :param _ID: 规范ID
33118
+ :type ID: int
33119
+ :param _Name: 规范名称
33120
+ :type Name: str
33121
+ """
33122
+ self._ID = None
33123
+ self._Name = None
33124
+
33125
+ @property
33126
+ def ID(self):
33127
+ r"""规范ID
33128
+ :rtype: int
33129
+ """
33130
+ return self._ID
33131
+
33132
+ @ID.setter
33133
+ def ID(self, ID):
33134
+ self._ID = ID
33135
+
33136
+ @property
33137
+ def Name(self):
33138
+ r"""规范名称
33139
+ :rtype: str
33140
+ """
33141
+ return self._Name
33142
+
33143
+ @Name.setter
33144
+ def Name(self, Name):
33145
+ self._Name = Name
33146
+
33147
+
33148
+ def _deserialize(self, params):
33149
+ self._ID = params.get("ID")
33150
+ self._Name = params.get("Name")
33151
+ memeber_set = set(params.keys())
33152
+ for name, value in vars(self).items():
33153
+ property_name = name[1:]
33154
+ if property_name in memeber_set:
33155
+ memeber_set.remove(property_name)
33156
+ if len(memeber_set) > 0:
33157
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33158
+
33159
+
33160
+
33161
+ class StandardTerm(AbstractModel):
33162
+ r"""CSPM条款
33163
+
33164
+ """
33165
+
33166
+ def __init__(self):
33167
+ r"""
33168
+ :param _Tag: 标签
33169
+ :type Tag: str
33170
+ :param _Terms: 条款
33171
+ :type Terms: list of str
33172
+ """
33173
+ self._Tag = None
33174
+ self._Terms = None
33175
+
33176
+ @property
33177
+ def Tag(self):
33178
+ r"""标签
33179
+ :rtype: str
33180
+ """
33181
+ return self._Tag
33182
+
33183
+ @Tag.setter
33184
+ def Tag(self, Tag):
33185
+ self._Tag = Tag
33186
+
33187
+ @property
33188
+ def Terms(self):
33189
+ r"""条款
33190
+ :rtype: list of str
33191
+ """
33192
+ return self._Terms
33193
+
33194
+ @Terms.setter
33195
+ def Terms(self, Terms):
33196
+ self._Terms = Terms
33197
+
33198
+
33199
+ def _deserialize(self, params):
33200
+ self._Tag = params.get("Tag")
33201
+ self._Terms = params.get("Terms")
33202
+ memeber_set = set(params.keys())
33203
+ for name, value in vars(self).items():
33204
+ property_name = name[1:]
33205
+ if property_name in memeber_set:
33206
+ memeber_set.remove(property_name)
33207
+ if len(memeber_set) > 0:
33208
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33209
+
33210
+
33211
+
32950
33212
  class StatisticalFilter(AbstractModel):
32951
33213
  r"""用户行为分析 统计条件
32952
33214
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.3
3
+ Version: 3.1.25
4
4
  Summary: Tencent Cloud Csip SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.3
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.25
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=8cXII7AMHdm87pMJh3Q_PwjlZBE6E2xQJkI3SqJHQ7Y,629
2
+ tencentcloud/csip/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/csip/v20221121/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/csip/v20221121/csip_client.py,sha256=TePNovcD8MV5ra-9ijpm_BoD5ddfl5f82Z7bAUxUrRw,76706
5
+ tencentcloud/csip/v20221121/csip_client_async.py,sha256=EsnpFYnwPyQVRENVNO7_9b9omJv7mn_aYzOAUFrJF3Q,51403
6
+ tencentcloud/csip/v20221121/errorcodes.py,sha256=tQq2byfzCpkRMLmW2QNKwIYBoudFePHil-JJw8TnPFE,2200
7
+ tencentcloud/csip/v20221121/models.py,sha256=ehDjdieSG2M6BhbIcG4ylsAK-bJR4gNCc-3uHBTOMW8,1054215
8
+ tencentcloud_sdk_python_csip-3.1.25.dist-info/METADATA,sha256=tghX6epSypeQqTkN7fOJku9brZk6EU8KGBn4-Peifv4,1500
9
+ tencentcloud_sdk_python_csip-3.1.25.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_csip-3.1.25.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_csip-3.1.25.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=gSHjiNBvuQjsyqI8h1z3JjKarGeyHbY5F8nkzo5c02s,628
2
- tencentcloud/csip/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/csip/v20221121/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/csip/v20221121/csip_client.py,sha256=TePNovcD8MV5ra-9ijpm_BoD5ddfl5f82Z7bAUxUrRw,76706
5
- tencentcloud/csip/v20221121/csip_client_async.py,sha256=EsnpFYnwPyQVRENVNO7_9b9omJv7mn_aYzOAUFrJF3Q,51403
6
- tencentcloud/csip/v20221121/errorcodes.py,sha256=tQq2byfzCpkRMLmW2QNKwIYBoudFePHil-JJw8TnPFE,2200
7
- tencentcloud/csip/v20221121/models.py,sha256=_5Tc8VG1Y5PnDczt6rQxLWI8t72sOdYlVMgaz7MR7ko,1046602
8
- tencentcloud_sdk_python_csip-3.1.3.dist-info/METADATA,sha256=RXkDKYqkl_P2nZDkeWxF6wDUftT5l47MHUTaIFRJYWA,1498
9
- tencentcloud_sdk_python_csip-3.1.3.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_csip-3.1.3.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_csip-3.1.3.dist-info/RECORD,,