tencentcloud-sdk-python-csip 3.1.132__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.132 → tencentcloud_sdk_python_csip-3.1.133}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/models.py +93 -10
  7. {tencentcloud_sdk_python_csip-3.1.132 → 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.132/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.133}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.132 → 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.132 → 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.132
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.132
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.132,<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.132'
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,
@@ -69276,6 +69276,85 @@ class ModifyAlarmRiskStatusResponse(AbstractModel):
69276
69276
  self._RequestId = params.get("RequestId")
69277
69277
 
69278
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
+
69279
69358
  class ModifyCosAuditMonitorAccountRequest(AbstractModel):
69280
69359
  r"""ModifyCosAuditMonitorAccount请求参数结构体
69281
69360
 
@@ -80364,7 +80443,7 @@ class SkillCapabilityTag(AbstractModel):
80364
80443
 
80365
80444
  def __init__(self):
80366
80445
  r"""
80367
- :param _ID: 能力标签标识,适合程序判定、过滤或聚合使用
80446
+ :param _ID: 能力标签标识
80368
80447
  :type ID: str
80369
80448
  :param _Name: 能力标签展示名称
80370
80449
  :type Name: str
@@ -80374,7 +80453,7 @@ class SkillCapabilityTag(AbstractModel):
80374
80453
 
80375
80454
  @property
80376
80455
  def ID(self):
80377
- r"""能力标签标识,适合程序判定、过滤或聚合使用
80456
+ r"""能力标签标识
80378
80457
  :rtype: str
80379
80458
  """
80380
80459
  return self._ID
@@ -80415,7 +80494,8 @@ class SkillRuleCatalogItem(AbstractModel):
80415
80494
 
80416
80495
  def __init__(self):
80417
80496
  r"""
80418
- :param _RuleID: 融合规则 ID(9xxxx)
80497
+ :param _RuleID: 融合规则 ID
80498
+ 参数格式:形如 9xxxx
80419
80499
  :type RuleID: str
80420
80500
  :param _RuleName: 风险类别名称
80421
80501
  :type RuleName: str
@@ -80425,7 +80505,8 @@ class SkillRuleCatalogItem(AbstractModel):
80425
80505
 
80426
80506
  @property
80427
80507
  def RuleID(self):
80428
- r"""融合规则 ID(9xxxx)
80508
+ r"""融合规则 ID
80509
+ 参数格式:形如 9xxxx
80429
80510
  :rtype: str
80430
80511
  """
80431
80512
  return self._RuleID
@@ -80471,7 +80552,7 @@ class SkillScanEngineResult(AbstractModel):
80471
80552
  AI:AI 引擎
80472
80553
  STATIC:静态分析引擎
80473
80554
  :type ScanType: str
80474
- :param _RuleList: 该引擎命中的规则列表
80555
+ :param _RuleList: 命中规则列表
80475
80556
  :type RuleList: list of SkillScanRuleHit
80476
80557
  """
80477
80558
  self._ScanType = None
@@ -80493,7 +80574,7 @@ STATIC:静态分析引擎
80493
80574
 
80494
80575
  @property
80495
80576
  def RuleList(self):
80496
- r"""该引擎命中的规则列表
80577
+ r"""命中规则列表
80497
80578
  :rtype: list of SkillScanRuleHit
80498
80579
  """
80499
80580
  return self._RuleList
@@ -80834,9 +80915,10 @@ class SkillScanRuleHit(AbstractModel):
80834
80915
 
80835
80916
  def __init__(self):
80836
80917
  r"""
80837
- :param _RuleID: 融合规则编号(9xxxx),可与 RuleCatalog 交叉引用
80918
+ :param _RuleID: 融合规则编号
80919
+ 参数格式:形如 9xxxx
80838
80920
  :type RuleID: str
80839
- :param _Description: 当前命中规则的具体发现描述,包含文件位置、行为特征、风险点等信息
80921
+ :param _Description: 风险发现描述
80840
80922
  :type Description: str
80841
80923
  """
80842
80924
  self._RuleID = None
@@ -80844,7 +80926,8 @@ class SkillScanRuleHit(AbstractModel):
80844
80926
 
80845
80927
  @property
80846
80928
  def RuleID(self):
80847
- r"""融合规则编号(9xxxx),可与 RuleCatalog 交叉引用
80929
+ r"""融合规则编号
80930
+ 参数格式:形如 9xxxx
80848
80931
  :rtype: str
80849
80932
  """
80850
80933
  return self._RuleID
@@ -80855,7 +80938,7 @@ class SkillScanRuleHit(AbstractModel):
80855
80938
 
80856
80939
  @property
80857
80940
  def Description(self):
80858
- r"""当前命中规则的具体发现描述,包含文件位置、行为特征、风险点等信息
80941
+ r"""风险发现描述
80859
80942
  :rtype: str
80860
80943
  """
80861
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.132
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.132
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.132