tencentcloud-sdk-python-cwp 3.1.58__tar.gz → 3.1.62__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_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/v20180228/cwp_client.py +23 -0
  5. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/v20180228/cwp_client_async.py +18 -0
  6. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/v20180228/models.py +210 -0
  7. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cwp-3.1.62/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cwp-3.1.58/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/v20180228/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.62}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.1.58
3
+ Version: 3.1.62
4
4
  Summary: Tencent Cloud Cwp 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.58
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.62
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-cwp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.58,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.62,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cwp SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.58'
17
+ __version__ = '3.1.62'
@@ -7412,6 +7412,29 @@ class CwpClient(AbstractClient):
7412
7412
  raise TencentCloudSDKException(type(e).__name__, str(e))
7413
7413
 
7414
7414
 
7415
+ def DescribeSkillInfo(self, request):
7416
+ r"""补丁详情
7417
+
7418
+ :param request: Request instance for DescribeSkillInfo.
7419
+ :type request: :class:`tencentcloud.cwp.v20180228.models.DescribeSkillInfoRequest`
7420
+ :rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeSkillInfoResponse`
7421
+
7422
+ """
7423
+ try:
7424
+ params = request._serialize()
7425
+ headers = request.headers
7426
+ body = self.call("DescribeSkillInfo", params, headers=headers)
7427
+ response = json.loads(body)
7428
+ model = models.DescribeSkillInfoResponse()
7429
+ model._deserialize(response["Response"])
7430
+ return model
7431
+ except Exception as e:
7432
+ if isinstance(e, TencentCloudSDKException):
7433
+ raise
7434
+ else:
7435
+ raise TencentCloudSDKException(type(e).__name__, str(e))
7436
+
7437
+
7415
7438
  def DescribeStrategyExist(self, request):
7416
7439
  r"""根据策略名查询策略是否存在
7417
7440
 
@@ -5806,6 +5806,24 @@ class CwpClient(AbstractClient):
5806
5806
 
5807
5807
  return await self.call_and_deserialize(**kwargs)
5808
5808
 
5809
+ async def DescribeSkillInfo(
5810
+ self,
5811
+ request: models.DescribeSkillInfoRequest,
5812
+ opts: Dict = None,
5813
+ ) -> models.DescribeSkillInfoResponse:
5814
+ """
5815
+ 补丁详情
5816
+ """
5817
+
5818
+ kwargs = {}
5819
+ kwargs["action"] = "DescribeSkillInfo"
5820
+ kwargs["params"] = request._serialize()
5821
+ kwargs["resp_cls"] = models.DescribeSkillInfoResponse
5822
+ kwargs["headers"] = request.headers
5823
+ kwargs["opts"] = opts or {}
5824
+
5825
+ return await self.call_and_deserialize(**kwargs)
5826
+
5809
5827
  async def DescribeStrategyExist(
5810
5828
  self,
5811
5829
  request: models.DescribeStrategyExistRequest,
@@ -58117,6 +58117,90 @@ class DescribeShellPolicyListResponse(AbstractModel):
58117
58117
  self._RequestId = params.get("RequestId")
58118
58118
 
58119
58119
 
58120
+ class DescribeSkillInfoRequest(AbstractModel):
58121
+ r"""DescribeSkillInfo请求参数结构体
58122
+
58123
+ """
58124
+
58125
+ def __init__(self):
58126
+ r"""
58127
+ :param _Ids: 事件id
58128
+ :type Ids: list of int non-negative
58129
+ """
58130
+ self._Ids = None
58131
+
58132
+ @property
58133
+ def Ids(self):
58134
+ r"""事件id
58135
+ :rtype: list of int non-negative
58136
+ """
58137
+ return self._Ids
58138
+
58139
+ @Ids.setter
58140
+ def Ids(self, Ids):
58141
+ self._Ids = Ids
58142
+
58143
+
58144
+ def _deserialize(self, params):
58145
+ self._Ids = params.get("Ids")
58146
+ memeber_set = set(params.keys())
58147
+ for name, value in vars(self).items():
58148
+ property_name = name[1:]
58149
+ if property_name in memeber_set:
58150
+ memeber_set.remove(property_name)
58151
+ if len(memeber_set) > 0:
58152
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
58153
+
58154
+
58155
+
58156
+ class DescribeSkillInfoResponse(AbstractModel):
58157
+ r"""DescribeSkillInfo返回参数结构体
58158
+
58159
+ """
58160
+
58161
+ def __init__(self):
58162
+ r"""
58163
+ :param _SkillInfoList: skill信息列表
58164
+ :type SkillInfoList: list of SkillInfo
58165
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
58166
+ :type RequestId: str
58167
+ """
58168
+ self._SkillInfoList = None
58169
+ self._RequestId = None
58170
+
58171
+ @property
58172
+ def SkillInfoList(self):
58173
+ r"""skill信息列表
58174
+ :rtype: list of SkillInfo
58175
+ """
58176
+ return self._SkillInfoList
58177
+
58178
+ @SkillInfoList.setter
58179
+ def SkillInfoList(self, SkillInfoList):
58180
+ self._SkillInfoList = SkillInfoList
58181
+
58182
+ @property
58183
+ def RequestId(self):
58184
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
58185
+ :rtype: str
58186
+ """
58187
+ return self._RequestId
58188
+
58189
+ @RequestId.setter
58190
+ def RequestId(self, RequestId):
58191
+ self._RequestId = RequestId
58192
+
58193
+
58194
+ def _deserialize(self, params):
58195
+ if params.get("SkillInfoList") is not None:
58196
+ self._SkillInfoList = []
58197
+ for item in params.get("SkillInfoList"):
58198
+ obj = SkillInfo()
58199
+ obj._deserialize(item)
58200
+ self._SkillInfoList.append(obj)
58201
+ self._RequestId = params.get("RequestId")
58202
+
58203
+
58120
58204
  class DescribeStrategyExistRequest(AbstractModel):
58121
58205
  r"""DescribeStrategyExist请求参数结构体
58122
58206
 
@@ -107338,6 +107422,132 @@ class ShellPolicyList(AbstractModel):
107338
107422
 
107339
107423
 
107340
107424
 
107425
+ class SkillInfo(AbstractModel):
107426
+ r"""Skill 的信息
107427
+
107428
+ """
107429
+
107430
+ def __init__(self):
107431
+ r"""
107432
+ :param _SkillName: Skill名称
107433
+ :type SkillName: str
107434
+ :param _SkillDesc: Skill 描述
107435
+ :type SkillDesc: str
107436
+ :param _SkillSource: Skill来源
107437
+ :type SkillSource: str
107438
+ :param _Tags: Skill风险标签
107439
+ :type Tags: list of str
107440
+ :param _RiskDesc: skill风险描述
107441
+ :type RiskDesc: str
107442
+ :param _Evidence: 证据链
107443
+ :type Evidence: str
107444
+ :param _Id: 事件ID
107445
+ :type Id: int
107446
+ """
107447
+ self._SkillName = None
107448
+ self._SkillDesc = None
107449
+ self._SkillSource = None
107450
+ self._Tags = None
107451
+ self._RiskDesc = None
107452
+ self._Evidence = None
107453
+ self._Id = None
107454
+
107455
+ @property
107456
+ def SkillName(self):
107457
+ r"""Skill名称
107458
+ :rtype: str
107459
+ """
107460
+ return self._SkillName
107461
+
107462
+ @SkillName.setter
107463
+ def SkillName(self, SkillName):
107464
+ self._SkillName = SkillName
107465
+
107466
+ @property
107467
+ def SkillDesc(self):
107468
+ r"""Skill 描述
107469
+ :rtype: str
107470
+ """
107471
+ return self._SkillDesc
107472
+
107473
+ @SkillDesc.setter
107474
+ def SkillDesc(self, SkillDesc):
107475
+ self._SkillDesc = SkillDesc
107476
+
107477
+ @property
107478
+ def SkillSource(self):
107479
+ r"""Skill来源
107480
+ :rtype: str
107481
+ """
107482
+ return self._SkillSource
107483
+
107484
+ @SkillSource.setter
107485
+ def SkillSource(self, SkillSource):
107486
+ self._SkillSource = SkillSource
107487
+
107488
+ @property
107489
+ def Tags(self):
107490
+ r"""Skill风险标签
107491
+ :rtype: list of str
107492
+ """
107493
+ return self._Tags
107494
+
107495
+ @Tags.setter
107496
+ def Tags(self, Tags):
107497
+ self._Tags = Tags
107498
+
107499
+ @property
107500
+ def RiskDesc(self):
107501
+ r"""skill风险描述
107502
+ :rtype: str
107503
+ """
107504
+ return self._RiskDesc
107505
+
107506
+ @RiskDesc.setter
107507
+ def RiskDesc(self, RiskDesc):
107508
+ self._RiskDesc = RiskDesc
107509
+
107510
+ @property
107511
+ def Evidence(self):
107512
+ r"""证据链
107513
+ :rtype: str
107514
+ """
107515
+ return self._Evidence
107516
+
107517
+ @Evidence.setter
107518
+ def Evidence(self, Evidence):
107519
+ self._Evidence = Evidence
107520
+
107521
+ @property
107522
+ def Id(self):
107523
+ r"""事件ID
107524
+ :rtype: int
107525
+ """
107526
+ return self._Id
107527
+
107528
+ @Id.setter
107529
+ def Id(self, Id):
107530
+ self._Id = Id
107531
+
107532
+
107533
+ def _deserialize(self, params):
107534
+ self._SkillName = params.get("SkillName")
107535
+ self._SkillDesc = params.get("SkillDesc")
107536
+ self._SkillSource = params.get("SkillSource")
107537
+ self._Tags = params.get("Tags")
107538
+ self._RiskDesc = params.get("RiskDesc")
107539
+ self._Evidence = params.get("Evidence")
107540
+ self._Id = params.get("Id")
107541
+ memeber_set = set(params.keys())
107542
+ for name, value in vars(self).items():
107543
+ property_name = name[1:]
107544
+ if property_name in memeber_set:
107545
+ memeber_set.remove(property_name)
107546
+ if len(memeber_set) > 0:
107547
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
107548
+
107549
+
107550
+
107341
107551
  class StandardModeConfig(AbstractModel):
107342
107552
  r"""标准模式阻断配置
107343
107553
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.1.58
3
+ Version: 3.1.62
4
4
  Summary: Tencent Cloud Cwp 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.58
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.62
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.62
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.58