tencentcloud-sdk-python-cwp 3.0.1172__tar.gz → 3.0.1191__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.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/cwp/v20180228/cwp_client.py +0 -50
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/cwp/v20180228/models.py +141 -205
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1191/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1172/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1191}/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.1191"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -696,31 +696,6 @@ class CwpClient(AbstractClient):
|
|
|
696
696
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
697
697
|
|
|
698
698
|
|
|
699
|
-
def DeleteAttackLogs(self, request):
|
|
700
|
-
"""ModifyEventAttackStatus 接口替代
|
|
701
|
-
|
|
702
|
-
删除网络攻击日志
|
|
703
|
-
|
|
704
|
-
:param request: Request instance for DeleteAttackLogs.
|
|
705
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsRequest`
|
|
706
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DeleteAttackLogsResponse`
|
|
707
|
-
|
|
708
|
-
"""
|
|
709
|
-
try:
|
|
710
|
-
params = request._serialize()
|
|
711
|
-
headers = request.headers
|
|
712
|
-
body = self.call("DeleteAttackLogs", params, headers=headers)
|
|
713
|
-
response = json.loads(body)
|
|
714
|
-
model = models.DeleteAttackLogsResponse()
|
|
715
|
-
model._deserialize(response["Response"])
|
|
716
|
-
return model
|
|
717
|
-
except Exception as e:
|
|
718
|
-
if isinstance(e, TencentCloudSDKException):
|
|
719
|
-
raise
|
|
720
|
-
else:
|
|
721
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
722
|
-
|
|
723
|
-
|
|
724
699
|
def DeleteBanWhiteList(self, request):
|
|
725
700
|
"""删除阻断白名单列表
|
|
726
701
|
|
|
@@ -8863,31 +8838,6 @@ class CwpClient(AbstractClient):
|
|
|
8863
8838
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
8864
8839
|
|
|
8865
8840
|
|
|
8866
|
-
def ExportAttackLogs(self, request):
|
|
8867
|
-
"""ExportAttackEvents接口替代
|
|
8868
|
-
|
|
8869
|
-
导出网络攻击日志
|
|
8870
|
-
|
|
8871
|
-
:param request: Request instance for ExportAttackLogs.
|
|
8872
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.ExportAttackLogsRequest`
|
|
8873
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.ExportAttackLogsResponse`
|
|
8874
|
-
|
|
8875
|
-
"""
|
|
8876
|
-
try:
|
|
8877
|
-
params = request._serialize()
|
|
8878
|
-
headers = request.headers
|
|
8879
|
-
body = self.call("ExportAttackLogs", params, headers=headers)
|
|
8880
|
-
response = json.loads(body)
|
|
8881
|
-
model = models.ExportAttackLogsResponse()
|
|
8882
|
-
model._deserialize(response["Response"])
|
|
8883
|
-
return model
|
|
8884
|
-
except Exception as e:
|
|
8885
|
-
if isinstance(e, TencentCloudSDKException):
|
|
8886
|
-
raise
|
|
8887
|
-
else:
|
|
8888
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
8841
|
def ExportBaselineEffectHostList(self, request):
|
|
8892
8842
|
"""导出基线影响主机列表
|
|
8893
8843
|
|
|
@@ -16740,76 +16740,6 @@ class DeleteAllJavaMemShellsResponse(AbstractModel):
|
|
|
16740
16740
|
self._RequestId = params.get("RequestId")
|
|
16741
16741
|
|
|
16742
16742
|
|
|
16743
|
-
class DeleteAttackLogsRequest(AbstractModel):
|
|
16744
|
-
"""DeleteAttackLogs请求参数结构体
|
|
16745
|
-
|
|
16746
|
-
"""
|
|
16747
|
-
|
|
16748
|
-
def __init__(self):
|
|
16749
|
-
r"""
|
|
16750
|
-
:param _Ids: 日志ID数组,最大100条。
|
|
16751
|
-
:type Ids: list of int non-negative
|
|
16752
|
-
:param _IsAll: 是否全部删除
|
|
16753
|
-
:type IsAll: bool
|
|
16754
|
-
"""
|
|
16755
|
-
self._Ids = None
|
|
16756
|
-
self._IsAll = None
|
|
16757
|
-
|
|
16758
|
-
@property
|
|
16759
|
-
def Ids(self):
|
|
16760
|
-
return self._Ids
|
|
16761
|
-
|
|
16762
|
-
@Ids.setter
|
|
16763
|
-
def Ids(self, Ids):
|
|
16764
|
-
self._Ids = Ids
|
|
16765
|
-
|
|
16766
|
-
@property
|
|
16767
|
-
def IsAll(self):
|
|
16768
|
-
return self._IsAll
|
|
16769
|
-
|
|
16770
|
-
@IsAll.setter
|
|
16771
|
-
def IsAll(self, IsAll):
|
|
16772
|
-
self._IsAll = IsAll
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
def _deserialize(self, params):
|
|
16776
|
-
self._Ids = params.get("Ids")
|
|
16777
|
-
self._IsAll = params.get("IsAll")
|
|
16778
|
-
memeber_set = set(params.keys())
|
|
16779
|
-
for name, value in vars(self).items():
|
|
16780
|
-
property_name = name[1:]
|
|
16781
|
-
if property_name in memeber_set:
|
|
16782
|
-
memeber_set.remove(property_name)
|
|
16783
|
-
if len(memeber_set) > 0:
|
|
16784
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
class DeleteAttackLogsResponse(AbstractModel):
|
|
16789
|
-
"""DeleteAttackLogs返回参数结构体
|
|
16790
|
-
|
|
16791
|
-
"""
|
|
16792
|
-
|
|
16793
|
-
def __init__(self):
|
|
16794
|
-
r"""
|
|
16795
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16796
|
-
:type RequestId: str
|
|
16797
|
-
"""
|
|
16798
|
-
self._RequestId = None
|
|
16799
|
-
|
|
16800
|
-
@property
|
|
16801
|
-
def RequestId(self):
|
|
16802
|
-
return self._RequestId
|
|
16803
|
-
|
|
16804
|
-
@RequestId.setter
|
|
16805
|
-
def RequestId(self, RequestId):
|
|
16806
|
-
self._RequestId = RequestId
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
def _deserialize(self, params):
|
|
16810
|
-
self._RequestId = params.get("RequestId")
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
16743
|
class DeleteBanWhiteListRequest(AbstractModel):
|
|
16814
16744
|
"""DeleteBanWhiteList请求参数结构体
|
|
16815
16745
|
|
|
@@ -19036,13 +18966,13 @@ class DeliverTypeDetails(AbstractModel):
|
|
|
19036
18966
|
|
|
19037
18967
|
def __init__(self):
|
|
19038
18968
|
r"""
|
|
19039
|
-
:param _SecurityType: 安全模块类型 1: 入侵检测 2: 漏洞管理 3: 基线管理 4: 高级防御 5:客户端相关 6: 资产指纹
|
|
18969
|
+
:param _SecurityType: 安全模块类型 1: 入侵检测 2: 漏洞管理 3: 基线管理 4: 高级防御 5:客户端相关 6: 资产指纹 7 主机列表 8 客户端上报
|
|
19040
18970
|
:type SecurityType: int
|
|
19041
|
-
:param _LogType:
|
|
18971
|
+
:param _LogType: 安全模块下的日志类型
|
|
19042
18972
|
:type LogType: list of int
|
|
19043
|
-
:param _TopicId:
|
|
18973
|
+
:param _TopicId: 主题ID
|
|
19044
18974
|
:type TopicId: str
|
|
19045
|
-
:param _TopicName:
|
|
18975
|
+
:param _TopicName: 主题名
|
|
19046
18976
|
:type TopicName: str
|
|
19047
18977
|
:param _Switch: 投递开关 0关闭 1开启
|
|
19048
18978
|
:type Switch: int
|
|
@@ -19050,8 +18980,14 @@ class DeliverTypeDetails(AbstractModel):
|
|
|
19050
18980
|
:type Status: int
|
|
19051
18981
|
:param _ErrInfo: 错误信息
|
|
19052
18982
|
:type ErrInfo: str
|
|
19053
|
-
:param _StatusTime:
|
|
18983
|
+
:param _StatusTime: 最近一次状态上报时间戳
|
|
19054
18984
|
:type StatusTime: int
|
|
18985
|
+
:param _LogName: 日志集名
|
|
18986
|
+
:type LogName: str
|
|
18987
|
+
:param _LogSetId: 日志集ID
|
|
18988
|
+
:type LogSetId: str
|
|
18989
|
+
:param _Region: 日志集所在地域
|
|
18990
|
+
:type Region: str
|
|
19055
18991
|
"""
|
|
19056
18992
|
self._SecurityType = None
|
|
19057
18993
|
self._LogType = None
|
|
@@ -19061,6 +18997,9 @@ class DeliverTypeDetails(AbstractModel):
|
|
|
19061
18997
|
self._Status = None
|
|
19062
18998
|
self._ErrInfo = None
|
|
19063
18999
|
self._StatusTime = None
|
|
19000
|
+
self._LogName = None
|
|
19001
|
+
self._LogSetId = None
|
|
19002
|
+
self._Region = None
|
|
19064
19003
|
|
|
19065
19004
|
@property
|
|
19066
19005
|
def SecurityType(self):
|
|
@@ -19126,6 +19065,30 @@ class DeliverTypeDetails(AbstractModel):
|
|
|
19126
19065
|
def StatusTime(self, StatusTime):
|
|
19127
19066
|
self._StatusTime = StatusTime
|
|
19128
19067
|
|
|
19068
|
+
@property
|
|
19069
|
+
def LogName(self):
|
|
19070
|
+
return self._LogName
|
|
19071
|
+
|
|
19072
|
+
@LogName.setter
|
|
19073
|
+
def LogName(self, LogName):
|
|
19074
|
+
self._LogName = LogName
|
|
19075
|
+
|
|
19076
|
+
@property
|
|
19077
|
+
def LogSetId(self):
|
|
19078
|
+
return self._LogSetId
|
|
19079
|
+
|
|
19080
|
+
@LogSetId.setter
|
|
19081
|
+
def LogSetId(self, LogSetId):
|
|
19082
|
+
self._LogSetId = LogSetId
|
|
19083
|
+
|
|
19084
|
+
@property
|
|
19085
|
+
def Region(self):
|
|
19086
|
+
return self._Region
|
|
19087
|
+
|
|
19088
|
+
@Region.setter
|
|
19089
|
+
def Region(self, Region):
|
|
19090
|
+
self._Region = Region
|
|
19091
|
+
|
|
19129
19092
|
|
|
19130
19093
|
def _deserialize(self, params):
|
|
19131
19094
|
self._SecurityType = params.get("SecurityType")
|
|
@@ -19136,6 +19099,9 @@ class DeliverTypeDetails(AbstractModel):
|
|
|
19136
19099
|
self._Status = params.get("Status")
|
|
19137
19100
|
self._ErrInfo = params.get("ErrInfo")
|
|
19138
19101
|
self._StatusTime = params.get("StatusTime")
|
|
19102
|
+
self._LogName = params.get("LogName")
|
|
19103
|
+
self._LogSetId = params.get("LogSetId")
|
|
19104
|
+
self._Region = params.get("Region")
|
|
19139
19105
|
memeber_set = set(params.keys())
|
|
19140
19106
|
for name, value in vars(self).items():
|
|
19141
19107
|
property_name = name[1:]
|
|
@@ -40204,6 +40170,10 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
40204
40170
|
:type EnableInspiredEngine: int
|
|
40205
40171
|
:param _EnableMemShellScan: 是否开启恶意进程查杀[0:未开启,1:开启]
|
|
40206
40172
|
:type EnableMemShellScan: int
|
|
40173
|
+
:param _ProtectMode: 防护模式 0 标准 1 重保
|
|
40174
|
+
:type ProtectMode: int
|
|
40175
|
+
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
|
40176
|
+
:type ProtectFileScope: int
|
|
40207
40177
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40208
40178
|
:type RequestId: str
|
|
40209
40179
|
"""
|
|
@@ -40223,6 +40193,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
40223
40193
|
self._EngineType = None
|
|
40224
40194
|
self._EnableInspiredEngine = None
|
|
40225
40195
|
self._EnableMemShellScan = None
|
|
40196
|
+
self._ProtectMode = None
|
|
40197
|
+
self._ProtectFileScope = None
|
|
40226
40198
|
self._RequestId = None
|
|
40227
40199
|
|
|
40228
40200
|
@property
|
|
@@ -40353,6 +40325,22 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
40353
40325
|
def EnableMemShellScan(self, EnableMemShellScan):
|
|
40354
40326
|
self._EnableMemShellScan = EnableMemShellScan
|
|
40355
40327
|
|
|
40328
|
+
@property
|
|
40329
|
+
def ProtectMode(self):
|
|
40330
|
+
return self._ProtectMode
|
|
40331
|
+
|
|
40332
|
+
@ProtectMode.setter
|
|
40333
|
+
def ProtectMode(self, ProtectMode):
|
|
40334
|
+
self._ProtectMode = ProtectMode
|
|
40335
|
+
|
|
40336
|
+
@property
|
|
40337
|
+
def ProtectFileScope(self):
|
|
40338
|
+
return self._ProtectFileScope
|
|
40339
|
+
|
|
40340
|
+
@ProtectFileScope.setter
|
|
40341
|
+
def ProtectFileScope(self, ProtectFileScope):
|
|
40342
|
+
self._ProtectFileScope = ProtectFileScope
|
|
40343
|
+
|
|
40356
40344
|
@property
|
|
40357
40345
|
def RequestId(self):
|
|
40358
40346
|
return self._RequestId
|
|
@@ -40379,6 +40367,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
|
40379
40367
|
self._EngineType = params.get("EngineType")
|
|
40380
40368
|
self._EnableInspiredEngine = params.get("EnableInspiredEngine")
|
|
40381
40369
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
|
40370
|
+
self._ProtectMode = params.get("ProtectMode")
|
|
40371
|
+
self._ProtectFileScope = params.get("ProtectFileScope")
|
|
40382
40372
|
self._RequestId = params.get("RequestId")
|
|
40383
40373
|
|
|
40384
40374
|
|
|
@@ -56801,124 +56791,6 @@ class ExportAttackEventsResponse(AbstractModel):
|
|
|
56801
56791
|
self._RequestId = params.get("RequestId")
|
|
56802
56792
|
|
|
56803
56793
|
|
|
56804
|
-
class ExportAttackLogsRequest(AbstractModel):
|
|
56805
|
-
"""ExportAttackLogs请求参数结构体
|
|
56806
|
-
|
|
56807
|
-
"""
|
|
56808
|
-
|
|
56809
|
-
def __init__(self):
|
|
56810
|
-
r"""
|
|
56811
|
-
:param _Filters: 过滤条件。
|
|
56812
|
-
<li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
|
|
56813
|
-
<li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
|
|
56814
|
-
<li>VulType - String 威胁类型 - 是否必填: 否</li>
|
|
56815
|
-
<li>SrcIp - String 攻击源IP - 是否必填: 否</li>
|
|
56816
|
-
<li>DstIp - String 攻击目标IP - 是否必填: 否</li>
|
|
56817
|
-
<li>SrcPort - String 攻击源端口 - 是否必填: 否</li>
|
|
56818
|
-
<li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
|
|
56819
|
-
:type Filters: list of Filters
|
|
56820
|
-
:param _Uuid: 主机安全客户端ID
|
|
56821
|
-
:type Uuid: str
|
|
56822
|
-
:param _Quuid: 云主机机器ID
|
|
56823
|
-
:type Quuid: str
|
|
56824
|
-
"""
|
|
56825
|
-
self._Filters = None
|
|
56826
|
-
self._Uuid = None
|
|
56827
|
-
self._Quuid = None
|
|
56828
|
-
|
|
56829
|
-
@property
|
|
56830
|
-
def Filters(self):
|
|
56831
|
-
return self._Filters
|
|
56832
|
-
|
|
56833
|
-
@Filters.setter
|
|
56834
|
-
def Filters(self, Filters):
|
|
56835
|
-
self._Filters = Filters
|
|
56836
|
-
|
|
56837
|
-
@property
|
|
56838
|
-
def Uuid(self):
|
|
56839
|
-
return self._Uuid
|
|
56840
|
-
|
|
56841
|
-
@Uuid.setter
|
|
56842
|
-
def Uuid(self, Uuid):
|
|
56843
|
-
self._Uuid = Uuid
|
|
56844
|
-
|
|
56845
|
-
@property
|
|
56846
|
-
def Quuid(self):
|
|
56847
|
-
return self._Quuid
|
|
56848
|
-
|
|
56849
|
-
@Quuid.setter
|
|
56850
|
-
def Quuid(self, Quuid):
|
|
56851
|
-
self._Quuid = Quuid
|
|
56852
|
-
|
|
56853
|
-
|
|
56854
|
-
def _deserialize(self, params):
|
|
56855
|
-
if params.get("Filters") is not None:
|
|
56856
|
-
self._Filters = []
|
|
56857
|
-
for item in params.get("Filters"):
|
|
56858
|
-
obj = Filters()
|
|
56859
|
-
obj._deserialize(item)
|
|
56860
|
-
self._Filters.append(obj)
|
|
56861
|
-
self._Uuid = params.get("Uuid")
|
|
56862
|
-
self._Quuid = params.get("Quuid")
|
|
56863
|
-
memeber_set = set(params.keys())
|
|
56864
|
-
for name, value in vars(self).items():
|
|
56865
|
-
property_name = name[1:]
|
|
56866
|
-
if property_name in memeber_set:
|
|
56867
|
-
memeber_set.remove(property_name)
|
|
56868
|
-
if len(memeber_set) > 0:
|
|
56869
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
56870
|
-
|
|
56871
|
-
|
|
56872
|
-
|
|
56873
|
-
class ExportAttackLogsResponse(AbstractModel):
|
|
56874
|
-
"""ExportAttackLogs返回参数结构体
|
|
56875
|
-
|
|
56876
|
-
"""
|
|
56877
|
-
|
|
56878
|
-
def __init__(self):
|
|
56879
|
-
r"""
|
|
56880
|
-
:param _DownloadUrl: 已废弃
|
|
56881
|
-
:type DownloadUrl: str
|
|
56882
|
-
:param _TaskId: 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址
|
|
56883
|
-
:type TaskId: str
|
|
56884
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
56885
|
-
:type RequestId: str
|
|
56886
|
-
"""
|
|
56887
|
-
self._DownloadUrl = None
|
|
56888
|
-
self._TaskId = None
|
|
56889
|
-
self._RequestId = None
|
|
56890
|
-
|
|
56891
|
-
@property
|
|
56892
|
-
def DownloadUrl(self):
|
|
56893
|
-
return self._DownloadUrl
|
|
56894
|
-
|
|
56895
|
-
@DownloadUrl.setter
|
|
56896
|
-
def DownloadUrl(self, DownloadUrl):
|
|
56897
|
-
self._DownloadUrl = DownloadUrl
|
|
56898
|
-
|
|
56899
|
-
@property
|
|
56900
|
-
def TaskId(self):
|
|
56901
|
-
return self._TaskId
|
|
56902
|
-
|
|
56903
|
-
@TaskId.setter
|
|
56904
|
-
def TaskId(self, TaskId):
|
|
56905
|
-
self._TaskId = TaskId
|
|
56906
|
-
|
|
56907
|
-
@property
|
|
56908
|
-
def RequestId(self):
|
|
56909
|
-
return self._RequestId
|
|
56910
|
-
|
|
56911
|
-
@RequestId.setter
|
|
56912
|
-
def RequestId(self, RequestId):
|
|
56913
|
-
self._RequestId = RequestId
|
|
56914
|
-
|
|
56915
|
-
|
|
56916
|
-
def _deserialize(self, params):
|
|
56917
|
-
self._DownloadUrl = params.get("DownloadUrl")
|
|
56918
|
-
self._TaskId = params.get("TaskId")
|
|
56919
|
-
self._RequestId = params.get("RequestId")
|
|
56920
|
-
|
|
56921
|
-
|
|
56922
56794
|
class ExportBaselineEffectHostListRequest(AbstractModel):
|
|
56923
56795
|
"""ExportBaselineEffectHostList请求参数结构体
|
|
56924
56796
|
|
|
@@ -57138,17 +57010,16 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57138
57010
|
|
|
57139
57011
|
def __init__(self):
|
|
57140
57012
|
r"""
|
|
57141
|
-
:param _Filters: <li>HostTag - string - 是否必填:否 - 主机标签</
|
|
57142
|
-
<li>ItemId - int64 - 是否必填:否 - 项Id</i>
|
|
57143
|
-
<li>RuleId - int64 - 是否必填:否 - 规则Id</li>
|
|
57144
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
|
57145
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57013
|
+
:param _Filters: <li>HostTag - string - 是否必填:否 - 主机标签</li><li>ItemId - int64 - 是否必填:否 - 项Id</li><li>RuleId - int64 - 是否必填:否 - 规则Id</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57146
57014
|
:type Filters: list of Filter
|
|
57147
57015
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57148
57016
|
:type ExportAll: int
|
|
57017
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
57018
|
+
:type IsExportDetail: int
|
|
57149
57019
|
"""
|
|
57150
57020
|
self._Filters = None
|
|
57151
57021
|
self._ExportAll = None
|
|
57022
|
+
self._IsExportDetail = None
|
|
57152
57023
|
|
|
57153
57024
|
@property
|
|
57154
57025
|
def Filters(self):
|
|
@@ -57166,6 +57037,14 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57166
57037
|
def ExportAll(self, ExportAll):
|
|
57167
57038
|
self._ExportAll = ExportAll
|
|
57168
57039
|
|
|
57040
|
+
@property
|
|
57041
|
+
def IsExportDetail(self):
|
|
57042
|
+
return self._IsExportDetail
|
|
57043
|
+
|
|
57044
|
+
@IsExportDetail.setter
|
|
57045
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57046
|
+
self._IsExportDetail = IsExportDetail
|
|
57047
|
+
|
|
57169
57048
|
|
|
57170
57049
|
def _deserialize(self, params):
|
|
57171
57050
|
if params.get("Filters") is not None:
|
|
@@ -57175,6 +57054,7 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57175
57054
|
obj._deserialize(item)
|
|
57176
57055
|
self._Filters.append(obj)
|
|
57177
57056
|
self._ExportAll = params.get("ExportAll")
|
|
57057
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57178
57058
|
memeber_set = set(params.keys())
|
|
57179
57059
|
for name, value in vars(self).items():
|
|
57180
57060
|
property_name = name[1:]
|
|
@@ -57217,16 +57097,16 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57217
57097
|
|
|
57218
57098
|
def __init__(self):
|
|
57219
57099
|
r"""
|
|
57220
|
-
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</
|
|
57221
|
-
<li>RuleId - int64 - 是否必填:否 - 规则Id</i>
|
|
57222
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
|
57223
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57100
|
+
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</li><li>RuleId - int64 - 是否必填:否 - 规则Id</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57224
57101
|
:type Filters: list of Filter
|
|
57225
57102
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57226
57103
|
:type ExportAll: int
|
|
57104
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
57105
|
+
:type IsExportDetail: int
|
|
57227
57106
|
"""
|
|
57228
57107
|
self._Filters = None
|
|
57229
57108
|
self._ExportAll = None
|
|
57109
|
+
self._IsExportDetail = None
|
|
57230
57110
|
|
|
57231
57111
|
@property
|
|
57232
57112
|
def Filters(self):
|
|
@@ -57244,6 +57124,14 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57244
57124
|
def ExportAll(self, ExportAll):
|
|
57245
57125
|
self._ExportAll = ExportAll
|
|
57246
57126
|
|
|
57127
|
+
@property
|
|
57128
|
+
def IsExportDetail(self):
|
|
57129
|
+
return self._IsExportDetail
|
|
57130
|
+
|
|
57131
|
+
@IsExportDetail.setter
|
|
57132
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57133
|
+
self._IsExportDetail = IsExportDetail
|
|
57134
|
+
|
|
57247
57135
|
|
|
57248
57136
|
def _deserialize(self, params):
|
|
57249
57137
|
if params.get("Filters") is not None:
|
|
@@ -57253,6 +57141,7 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57253
57141
|
obj._deserialize(item)
|
|
57254
57142
|
self._Filters.append(obj)
|
|
57255
57143
|
self._ExportAll = params.get("ExportAll")
|
|
57144
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57256
57145
|
memeber_set = set(params.keys())
|
|
57257
57146
|
for name, value in vars(self).items():
|
|
57258
57147
|
property_name = name[1:]
|
|
@@ -57485,15 +57374,16 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57485
57374
|
|
|
57486
57375
|
def __init__(self):
|
|
57487
57376
|
r"""
|
|
57488
|
-
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</
|
|
57489
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
|
57490
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57377
|
+
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57491
57378
|
:type Filters: list of Filter
|
|
57492
57379
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57493
57380
|
:type ExportAll: int
|
|
57381
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
57382
|
+
:type IsExportDetail: int
|
|
57494
57383
|
"""
|
|
57495
57384
|
self._Filters = None
|
|
57496
57385
|
self._ExportAll = None
|
|
57386
|
+
self._IsExportDetail = None
|
|
57497
57387
|
|
|
57498
57388
|
@property
|
|
57499
57389
|
def Filters(self):
|
|
@@ -57511,6 +57401,14 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57511
57401
|
def ExportAll(self, ExportAll):
|
|
57512
57402
|
self._ExportAll = ExportAll
|
|
57513
57403
|
|
|
57404
|
+
@property
|
|
57405
|
+
def IsExportDetail(self):
|
|
57406
|
+
return self._IsExportDetail
|
|
57407
|
+
|
|
57408
|
+
@IsExportDetail.setter
|
|
57409
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57410
|
+
self._IsExportDetail = IsExportDetail
|
|
57411
|
+
|
|
57514
57412
|
|
|
57515
57413
|
def _deserialize(self, params):
|
|
57516
57414
|
if params.get("Filters") is not None:
|
|
@@ -57520,6 +57418,7 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57520
57418
|
obj._deserialize(item)
|
|
57521
57419
|
self._Filters.append(obj)
|
|
57522
57420
|
self._ExportAll = params.get("ExportAll")
|
|
57421
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57523
57422
|
memeber_set = set(params.keys())
|
|
57524
57423
|
for name, value in vars(self).items():
|
|
57525
57424
|
property_name = name[1:]
|
|
@@ -71379,12 +71278,19 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
71379
71278
|
:type AutoIsolation: int
|
|
71380
71279
|
:param _KillProcess: 是否杀掉进程 1杀掉 0不杀掉
|
|
71381
71280
|
:type KillProcess: int
|
|
71281
|
+
:param _DoClean: 1 清理, 0 不清理
|
|
71282
|
+
<li>本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用</li>
|
|
71283
|
+
:type DoClean: int
|
|
71382
71284
|
:param _EngineType: 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
|
|
71383
71285
|
:type EngineType: int
|
|
71384
71286
|
:param _EnableInspiredEngine: 启发引擎开关 0 关闭 1开启
|
|
71385
71287
|
:type EnableInspiredEngine: int
|
|
71386
71288
|
:param _EnableMemShellScan: 是否开启恶意进程查杀[0:未开启,1:开启]
|
|
71387
71289
|
:type EnableMemShellScan: int
|
|
71290
|
+
:param _ProtectMode: 防护模式 0 标准 1重保
|
|
71291
|
+
:type ProtectMode: int
|
|
71292
|
+
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
|
71293
|
+
:type ProtectFileScope: int
|
|
71388
71294
|
"""
|
|
71389
71295
|
self._CheckPattern = None
|
|
71390
71296
|
self._StartTime = None
|
|
@@ -71397,9 +71303,12 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
71397
71303
|
self._QuuidList = None
|
|
71398
71304
|
self._AutoIsolation = None
|
|
71399
71305
|
self._KillProcess = None
|
|
71306
|
+
self._DoClean = None
|
|
71400
71307
|
self._EngineType = None
|
|
71401
71308
|
self._EnableInspiredEngine = None
|
|
71402
71309
|
self._EnableMemShellScan = None
|
|
71310
|
+
self._ProtectMode = None
|
|
71311
|
+
self._ProtectFileScope = None
|
|
71403
71312
|
|
|
71404
71313
|
@property
|
|
71405
71314
|
def CheckPattern(self):
|
|
@@ -71489,6 +71398,14 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
71489
71398
|
def KillProcess(self, KillProcess):
|
|
71490
71399
|
self._KillProcess = KillProcess
|
|
71491
71400
|
|
|
71401
|
+
@property
|
|
71402
|
+
def DoClean(self):
|
|
71403
|
+
return self._DoClean
|
|
71404
|
+
|
|
71405
|
+
@DoClean.setter
|
|
71406
|
+
def DoClean(self, DoClean):
|
|
71407
|
+
self._DoClean = DoClean
|
|
71408
|
+
|
|
71492
71409
|
@property
|
|
71493
71410
|
def EngineType(self):
|
|
71494
71411
|
return self._EngineType
|
|
@@ -71513,6 +71430,22 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
71513
71430
|
def EnableMemShellScan(self, EnableMemShellScan):
|
|
71514
71431
|
self._EnableMemShellScan = EnableMemShellScan
|
|
71515
71432
|
|
|
71433
|
+
@property
|
|
71434
|
+
def ProtectMode(self):
|
|
71435
|
+
return self._ProtectMode
|
|
71436
|
+
|
|
71437
|
+
@ProtectMode.setter
|
|
71438
|
+
def ProtectMode(self, ProtectMode):
|
|
71439
|
+
self._ProtectMode = ProtectMode
|
|
71440
|
+
|
|
71441
|
+
@property
|
|
71442
|
+
def ProtectFileScope(self):
|
|
71443
|
+
return self._ProtectFileScope
|
|
71444
|
+
|
|
71445
|
+
@ProtectFileScope.setter
|
|
71446
|
+
def ProtectFileScope(self, ProtectFileScope):
|
|
71447
|
+
self._ProtectFileScope = ProtectFileScope
|
|
71448
|
+
|
|
71516
71449
|
|
|
71517
71450
|
def _deserialize(self, params):
|
|
71518
71451
|
self._CheckPattern = params.get("CheckPattern")
|
|
@@ -71526,9 +71459,12 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
|
71526
71459
|
self._QuuidList = params.get("QuuidList")
|
|
71527
71460
|
self._AutoIsolation = params.get("AutoIsolation")
|
|
71528
71461
|
self._KillProcess = params.get("KillProcess")
|
|
71462
|
+
self._DoClean = params.get("DoClean")
|
|
71529
71463
|
self._EngineType = params.get("EngineType")
|
|
71530
71464
|
self._EnableInspiredEngine = params.get("EnableInspiredEngine")
|
|
71531
71465
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
|
71466
|
+
self._ProtectMode = params.get("ProtectMode")
|
|
71467
|
+
self._ProtectFileScope = params.get("ProtectFileScope")
|
|
71532
71468
|
memeber_set = set(params.keys())
|
|
71533
71469
|
for name, value in vars(self).items():
|
|
71534
71470
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1191
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1172
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|