tencentcloud-sdk-python-csip 3.1.132__tar.gz → 3.1.134__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.134}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/v20221121/models.py +111 -28
  7. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_csip-3.1.134/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.134}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.132 → tencentcloud_sdk_python_csip-3.1.134}/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.134}/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.134
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.134
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.134,<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.134'
@@ -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,
@@ -47,7 +47,7 @@ class AIAgentAsset(AbstractModel):
47
47
  :type ExposureStatus: str
48
48
  :param _MetadataRiskURL: <p>metadata 有风险时对应路径</p>
49
49
  :type MetadataRiskURL: str
50
- :param _SkillState: <p>无</p>
50
+ :param _SkillState: <p>凭据 Skill 安装状态</p>
51
51
  :type SkillState: :class:`tencentcloud.csip.v20221121.models.SkillState`
52
52
  :param _TrafficPluginState: <p>流量沙箱插件状态</p>
53
53
  :type TrafficPluginState: :class:`tencentcloud.csip.v20221121.models.TrafficPluginState`
@@ -195,7 +195,7 @@ class AIAgentAsset(AbstractModel):
195
195
 
196
196
  @property
197
197
  def SkillState(self):
198
- r"""<p>无</p>
198
+ r"""<p>凭据 Skill 安装状态</p>
199
199
  :rtype: :class:`tencentcloud.csip.v20221121.models.SkillState`
200
200
  """
201
201
  return self._SkillState
@@ -14585,11 +14585,11 @@ class CosBucketId(AbstractModel):
14585
14585
 
14586
14586
  def __init__(self):
14587
14587
  r"""
14588
- :param _AppId: appid
14588
+ :param _AppId: <p>appid</p>
14589
14589
  :type AppId: str
14590
- :param _IsAutoMonitor:
14590
+ :param _IsAutoMonitor: <p>是否自动监测</p>
14591
14591
  :type IsAutoMonitor: int
14592
- :param _BucketIdSet: bucket id集合
14592
+ :param _BucketIdSet: <p>bucket id集合</p>
14593
14593
  :type BucketIdSet: list of str
14594
14594
  """
14595
14595
  self._AppId = None
@@ -14598,7 +14598,7 @@ class CosBucketId(AbstractModel):
14598
14598
 
14599
14599
  @property
14600
14600
  def AppId(self):
14601
- r"""appid
14601
+ r"""<p>appid</p>
14602
14602
  :rtype: str
14603
14603
  """
14604
14604
  return self._AppId
@@ -14609,7 +14609,7 @@ class CosBucketId(AbstractModel):
14609
14609
 
14610
14610
  @property
14611
14611
  def IsAutoMonitor(self):
14612
- r"""
14612
+ r"""<p>是否自动监测</p>
14613
14613
  :rtype: int
14614
14614
  """
14615
14615
  return self._IsAutoMonitor
@@ -14620,7 +14620,7 @@ class CosBucketId(AbstractModel):
14620
14620
 
14621
14621
  @property
14622
14622
  def BucketIdSet(self):
14623
- r"""bucket id集合
14623
+ r"""<p>bucket id集合</p>
14624
14624
  :rtype: list of str
14625
14625
  """
14626
14626
  return self._BucketIdSet
@@ -56830,7 +56830,7 @@ class DspmIdentifyCategoryItem(AbstractModel):
56830
56830
  :type Type: int
56831
56831
  :param _UpdateTime: <p>更新时间</p>
56832
56832
  :type UpdateTime: str
56833
- :param _ComplianceRelations: <p>无</p>
56833
+ :param _ComplianceRelations: <p>关联的识别模板信息</p>
56834
56834
  :type ComplianceRelations: list of DspmIdentifyRefComplianceInfo
56835
56835
  """
56836
56836
  self._Id = None
@@ -56885,7 +56885,7 @@ class DspmIdentifyCategoryItem(AbstractModel):
56885
56885
 
56886
56886
  @property
56887
56887
  def ComplianceRelations(self):
56888
- r"""<p>无</p>
56888
+ r"""<p>关联的识别模板信息</p>
56889
56889
  :rtype: list of DspmIdentifyRefComplianceInfo
56890
56890
  """
56891
56891
  return self._ComplianceRelations
@@ -57097,9 +57097,9 @@ class DspmIdentifyComplianceCategoryRelation(AbstractModel):
57097
57097
  :type CategoryType: int
57098
57098
  :param _CategoryGrade: <p>分类层级</p><p>单位:层</p>
57099
57099
  :type CategoryGrade: int
57100
- :param _RuleRelations: <p>无</p>
57100
+ :param _RuleRelations: <p>关联的数据项信息</p>
57101
57101
  :type RuleRelations: list of DspmIdentifyComplianceRuleRelation
57102
- :param _Children: <p>无</p>
57102
+ :param _Children: <p>子节点信息</p>
57103
57103
  :type Children: list of DspmIdentifyComplianceCategoryRelation
57104
57104
  """
57105
57105
  self._CategoryId = None
@@ -57179,7 +57179,7 @@ class DspmIdentifyComplianceCategoryRelation(AbstractModel):
57179
57179
 
57180
57180
  @property
57181
57181
  def RuleRelations(self):
57182
- r"""<p>无</p>
57182
+ r"""<p>关联的数据项信息</p>
57183
57183
  :rtype: list of DspmIdentifyComplianceRuleRelation
57184
57184
  """
57185
57185
  return self._RuleRelations
@@ -57190,7 +57190,7 @@ class DspmIdentifyComplianceCategoryRelation(AbstractModel):
57190
57190
 
57191
57191
  @property
57192
57192
  def Children(self):
57193
- r"""<p>无</p>
57193
+ r"""<p>子节点信息</p>
57194
57194
  :rtype: list of DspmIdentifyComplianceCategoryRelation
57195
57195
  """
57196
57196
  return self._Children
@@ -57977,7 +57977,7 @@ class DspmIdentifyLevelGroupItem(AbstractModel):
57977
57977
  :type LevelItems: list of DspmIdentifyLevelItem
57978
57978
  :param _UpdateTime: <p>更新时间</p><p>参数格式:YYYY-MM-DD hh:mm:ss</p>
57979
57979
  :type UpdateTime: str
57980
- :param _ComplianceRelations: <p>无</p>
57980
+ :param _ComplianceRelations: <p>关联的识别模板信息</p>
57981
57981
  :type ComplianceRelations: list of DspmIdentifyRefComplianceInfo
57982
57982
  """
57983
57983
  self._Id = None
@@ -58056,7 +58056,7 @@ class DspmIdentifyLevelGroupItem(AbstractModel):
58056
58056
 
58057
58057
  @property
58058
58058
  def ComplianceRelations(self):
58059
- r"""<p>无</p>
58059
+ r"""<p>关联的识别模板信息</p>
58060
58060
  :rtype: list of DspmIdentifyRefComplianceInfo
58061
58061
  """
58062
58062
  return self._ComplianceRelations
@@ -58345,7 +58345,7 @@ class DspmIdentifyRuleItem(AbstractModel):
58345
58345
  :type StructuredStatus: bool
58346
58346
  :param _UnStructuredStatus: <p>非结构化规则配置状态</p>
58347
58347
  :type UnStructuredStatus: bool
58348
- :param _ComplianceRelations: <p>无</p>
58348
+ :param _ComplianceRelations: <p>关联的识别模板信息</p>
58349
58349
  :type ComplianceRelations: list of DspmIdentifyRefComplianceInfo
58350
58350
  """
58351
58351
  self._Id = None
@@ -58448,7 +58448,7 @@ class DspmIdentifyRuleItem(AbstractModel):
58448
58448
 
58449
58449
  @property
58450
58450
  def ComplianceRelations(self):
58451
- r"""<p>无</p>
58451
+ r"""<p>关联的识别模板信息</p>
58452
58452
  :rtype: list of DspmIdentifyRefComplianceInfo
58453
58453
  """
58454
58454
  return self._ComplianceRelations
@@ -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.134
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.134
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.134
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.132