tencentcloud-sdk-python-cwp 3.1.58__tar.gz → 3.1.64__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.
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/setup.py +1 -1
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/v20180228/cwp_client.py +23 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/v20180228/cwp_client_async.py +18 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/v20180228/models.py +220 -2
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cwp-3.1.64/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cwp-3.1.58/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/README.rst +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cwp-3.1.58 → tencentcloud_sdk_python_cwp-3.1.64}/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.
|
|
3
|
+
Version: 3.1.64
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.64,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cwp SDK for Python',
|
|
@@ -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
|
|
|
@@ -85454,6 +85538,10 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85454
85538
|
:param _ResourceId: 资源ID
|
|
85455
85539
|
:type ResourceId: str
|
|
85456
85540
|
:param _LicenseType: 授权类型
|
|
85541
|
+
- 0 按量付费-专业版
|
|
85542
|
+
- 1 包年包月-专业版
|
|
85543
|
+
- 2 包年包月-旗舰版
|
|
85544
|
+
- 3 包年包月-轻量版
|
|
85457
85545
|
:type LicenseType: int
|
|
85458
85546
|
:param _IsAll: 是否全部机器(当全部机器数大于当前订单可用授权数时,多余机器会被跳过)
|
|
85459
85547
|
:type IsAll: bool
|
|
@@ -85480,6 +85568,10 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85480
85568
|
@property
|
|
85481
85569
|
def LicenseType(self):
|
|
85482
85570
|
r"""授权类型
|
|
85571
|
+
- 0 按量付费-专业版
|
|
85572
|
+
- 1 包年包月-专业版
|
|
85573
|
+
- 2 包年包月-旗舰版
|
|
85574
|
+
- 3 包年包月-轻量版
|
|
85483
85575
|
:rtype: int
|
|
85484
85576
|
"""
|
|
85485
85577
|
return self._LicenseType
|
|
@@ -102002,7 +102094,7 @@ class RiskDnsEvent(AbstractModel):
|
|
|
102002
102094
|
:type SuggestSolution: str
|
|
102003
102095
|
:param _ReferenceLink: 参考链接
|
|
102004
102096
|
:type ReferenceLink: str
|
|
102005
|
-
:param _HandleStatus: 处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5
|
|
102097
|
+
:param _HandleStatus: 处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5:已忽略|6:已拦截]
|
|
102006
102098
|
:type HandleStatus: int
|
|
102007
102099
|
:param _Pid: 进程ID
|
|
102008
102100
|
:type Pid: int
|
|
@@ -102228,7 +102320,7 @@ class RiskDnsEvent(AbstractModel):
|
|
|
102228
102320
|
|
|
102229
102321
|
@property
|
|
102230
102322
|
def HandleStatus(self):
|
|
102231
|
-
r"""处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5
|
|
102323
|
+
r"""处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5:已忽略|6:已拦截]
|
|
102232
102324
|
:rtype: int
|
|
102233
102325
|
"""
|
|
102234
102326
|
return self._HandleStatus
|
|
@@ -107338,6 +107430,132 @@ class ShellPolicyList(AbstractModel):
|
|
|
107338
107430
|
|
|
107339
107431
|
|
|
107340
107432
|
|
|
107433
|
+
class SkillInfo(AbstractModel):
|
|
107434
|
+
r"""Skill 的信息
|
|
107435
|
+
|
|
107436
|
+
"""
|
|
107437
|
+
|
|
107438
|
+
def __init__(self):
|
|
107439
|
+
r"""
|
|
107440
|
+
:param _SkillName: Skill名称
|
|
107441
|
+
:type SkillName: str
|
|
107442
|
+
:param _SkillDesc: Skill 描述
|
|
107443
|
+
:type SkillDesc: str
|
|
107444
|
+
:param _SkillSource: Skill来源
|
|
107445
|
+
:type SkillSource: str
|
|
107446
|
+
:param _Tags: Skill风险标签
|
|
107447
|
+
:type Tags: list of str
|
|
107448
|
+
:param _RiskDesc: skill风险描述
|
|
107449
|
+
:type RiskDesc: str
|
|
107450
|
+
:param _Evidence: 证据链
|
|
107451
|
+
:type Evidence: str
|
|
107452
|
+
:param _Id: 事件ID
|
|
107453
|
+
:type Id: int
|
|
107454
|
+
"""
|
|
107455
|
+
self._SkillName = None
|
|
107456
|
+
self._SkillDesc = None
|
|
107457
|
+
self._SkillSource = None
|
|
107458
|
+
self._Tags = None
|
|
107459
|
+
self._RiskDesc = None
|
|
107460
|
+
self._Evidence = None
|
|
107461
|
+
self._Id = None
|
|
107462
|
+
|
|
107463
|
+
@property
|
|
107464
|
+
def SkillName(self):
|
|
107465
|
+
r"""Skill名称
|
|
107466
|
+
:rtype: str
|
|
107467
|
+
"""
|
|
107468
|
+
return self._SkillName
|
|
107469
|
+
|
|
107470
|
+
@SkillName.setter
|
|
107471
|
+
def SkillName(self, SkillName):
|
|
107472
|
+
self._SkillName = SkillName
|
|
107473
|
+
|
|
107474
|
+
@property
|
|
107475
|
+
def SkillDesc(self):
|
|
107476
|
+
r"""Skill 描述
|
|
107477
|
+
:rtype: str
|
|
107478
|
+
"""
|
|
107479
|
+
return self._SkillDesc
|
|
107480
|
+
|
|
107481
|
+
@SkillDesc.setter
|
|
107482
|
+
def SkillDesc(self, SkillDesc):
|
|
107483
|
+
self._SkillDesc = SkillDesc
|
|
107484
|
+
|
|
107485
|
+
@property
|
|
107486
|
+
def SkillSource(self):
|
|
107487
|
+
r"""Skill来源
|
|
107488
|
+
:rtype: str
|
|
107489
|
+
"""
|
|
107490
|
+
return self._SkillSource
|
|
107491
|
+
|
|
107492
|
+
@SkillSource.setter
|
|
107493
|
+
def SkillSource(self, SkillSource):
|
|
107494
|
+
self._SkillSource = SkillSource
|
|
107495
|
+
|
|
107496
|
+
@property
|
|
107497
|
+
def Tags(self):
|
|
107498
|
+
r"""Skill风险标签
|
|
107499
|
+
:rtype: list of str
|
|
107500
|
+
"""
|
|
107501
|
+
return self._Tags
|
|
107502
|
+
|
|
107503
|
+
@Tags.setter
|
|
107504
|
+
def Tags(self, Tags):
|
|
107505
|
+
self._Tags = Tags
|
|
107506
|
+
|
|
107507
|
+
@property
|
|
107508
|
+
def RiskDesc(self):
|
|
107509
|
+
r"""skill风险描述
|
|
107510
|
+
:rtype: str
|
|
107511
|
+
"""
|
|
107512
|
+
return self._RiskDesc
|
|
107513
|
+
|
|
107514
|
+
@RiskDesc.setter
|
|
107515
|
+
def RiskDesc(self, RiskDesc):
|
|
107516
|
+
self._RiskDesc = RiskDesc
|
|
107517
|
+
|
|
107518
|
+
@property
|
|
107519
|
+
def Evidence(self):
|
|
107520
|
+
r"""证据链
|
|
107521
|
+
:rtype: str
|
|
107522
|
+
"""
|
|
107523
|
+
return self._Evidence
|
|
107524
|
+
|
|
107525
|
+
@Evidence.setter
|
|
107526
|
+
def Evidence(self, Evidence):
|
|
107527
|
+
self._Evidence = Evidence
|
|
107528
|
+
|
|
107529
|
+
@property
|
|
107530
|
+
def Id(self):
|
|
107531
|
+
r"""事件ID
|
|
107532
|
+
:rtype: int
|
|
107533
|
+
"""
|
|
107534
|
+
return self._Id
|
|
107535
|
+
|
|
107536
|
+
@Id.setter
|
|
107537
|
+
def Id(self, Id):
|
|
107538
|
+
self._Id = Id
|
|
107539
|
+
|
|
107540
|
+
|
|
107541
|
+
def _deserialize(self, params):
|
|
107542
|
+
self._SkillName = params.get("SkillName")
|
|
107543
|
+
self._SkillDesc = params.get("SkillDesc")
|
|
107544
|
+
self._SkillSource = params.get("SkillSource")
|
|
107545
|
+
self._Tags = params.get("Tags")
|
|
107546
|
+
self._RiskDesc = params.get("RiskDesc")
|
|
107547
|
+
self._Evidence = params.get("Evidence")
|
|
107548
|
+
self._Id = params.get("Id")
|
|
107549
|
+
memeber_set = set(params.keys())
|
|
107550
|
+
for name, value in vars(self).items():
|
|
107551
|
+
property_name = name[1:]
|
|
107552
|
+
if property_name in memeber_set:
|
|
107553
|
+
memeber_set.remove(property_name)
|
|
107554
|
+
if len(memeber_set) > 0:
|
|
107555
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
107556
|
+
|
|
107557
|
+
|
|
107558
|
+
|
|
107341
107559
|
class StandardModeConfig(AbstractModel):
|
|
107342
107560
|
r"""标准模式阻断配置
|
|
107343
107561
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cwp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.64
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.64
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.58
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|