tencentcloud-sdk-python-cwp 3.0.1207__tar.gz → 3.0.1238__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.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/cwp/v20180228/cwp_client.py +29 -2
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/cwp/v20180228/models.py +555 -27
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1238/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1207/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1207 → tencentcloud-sdk-python-cwp-3.0.1238}/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.1238"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -326,7 +326,9 @@ class CwpClient(AbstractClient):
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
def CreateCloudProtectServiceOrderRecord(self, request):
|
|
329
|
-
"""
|
|
329
|
+
"""云护航计费产品已下线
|
|
330
|
+
|
|
331
|
+
云护航服务使用完成后,该接口可以确认收货
|
|
330
332
|
|
|
331
333
|
:param request: Request instance for CreateCloudProtectServiceOrderRecord.
|
|
332
334
|
:type request: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordRequest`
|
|
@@ -4032,7 +4034,9 @@ class CwpClient(AbstractClient):
|
|
|
4032
4034
|
|
|
4033
4035
|
|
|
4034
4036
|
def DescribeCloudProtectServiceOrderList(self, request):
|
|
4035
|
-
"""
|
|
4037
|
+
"""云护航计费产品已下线
|
|
4038
|
+
|
|
4039
|
+
查询云护航服务订单列表
|
|
4036
4040
|
|
|
4037
4041
|
:param request: Request instance for DescribeCloudProtectServiceOrderList.
|
|
4038
4042
|
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListRequest`
|
|
@@ -10816,6 +10820,29 @@ class CwpClient(AbstractClient):
|
|
|
10816
10820
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
10817
10821
|
|
|
10818
10822
|
|
|
10823
|
+
def ModifyReverseShellRulesAggregation(self, request):
|
|
10824
|
+
"""编辑反弹Shell规则(支持多服务器选择)
|
|
10825
|
+
|
|
10826
|
+
:param request: Request instance for ModifyReverseShellRulesAggregation.
|
|
10827
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationRequest`
|
|
10828
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationResponse`
|
|
10829
|
+
|
|
10830
|
+
"""
|
|
10831
|
+
try:
|
|
10832
|
+
params = request._serialize()
|
|
10833
|
+
headers = request.headers
|
|
10834
|
+
body = self.call("ModifyReverseShellRulesAggregation", params, headers=headers)
|
|
10835
|
+
response = json.loads(body)
|
|
10836
|
+
model = models.ModifyReverseShellRulesAggregationResponse()
|
|
10837
|
+
model._deserialize(response["Response"])
|
|
10838
|
+
return model
|
|
10839
|
+
except Exception as e:
|
|
10840
|
+
if isinstance(e, TencentCloudSDKException):
|
|
10841
|
+
raise
|
|
10842
|
+
else:
|
|
10843
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
10844
|
+
|
|
10845
|
+
|
|
10819
10846
|
def ModifyRiskDnsPolicy(self, request):
|
|
10820
10847
|
"""更改恶意请求策略
|
|
10821
10848
|
|
|
@@ -11800,7 +11800,7 @@ class BashEventsInfoNew(AbstractModel):
|
|
|
11800
11800
|
|
|
11801
11801
|
|
|
11802
11802
|
class BashPolicy(AbstractModel):
|
|
11803
|
-
"""
|
|
11803
|
+
"""高危命令策略
|
|
11804
11804
|
|
|
11805
11805
|
"""
|
|
11806
11806
|
|
|
@@ -11814,7 +11814,7 @@ class BashPolicy(AbstractModel):
|
|
|
11814
11814
|
:type White: int
|
|
11815
11815
|
:param _BashAction: 0:告警 1:白名单 2:拦截
|
|
11816
11816
|
:type BashAction: int
|
|
11817
|
-
:param _Rule: 正则表达式
|
|
11817
|
+
:param _Rule: 正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine
|
|
11818
11818
|
:type Rule: str
|
|
11819
11819
|
:param _Level: 危险等级(0:无,1: 高危 2:中危 3: 低危)
|
|
11820
11820
|
:type Level: int
|
|
@@ -11842,6 +11842,9 @@ class BashPolicy(AbstractModel):
|
|
|
11842
11842
|
:type ModifyTime: str
|
|
11843
11843
|
:param _Uuids: 老版本兼容可能会用到
|
|
11844
11844
|
:type Uuids: list of str
|
|
11845
|
+
:param _Rules: 规则表达式
|
|
11846
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11847
|
+
:type Rules: :class:`tencentcloud.cwp.v20180228.models.PolicyRules`
|
|
11845
11848
|
"""
|
|
11846
11849
|
self._Name = None
|
|
11847
11850
|
self._Enable = None
|
|
@@ -11859,6 +11862,7 @@ class BashPolicy(AbstractModel):
|
|
|
11859
11862
|
self._CreateTime = None
|
|
11860
11863
|
self._ModifyTime = None
|
|
11861
11864
|
self._Uuids = None
|
|
11865
|
+
self._Rules = None
|
|
11862
11866
|
|
|
11863
11867
|
@property
|
|
11864
11868
|
def Name(self):
|
|
@@ -11988,6 +11992,14 @@ class BashPolicy(AbstractModel):
|
|
|
11988
11992
|
def Uuids(self, Uuids):
|
|
11989
11993
|
self._Uuids = Uuids
|
|
11990
11994
|
|
|
11995
|
+
@property
|
|
11996
|
+
def Rules(self):
|
|
11997
|
+
return self._Rules
|
|
11998
|
+
|
|
11999
|
+
@Rules.setter
|
|
12000
|
+
def Rules(self, Rules):
|
|
12001
|
+
self._Rules = Rules
|
|
12002
|
+
|
|
11991
12003
|
|
|
11992
12004
|
def _deserialize(self, params):
|
|
11993
12005
|
self._Name = params.get("Name")
|
|
@@ -12006,6 +12018,9 @@ class BashPolicy(AbstractModel):
|
|
|
12006
12018
|
self._CreateTime = params.get("CreateTime")
|
|
12007
12019
|
self._ModifyTime = params.get("ModifyTime")
|
|
12008
12020
|
self._Uuids = params.get("Uuids")
|
|
12021
|
+
if params.get("Rules") is not None:
|
|
12022
|
+
self._Rules = PolicyRules()
|
|
12023
|
+
self._Rules._deserialize(params.get("Rules"))
|
|
12009
12024
|
memeber_set = set(params.keys())
|
|
12010
12025
|
for name, value in vars(self).items():
|
|
12011
12026
|
property_name = name[1:]
|
|
@@ -13281,11 +13296,15 @@ class CanFixVulInfo(AbstractModel):
|
|
|
13281
13296
|
:param _FixTag: 修复提示tag
|
|
13282
13297
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13283
13298
|
:type FixTag: list of str
|
|
13299
|
+
:param _VulCategory: 漏洞分类1 web cms漏洞,2应用漏洞,4linux软件漏洞,5windows系统漏洞
|
|
13300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13301
|
+
:type VulCategory: int
|
|
13284
13302
|
"""
|
|
13285
13303
|
self._VulId = None
|
|
13286
13304
|
self._VulName = None
|
|
13287
13305
|
self._HostList = None
|
|
13288
13306
|
self._FixTag = None
|
|
13307
|
+
self._VulCategory = None
|
|
13289
13308
|
|
|
13290
13309
|
@property
|
|
13291
13310
|
def VulId(self):
|
|
@@ -13319,6 +13338,14 @@ class CanFixVulInfo(AbstractModel):
|
|
|
13319
13338
|
def FixTag(self, FixTag):
|
|
13320
13339
|
self._FixTag = FixTag
|
|
13321
13340
|
|
|
13341
|
+
@property
|
|
13342
|
+
def VulCategory(self):
|
|
13343
|
+
return self._VulCategory
|
|
13344
|
+
|
|
13345
|
+
@VulCategory.setter
|
|
13346
|
+
def VulCategory(self, VulCategory):
|
|
13347
|
+
self._VulCategory = VulCategory
|
|
13348
|
+
|
|
13322
13349
|
|
|
13323
13350
|
def _deserialize(self, params):
|
|
13324
13351
|
self._VulId = params.get("VulId")
|
|
@@ -13330,6 +13357,7 @@ class CanFixVulInfo(AbstractModel):
|
|
|
13330
13357
|
obj._deserialize(item)
|
|
13331
13358
|
self._HostList.append(obj)
|
|
13332
13359
|
self._FixTag = params.get("FixTag")
|
|
13360
|
+
self._VulCategory = params.get("VulCategory")
|
|
13333
13361
|
memeber_set = set(params.keys())
|
|
13334
13362
|
for name, value in vars(self).items():
|
|
13335
13363
|
property_name = name[1:]
|
|
@@ -13650,22 +13678,31 @@ class CheckBashPolicyParamsRequest(AbstractModel):
|
|
|
13650
13678
|
|
|
13651
13679
|
def __init__(self):
|
|
13652
13680
|
r"""
|
|
13653
|
-
:param _CheckField:
|
|
13681
|
+
:param _CheckField: 校验内容字段,如果需要检测多个字段时,用逗号分割
|
|
13682
|
+
<li>Name 策略名称</li>
|
|
13683
|
+
<li>Process 进程</li>
|
|
13684
|
+
<li>Name PProcess 父进程</li>
|
|
13685
|
+
<li>Name AProcess 祖先进程</li>
|
|
13686
|
+
|
|
13654
13687
|
:type CheckField: str
|
|
13655
13688
|
:param _EventId: 在事件列表中新增白名时需要提交事件ID
|
|
13656
13689
|
:type EventId: int
|
|
13657
13690
|
:param _Name: 填入的规则名称
|
|
13658
13691
|
:type Name: str
|
|
13659
|
-
:param _Rule:
|
|
13692
|
+
:param _Rule: 该字段不在维护,如果填入该参数,自动替换到Rules.Process
|
|
13693
|
+
|
|
13660
13694
|
:type Rule: str
|
|
13661
13695
|
:param _Id: 编辑时传的规则id
|
|
13662
13696
|
:type Id: int
|
|
13697
|
+
:param _Rules: 规则表达式
|
|
13698
|
+
:type Rules: :class:`tencentcloud.cwp.v20180228.models.PolicyRules`
|
|
13663
13699
|
"""
|
|
13664
13700
|
self._CheckField = None
|
|
13665
13701
|
self._EventId = None
|
|
13666
13702
|
self._Name = None
|
|
13667
13703
|
self._Rule = None
|
|
13668
13704
|
self._Id = None
|
|
13705
|
+
self._Rules = None
|
|
13669
13706
|
|
|
13670
13707
|
@property
|
|
13671
13708
|
def CheckField(self):
|
|
@@ -13707,6 +13744,14 @@ class CheckBashPolicyParamsRequest(AbstractModel):
|
|
|
13707
13744
|
def Id(self, Id):
|
|
13708
13745
|
self._Id = Id
|
|
13709
13746
|
|
|
13747
|
+
@property
|
|
13748
|
+
def Rules(self):
|
|
13749
|
+
return self._Rules
|
|
13750
|
+
|
|
13751
|
+
@Rules.setter
|
|
13752
|
+
def Rules(self, Rules):
|
|
13753
|
+
self._Rules = Rules
|
|
13754
|
+
|
|
13710
13755
|
|
|
13711
13756
|
def _deserialize(self, params):
|
|
13712
13757
|
self._CheckField = params.get("CheckField")
|
|
@@ -13714,6 +13759,9 @@ class CheckBashPolicyParamsRequest(AbstractModel):
|
|
|
13714
13759
|
self._Name = params.get("Name")
|
|
13715
13760
|
self._Rule = params.get("Rule")
|
|
13716
13761
|
self._Id = params.get("Id")
|
|
13762
|
+
if params.get("Rules") is not None:
|
|
13763
|
+
self._Rules = PolicyRules()
|
|
13764
|
+
self._Rules._deserialize(params.get("Rules"))
|
|
13717
13765
|
memeber_set = set(params.keys())
|
|
13718
13766
|
for name, value in vars(self).items():
|
|
13719
13767
|
property_name = name[1:]
|
|
@@ -14294,6 +14342,53 @@ class CloudProtectService(AbstractModel):
|
|
|
14294
14342
|
|
|
14295
14343
|
|
|
14296
14344
|
|
|
14345
|
+
class CommandLine(AbstractModel):
|
|
14346
|
+
"""命令行内容
|
|
14347
|
+
|
|
14348
|
+
"""
|
|
14349
|
+
|
|
14350
|
+
def __init__(self):
|
|
14351
|
+
r"""
|
|
14352
|
+
:param _Exe: 路径,需要base64加密
|
|
14353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14354
|
+
:type Exe: str
|
|
14355
|
+
:param _Cmdline: 命令行,需要base64加密
|
|
14356
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14357
|
+
:type Cmdline: str
|
|
14358
|
+
"""
|
|
14359
|
+
self._Exe = None
|
|
14360
|
+
self._Cmdline = None
|
|
14361
|
+
|
|
14362
|
+
@property
|
|
14363
|
+
def Exe(self):
|
|
14364
|
+
return self._Exe
|
|
14365
|
+
|
|
14366
|
+
@Exe.setter
|
|
14367
|
+
def Exe(self, Exe):
|
|
14368
|
+
self._Exe = Exe
|
|
14369
|
+
|
|
14370
|
+
@property
|
|
14371
|
+
def Cmdline(self):
|
|
14372
|
+
return self._Cmdline
|
|
14373
|
+
|
|
14374
|
+
@Cmdline.setter
|
|
14375
|
+
def Cmdline(self, Cmdline):
|
|
14376
|
+
self._Cmdline = Cmdline
|
|
14377
|
+
|
|
14378
|
+
|
|
14379
|
+
def _deserialize(self, params):
|
|
14380
|
+
self._Exe = params.get("Exe")
|
|
14381
|
+
self._Cmdline = params.get("Cmdline")
|
|
14382
|
+
memeber_set = set(params.keys())
|
|
14383
|
+
for name, value in vars(self).items():
|
|
14384
|
+
property_name = name[1:]
|
|
14385
|
+
if property_name in memeber_set:
|
|
14386
|
+
memeber_set.remove(property_name)
|
|
14387
|
+
if len(memeber_set) > 0:
|
|
14388
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14389
|
+
|
|
14390
|
+
|
|
14391
|
+
|
|
14297
14392
|
class ComponentStatistics(AbstractModel):
|
|
14298
14393
|
"""组件统计数据。
|
|
14299
14394
|
|
|
@@ -15369,6 +15464,8 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15369
15464
|
:type Md5List: list of str
|
|
15370
15465
|
:param _EventId: 木马事件ID
|
|
15371
15466
|
:type EventId: int
|
|
15467
|
+
:param _IsHandleHistoryEvents: 对历史待处理执行加白操作;0是不处理,1是处理
|
|
15468
|
+
:type IsHandleHistoryEvents: int
|
|
15372
15469
|
"""
|
|
15373
15470
|
self._Mode = None
|
|
15374
15471
|
self._QuuidList = None
|
|
@@ -15379,6 +15476,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15379
15476
|
self._FileExtension = None
|
|
15380
15477
|
self._Md5List = None
|
|
15381
15478
|
self._EventId = None
|
|
15479
|
+
self._IsHandleHistoryEvents = None
|
|
15382
15480
|
|
|
15383
15481
|
@property
|
|
15384
15482
|
def Mode(self):
|
|
@@ -15452,6 +15550,14 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15452
15550
|
def EventId(self, EventId):
|
|
15453
15551
|
self._EventId = EventId
|
|
15454
15552
|
|
|
15553
|
+
@property
|
|
15554
|
+
def IsHandleHistoryEvents(self):
|
|
15555
|
+
return self._IsHandleHistoryEvents
|
|
15556
|
+
|
|
15557
|
+
@IsHandleHistoryEvents.setter
|
|
15558
|
+
def IsHandleHistoryEvents(self, IsHandleHistoryEvents):
|
|
15559
|
+
self._IsHandleHistoryEvents = IsHandleHistoryEvents
|
|
15560
|
+
|
|
15455
15561
|
|
|
15456
15562
|
def _deserialize(self, params):
|
|
15457
15563
|
self._Mode = params.get("Mode")
|
|
@@ -15463,6 +15569,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
|
|
|
15463
15569
|
self._FileExtension = params.get("FileExtension")
|
|
15464
15570
|
self._Md5List = params.get("Md5List")
|
|
15465
15571
|
self._EventId = params.get("EventId")
|
|
15572
|
+
self._IsHandleHistoryEvents = params.get("IsHandleHistoryEvents")
|
|
15466
15573
|
memeber_set = set(params.keys())
|
|
15467
15574
|
for name, value in vars(self).items():
|
|
15468
15575
|
property_name = name[1:]
|
|
@@ -16281,9 +16388,12 @@ class CreateVulFixTaskQuuids(AbstractModel):
|
|
|
16281
16388
|
:type VulId: int
|
|
16282
16389
|
:param _Quuids: 需要修复漏洞的主机,所有主机必须有VulId的这个漏洞且是待修复状态。
|
|
16283
16390
|
:type Quuids: list of str
|
|
16391
|
+
:param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
|
|
16392
|
+
:type FixMethod: int
|
|
16284
16393
|
"""
|
|
16285
16394
|
self._VulId = None
|
|
16286
16395
|
self._Quuids = None
|
|
16396
|
+
self._FixMethod = None
|
|
16287
16397
|
|
|
16288
16398
|
@property
|
|
16289
16399
|
def VulId(self):
|
|
@@ -16301,10 +16411,19 @@ class CreateVulFixTaskQuuids(AbstractModel):
|
|
|
16301
16411
|
def Quuids(self, Quuids):
|
|
16302
16412
|
self._Quuids = Quuids
|
|
16303
16413
|
|
|
16414
|
+
@property
|
|
16415
|
+
def FixMethod(self):
|
|
16416
|
+
return self._FixMethod
|
|
16417
|
+
|
|
16418
|
+
@FixMethod.setter
|
|
16419
|
+
def FixMethod(self, FixMethod):
|
|
16420
|
+
self._FixMethod = FixMethod
|
|
16421
|
+
|
|
16304
16422
|
|
|
16305
16423
|
def _deserialize(self, params):
|
|
16306
16424
|
self._VulId = params.get("VulId")
|
|
16307
16425
|
self._Quuids = params.get("Quuids")
|
|
16426
|
+
self._FixMethod = params.get("FixMethod")
|
|
16308
16427
|
memeber_set = set(params.keys())
|
|
16309
16428
|
for name, value in vars(self).items():
|
|
16310
16429
|
property_name = name[1:]
|
|
@@ -34429,18 +34548,7 @@ class DescribeHostLoginListRequest(AbstractModel):
|
|
|
34429
34548
|
:type Limit: int
|
|
34430
34549
|
:param _Offset: 偏移量,默认为0。
|
|
34431
34550
|
:type Offset: int
|
|
34432
|
-
:param _Filters:
|
|
34433
|
-
<li>Quuid - String - 是否必填:否 - 云服务器uuid</li>
|
|
34434
|
-
<li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li>
|
|
34435
|
-
<li>MachineName - String - 是否必填:否 - 主机别名</li>
|
|
34436
|
-
<li>Ip - String - 是否必填:否 - 主机ip</li>
|
|
34437
|
-
<li>InstanceID - String - 是否必填:否 - 主机实例ID</li>
|
|
34438
|
-
<li>SrcIp - String - 是否必填:否 - 来源ip筛选</li>
|
|
34439
|
-
<li>UserName - String - 是否必填:否 - 用户名筛选</li>
|
|
34440
|
-
<li>Status - int - 是否必填:否 - 状态筛选1:正常登录;5:已加白,14:已处理,15:已忽略</li>
|
|
34441
|
-
<li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li>
|
|
34442
|
-
<li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li>
|
|
34443
|
-
<li>RiskLevel - int - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
|
34551
|
+
:param _Filters: 过滤条件。<li>Quuid - String - 是否必填:否 - 云服务器uuid</li><li>Uuid - String - 是否必填:否 - 主机安全唯一Uuid</li><li>MachineName - String - 是否必填:否 - 主机别名</li><li>Ip - String - 是否必填:否 - 主机ip</li><li>InstanceID - String - 是否必填:否 - 主机实例ID</li><li>SrcIp - String - 是否必填:否 - 来源ip筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>Status - string - 是否必填:否 - 状态筛选1:正常登录;5:已加白,14:已处理,15:已忽略</li><li>LoginTimeBegin - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>LoginTimeEnd - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li><li>RiskLevel - string - 是否必填:否 - 状态筛选0:高危;1:可疑</li>
|
|
34444
34552
|
:type Filters: list of Filter
|
|
34445
34553
|
:param _Order: 排序方式:根据请求次数排序:asc-升序/desc-降序
|
|
34446
34554
|
:type Order: str
|
|
@@ -35229,7 +35337,9 @@ class DescribeJavaMemShellListRequest(AbstractModel):
|
|
|
35229
35337
|
|
|
35230
35338
|
def __init__(self):
|
|
35231
35339
|
r"""
|
|
35232
|
-
:param _Filters: 过滤条件:
|
|
35340
|
+
:param _Filters: 过滤条件:InstanceID、IP、
|
|
35341
|
+
|
|
35342
|
+
MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,CreateEndTime时间段
|
|
35233
35343
|
:type Filters: list of Filters
|
|
35234
35344
|
:param _Offset: 偏移量,默认为0。
|
|
35235
35345
|
:type Offset: int
|
|
@@ -45648,6 +45758,8 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45648
45758
|
:type ClickTimeout: int
|
|
45649
45759
|
:param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
|
|
45650
45760
|
:type Uuids: list of str
|
|
45761
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
45762
|
+
:type ScanMethod: int
|
|
45651
45763
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
45652
45764
|
:type RequestId: str
|
|
45653
45765
|
"""
|
|
@@ -45661,6 +45773,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45661
45773
|
self._EndTime = None
|
|
45662
45774
|
self._ClickTimeout = None
|
|
45663
45775
|
self._Uuids = None
|
|
45776
|
+
self._ScanMethod = None
|
|
45664
45777
|
self._RequestId = None
|
|
45665
45778
|
|
|
45666
45779
|
@property
|
|
@@ -45743,6 +45856,14 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45743
45856
|
def Uuids(self, Uuids):
|
|
45744
45857
|
self._Uuids = Uuids
|
|
45745
45858
|
|
|
45859
|
+
@property
|
|
45860
|
+
def ScanMethod(self):
|
|
45861
|
+
return self._ScanMethod
|
|
45862
|
+
|
|
45863
|
+
@ScanMethod.setter
|
|
45864
|
+
def ScanMethod(self, ScanMethod):
|
|
45865
|
+
self._ScanMethod = ScanMethod
|
|
45866
|
+
|
|
45746
45867
|
@property
|
|
45747
45868
|
def RequestId(self):
|
|
45748
45869
|
return self._RequestId
|
|
@@ -45763,6 +45884,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
|
|
|
45763
45884
|
self._EndTime = params.get("EndTime")
|
|
45764
45885
|
self._ClickTimeout = params.get("ClickTimeout")
|
|
45765
45886
|
self._Uuids = params.get("Uuids")
|
|
45887
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
45766
45888
|
self._RequestId = params.get("RequestId")
|
|
45767
45889
|
|
|
45768
45890
|
|
|
@@ -52038,6 +52160,8 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52038
52160
|
:param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
|
|
52039
52161
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52040
52162
|
:type ItemLabelIds: list of str
|
|
52163
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
52164
|
+
:type ExcludedQuuids: list of str
|
|
52041
52165
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
52042
52166
|
:type RequestId: str
|
|
52043
52167
|
"""
|
|
@@ -52046,6 +52170,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52046
52170
|
self._Quuids = None
|
|
52047
52171
|
self._TotalCount = None
|
|
52048
52172
|
self._ItemLabelIds = None
|
|
52173
|
+
self._ExcludedQuuids = None
|
|
52049
52174
|
self._RequestId = None
|
|
52050
52175
|
|
|
52051
52176
|
@property
|
|
@@ -52088,6 +52213,14 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52088
52213
|
def ItemLabelIds(self, ItemLabelIds):
|
|
52089
52214
|
self._ItemLabelIds = ItemLabelIds
|
|
52090
52215
|
|
|
52216
|
+
@property
|
|
52217
|
+
def ExcludedQuuids(self):
|
|
52218
|
+
return self._ExcludedQuuids
|
|
52219
|
+
|
|
52220
|
+
@ExcludedQuuids.setter
|
|
52221
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
52222
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
52223
|
+
|
|
52091
52224
|
@property
|
|
52092
52225
|
def RequestId(self):
|
|
52093
52226
|
return self._RequestId
|
|
@@ -52103,6 +52236,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
|
|
|
52103
52236
|
self._Quuids = params.get("Quuids")
|
|
52104
52237
|
self._TotalCount = params.get("TotalCount")
|
|
52105
52238
|
self._ItemLabelIds = params.get("ItemLabelIds")
|
|
52239
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
52106
52240
|
self._RequestId = params.get("RequestId")
|
|
52107
52241
|
|
|
52108
52242
|
|
|
@@ -64386,6 +64520,21 @@ class JavaMemShellInfo(AbstractModel):
|
|
|
64386
64520
|
:param _Uuid: 服务器uuid
|
|
64387
64521
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
64388
64522
|
:type Uuid: str
|
|
64523
|
+
:param _ClassName: 类名
|
|
64524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64525
|
+
:type ClassName: str
|
|
64526
|
+
:param _SuperClassName: 父类名
|
|
64527
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64528
|
+
:type SuperClassName: str
|
|
64529
|
+
:param _Interfaces: 继承的接口
|
|
64530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64531
|
+
:type Interfaces: str
|
|
64532
|
+
:param _Annotations: 注释
|
|
64533
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64534
|
+
:type Annotations: str
|
|
64535
|
+
:param _LoaderClassName: 所属的类加载器
|
|
64536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64537
|
+
:type LoaderClassName: str
|
|
64389
64538
|
"""
|
|
64390
64539
|
self._Id = None
|
|
64391
64540
|
self._Alias = None
|
|
@@ -64398,6 +64547,11 @@ class JavaMemShellInfo(AbstractModel):
|
|
|
64398
64547
|
self._Quuid = None
|
|
64399
64548
|
self._MachineExtraInfo = None
|
|
64400
64549
|
self._Uuid = None
|
|
64550
|
+
self._ClassName = None
|
|
64551
|
+
self._SuperClassName = None
|
|
64552
|
+
self._Interfaces = None
|
|
64553
|
+
self._Annotations = None
|
|
64554
|
+
self._LoaderClassName = None
|
|
64401
64555
|
|
|
64402
64556
|
@property
|
|
64403
64557
|
def Id(self):
|
|
@@ -64487,6 +64641,46 @@ class JavaMemShellInfo(AbstractModel):
|
|
|
64487
64641
|
def Uuid(self, Uuid):
|
|
64488
64642
|
self._Uuid = Uuid
|
|
64489
64643
|
|
|
64644
|
+
@property
|
|
64645
|
+
def ClassName(self):
|
|
64646
|
+
return self._ClassName
|
|
64647
|
+
|
|
64648
|
+
@ClassName.setter
|
|
64649
|
+
def ClassName(self, ClassName):
|
|
64650
|
+
self._ClassName = ClassName
|
|
64651
|
+
|
|
64652
|
+
@property
|
|
64653
|
+
def SuperClassName(self):
|
|
64654
|
+
return self._SuperClassName
|
|
64655
|
+
|
|
64656
|
+
@SuperClassName.setter
|
|
64657
|
+
def SuperClassName(self, SuperClassName):
|
|
64658
|
+
self._SuperClassName = SuperClassName
|
|
64659
|
+
|
|
64660
|
+
@property
|
|
64661
|
+
def Interfaces(self):
|
|
64662
|
+
return self._Interfaces
|
|
64663
|
+
|
|
64664
|
+
@Interfaces.setter
|
|
64665
|
+
def Interfaces(self, Interfaces):
|
|
64666
|
+
self._Interfaces = Interfaces
|
|
64667
|
+
|
|
64668
|
+
@property
|
|
64669
|
+
def Annotations(self):
|
|
64670
|
+
return self._Annotations
|
|
64671
|
+
|
|
64672
|
+
@Annotations.setter
|
|
64673
|
+
def Annotations(self, Annotations):
|
|
64674
|
+
self._Annotations = Annotations
|
|
64675
|
+
|
|
64676
|
+
@property
|
|
64677
|
+
def LoaderClassName(self):
|
|
64678
|
+
return self._LoaderClassName
|
|
64679
|
+
|
|
64680
|
+
@LoaderClassName.setter
|
|
64681
|
+
def LoaderClassName(self, LoaderClassName):
|
|
64682
|
+
self._LoaderClassName = LoaderClassName
|
|
64683
|
+
|
|
64490
64684
|
|
|
64491
64685
|
def _deserialize(self, params):
|
|
64492
64686
|
self._Id = params.get("Id")
|
|
@@ -64502,6 +64696,11 @@ class JavaMemShellInfo(AbstractModel):
|
|
|
64502
64696
|
self._MachineExtraInfo = MachineExtraInfo()
|
|
64503
64697
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
64504
64698
|
self._Uuid = params.get("Uuid")
|
|
64699
|
+
self._ClassName = params.get("ClassName")
|
|
64700
|
+
self._SuperClassName = params.get("SuperClassName")
|
|
64701
|
+
self._Interfaces = params.get("Interfaces")
|
|
64702
|
+
self._Annotations = params.get("Annotations")
|
|
64703
|
+
self._LoaderClassName = params.get("LoaderClassName")
|
|
64505
64704
|
memeber_set = set(params.keys())
|
|
64506
64705
|
for name, value in vars(self).items():
|
|
64507
64706
|
property_name = name[1:]
|
|
@@ -69322,7 +69521,7 @@ class ModifyEventAttackStatusRequest(AbstractModel):
|
|
|
69322
69521
|
:type Ids: list of int non-negative
|
|
69323
69522
|
:param _All: 是否更新全部,即是否对所有的事件进行操作,当ids 不为空时,此参数无效
|
|
69324
69523
|
:type All: bool
|
|
69325
|
-
:param _Status: 0:待处理 1:已处理
|
|
69524
|
+
:param _Status: 0:待处理 1:已处理 3: 已忽略 4:已删除
|
|
69326
69525
|
:type Status: int
|
|
69327
69526
|
:param _Filters: 过滤条件。
|
|
69328
69527
|
<li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
|
|
@@ -69808,13 +70007,24 @@ class ModifyJavaMemShellsStatusRequest(AbstractModel):
|
|
|
69808
70007
|
|
|
69809
70008
|
def __init__(self):
|
|
69810
70009
|
r"""
|
|
69811
|
-
:param _Ids: 事件Id数组
|
|
69812
|
-
:type Ids: list of int non-negative
|
|
69813
70010
|
:param _Status: 目标处理状态: 0 - 待处理 1 - 已加白 2 - 已删除 3 - 已忽略 4 - 已手动处理
|
|
69814
70011
|
:type Status: int
|
|
70012
|
+
:param _Ids: 事件Id数组
|
|
70013
|
+
:type Ids: list of int non-negative
|
|
70014
|
+
:param _UpdateAll: 是否更新全部,只支持忽略、已处理、删除
|
|
70015
|
+
:type UpdateAll: bool
|
|
69815
70016
|
"""
|
|
69816
|
-
self._Ids = None
|
|
69817
70017
|
self._Status = None
|
|
70018
|
+
self._Ids = None
|
|
70019
|
+
self._UpdateAll = None
|
|
70020
|
+
|
|
70021
|
+
@property
|
|
70022
|
+
def Status(self):
|
|
70023
|
+
return self._Status
|
|
70024
|
+
|
|
70025
|
+
@Status.setter
|
|
70026
|
+
def Status(self, Status):
|
|
70027
|
+
self._Status = Status
|
|
69818
70028
|
|
|
69819
70029
|
@property
|
|
69820
70030
|
def Ids(self):
|
|
@@ -69825,17 +70035,18 @@ class ModifyJavaMemShellsStatusRequest(AbstractModel):
|
|
|
69825
70035
|
self._Ids = Ids
|
|
69826
70036
|
|
|
69827
70037
|
@property
|
|
69828
|
-
def
|
|
69829
|
-
return self.
|
|
70038
|
+
def UpdateAll(self):
|
|
70039
|
+
return self._UpdateAll
|
|
69830
70040
|
|
|
69831
|
-
@
|
|
69832
|
-
def
|
|
69833
|
-
self.
|
|
70041
|
+
@UpdateAll.setter
|
|
70042
|
+
def UpdateAll(self, UpdateAll):
|
|
70043
|
+
self._UpdateAll = UpdateAll
|
|
69834
70044
|
|
|
69835
70045
|
|
|
69836
70046
|
def _deserialize(self, params):
|
|
69837
|
-
self._Ids = params.get("Ids")
|
|
69838
70047
|
self._Status = params.get("Status")
|
|
70048
|
+
self._Ids = params.get("Ids")
|
|
70049
|
+
self._UpdateAll = params.get("UpdateAll")
|
|
69839
70050
|
memeber_set = set(params.keys())
|
|
69840
70051
|
for name, value in vars(self).items():
|
|
69841
70052
|
property_name = name[1:]
|
|
@@ -72174,6 +72385,196 @@ class ModifyRansomDefenseStrategyStatusResponse(AbstractModel):
|
|
|
72174
72385
|
self._RequestId = params.get("RequestId")
|
|
72175
72386
|
|
|
72176
72387
|
|
|
72388
|
+
class ModifyReverseShellRulesAggregationRequest(AbstractModel):
|
|
72389
|
+
"""ModifyReverseShellRulesAggregation请求参数结构体
|
|
72390
|
+
|
|
72391
|
+
"""
|
|
72392
|
+
|
|
72393
|
+
def __init__(self):
|
|
72394
|
+
r"""
|
|
72395
|
+
:param _Id: 规则ID(新增时请留空)
|
|
72396
|
+
:type Id: int
|
|
72397
|
+
:param _Uuids: 客户端ID数组
|
|
72398
|
+
:type Uuids: list of str
|
|
72399
|
+
:param _HostIp: 主机IP
|
|
72400
|
+
:type HostIp: str
|
|
72401
|
+
:param _DestIp: 目标IP
|
|
72402
|
+
:type DestIp: str
|
|
72403
|
+
:param _DestPort: 目标端口
|
|
72404
|
+
:type DestPort: str
|
|
72405
|
+
:param _ProcessName: 进程名
|
|
72406
|
+
:type ProcessName: str
|
|
72407
|
+
:param _IsGlobal: 是否全局规则(默认否)
|
|
72408
|
+
:type IsGlobal: int
|
|
72409
|
+
:param _EventId: 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
|
|
72410
|
+
:type EventId: int
|
|
72411
|
+
:param _WhiteType: 加白方式, 0:常规加白 1:正则加白
|
|
72412
|
+
:type WhiteType: int
|
|
72413
|
+
:param _RuleRegexp: 正则表达式
|
|
72414
|
+
:type RuleRegexp: str
|
|
72415
|
+
:param _HandleHistory: 处理历史事件, 0:不处理 1:处理
|
|
72416
|
+
:type HandleHistory: int
|
|
72417
|
+
:param _GroupID: 批次id
|
|
72418
|
+
:type GroupID: str
|
|
72419
|
+
"""
|
|
72420
|
+
self._Id = None
|
|
72421
|
+
self._Uuids = None
|
|
72422
|
+
self._HostIp = None
|
|
72423
|
+
self._DestIp = None
|
|
72424
|
+
self._DestPort = None
|
|
72425
|
+
self._ProcessName = None
|
|
72426
|
+
self._IsGlobal = None
|
|
72427
|
+
self._EventId = None
|
|
72428
|
+
self._WhiteType = None
|
|
72429
|
+
self._RuleRegexp = None
|
|
72430
|
+
self._HandleHistory = None
|
|
72431
|
+
self._GroupID = None
|
|
72432
|
+
|
|
72433
|
+
@property
|
|
72434
|
+
def Id(self):
|
|
72435
|
+
return self._Id
|
|
72436
|
+
|
|
72437
|
+
@Id.setter
|
|
72438
|
+
def Id(self, Id):
|
|
72439
|
+
self._Id = Id
|
|
72440
|
+
|
|
72441
|
+
@property
|
|
72442
|
+
def Uuids(self):
|
|
72443
|
+
return self._Uuids
|
|
72444
|
+
|
|
72445
|
+
@Uuids.setter
|
|
72446
|
+
def Uuids(self, Uuids):
|
|
72447
|
+
self._Uuids = Uuids
|
|
72448
|
+
|
|
72449
|
+
@property
|
|
72450
|
+
def HostIp(self):
|
|
72451
|
+
return self._HostIp
|
|
72452
|
+
|
|
72453
|
+
@HostIp.setter
|
|
72454
|
+
def HostIp(self, HostIp):
|
|
72455
|
+
self._HostIp = HostIp
|
|
72456
|
+
|
|
72457
|
+
@property
|
|
72458
|
+
def DestIp(self):
|
|
72459
|
+
return self._DestIp
|
|
72460
|
+
|
|
72461
|
+
@DestIp.setter
|
|
72462
|
+
def DestIp(self, DestIp):
|
|
72463
|
+
self._DestIp = DestIp
|
|
72464
|
+
|
|
72465
|
+
@property
|
|
72466
|
+
def DestPort(self):
|
|
72467
|
+
return self._DestPort
|
|
72468
|
+
|
|
72469
|
+
@DestPort.setter
|
|
72470
|
+
def DestPort(self, DestPort):
|
|
72471
|
+
self._DestPort = DestPort
|
|
72472
|
+
|
|
72473
|
+
@property
|
|
72474
|
+
def ProcessName(self):
|
|
72475
|
+
return self._ProcessName
|
|
72476
|
+
|
|
72477
|
+
@ProcessName.setter
|
|
72478
|
+
def ProcessName(self, ProcessName):
|
|
72479
|
+
self._ProcessName = ProcessName
|
|
72480
|
+
|
|
72481
|
+
@property
|
|
72482
|
+
def IsGlobal(self):
|
|
72483
|
+
return self._IsGlobal
|
|
72484
|
+
|
|
72485
|
+
@IsGlobal.setter
|
|
72486
|
+
def IsGlobal(self, IsGlobal):
|
|
72487
|
+
self._IsGlobal = IsGlobal
|
|
72488
|
+
|
|
72489
|
+
@property
|
|
72490
|
+
def EventId(self):
|
|
72491
|
+
return self._EventId
|
|
72492
|
+
|
|
72493
|
+
@EventId.setter
|
|
72494
|
+
def EventId(self, EventId):
|
|
72495
|
+
self._EventId = EventId
|
|
72496
|
+
|
|
72497
|
+
@property
|
|
72498
|
+
def WhiteType(self):
|
|
72499
|
+
return self._WhiteType
|
|
72500
|
+
|
|
72501
|
+
@WhiteType.setter
|
|
72502
|
+
def WhiteType(self, WhiteType):
|
|
72503
|
+
self._WhiteType = WhiteType
|
|
72504
|
+
|
|
72505
|
+
@property
|
|
72506
|
+
def RuleRegexp(self):
|
|
72507
|
+
return self._RuleRegexp
|
|
72508
|
+
|
|
72509
|
+
@RuleRegexp.setter
|
|
72510
|
+
def RuleRegexp(self, RuleRegexp):
|
|
72511
|
+
self._RuleRegexp = RuleRegexp
|
|
72512
|
+
|
|
72513
|
+
@property
|
|
72514
|
+
def HandleHistory(self):
|
|
72515
|
+
return self._HandleHistory
|
|
72516
|
+
|
|
72517
|
+
@HandleHistory.setter
|
|
72518
|
+
def HandleHistory(self, HandleHistory):
|
|
72519
|
+
self._HandleHistory = HandleHistory
|
|
72520
|
+
|
|
72521
|
+
@property
|
|
72522
|
+
def GroupID(self):
|
|
72523
|
+
return self._GroupID
|
|
72524
|
+
|
|
72525
|
+
@GroupID.setter
|
|
72526
|
+
def GroupID(self, GroupID):
|
|
72527
|
+
self._GroupID = GroupID
|
|
72528
|
+
|
|
72529
|
+
|
|
72530
|
+
def _deserialize(self, params):
|
|
72531
|
+
self._Id = params.get("Id")
|
|
72532
|
+
self._Uuids = params.get("Uuids")
|
|
72533
|
+
self._HostIp = params.get("HostIp")
|
|
72534
|
+
self._DestIp = params.get("DestIp")
|
|
72535
|
+
self._DestPort = params.get("DestPort")
|
|
72536
|
+
self._ProcessName = params.get("ProcessName")
|
|
72537
|
+
self._IsGlobal = params.get("IsGlobal")
|
|
72538
|
+
self._EventId = params.get("EventId")
|
|
72539
|
+
self._WhiteType = params.get("WhiteType")
|
|
72540
|
+
self._RuleRegexp = params.get("RuleRegexp")
|
|
72541
|
+
self._HandleHistory = params.get("HandleHistory")
|
|
72542
|
+
self._GroupID = params.get("GroupID")
|
|
72543
|
+
memeber_set = set(params.keys())
|
|
72544
|
+
for name, value in vars(self).items():
|
|
72545
|
+
property_name = name[1:]
|
|
72546
|
+
if property_name in memeber_set:
|
|
72547
|
+
memeber_set.remove(property_name)
|
|
72548
|
+
if len(memeber_set) > 0:
|
|
72549
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
72550
|
+
|
|
72551
|
+
|
|
72552
|
+
|
|
72553
|
+
class ModifyReverseShellRulesAggregationResponse(AbstractModel):
|
|
72554
|
+
"""ModifyReverseShellRulesAggregation返回参数结构体
|
|
72555
|
+
|
|
72556
|
+
"""
|
|
72557
|
+
|
|
72558
|
+
def __init__(self):
|
|
72559
|
+
r"""
|
|
72560
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
72561
|
+
:type RequestId: str
|
|
72562
|
+
"""
|
|
72563
|
+
self._RequestId = None
|
|
72564
|
+
|
|
72565
|
+
@property
|
|
72566
|
+
def RequestId(self):
|
|
72567
|
+
return self._RequestId
|
|
72568
|
+
|
|
72569
|
+
@RequestId.setter
|
|
72570
|
+
def RequestId(self, RequestId):
|
|
72571
|
+
self._RequestId = RequestId
|
|
72572
|
+
|
|
72573
|
+
|
|
72574
|
+
def _deserialize(self, params):
|
|
72575
|
+
self._RequestId = params.get("RequestId")
|
|
72576
|
+
|
|
72577
|
+
|
|
72177
72578
|
class ModifyRiskDnsPolicyRequest(AbstractModel):
|
|
72178
72579
|
"""ModifyRiskDnsPolicy请求参数结构体
|
|
72179
72580
|
|
|
@@ -72754,12 +73155,15 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
72754
73155
|
:type Quuids: list of str
|
|
72755
73156
|
:param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
|
|
72756
73157
|
:type ItemLabelIds: list of str
|
|
73158
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
73159
|
+
:type ExcludedQuuids: list of str
|
|
72757
73160
|
"""
|
|
72758
73161
|
self._Type = None
|
|
72759
73162
|
self._HostRange = None
|
|
72760
73163
|
self._ItemLabels = None
|
|
72761
73164
|
self._Quuids = None
|
|
72762
73165
|
self._ItemLabelIds = None
|
|
73166
|
+
self._ExcludedQuuids = None
|
|
72763
73167
|
|
|
72764
73168
|
@property
|
|
72765
73169
|
def Type(self):
|
|
@@ -72801,6 +73205,14 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
72801
73205
|
def ItemLabelIds(self, ItemLabelIds):
|
|
72802
73206
|
self._ItemLabelIds = ItemLabelIds
|
|
72803
73207
|
|
|
73208
|
+
@property
|
|
73209
|
+
def ExcludedQuuids(self):
|
|
73210
|
+
return self._ExcludedQuuids
|
|
73211
|
+
|
|
73212
|
+
@ExcludedQuuids.setter
|
|
73213
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
73214
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
73215
|
+
|
|
72804
73216
|
|
|
72805
73217
|
def _deserialize(self, params):
|
|
72806
73218
|
self._Type = params.get("Type")
|
|
@@ -72808,6 +73220,7 @@ class ModifyWarningHostConfigRequest(AbstractModel):
|
|
|
72808
73220
|
self._ItemLabels = params.get("ItemLabels")
|
|
72809
73221
|
self._Quuids = params.get("Quuids")
|
|
72810
73222
|
self._ItemLabelIds = params.get("ItemLabelIds")
|
|
73223
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
72811
73224
|
memeber_set = set(params.keys())
|
|
72812
73225
|
for name, value in vars(self).items():
|
|
72813
73226
|
property_name = name[1:]
|
|
@@ -72931,6 +73344,8 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
72931
73344
|
:type IsDisabled: int
|
|
72932
73345
|
:param _Quuids: 主机列表
|
|
72933
73346
|
:type Quuids: list of str
|
|
73347
|
+
:param _ExcludedQuuids: 需排除的机器列表
|
|
73348
|
+
:type ExcludedQuuids: list of str
|
|
72934
73349
|
"""
|
|
72935
73350
|
self._Id = None
|
|
72936
73351
|
self._Name = None
|
|
@@ -72941,6 +73356,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
72941
73356
|
self._CustomFields = None
|
|
72942
73357
|
self._IsDisabled = None
|
|
72943
73358
|
self._Quuids = None
|
|
73359
|
+
self._ExcludedQuuids = None
|
|
72944
73360
|
|
|
72945
73361
|
@property
|
|
72946
73362
|
def Id(self):
|
|
@@ -73014,6 +73430,14 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73014
73430
|
def Quuids(self, Quuids):
|
|
73015
73431
|
self._Quuids = Quuids
|
|
73016
73432
|
|
|
73433
|
+
@property
|
|
73434
|
+
def ExcludedQuuids(self):
|
|
73435
|
+
return self._ExcludedQuuids
|
|
73436
|
+
|
|
73437
|
+
@ExcludedQuuids.setter
|
|
73438
|
+
def ExcludedQuuids(self, ExcludedQuuids):
|
|
73439
|
+
self._ExcludedQuuids = ExcludedQuuids
|
|
73440
|
+
|
|
73017
73441
|
|
|
73018
73442
|
def _deserialize(self, params):
|
|
73019
73443
|
self._Id = params.get("Id")
|
|
@@ -73045,6 +73469,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
|
|
|
73045
73469
|
self._CustomFields.append(obj)
|
|
73046
73470
|
self._IsDisabled = params.get("IsDisabled")
|
|
73047
73471
|
self._Quuids = params.get("Quuids")
|
|
73472
|
+
self._ExcludedQuuids = params.get("ExcludedQuuids")
|
|
73048
73473
|
memeber_set = set(params.keys())
|
|
73049
73474
|
for name, value in vars(self).items():
|
|
73050
73475
|
property_name = name[1:]
|
|
@@ -74815,6 +75240,72 @@ class Place(AbstractModel):
|
|
|
74815
75240
|
|
|
74816
75241
|
|
|
74817
75242
|
|
|
75243
|
+
class PolicyRules(AbstractModel):
|
|
75244
|
+
"""策略规则表达式
|
|
75245
|
+
|
|
75246
|
+
"""
|
|
75247
|
+
|
|
75248
|
+
def __init__(self):
|
|
75249
|
+
r"""
|
|
75250
|
+
:param _Process: 进程
|
|
75251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
75252
|
+
:type Process: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
|
|
75253
|
+
:param _PProcess: 父进程
|
|
75254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
75255
|
+
:type PProcess: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
|
|
75256
|
+
:param _AProcess: 祖先进程
|
|
75257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
75258
|
+
:type AProcess: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
|
|
75259
|
+
"""
|
|
75260
|
+
self._Process = None
|
|
75261
|
+
self._PProcess = None
|
|
75262
|
+
self._AProcess = None
|
|
75263
|
+
|
|
75264
|
+
@property
|
|
75265
|
+
def Process(self):
|
|
75266
|
+
return self._Process
|
|
75267
|
+
|
|
75268
|
+
@Process.setter
|
|
75269
|
+
def Process(self, Process):
|
|
75270
|
+
self._Process = Process
|
|
75271
|
+
|
|
75272
|
+
@property
|
|
75273
|
+
def PProcess(self):
|
|
75274
|
+
return self._PProcess
|
|
75275
|
+
|
|
75276
|
+
@PProcess.setter
|
|
75277
|
+
def PProcess(self, PProcess):
|
|
75278
|
+
self._PProcess = PProcess
|
|
75279
|
+
|
|
75280
|
+
@property
|
|
75281
|
+
def AProcess(self):
|
|
75282
|
+
return self._AProcess
|
|
75283
|
+
|
|
75284
|
+
@AProcess.setter
|
|
75285
|
+
def AProcess(self, AProcess):
|
|
75286
|
+
self._AProcess = AProcess
|
|
75287
|
+
|
|
75288
|
+
|
|
75289
|
+
def _deserialize(self, params):
|
|
75290
|
+
if params.get("Process") is not None:
|
|
75291
|
+
self._Process = CommandLine()
|
|
75292
|
+
self._Process._deserialize(params.get("Process"))
|
|
75293
|
+
if params.get("PProcess") is not None:
|
|
75294
|
+
self._PProcess = CommandLine()
|
|
75295
|
+
self._PProcess._deserialize(params.get("PProcess"))
|
|
75296
|
+
if params.get("AProcess") is not None:
|
|
75297
|
+
self._AProcess = CommandLine()
|
|
75298
|
+
self._AProcess._deserialize(params.get("AProcess"))
|
|
75299
|
+
memeber_set = set(params.keys())
|
|
75300
|
+
for name, value in vars(self).items():
|
|
75301
|
+
property_name = name[1:]
|
|
75302
|
+
if property_name in memeber_set:
|
|
75303
|
+
memeber_set.remove(property_name)
|
|
75304
|
+
if len(memeber_set) > 0:
|
|
75305
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
75306
|
+
|
|
75307
|
+
|
|
75308
|
+
|
|
74818
75309
|
class PrivilegeEscalationProcess(AbstractModel):
|
|
74819
75310
|
"""本地提权数据
|
|
74820
75311
|
|
|
@@ -81309,6 +81800,8 @@ class ScanVulRequest(AbstractModel):
|
|
|
81309
81800
|
:type TimeoutPeriod: int
|
|
81310
81801
|
:param _VulIds: 需要扫描的漏洞id
|
|
81311
81802
|
:type VulIds: list of int non-negative
|
|
81803
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
81804
|
+
:type ScanMethod: int
|
|
81312
81805
|
"""
|
|
81313
81806
|
self._VulLevels = None
|
|
81314
81807
|
self._HostType = None
|
|
@@ -81317,6 +81810,7 @@ class ScanVulRequest(AbstractModel):
|
|
|
81317
81810
|
self._VulEmergency = None
|
|
81318
81811
|
self._TimeoutPeriod = None
|
|
81319
81812
|
self._VulIds = None
|
|
81813
|
+
self._ScanMethod = None
|
|
81320
81814
|
|
|
81321
81815
|
@property
|
|
81322
81816
|
def VulLevels(self):
|
|
@@ -81374,6 +81868,14 @@ class ScanVulRequest(AbstractModel):
|
|
|
81374
81868
|
def VulIds(self, VulIds):
|
|
81375
81869
|
self._VulIds = VulIds
|
|
81376
81870
|
|
|
81871
|
+
@property
|
|
81872
|
+
def ScanMethod(self):
|
|
81873
|
+
return self._ScanMethod
|
|
81874
|
+
|
|
81875
|
+
@ScanMethod.setter
|
|
81876
|
+
def ScanMethod(self, ScanMethod):
|
|
81877
|
+
self._ScanMethod = ScanMethod
|
|
81878
|
+
|
|
81377
81879
|
|
|
81378
81880
|
def _deserialize(self, params):
|
|
81379
81881
|
self._VulLevels = params.get("VulLevels")
|
|
@@ -81383,6 +81885,7 @@ class ScanVulRequest(AbstractModel):
|
|
|
81383
81885
|
self._VulEmergency = params.get("VulEmergency")
|
|
81384
81886
|
self._TimeoutPeriod = params.get("TimeoutPeriod")
|
|
81385
81887
|
self._VulIds = params.get("VulIds")
|
|
81888
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
81386
81889
|
memeber_set = set(params.keys())
|
|
81387
81890
|
for name, value in vars(self).items():
|
|
81388
81891
|
property_name = name[1:]
|
|
@@ -81456,6 +81959,8 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81456
81959
|
:type EnableScan: int
|
|
81457
81960
|
:param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
|
|
81458
81961
|
:type Uuids: list of str
|
|
81962
|
+
:param _ScanMethod: 0版本比对,2版本比对+poc
|
|
81963
|
+
:type ScanMethod: int
|
|
81459
81964
|
"""
|
|
81460
81965
|
self._TimerInterval = None
|
|
81461
81966
|
self._VulCategories = None
|
|
@@ -81466,6 +81971,7 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81466
81971
|
self._EndTime = None
|
|
81467
81972
|
self._EnableScan = None
|
|
81468
81973
|
self._Uuids = None
|
|
81974
|
+
self._ScanMethod = None
|
|
81469
81975
|
|
|
81470
81976
|
@property
|
|
81471
81977
|
def TimerInterval(self):
|
|
@@ -81539,6 +82045,14 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81539
82045
|
def Uuids(self, Uuids):
|
|
81540
82046
|
self._Uuids = Uuids
|
|
81541
82047
|
|
|
82048
|
+
@property
|
|
82049
|
+
def ScanMethod(self):
|
|
82050
|
+
return self._ScanMethod
|
|
82051
|
+
|
|
82052
|
+
@ScanMethod.setter
|
|
82053
|
+
def ScanMethod(self, ScanMethod):
|
|
82054
|
+
self._ScanMethod = ScanMethod
|
|
82055
|
+
|
|
81542
82056
|
|
|
81543
82057
|
def _deserialize(self, params):
|
|
81544
82058
|
self._TimerInterval = params.get("TimerInterval")
|
|
@@ -81550,6 +82064,7 @@ class ScanVulSettingRequest(AbstractModel):
|
|
|
81550
82064
|
self._EndTime = params.get("EndTime")
|
|
81551
82065
|
self._EnableScan = params.get("EnableScan")
|
|
81552
82066
|
self._Uuids = params.get("Uuids")
|
|
82067
|
+
self._ScanMethod = params.get("ScanMethod")
|
|
81553
82068
|
memeber_set = set(params.keys())
|
|
81554
82069
|
for name, value in vars(self).items():
|
|
81555
82070
|
property_name = name[1:]
|
|
@@ -88015,6 +88530,9 @@ class VulFixStatusInfo(AbstractModel):
|
|
|
88015
88530
|
:param _FixSuccessCnt: 修复成功的数量
|
|
88016
88531
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
88017
88532
|
:type FixSuccessCnt: int
|
|
88533
|
+
:param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
|
|
88534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
88535
|
+
:type FixMethod: int
|
|
88018
88536
|
"""
|
|
88019
88537
|
self._VulId = None
|
|
88020
88538
|
self._VulName = None
|
|
@@ -88022,6 +88540,7 @@ class VulFixStatusInfo(AbstractModel):
|
|
|
88022
88540
|
self._HostList = None
|
|
88023
88541
|
self._FailCnt = None
|
|
88024
88542
|
self._FixSuccessCnt = None
|
|
88543
|
+
self._FixMethod = None
|
|
88025
88544
|
|
|
88026
88545
|
@property
|
|
88027
88546
|
def VulId(self):
|
|
@@ -88071,6 +88590,14 @@ class VulFixStatusInfo(AbstractModel):
|
|
|
88071
88590
|
def FixSuccessCnt(self, FixSuccessCnt):
|
|
88072
88591
|
self._FixSuccessCnt = FixSuccessCnt
|
|
88073
88592
|
|
|
88593
|
+
@property
|
|
88594
|
+
def FixMethod(self):
|
|
88595
|
+
return self._FixMethod
|
|
88596
|
+
|
|
88597
|
+
@FixMethod.setter
|
|
88598
|
+
def FixMethod(self, FixMethod):
|
|
88599
|
+
self._FixMethod = FixMethod
|
|
88600
|
+
|
|
88074
88601
|
|
|
88075
88602
|
def _deserialize(self, params):
|
|
88076
88603
|
self._VulId = params.get("VulId")
|
|
@@ -88084,6 +88611,7 @@ class VulFixStatusInfo(AbstractModel):
|
|
|
88084
88611
|
self._HostList.append(obj)
|
|
88085
88612
|
self._FailCnt = params.get("FailCnt")
|
|
88086
88613
|
self._FixSuccessCnt = params.get("FixSuccessCnt")
|
|
88614
|
+
self._FixMethod = params.get("FixMethod")
|
|
88087
88615
|
memeber_set = set(params.keys())
|
|
88088
88616
|
for name, value in vars(self).items():
|
|
88089
88617
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1238
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1207
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|