tencentcloud-sdk-python-csip 3.1.129__tar.gz → 3.1.133__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/models.py +108 -10
  7. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_csip-3.1.133/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_csip-3.1.129/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_csip-3.1.129 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.129
3
+ Version: 3.1.133
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.129
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.133
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-csip',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.129,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.133,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Csip SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.129'
17
+ __version__ = '3.1.133'
@@ -5385,6 +5385,29 @@ class CsipClient(AbstractClient):
5385
5385
  raise TencentCloudSDKException(type(e).__name__, str(e))
5386
5386
 
5387
5387
 
5388
+ def ModifyCosAuditBucketMonitorStatus(self, request):
5389
+ r"""修改存储桶监测状态
5390
+
5391
+ :param request: Request instance for ModifyCosAuditBucketMonitorStatus.
5392
+ :type request: :class:`tencentcloud.csip.v20221121.models.ModifyCosAuditBucketMonitorStatusRequest`
5393
+ :rtype: :class:`tencentcloud.csip.v20221121.models.ModifyCosAuditBucketMonitorStatusResponse`
5394
+
5395
+ """
5396
+ try:
5397
+ params = request._serialize()
5398
+ headers = request.headers
5399
+ body = self.call("ModifyCosAuditBucketMonitorStatus", params, headers=headers)
5400
+ response = json.loads(body)
5401
+ model = models.ModifyCosAuditBucketMonitorStatusResponse()
5402
+ model._deserialize(response["Response"])
5403
+ return model
5404
+ except Exception as e:
5405
+ if isinstance(e, TencentCloudSDKException):
5406
+ raise
5407
+ else:
5408
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5409
+
5410
+
5388
5411
  def ModifyCosAuditMonitorAccount(self, request):
5389
5412
  r"""修改cos审计监测账号
5390
5413
 
@@ -4219,6 +4219,24 @@ class CsipClient(AbstractClient):
4219
4219
 
4220
4220
  return await self.call_and_deserialize(**kwargs)
4221
4221
 
4222
+ async def ModifyCosAuditBucketMonitorStatus(
4223
+ self,
4224
+ request: models.ModifyCosAuditBucketMonitorStatusRequest,
4225
+ opts: Dict = None,
4226
+ ) -> models.ModifyCosAuditBucketMonitorStatusResponse:
4227
+ """
4228
+ 修改存储桶监测状态
4229
+ """
4230
+
4231
+ kwargs = {}
4232
+ kwargs["action"] = "ModifyCosAuditBucketMonitorStatus"
4233
+ kwargs["params"] = request._serialize()
4234
+ kwargs["resp_cls"] = models.ModifyCosAuditBucketMonitorStatusResponse
4235
+ kwargs["headers"] = request.headers
4236
+ kwargs["opts"] = opts or {}
4237
+
4238
+ return await self.call_and_deserialize(**kwargs)
4239
+
4222
4240
  async def ModifyCosAuditMonitorAccount(
4223
4241
  self,
4224
4242
  request: models.ModifyCosAuditMonitorAccountRequest,
@@ -14587,10 +14587,13 @@ class CosBucketId(AbstractModel):
14587
14587
  r"""
14588
14588
  :param _AppId: appid
14589
14589
  :type AppId: str
14590
+ :param _IsAutoMonitor:
14591
+ :type IsAutoMonitor: int
14590
14592
  :param _BucketIdSet: bucket id集合
14591
14593
  :type BucketIdSet: list of str
14592
14594
  """
14593
14595
  self._AppId = None
14596
+ self._IsAutoMonitor = None
14594
14597
  self._BucketIdSet = None
14595
14598
 
14596
14599
  @property
@@ -14604,6 +14607,17 @@ class CosBucketId(AbstractModel):
14604
14607
  def AppId(self, AppId):
14605
14608
  self._AppId = AppId
14606
14609
 
14610
+ @property
14611
+ def IsAutoMonitor(self):
14612
+ r"""
14613
+ :rtype: int
14614
+ """
14615
+ return self._IsAutoMonitor
14616
+
14617
+ @IsAutoMonitor.setter
14618
+ def IsAutoMonitor(self, IsAutoMonitor):
14619
+ self._IsAutoMonitor = IsAutoMonitor
14620
+
14607
14621
  @property
14608
14622
  def BucketIdSet(self):
14609
14623
  r"""bucket id集合
@@ -14618,6 +14632,7 @@ class CosBucketId(AbstractModel):
14618
14632
 
14619
14633
  def _deserialize(self, params):
14620
14634
  self._AppId = params.get("AppId")
14635
+ self._IsAutoMonitor = params.get("IsAutoMonitor")
14621
14636
  self._BucketIdSet = params.get("BucketIdSet")
14622
14637
  memeber_set = set(params.keys())
14623
14638
  for name, value in vars(self).items():
@@ -69261,6 +69276,85 @@ class ModifyAlarmRiskStatusResponse(AbstractModel):
69261
69276
  self._RequestId = params.get("RequestId")
69262
69277
 
69263
69278
 
69279
+ class ModifyCosAuditBucketMonitorStatusRequest(AbstractModel):
69280
+ r"""ModifyCosAuditBucketMonitorStatus请求参数结构体
69281
+
69282
+ """
69283
+
69284
+ def __init__(self):
69285
+ r"""
69286
+ :param _BucketNameSet: 存储桶集合
69287
+ :type BucketNameSet: list of str
69288
+ :param _MonitorStatus: 0 关闭 1 开启
69289
+ :type MonitorStatus: int
69290
+ """
69291
+ self._BucketNameSet = None
69292
+ self._MonitorStatus = None
69293
+
69294
+ @property
69295
+ def BucketNameSet(self):
69296
+ r"""存储桶集合
69297
+ :rtype: list of str
69298
+ """
69299
+ return self._BucketNameSet
69300
+
69301
+ @BucketNameSet.setter
69302
+ def BucketNameSet(self, BucketNameSet):
69303
+ self._BucketNameSet = BucketNameSet
69304
+
69305
+ @property
69306
+ def MonitorStatus(self):
69307
+ r"""0 关闭 1 开启
69308
+ :rtype: int
69309
+ """
69310
+ return self._MonitorStatus
69311
+
69312
+ @MonitorStatus.setter
69313
+ def MonitorStatus(self, MonitorStatus):
69314
+ self._MonitorStatus = MonitorStatus
69315
+
69316
+
69317
+ def _deserialize(self, params):
69318
+ self._BucketNameSet = params.get("BucketNameSet")
69319
+ self._MonitorStatus = params.get("MonitorStatus")
69320
+ memeber_set = set(params.keys())
69321
+ for name, value in vars(self).items():
69322
+ property_name = name[1:]
69323
+ if property_name in memeber_set:
69324
+ memeber_set.remove(property_name)
69325
+ if len(memeber_set) > 0:
69326
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
69327
+
69328
+
69329
+
69330
+ class ModifyCosAuditBucketMonitorStatusResponse(AbstractModel):
69331
+ r"""ModifyCosAuditBucketMonitorStatus返回参数结构体
69332
+
69333
+ """
69334
+
69335
+ def __init__(self):
69336
+ r"""
69337
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
69338
+ :type RequestId: str
69339
+ """
69340
+ self._RequestId = None
69341
+
69342
+ @property
69343
+ def RequestId(self):
69344
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
69345
+ :rtype: str
69346
+ """
69347
+ return self._RequestId
69348
+
69349
+ @RequestId.setter
69350
+ def RequestId(self, RequestId):
69351
+ self._RequestId = RequestId
69352
+
69353
+
69354
+ def _deserialize(self, params):
69355
+ self._RequestId = params.get("RequestId")
69356
+
69357
+
69264
69358
  class ModifyCosAuditMonitorAccountRequest(AbstractModel):
69265
69359
  r"""ModifyCosAuditMonitorAccount请求参数结构体
69266
69360
 
@@ -80349,7 +80443,7 @@ class SkillCapabilityTag(AbstractModel):
80349
80443
 
80350
80444
  def __init__(self):
80351
80445
  r"""
80352
- :param _ID: 能力标签标识,适合程序判定、过滤或聚合使用
80446
+ :param _ID: 能力标签标识
80353
80447
  :type ID: str
80354
80448
  :param _Name: 能力标签展示名称
80355
80449
  :type Name: str
@@ -80359,7 +80453,7 @@ class SkillCapabilityTag(AbstractModel):
80359
80453
 
80360
80454
  @property
80361
80455
  def ID(self):
80362
- r"""能力标签标识,适合程序判定、过滤或聚合使用
80456
+ r"""能力标签标识
80363
80457
  :rtype: str
80364
80458
  """
80365
80459
  return self._ID
@@ -80400,7 +80494,8 @@ class SkillRuleCatalogItem(AbstractModel):
80400
80494
 
80401
80495
  def __init__(self):
80402
80496
  r"""
80403
- :param _RuleID: 融合规则 ID(9xxxx)
80497
+ :param _RuleID: 融合规则 ID
80498
+ 参数格式:形如 9xxxx
80404
80499
  :type RuleID: str
80405
80500
  :param _RuleName: 风险类别名称
80406
80501
  :type RuleName: str
@@ -80410,7 +80505,8 @@ class SkillRuleCatalogItem(AbstractModel):
80410
80505
 
80411
80506
  @property
80412
80507
  def RuleID(self):
80413
- r"""融合规则 ID(9xxxx)
80508
+ r"""融合规则 ID
80509
+ 参数格式:形如 9xxxx
80414
80510
  :rtype: str
80415
80511
  """
80416
80512
  return self._RuleID
@@ -80456,7 +80552,7 @@ class SkillScanEngineResult(AbstractModel):
80456
80552
  AI:AI 引擎
80457
80553
  STATIC:静态分析引擎
80458
80554
  :type ScanType: str
80459
- :param _RuleList: 该引擎命中的规则列表
80555
+ :param _RuleList: 命中规则列表
80460
80556
  :type RuleList: list of SkillScanRuleHit
80461
80557
  """
80462
80558
  self._ScanType = None
@@ -80478,7 +80574,7 @@ STATIC:静态分析引擎
80478
80574
 
80479
80575
  @property
80480
80576
  def RuleList(self):
80481
- r"""该引擎命中的规则列表
80577
+ r"""命中规则列表
80482
80578
  :rtype: list of SkillScanRuleHit
80483
80579
  """
80484
80580
  return self._RuleList
@@ -80819,9 +80915,10 @@ class SkillScanRuleHit(AbstractModel):
80819
80915
 
80820
80916
  def __init__(self):
80821
80917
  r"""
80822
- :param _RuleID: 融合规则编号(9xxxx),可与 RuleCatalog 交叉引用
80918
+ :param _RuleID: 融合规则编号
80919
+ 参数格式:形如 9xxxx
80823
80920
  :type RuleID: str
80824
- :param _Description: 当前命中规则的具体发现描述,包含文件位置、行为特征、风险点等信息
80921
+ :param _Description: 风险发现描述
80825
80922
  :type Description: str
80826
80923
  """
80827
80924
  self._RuleID = None
@@ -80829,7 +80926,8 @@ class SkillScanRuleHit(AbstractModel):
80829
80926
 
80830
80927
  @property
80831
80928
  def RuleID(self):
80832
- r"""融合规则编号(9xxxx),可与 RuleCatalog 交叉引用
80929
+ r"""融合规则编号
80930
+ 参数格式:形如 9xxxx
80833
80931
  :rtype: str
80834
80932
  """
80835
80933
  return self._RuleID
@@ -80840,7 +80938,7 @@ class SkillScanRuleHit(AbstractModel):
80840
80938
 
80841
80939
  @property
80842
80940
  def Description(self):
80843
- r"""当前命中规则的具体发现描述,包含文件位置、行为特征、风险点等信息
80941
+ r"""风险发现描述
80844
80942
  :rtype: str
80845
80943
  """
80846
80944
  return self._Description
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.129
3
+ Version: 3.1.133
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.129
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.133
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.133
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.129