tencentcloud-sdk-python-cwp 3.0.1216__tar.gz → 3.0.1220__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.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/cwp/v20180228/models.py +84 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1220/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1216/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/cwp/v20180228/cwp_client.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1216 → tencentcloud-sdk-python-cwp-3.0.1220}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1220"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -15382,6 +15382,8 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15382
15382
|
:type Md5List: list of str
|
|
15383
15383
|
:param _EventId: 木马事件ID
|
|
15384
15384
|
:type EventId: int
|
|
15385
|
+
:param _IsHandleHistoryEvents: 对历史待处理执行加白操作;0是不处理,1是处理
|
|
15386
|
+
:type IsHandleHistoryEvents: int
|
|
15385
15387
|
"""
|
|
15386
15388
|
self._Mode = None
|
|
15387
15389
|
self._QuuidList = None
|
|
@@ -15392,6 +15394,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15392
15394
|
self._FileExtension = None
|
|
15393
15395
|
self._Md5List = None
|
|
15394
15396
|
self._EventId = None
|
|
15397
|
+
self._IsHandleHistoryEvents = None
|
|
15395
15398
|
|
|
15396
15399
|
@property
|
|
15397
15400
|
def Mode(self):
|
|
@@ -15465,6 +15468,14 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15465
15468
|
def EventId(self, EventId):
|
|
15466
15469
|
self._EventId = EventId
|
|
15467
15470
|
|
|
15471
|
+
@property
|
|
15472
|
+
def IsHandleHistoryEvents(self):
|
|
15473
|
+
return self._IsHandleHistoryEvents
|
|
15474
|
+
|
|
15475
|
+
@IsHandleHistoryEvents.setter
|
|
15476
|
+
def IsHandleHistoryEvents(self, IsHandleHistoryEvents):
|
|
15477
|
+
self._IsHandleHistoryEvents = IsHandleHistoryEvents
|
|
15478
|
+
|
|
15468
15479
|
|
|
15469
15480
|
def _deserialize(self, params):
|
|
15470
15481
|
self._Mode = params.get("Mode")
|
|
@@ -15476,6 +15487,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15476
15487
|
self._FileExtension = params.get("FileExtension")
|
|
15477
15488
|
self._Md5List = params.get("Md5List")
|
|
15478
15489
|
self._EventId = params.get("EventId")
|
|
15490
|
+
self._IsHandleHistoryEvents = params.get("IsHandleHistoryEvents")
|
|
15479
15491
|
memeber_set = set(params.keys())
|
|
15480
15492
|
for name, value in vars(self).items():
|
|
15481
15493
|
property_name = name[1:]
|
|
@@ -45673,6 +45685,8 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45673
45685
|
:type ClickTimeout: int
|
|
45674
45686
|
:param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
|
|
45675
45687
|
:type Uuids: list of str
|
|
45688
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
45689
|
+
:type ScanMethod: int
|
|
45676
45690
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
45677
45691
|
:type RequestId: str
|
|
45678
45692
|
"""
|
|
@@ -45686,6 +45700,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45686
45700
|
self._EndTime = None
|
|
45687
45701
|
self._ClickTimeout = None
|
|
45688
45702
|
self._Uuids = None
|
|
45703
|
+
self._ScanMethod = None
|
|
45689
45704
|
self._RequestId = None
|
|
45690
45705
|
|
|
45691
45706
|
@property
|
|
@@ -45768,6 +45783,14 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45768
45783
|
def Uuids(self, Uuids):
|
|
45769
45784
|
self._Uuids = Uuids
|
|
45770
45785
|
|
|
45786
|
+
@property
|
|
45787
|
+
def ScanMethod(self):
|
|
45788
|
+
return self._ScanMethod
|
|
45789
|
+
|
|
45790
|
+
@ScanMethod.setter
|
|
45791
|
+
def ScanMethod(self, ScanMethod):
|
|
45792
|
+
self._ScanMethod = ScanMethod
|
|
45793
|
+
|
|
45771
45794
|
@property
|
|
45772
45795
|
def RequestId(self):
|
|
45773
45796
|
return self._RequestId
|
|
@@ -45788,6 +45811,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45788
45811
|
self._EndTime = params.get("EndTime")
|
|
45789
45812
|
self._ClickTimeout = params.get("ClickTimeout")
|
|
45790
45813
|
self._Uuids = params.get("Uuids")
|
|
45814
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
45791
45815
|
self._RequestId = params.get("RequestId")
|
|
45792
45816
|
|
|
45793
45817
|
|
|
@@ -52063,6 +52087,8 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52063
52087
|
:param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
|
|
52064
52088
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52065
52089
|
:type ItemLabelIds: list of str
|
|
52090
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
52091
|
+
:type ExcludedQuuids: list of str
|
|
52066
52092
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
52067
52093
|
:type RequestId: str
|
|
52068
52094
|
"""
|
|
@@ -52071,6 +52097,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52071
52097
|
self._Quuids = None
|
|
52072
52098
|
self._TotalCount = None
|
|
52073
52099
|
self._ItemLabelIds = None
|
|
52100
|
+
self._ExcludedQuuids = None
|
|
52074
52101
|
self._RequestId = None
|
|
52075
52102
|
|
|
52076
52103
|
@property
|
|
@@ -52113,6 +52140,14 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52113
52140
|
def ItemLabelIds(self, ItemLabelIds):
|
|
52114
52141
|
self._ItemLabelIds = ItemLabelIds
|
|
52115
52142
|
|
|
52143
|
+
@property
|
|
52144
|
+
def ExcludedQuuids(self):
|
|
52145
|
+
return self._ExcludedQuuids
|
|
52146
|
+
|
|
52147
|
+
@ExcludedQuuids.setter
|
|
52148
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
52149
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
52150
|
+
|
|
52116
52151
|
@property
|
|
52117
52152
|
def RequestId(self):
|
|
52118
52153
|
return self._RequestId
|
|
@@ -52128,6 +52163,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52128
52163
|
self._Quuids = params.get("Quuids")
|
|
52129
52164
|
self._TotalCount = params.get("TotalCount")
|
|
52130
52165
|
self._ItemLabelIds = params.get("ItemLabelIds")
|
|
52166
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
52131
52167
|
self._RequestId = params.get("RequestId")
|
|
52132
52168
|
|
|
52133
52169
|
|
|
@@ -72969,12 +73005,15 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
72969
73005
|
:type Quuids: list of str
|
|
72970
73006
|
:param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
|
|
72971
73007
|
:type ItemLabelIds: list of str
|
|
73008
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
73009
|
+
:type ExcludedQuuids: list of str
|
|
72972
73010
|
"""
|
|
72973
73011
|
self._Type = None
|
|
72974
73012
|
self._HostRange = None
|
|
72975
73013
|
self._ItemLabels = None
|
|
72976
73014
|
self._Quuids = None
|
|
72977
73015
|
self._ItemLabelIds = None
|
|
73016
|
+
self._ExcludedQuuids = None
|
|
72978
73017
|
|
|
72979
73018
|
@property
|
|
72980
73019
|
def Type(self):
|
|
@@ -73016,6 +73055,14 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
73016
73055
|
def ItemLabelIds(self, ItemLabelIds):
|
|
73017
73056
|
self._ItemLabelIds = ItemLabelIds
|
|
73018
73057
|
|
|
73058
|
+
@property
|
|
73059
|
+
def ExcludedQuuids(self):
|
|
73060
|
+
return self._ExcludedQuuids
|
|
73061
|
+
|
|
73062
|
+
@ExcludedQuuids.setter
|
|
73063
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
73064
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
73065
|
+
|
|
73019
73066
|
|
|
73020
73067
|
def _deserialize(self, params):
|
|
73021
73068
|
self._Type = params.get("Type")
|
|
@@ -73023,6 +73070,7 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
73023
73070
|
self._ItemLabels = params.get("ItemLabels")
|
|
73024
73071
|
self._Quuids = params.get("Quuids")
|
|
73025
73072
|
self._ItemLabelIds = params.get("ItemLabelIds")
|
|
73073
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
73026
73074
|
memeber_set = set(params.keys())
|
|
73027
73075
|
for name, value in vars(self).items():
|
|
73028
73076
|
property_name = name[1:]
|
|
@@ -73146,6 +73194,8 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73146
73194
|
:type IsDisabled: int
|
|
73147
73195
|
:param _Quuids: 主机列表
|
|
73148
73196
|
:type Quuids: list of str
|
|
73197
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
73198
|
+
:type ExcludedQuuids: list of str
|
|
73149
73199
|
"""
|
|
73150
73200
|
self._Id = None
|
|
73151
73201
|
self._Name = None
|
|
@@ -73156,6 +73206,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73156
73206
|
self._CustomFields = None
|
|
73157
73207
|
self._IsDisabled = None
|
|
73158
73208
|
self._Quuids = None
|
|
73209
|
+
self._ExcludedQuuids = None
|
|
73159
73210
|
|
|
73160
73211
|
@property
|
|
73161
73212
|
def Id(self):
|
|
@@ -73229,6 +73280,14 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73229
73280
|
def Quuids(self, Quuids):
|
|
73230
73281
|
self._Quuids = Quuids
|
|
73231
73282
|
|
|
73283
|
+
@property
|
|
73284
|
+
def ExcludedQuuids(self):
|
|
73285
|
+
return self._ExcludedQuuids
|
|
73286
|
+
|
|
73287
|
+
@ExcludedQuuids.setter
|
|
73288
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
73289
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
73290
|
+
|
|
73232
73291
|
|
|
73233
73292
|
def _deserialize(self, params):
|
|
73234
73293
|
self._Id = params.get("Id")
|
|
@@ -73260,6 +73319,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73260
73319
|
self._CustomFields.append(obj)
|
|
73261
73320
|
self._IsDisabled = params.get("IsDisabled")
|
|
73262
73321
|
self._Quuids = params.get("Quuids")
|
|
73322
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
73263
73323
|
memeber_set = set(params.keys())
|
|
73264
73324
|
for name, value in vars(self).items():
|
|
73265
73325
|
property_name = name[1:]
|
|
@@ -81524,6 +81584,8 @@ class ScanVulRequest(AbstractModel):
|
|
|
81524
81584
|
:type TimeoutPeriod: int
|
|
81525
81585
|
:param _VulIds: 需要扫描的漏洞id
|
|
81526
81586
|
:type VulIds: list of int non-negative
|
|
81587
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
81588
|
+
:type ScanMethod: int
|
|
81527
81589
|
"""
|
|
81528
81590
|
self._VulLevels = None
|
|
81529
81591
|
self._HostType = None
|
|
@@ -81532,6 +81594,7 @@ class ScanVulRequest(AbstractModel):
|
|
|
81532
81594
|
self._VulEmergency = None
|
|
81533
81595
|
self._TimeoutPeriod = None
|
|
81534
81596
|
self._VulIds = None
|
|
81597
|
+
self._ScanMethod = None
|
|
81535
81598
|
|
|
81536
81599
|
@property
|
|
81537
81600
|
def VulLevels(self):
|
|
@@ -81589,6 +81652,14 @@ class ScanVulRequest(AbstractModel):
|
|
|
81589
81652
|
def VulIds(self, VulIds):
|
|
81590
81653
|
self._VulIds = VulIds
|
|
81591
81654
|
|
|
81655
|
+
@property
|
|
81656
|
+
def ScanMethod(self):
|
|
81657
|
+
return self._ScanMethod
|
|
81658
|
+
|
|
81659
|
+
@ScanMethod.setter
|
|
81660
|
+
def ScanMethod(self, ScanMethod):
|
|
81661
|
+
self._ScanMethod = ScanMethod
|
|
81662
|
+
|
|
81592
81663
|
|
|
81593
81664
|
def _deserialize(self, params):
|
|
81594
81665
|
self._VulLevels = params.get("VulLevels")
|
|
@@ -81598,6 +81669,7 @@ class ScanVulRequest(AbstractModel):
|
|
|
81598
81669
|
self._VulEmergency = params.get("VulEmergency")
|
|
81599
81670
|
self._TimeoutPeriod = params.get("TimeoutPeriod")
|
|
81600
81671
|
self._VulIds = params.get("VulIds")
|
|
81672
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
81601
81673
|
memeber_set = set(params.keys())
|
|
81602
81674
|
for name, value in vars(self).items():
|
|
81603
81675
|
property_name = name[1:]
|
|
@@ -81671,6 +81743,8 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81671
81743
|
:type EnableScan: int
|
|
81672
81744
|
:param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
|
|
81673
81745
|
:type Uuids: list of str
|
|
81746
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
81747
|
+
:type ScanMethod: int
|
|
81674
81748
|
"""
|
|
81675
81749
|
self._TimerInterval = None
|
|
81676
81750
|
self._VulCategories = None
|
|
@@ -81681,6 +81755,7 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81681
81755
|
self._EndTime = None
|
|
81682
81756
|
self._EnableScan = None
|
|
81683
81757
|
self._Uuids = None
|
|
81758
|
+
self._ScanMethod = None
|
|
81684
81759
|
|
|
81685
81760
|
@property
|
|
81686
81761
|
def TimerInterval(self):
|
|
@@ -81754,6 +81829,14 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81754
81829
|
def Uuids(self, Uuids):
|
|
81755
81830
|
self._Uuids = Uuids
|
|
81756
81831
|
|
|
81832
|
+
@property
|
|
81833
|
+
def ScanMethod(self):
|
|
81834
|
+
return self._ScanMethod
|
|
81835
|
+
|
|
81836
|
+
@ScanMethod.setter
|
|
81837
|
+
def ScanMethod(self, ScanMethod):
|
|
81838
|
+
self._ScanMethod = ScanMethod
|
|
81839
|
+
|
|
81757
81840
|
|
|
81758
81841
|
def _deserialize(self, params):
|
|
81759
81842
|
self._TimerInterval = params.get("TimerInterval")
|
|
@@ -81765,6 +81848,7 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81765
81848
|
self._EndTime = params.get("EndTime")
|
|
81766
81849
|
self._EnableScan = params.get("EnableScan")
|
|
81767
81850
|
self._Uuids = params.get("Uuids")
|
|
81851
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
81768
81852
|
memeber_set = set(params.keys())
|
|
81769
81853
|
for name, value in vars(self).items():
|
|
81770
81854
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1220
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1216
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|