tencentcloud-sdk-python-cwp 3.1.190__py2.py3-none-any.whl → 3.1.200__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/cwp/v20180228/models.py +135 -4
- {tencentcloud_sdk_python_cwp-3.1.190.dist-info → tencentcloud_sdk_python_cwp-3.1.200.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_cwp-3.1.190.dist-info → tencentcloud_sdk_python_cwp-3.1.200.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_cwp-3.1.190.dist-info → tencentcloud_sdk_python_cwp-3.1.200.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cwp-3.1.190.dist-info → tencentcloud_sdk_python_cwp-3.1.200.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -47068,7 +47068,7 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47068
47068
|
:type EnableInspiredEngine: int
|
|
47069
47069
|
:param _EnableMemShellScan: <p>是否开启恶意进程查杀[0:未开启,1:开启]</p>
|
|
47070
47070
|
:type EnableMemShellScan: int
|
|
47071
|
-
:param _ProtectMode: <p>防护模式 0 标准 1
|
|
47071
|
+
:param _ProtectMode: <p>防护模式 0 标准 1 重保 2自定义隔离</p>
|
|
47072
47072
|
:type ProtectMode: int
|
|
47073
47073
|
:param _ProtectFileScope: <p>查杀范围 0 脚本类之外的恶意文件,1全部恶意文件</p>
|
|
47074
47074
|
:type ProtectFileScope: int
|
|
@@ -47078,6 +47078,10 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47078
47078
|
:type QuaraUuids: list of str
|
|
47079
47079
|
:param _QuaraScope: <p>用户选择的隔离范围,0:默认全隔离 1:用户自选</p>
|
|
47080
47080
|
:type QuaraScope: int
|
|
47081
|
+
:param _QuaraTypes: <p>自定义隔离模式已保存的告警类型Code列表</p>
|
|
47082
|
+
:type QuaraTypes: list of str
|
|
47083
|
+
:param _QuaraTypeDict: <p>告警类型字典(灰度规则下发,供前端渲染勾选项)</p>
|
|
47084
|
+
:type QuaraTypeDict: list of QuaraTypeDictItem
|
|
47081
47085
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
47082
47086
|
:type RequestId: str
|
|
47083
47087
|
"""
|
|
@@ -47104,6 +47108,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47104
47108
|
self._DoClean = None
|
|
47105
47109
|
self._QuaraUuids = None
|
|
47106
47110
|
self._QuaraScope = None
|
|
47111
|
+
self._QuaraTypes = None
|
|
47112
|
+
self._QuaraTypeDict = None
|
|
47107
47113
|
self._RequestId = None
|
|
47108
47114
|
|
|
47109
47115
|
@property
|
|
@@ -47306,7 +47312,7 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47306
47312
|
|
|
47307
47313
|
@property
|
|
47308
47314
|
def ProtectMode(self):
|
|
47309
|
-
r"""<p>防护模式 0 标准 1
|
|
47315
|
+
r"""<p>防护模式 0 标准 1 重保 2自定义隔离</p>
|
|
47310
47316
|
:rtype: int
|
|
47311
47317
|
"""
|
|
47312
47318
|
return self._ProtectMode
|
|
@@ -47359,6 +47365,28 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47359
47365
|
def QuaraScope(self, QuaraScope):
|
|
47360
47366
|
self._QuaraScope = QuaraScope
|
|
47361
47367
|
|
|
47368
|
+
@property
|
|
47369
|
+
def QuaraTypes(self):
|
|
47370
|
+
r"""<p>自定义隔离模式已保存的告警类型Code列表</p>
|
|
47371
|
+
:rtype: list of str
|
|
47372
|
+
"""
|
|
47373
|
+
return self._QuaraTypes
|
|
47374
|
+
|
|
47375
|
+
@QuaraTypes.setter
|
|
47376
|
+
def QuaraTypes(self, QuaraTypes):
|
|
47377
|
+
self._QuaraTypes = QuaraTypes
|
|
47378
|
+
|
|
47379
|
+
@property
|
|
47380
|
+
def QuaraTypeDict(self):
|
|
47381
|
+
r"""<p>告警类型字典(灰度规则下发,供前端渲染勾选项)</p>
|
|
47382
|
+
:rtype: list of QuaraTypeDictItem
|
|
47383
|
+
"""
|
|
47384
|
+
return self._QuaraTypeDict
|
|
47385
|
+
|
|
47386
|
+
@QuaraTypeDict.setter
|
|
47387
|
+
def QuaraTypeDict(self, QuaraTypeDict):
|
|
47388
|
+
self._QuaraTypeDict = QuaraTypeDict
|
|
47389
|
+
|
|
47362
47390
|
@property
|
|
47363
47391
|
def RequestId(self):
|
|
47364
47392
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -47395,6 +47423,13 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
47395
47423
|
self._DoClean = params.get("DoClean")
|
|
47396
47424
|
self._QuaraUuids = params.get("QuaraUuids")
|
|
47397
47425
|
self._QuaraScope = params.get("QuaraScope")
|
|
47426
|
+
self._QuaraTypes = params.get("QuaraTypes")
|
|
47427
|
+
if params.get("QuaraTypeDict") is not None:
|
|
47428
|
+
self._QuaraTypeDict = []
|
|
47429
|
+
for item in params.get("QuaraTypeDict"):
|
|
47430
|
+
obj = QuaraTypeDictItem()
|
|
47431
|
+
obj._deserialize(item)
|
|
47432
|
+
self._QuaraTypeDict.append(obj)
|
|
47398
47433
|
self._RequestId = params.get("RequestId")
|
|
47399
47434
|
|
|
47400
47435
|
|
|
@@ -88109,7 +88144,7 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88109
88144
|
:type EnableInspiredEngine: int
|
|
88110
88145
|
:param _EnableMemShellScan: <p>是否开启恶意进程查杀[0:未开启,1:开启]</p>
|
|
88111
88146
|
:type EnableMemShellScan: int
|
|
88112
|
-
:param _ProtectMode: <p>防护模式 0 标准 1
|
|
88147
|
+
:param _ProtectMode: <p>防护模式 0 标准 1重保 2自定义隔离</p>
|
|
88113
88148
|
:type ProtectMode: int
|
|
88114
88149
|
:param _ProtectFileScope: <p>查杀范围 0 脚本类之外的恶意文件,1全部恶意文件</p>
|
|
88115
88150
|
:type ProtectFileScope: int
|
|
@@ -88119,6 +88154,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88119
88154
|
:type QuaraScope: int
|
|
88120
88155
|
:param _ProductType: <p>产品类型 0-主机安全(默认) 1-安全中心</p>
|
|
88121
88156
|
:type ProductType: int
|
|
88157
|
+
:param _QuaraTypes: <p>自定义隔离模式的告警类型Code列表(ProtectMode=2时必填,Code取自Describe返回的QuaraTypeDict)</p>
|
|
88158
|
+
:type QuaraTypes: list of str
|
|
88122
88159
|
"""
|
|
88123
88160
|
self._CheckPattern = None
|
|
88124
88161
|
self._StartTime = None
|
|
@@ -88142,6 +88179,7 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88142
88179
|
self._QuaraUuids = None
|
|
88143
88180
|
self._QuaraScope = None
|
|
88144
88181
|
self._ProductType = None
|
|
88182
|
+
self._QuaraTypes = None
|
|
88145
88183
|
|
|
88146
88184
|
@property
|
|
88147
88185
|
def CheckPattern(self):
|
|
@@ -88332,7 +88370,7 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88332
88370
|
|
|
88333
88371
|
@property
|
|
88334
88372
|
def ProtectMode(self):
|
|
88335
|
-
r"""<p>防护模式 0 标准 1
|
|
88373
|
+
r"""<p>防护模式 0 标准 1重保 2自定义隔离</p>
|
|
88336
88374
|
:rtype: int
|
|
88337
88375
|
"""
|
|
88338
88376
|
return self._ProtectMode
|
|
@@ -88385,6 +88423,17 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88385
88423
|
def ProductType(self, ProductType):
|
|
88386
88424
|
self._ProductType = ProductType
|
|
88387
88425
|
|
|
88426
|
+
@property
|
|
88427
|
+
def QuaraTypes(self):
|
|
88428
|
+
r"""<p>自定义隔离模式的告警类型Code列表(ProtectMode=2时必填,Code取自Describe返回的QuaraTypeDict)</p>
|
|
88429
|
+
:rtype: list of str
|
|
88430
|
+
"""
|
|
88431
|
+
return self._QuaraTypes
|
|
88432
|
+
|
|
88433
|
+
@QuaraTypes.setter
|
|
88434
|
+
def QuaraTypes(self, QuaraTypes):
|
|
88435
|
+
self._QuaraTypes = QuaraTypes
|
|
88436
|
+
|
|
88388
88437
|
|
|
88389
88438
|
def _deserialize(self, params):
|
|
88390
88439
|
self._CheckPattern = params.get("CheckPattern")
|
|
@@ -88409,6 +88458,7 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
88409
88458
|
self._QuaraUuids = params.get("QuaraUuids")
|
|
88410
88459
|
self._QuaraScope = params.get("QuaraScope")
|
|
88411
88460
|
self._ProductType = params.get("ProductType")
|
|
88461
|
+
self._QuaraTypes = params.get("QuaraTypes")
|
|
88412
88462
|
memeber_set = set(params.keys())
|
|
88413
88463
|
for name, value in vars(self).items():
|
|
88414
88464
|
property_name = name[1:]
|
|
@@ -95394,6 +95444,87 @@ class ProtectStat(AbstractModel):
|
|
|
95394
95444
|
|
|
95395
95445
|
|
|
95396
95446
|
|
|
95447
|
+
class QuaraTypeDictItem(AbstractModel):
|
|
95448
|
+
r"""自定义隔离模式的告警类型字典条目(灰度规则系统下发)
|
|
95449
|
+
|
|
95450
|
+
"""
|
|
95451
|
+
|
|
95452
|
+
def __init__(self):
|
|
95453
|
+
r"""
|
|
95454
|
+
:param _Code: <p>告警类型标识,与 QuaraTypes 取值一致</p>
|
|
95455
|
+
:type Code: str
|
|
95456
|
+
:param _Name: <p>展示类型名</p>
|
|
95457
|
+
:type Name: str
|
|
95458
|
+
:param _Recommend: <p>是否推荐隔离</p>
|
|
95459
|
+
:type Recommend: bool
|
|
95460
|
+
:param _Desc: <p>描述和建议</p>
|
|
95461
|
+
:type Desc: str
|
|
95462
|
+
"""
|
|
95463
|
+
self._Code = None
|
|
95464
|
+
self._Name = None
|
|
95465
|
+
self._Recommend = None
|
|
95466
|
+
self._Desc = None
|
|
95467
|
+
|
|
95468
|
+
@property
|
|
95469
|
+
def Code(self):
|
|
95470
|
+
r"""<p>告警类型标识,与 QuaraTypes 取值一致</p>
|
|
95471
|
+
:rtype: str
|
|
95472
|
+
"""
|
|
95473
|
+
return self._Code
|
|
95474
|
+
|
|
95475
|
+
@Code.setter
|
|
95476
|
+
def Code(self, Code):
|
|
95477
|
+
self._Code = Code
|
|
95478
|
+
|
|
95479
|
+
@property
|
|
95480
|
+
def Name(self):
|
|
95481
|
+
r"""<p>展示类型名</p>
|
|
95482
|
+
:rtype: str
|
|
95483
|
+
"""
|
|
95484
|
+
return self._Name
|
|
95485
|
+
|
|
95486
|
+
@Name.setter
|
|
95487
|
+
def Name(self, Name):
|
|
95488
|
+
self._Name = Name
|
|
95489
|
+
|
|
95490
|
+
@property
|
|
95491
|
+
def Recommend(self):
|
|
95492
|
+
r"""<p>是否推荐隔离</p>
|
|
95493
|
+
:rtype: bool
|
|
95494
|
+
"""
|
|
95495
|
+
return self._Recommend
|
|
95496
|
+
|
|
95497
|
+
@Recommend.setter
|
|
95498
|
+
def Recommend(self, Recommend):
|
|
95499
|
+
self._Recommend = Recommend
|
|
95500
|
+
|
|
95501
|
+
@property
|
|
95502
|
+
def Desc(self):
|
|
95503
|
+
r"""<p>描述和建议</p>
|
|
95504
|
+
:rtype: str
|
|
95505
|
+
"""
|
|
95506
|
+
return self._Desc
|
|
95507
|
+
|
|
95508
|
+
@Desc.setter
|
|
95509
|
+
def Desc(self, Desc):
|
|
95510
|
+
self._Desc = Desc
|
|
95511
|
+
|
|
95512
|
+
|
|
95513
|
+
def _deserialize(self, params):
|
|
95514
|
+
self._Code = params.get("Code")
|
|
95515
|
+
self._Name = params.get("Name")
|
|
95516
|
+
self._Recommend = params.get("Recommend")
|
|
95517
|
+
self._Desc = params.get("Desc")
|
|
95518
|
+
memeber_set = set(params.keys())
|
|
95519
|
+
for name, value in vars(self).items():
|
|
95520
|
+
property_name = name[1:]
|
|
95521
|
+
if property_name in memeber_set:
|
|
95522
|
+
memeber_set.remove(property_name)
|
|
95523
|
+
if len(memeber_set) > 0:
|
|
95524
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
95525
|
+
|
|
95526
|
+
|
|
95527
|
+
|
|
95397
95528
|
class RansomDefenseBackup(AbstractModel):
|
|
95398
95529
|
r"""主机快照备份列表
|
|
95399
95530
|
|
|
@@ -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.200
|
|
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.200
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Tydeww-1eaKITX-gg9_aaZcChLmwzjp9OdL9h8QoHK8,630
|
|
2
2
|
tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/cwp/v20180228/cwp_client.py,sha256=99tWcrEJqY_6xmageU5xC8cpGjn3xb_WqysVPfCkZ1w,492889
|
|
5
5
|
tencentcloud/cwp/v20180228/cwp_client_async.py,sha256=Bv_qTxY825CGfBuncvCyI7TJkCMfNxWHeTb5LofZNGM,330336
|
|
6
6
|
tencentcloud/cwp/v20180228/errorcodes.py,sha256=GGLopl1BdrhED3VJdN7OTgmr88O3OdihwPK-L0EGp78,4375
|
|
7
|
-
tencentcloud/cwp/v20180228/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_cwp-3.1.
|
|
9
|
-
tencentcloud_sdk_python_cwp-3.1.
|
|
10
|
-
tencentcloud_sdk_python_cwp-3.1.
|
|
11
|
-
tencentcloud_sdk_python_cwp-3.1.
|
|
7
|
+
tencentcloud/cwp/v20180228/models.py,sha256=576JbaxH8PbIBkW78QA4L0fRhj2VkyBXl0qYbORnrwo,3372919
|
|
8
|
+
tencentcloud_sdk_python_cwp-3.1.200.dist-info/METADATA,sha256=UDA_O_JVfutflDFAzhSRG4Vc0W67mf5ddmlnsRcngSo,1497
|
|
9
|
+
tencentcloud_sdk_python_cwp-3.1.200.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cwp-3.1.200.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cwp-3.1.200.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|