tencentcloud-sdk-python-cwp 3.0.1416__tar.gz → 3.0.1419__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.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/cwp/v20180228/models.py +212 -2
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1419/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1416/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/cwp/v20180228/cwp_client.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1416 → tencentcloud-sdk-python-cwp-3.0.1419}/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
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1419,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -13329,6 +13329,8 @@ class BashEventsInfoNew(AbstractModel):
|
|
|
13329
13329
|
:type MachineType: int
|
|
13330
13330
|
:param _DetectBy: 检测来源 0:bash日志 1:实时监控
|
|
13331
13331
|
:type DetectBy: int
|
|
13332
|
+
:param _BashCmdDecoded: 执行命令(解码后)
|
|
13333
|
+
:type BashCmdDecoded: str
|
|
13332
13334
|
"""
|
|
13333
13335
|
self._Id = None
|
|
13334
13336
|
self._Uuid = None
|
|
@@ -13357,6 +13359,7 @@ class BashEventsInfoNew(AbstractModel):
|
|
|
13357
13359
|
self._Pid = None
|
|
13358
13360
|
self._MachineType = None
|
|
13359
13361
|
self._DetectBy = None
|
|
13362
|
+
self._BashCmdDecoded = None
|
|
13360
13363
|
|
|
13361
13364
|
@property
|
|
13362
13365
|
def Id(self):
|
|
@@ -13655,6 +13658,17 @@ class BashEventsInfoNew(AbstractModel):
|
|
|
13655
13658
|
def DetectBy(self, DetectBy):
|
|
13656
13659
|
self._DetectBy = DetectBy
|
|
13657
13660
|
|
|
13661
|
+
@property
|
|
13662
|
+
def BashCmdDecoded(self):
|
|
13663
|
+
"""执行命令(解码后)
|
|
13664
|
+
:rtype: str
|
|
13665
|
+
"""
|
|
13666
|
+
return self._BashCmdDecoded
|
|
13667
|
+
|
|
13668
|
+
@BashCmdDecoded.setter
|
|
13669
|
+
def BashCmdDecoded(self, BashCmdDecoded):
|
|
13670
|
+
self._BashCmdDecoded = BashCmdDecoded
|
|
13671
|
+
|
|
13658
13672
|
|
|
13659
13673
|
def _deserialize(self, params):
|
|
13660
13674
|
self._Id = params.get("Id")
|
|
@@ -13684,6 +13698,7 @@ class BashEventsInfoNew(AbstractModel):
|
|
|
13684
13698
|
self._Pid = params.get("Pid")
|
|
13685
13699
|
self._MachineType = params.get("MachineType")
|
|
13686
13700
|
self._DetectBy = params.get("DetectBy")
|
|
13701
|
+
self._BashCmdDecoded = params.get("BashCmdDecoded")
|
|
13687
13702
|
memeber_set = set(params.keys())
|
|
13688
13703
|
for name, value in vars(self).items():
|
|
13689
13704
|
property_name = name[1:]
|
|
@@ -46269,6 +46284,12 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
46269
46284
|
:type ProtectMode: int
|
|
46270
46285
|
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
|
46271
46286
|
:type ProtectFileScope: int
|
|
46287
|
+
:param _DoClean: 执行清理开关 0未开启 1开启
|
|
46288
|
+
:type DoClean: int
|
|
46289
|
+
:param _QuaraUuids: 自选的隔离主机集合
|
|
46290
|
+
:type QuaraUuids: list of str
|
|
46291
|
+
:param _QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
|
|
46292
|
+
:type QuaraScope: int
|
|
46272
46293
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
46273
46294
|
:type RequestId: str
|
|
46274
46295
|
"""
|
|
@@ -46290,6 +46311,9 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
46290
46311
|
self._EnableMemShellScan = None
|
|
46291
46312
|
self._ProtectMode = None
|
|
46292
46313
|
self._ProtectFileScope = None
|
|
46314
|
+
self._DoClean = None
|
|
46315
|
+
self._QuaraUuids = None
|
|
46316
|
+
self._QuaraScope = None
|
|
46293
46317
|
self._RequestId = None
|
|
46294
46318
|
|
|
46295
46319
|
@property
|
|
@@ -46490,6 +46514,39 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
46490
46514
|
def ProtectFileScope(self, ProtectFileScope):
|
|
46491
46515
|
self._ProtectFileScope = ProtectFileScope
|
|
46492
46516
|
|
|
46517
|
+
@property
|
|
46518
|
+
def DoClean(self):
|
|
46519
|
+
"""执行清理开关 0未开启 1开启
|
|
46520
|
+
:rtype: int
|
|
46521
|
+
"""
|
|
46522
|
+
return self._DoClean
|
|
46523
|
+
|
|
46524
|
+
@DoClean.setter
|
|
46525
|
+
def DoClean(self, DoClean):
|
|
46526
|
+
self._DoClean = DoClean
|
|
46527
|
+
|
|
46528
|
+
@property
|
|
46529
|
+
def QuaraUuids(self):
|
|
46530
|
+
"""自选的隔离主机集合
|
|
46531
|
+
:rtype: list of str
|
|
46532
|
+
"""
|
|
46533
|
+
return self._QuaraUuids
|
|
46534
|
+
|
|
46535
|
+
@QuaraUuids.setter
|
|
46536
|
+
def QuaraUuids(self, QuaraUuids):
|
|
46537
|
+
self._QuaraUuids = QuaraUuids
|
|
46538
|
+
|
|
46539
|
+
@property
|
|
46540
|
+
def QuaraScope(self):
|
|
46541
|
+
"""用户选择的隔离范围,0:默认全隔离 1:用户自选
|
|
46542
|
+
:rtype: int
|
|
46543
|
+
"""
|
|
46544
|
+
return self._QuaraScope
|
|
46545
|
+
|
|
46546
|
+
@QuaraScope.setter
|
|
46547
|
+
def QuaraScope(self, QuaraScope):
|
|
46548
|
+
self._QuaraScope = QuaraScope
|
|
46549
|
+
|
|
46493
46550
|
@property
|
|
46494
46551
|
def RequestId(self):
|
|
46495
46552
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -46521,6 +46578,9 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
46521
46578
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
|
46522
46579
|
self._ProtectMode = params.get("ProtectMode")
|
|
46523
46580
|
self._ProtectFileScope = params.get("ProtectFileScope")
|
|
46581
|
+
self._DoClean = params.get("DoClean")
|
|
46582
|
+
self._QuaraUuids = params.get("QuaraUuids")
|
|
46583
|
+
self._QuaraScope = params.get("QuaraScope")
|
|
46524
46584
|
self._RequestId = params.get("RequestId")
|
|
46525
46585
|
|
|
46526
46586
|
|
|
@@ -58964,8 +59024,11 @@ class DescribeVulInfoCvssRequest(AbstractModel):
|
|
|
58964
59024
|
r"""
|
|
58965
59025
|
:param _VulId: 漏洞id
|
|
58966
59026
|
:type VulId: int
|
|
59027
|
+
:param _Source: 兼容应用防护漏洞防御容器视角告警里漏洞详情,默认是主机视角,可选字段,Source=tcss则为容器视角漏洞详情,后端会把VulId转为主机vul_vuls里的VulId
|
|
59028
|
+
:type Source: str
|
|
58967
59029
|
"""
|
|
58968
59030
|
self._VulId = None
|
|
59031
|
+
self._Source = None
|
|
58969
59032
|
|
|
58970
59033
|
@property
|
|
58971
59034
|
def VulId(self):
|
|
@@ -58978,9 +59041,21 @@ class DescribeVulInfoCvssRequest(AbstractModel):
|
|
|
58978
59041
|
def VulId(self, VulId):
|
|
58979
59042
|
self._VulId = VulId
|
|
58980
59043
|
|
|
59044
|
+
@property
|
|
59045
|
+
def Source(self):
|
|
59046
|
+
"""兼容应用防护漏洞防御容器视角告警里漏洞详情,默认是主机视角,可选字段,Source=tcss则为容器视角漏洞详情,后端会把VulId转为主机vul_vuls里的VulId
|
|
59047
|
+
:rtype: str
|
|
59048
|
+
"""
|
|
59049
|
+
return self._Source
|
|
59050
|
+
|
|
59051
|
+
@Source.setter
|
|
59052
|
+
def Source(self, Source):
|
|
59053
|
+
self._Source = Source
|
|
59054
|
+
|
|
58981
59055
|
|
|
58982
59056
|
def _deserialize(self, params):
|
|
58983
59057
|
self._VulId = params.get("VulId")
|
|
59058
|
+
self._Source = params.get("Source")
|
|
58984
59059
|
memeber_set = set(params.keys())
|
|
58985
59060
|
for name, value in vars(self).items():
|
|
58986
59061
|
property_name = name[1:]
|
|
@@ -78620,6 +78695,10 @@ class MalWareList(AbstractModel):
|
|
|
78620
78695
|
:type MD5: str
|
|
78621
78696
|
:param _MachineExtraInfo: 附加信息
|
|
78622
78697
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
|
78698
|
+
:param _DoClean: 是否可以清理
|
|
78699
|
+
:type DoClean: bool
|
|
78700
|
+
:param _FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
|
|
78701
|
+
:type FirstDetectionMethod: int
|
|
78623
78702
|
"""
|
|
78624
78703
|
self._HostIp = None
|
|
78625
78704
|
self._Uuid = None
|
|
@@ -78640,6 +78719,8 @@ class MalWareList(AbstractModel):
|
|
|
78640
78719
|
self._Quuid = None
|
|
78641
78720
|
self._MD5 = None
|
|
78642
78721
|
self._MachineExtraInfo = None
|
|
78722
|
+
self._DoClean = None
|
|
78723
|
+
self._FirstDetectionMethod = None
|
|
78643
78724
|
|
|
78644
78725
|
@property
|
|
78645
78726
|
def HostIp(self):
|
|
@@ -78850,6 +78931,28 @@ class MalWareList(AbstractModel):
|
|
|
78850
78931
|
def MachineExtraInfo(self, MachineExtraInfo):
|
|
78851
78932
|
self._MachineExtraInfo = MachineExtraInfo
|
|
78852
78933
|
|
|
78934
|
+
@property
|
|
78935
|
+
def DoClean(self):
|
|
78936
|
+
"""是否可以清理
|
|
78937
|
+
:rtype: bool
|
|
78938
|
+
"""
|
|
78939
|
+
return self._DoClean
|
|
78940
|
+
|
|
78941
|
+
@DoClean.setter
|
|
78942
|
+
def DoClean(self, DoClean):
|
|
78943
|
+
self._DoClean = DoClean
|
|
78944
|
+
|
|
78945
|
+
@property
|
|
78946
|
+
def FirstDetectionMethod(self):
|
|
78947
|
+
"""首次检出方式 0扫描;1实时监控
|
|
78948
|
+
:rtype: int
|
|
78949
|
+
"""
|
|
78950
|
+
return self._FirstDetectionMethod
|
|
78951
|
+
|
|
78952
|
+
@FirstDetectionMethod.setter
|
|
78953
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
|
78954
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
|
78955
|
+
|
|
78853
78956
|
|
|
78854
78957
|
def _deserialize(self, params):
|
|
78855
78958
|
self._HostIp = params.get("HostIp")
|
|
@@ -78873,6 +78976,8 @@ class MalWareList(AbstractModel):
|
|
|
78873
78976
|
if params.get("MachineExtraInfo") is not None:
|
|
78874
78977
|
self._MachineExtraInfo = MachineExtraInfo()
|
|
78875
78978
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
78979
|
+
self._DoClean = params.get("DoClean")
|
|
78980
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
|
78876
78981
|
memeber_set = set(params.keys())
|
|
78877
78982
|
for name, value in vars(self).items():
|
|
78878
78983
|
property_name = name[1:]
|
|
@@ -79052,6 +79157,8 @@ class MalwareInfo(AbstractModel):
|
|
|
79052
79157
|
:type FileExists: bool
|
|
79053
79158
|
:param _ProcessExists: 木马进程是否存在
|
|
79054
79159
|
:type ProcessExists: bool
|
|
79160
|
+
:param _FirstDetectionMethod: 首次检出方式0扫描;1实时监控
|
|
79161
|
+
:type FirstDetectionMethod: int
|
|
79055
79162
|
"""
|
|
79056
79163
|
self._VirusName = None
|
|
79057
79164
|
self._FileSize = None
|
|
@@ -79086,6 +79193,7 @@ class MalwareInfo(AbstractModel):
|
|
|
79086
79193
|
self._References = None
|
|
79087
79194
|
self._FileExists = None
|
|
79088
79195
|
self._ProcessExists = None
|
|
79196
|
+
self._FirstDetectionMethod = None
|
|
79089
79197
|
|
|
79090
79198
|
@property
|
|
79091
79199
|
def VirusName(self):
|
|
@@ -79450,6 +79558,17 @@ class MalwareInfo(AbstractModel):
|
|
|
79450
79558
|
def ProcessExists(self, ProcessExists):
|
|
79451
79559
|
self._ProcessExists = ProcessExists
|
|
79452
79560
|
|
|
79561
|
+
@property
|
|
79562
|
+
def FirstDetectionMethod(self):
|
|
79563
|
+
"""首次检出方式0扫描;1实时监控
|
|
79564
|
+
:rtype: int
|
|
79565
|
+
"""
|
|
79566
|
+
return self._FirstDetectionMethod
|
|
79567
|
+
|
|
79568
|
+
@FirstDetectionMethod.setter
|
|
79569
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
|
79570
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
|
79571
|
+
|
|
79453
79572
|
|
|
79454
79573
|
def _deserialize(self, params):
|
|
79455
79574
|
self._VirusName = params.get("VirusName")
|
|
@@ -79487,6 +79606,7 @@ class MalwareInfo(AbstractModel):
|
|
|
79487
79606
|
self._References = params.get("References")
|
|
79488
79607
|
self._FileExists = params.get("FileExists")
|
|
79489
79608
|
self._ProcessExists = params.get("ProcessExists")
|
|
79609
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
|
79490
79610
|
memeber_set = set(params.keys())
|
|
79491
79611
|
for name, value in vars(self).items():
|
|
79492
79612
|
property_name = name[1:]
|
|
@@ -83498,6 +83618,10 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
83498
83618
|
:type ProtectMode: int
|
|
83499
83619
|
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
|
83500
83620
|
:type ProtectFileScope: int
|
|
83621
|
+
:param _QuaraUuids: 自选的隔离主机集合
|
|
83622
|
+
:type QuaraUuids: list of str
|
|
83623
|
+
:param _QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
|
|
83624
|
+
:type QuaraScope: int
|
|
83501
83625
|
"""
|
|
83502
83626
|
self._CheckPattern = None
|
|
83503
83627
|
self._StartTime = None
|
|
@@ -83516,6 +83640,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
83516
83640
|
self._EnableMemShellScan = None
|
|
83517
83641
|
self._ProtectMode = None
|
|
83518
83642
|
self._ProtectFileScope = None
|
|
83643
|
+
self._QuaraUuids = None
|
|
83644
|
+
self._QuaraScope = None
|
|
83519
83645
|
|
|
83520
83646
|
@property
|
|
83521
83647
|
def CheckPattern(self):
|
|
@@ -83705,6 +83831,28 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
83705
83831
|
def ProtectFileScope(self, ProtectFileScope):
|
|
83706
83832
|
self._ProtectFileScope = ProtectFileScope
|
|
83707
83833
|
|
|
83834
|
+
@property
|
|
83835
|
+
def QuaraUuids(self):
|
|
83836
|
+
"""自选的隔离主机集合
|
|
83837
|
+
:rtype: list of str
|
|
83838
|
+
"""
|
|
83839
|
+
return self._QuaraUuids
|
|
83840
|
+
|
|
83841
|
+
@QuaraUuids.setter
|
|
83842
|
+
def QuaraUuids(self, QuaraUuids):
|
|
83843
|
+
self._QuaraUuids = QuaraUuids
|
|
83844
|
+
|
|
83845
|
+
@property
|
|
83846
|
+
def QuaraScope(self):
|
|
83847
|
+
"""用户选择的隔离范围,0:默认全隔离 1:用户自选
|
|
83848
|
+
:rtype: int
|
|
83849
|
+
"""
|
|
83850
|
+
return self._QuaraScope
|
|
83851
|
+
|
|
83852
|
+
@QuaraScope.setter
|
|
83853
|
+
def QuaraScope(self, QuaraScope):
|
|
83854
|
+
self._QuaraScope = QuaraScope
|
|
83855
|
+
|
|
83708
83856
|
|
|
83709
83857
|
def _deserialize(self, params):
|
|
83710
83858
|
self._CheckPattern = params.get("CheckPattern")
|
|
@@ -83724,6 +83872,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
83724
83872
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
|
83725
83873
|
self._ProtectMode = params.get("ProtectMode")
|
|
83726
83874
|
self._ProtectFileScope = params.get("ProtectFileScope")
|
|
83875
|
+
self._QuaraUuids = params.get("QuaraUuids")
|
|
83876
|
+
self._QuaraScope = params.get("QuaraScope")
|
|
83727
83877
|
memeber_set = set(params.keys())
|
|
83728
83878
|
for name, value in vars(self).items():
|
|
83729
83879
|
property_name = name[1:]
|
|
@@ -95246,6 +95396,8 @@ class RiskProcessEvent(AbstractModel):
|
|
|
95246
95396
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
|
95247
95397
|
:param _Uuid: 主机uuid
|
|
95248
95398
|
:type Uuid: str
|
|
95399
|
+
:param _FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
|
|
95400
|
+
:type FirstDetectionMethod: int
|
|
95249
95401
|
"""
|
|
95250
95402
|
self._EventId = None
|
|
95251
95403
|
self._HostName = None
|
|
@@ -95266,6 +95418,7 @@ class RiskProcessEvent(AbstractModel):
|
|
|
95266
95418
|
self._OnlineStatus = None
|
|
95267
95419
|
self._MachineExtraInfo = None
|
|
95268
95420
|
self._Uuid = None
|
|
95421
|
+
self._FirstDetectionMethod = None
|
|
95269
95422
|
|
|
95270
95423
|
@property
|
|
95271
95424
|
def EventId(self):
|
|
@@ -95476,6 +95629,17 @@ class RiskProcessEvent(AbstractModel):
|
|
|
95476
95629
|
def Uuid(self, Uuid):
|
|
95477
95630
|
self._Uuid = Uuid
|
|
95478
95631
|
|
|
95632
|
+
@property
|
|
95633
|
+
def FirstDetectionMethod(self):
|
|
95634
|
+
"""首次检出方式 0扫描;1实时监控
|
|
95635
|
+
:rtype: int
|
|
95636
|
+
"""
|
|
95637
|
+
return self._FirstDetectionMethod
|
|
95638
|
+
|
|
95639
|
+
@FirstDetectionMethod.setter
|
|
95640
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
|
95641
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
|
95642
|
+
|
|
95479
95643
|
|
|
95480
95644
|
def _deserialize(self, params):
|
|
95481
95645
|
self._EventId = params.get("EventId")
|
|
@@ -95499,6 +95663,7 @@ class RiskProcessEvent(AbstractModel):
|
|
|
95499
95663
|
self._MachineExtraInfo = MachineExtraInfo()
|
|
95500
95664
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
95501
95665
|
self._Uuid = params.get("Uuid")
|
|
95666
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
|
95502
95667
|
memeber_set = set(params.keys())
|
|
95503
95668
|
for name, value in vars(self).items():
|
|
95504
95669
|
property_name = name[1:]
|
|
@@ -96430,10 +96595,16 @@ class ScanVulResponse(AbstractModel):
|
|
|
96430
96595
|
r"""
|
|
96431
96596
|
:param _TaskId: 任务id
|
|
96432
96597
|
:type TaskId: int
|
|
96598
|
+
:param _BasicVersionCount: 自选主机里面包含基础版个数
|
|
96599
|
+
:type BasicVersionCount: int
|
|
96600
|
+
:param _SuccessCount: 创建扫描任务机器个数
|
|
96601
|
+
:type SuccessCount: int
|
|
96433
96602
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
96434
96603
|
:type RequestId: str
|
|
96435
96604
|
"""
|
|
96436
96605
|
self._TaskId = None
|
|
96606
|
+
self._BasicVersionCount = None
|
|
96607
|
+
self._SuccessCount = None
|
|
96437
96608
|
self._RequestId = None
|
|
96438
96609
|
|
|
96439
96610
|
@property
|
|
@@ -96447,6 +96618,28 @@ class ScanVulResponse(AbstractModel):
|
|
|
96447
96618
|
def TaskId(self, TaskId):
|
|
96448
96619
|
self._TaskId = TaskId
|
|
96449
96620
|
|
|
96621
|
+
@property
|
|
96622
|
+
def BasicVersionCount(self):
|
|
96623
|
+
"""自选主机里面包含基础版个数
|
|
96624
|
+
:rtype: int
|
|
96625
|
+
"""
|
|
96626
|
+
return self._BasicVersionCount
|
|
96627
|
+
|
|
96628
|
+
@BasicVersionCount.setter
|
|
96629
|
+
def BasicVersionCount(self, BasicVersionCount):
|
|
96630
|
+
self._BasicVersionCount = BasicVersionCount
|
|
96631
|
+
|
|
96632
|
+
@property
|
|
96633
|
+
def SuccessCount(self):
|
|
96634
|
+
"""创建扫描任务机器个数
|
|
96635
|
+
:rtype: int
|
|
96636
|
+
"""
|
|
96637
|
+
return self._SuccessCount
|
|
96638
|
+
|
|
96639
|
+
@SuccessCount.setter
|
|
96640
|
+
def SuccessCount(self, SuccessCount):
|
|
96641
|
+
self._SuccessCount = SuccessCount
|
|
96642
|
+
|
|
96450
96643
|
@property
|
|
96451
96644
|
def RequestId(self):
|
|
96452
96645
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -96461,6 +96654,8 @@ class ScanVulResponse(AbstractModel):
|
|
|
96461
96654
|
|
|
96462
96655
|
def _deserialize(self, params):
|
|
96463
96656
|
self._TaskId = params.get("TaskId")
|
|
96657
|
+
self._BasicVersionCount = params.get("BasicVersionCount")
|
|
96658
|
+
self._SuccessCount = params.get("SuccessCount")
|
|
96464
96659
|
self._RequestId = params.get("RequestId")
|
|
96465
96660
|
|
|
96466
96661
|
|
|
@@ -105957,7 +106152,7 @@ class WarningObject(AbstractModel):
|
|
|
105957
106152
|
|
|
105958
106153
|
def __init__(self):
|
|
105959
106154
|
r"""
|
|
105960
|
-
:param _Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6
|
|
106155
|
+
:param _Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
|
|
105961
106156
|
:type Type: int
|
|
105962
106157
|
:param _DisablePhoneWarning: 1: 关闭告警 0: 开启告警
|
|
105963
106158
|
:type DisablePhoneWarning: int
|
|
@@ -105969,6 +106164,8 @@ class WarningObject(AbstractModel):
|
|
|
105969
106164
|
:type ControlBits: str
|
|
105970
106165
|
:param _HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
|
|
105971
106166
|
:type HostRange: int
|
|
106167
|
+
:param _Unit: 单位
|
|
106168
|
+
:type Unit: str
|
|
105972
106169
|
"""
|
|
105973
106170
|
self._Type = None
|
|
105974
106171
|
self._DisablePhoneWarning = None
|
|
@@ -105976,10 +106173,11 @@ class WarningObject(AbstractModel):
|
|
|
105976
106173
|
self._EndTime = None
|
|
105977
106174
|
self._ControlBits = None
|
|
105978
106175
|
self._HostRange = None
|
|
106176
|
+
self._Unit = None
|
|
105979
106177
|
|
|
105980
106178
|
@property
|
|
105981
106179
|
def Type(self):
|
|
105982
|
-
"""事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6
|
|
106180
|
+
"""事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
|
|
105983
106181
|
:rtype: int
|
|
105984
106182
|
"""
|
|
105985
106183
|
return self._Type
|
|
@@ -106043,6 +106241,17 @@ class WarningObject(AbstractModel):
|
|
|
106043
106241
|
def HostRange(self, HostRange):
|
|
106044
106242
|
self._HostRange = HostRange
|
|
106045
106243
|
|
|
106244
|
+
@property
|
|
106245
|
+
def Unit(self):
|
|
106246
|
+
"""单位
|
|
106247
|
+
:rtype: str
|
|
106248
|
+
"""
|
|
106249
|
+
return self._Unit
|
|
106250
|
+
|
|
106251
|
+
@Unit.setter
|
|
106252
|
+
def Unit(self, Unit):
|
|
106253
|
+
self._Unit = Unit
|
|
106254
|
+
|
|
106046
106255
|
|
|
106047
106256
|
def _deserialize(self, params):
|
|
106048
106257
|
self._Type = params.get("Type")
|
|
@@ -106051,6 +106260,7 @@ class WarningObject(AbstractModel):
|
|
|
106051
106260
|
self._EndTime = params.get("EndTime")
|
|
106052
106261
|
self._ControlBits = params.get("ControlBits")
|
|
106053
106262
|
self._HostRange = params.get("HostRange")
|
|
106263
|
+
self._Unit = params.get("Unit")
|
|
106054
106264
|
memeber_set = set(params.keys())
|
|
106055
106265
|
for name, value in vars(self).items():
|
|
106056
106266
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1419
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1416
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|