tencentcloud-sdk-python-cwp 3.0.1172__tar.gz → 3.0.1187__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.1187}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/cwp/v20180228/cwp_client.py +0 -50
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/cwp/v20180228/models.py +80 -205
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1187/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.1187}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1172 → tencentcloud-sdk-python-cwp-3.0.1187}/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.1187"],
|
|
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:]
|
|
@@ -56801,124 +56767,6 @@ class ExportAttackEventsResponse(AbstractModel):
|
|
|
56801
56767
|
self._RequestId = params.get("RequestId")
|
|
56802
56768
|
|
|
56803
56769
|
|
|
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
56770
|
class ExportBaselineEffectHostListRequest(AbstractModel):
|
|
56923
56771
|
"""ExportBaselineEffectHostList请求参数结构体
|
|
56924
56772
|
|
|
@@ -57138,17 +56986,16 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57138
56986
|
|
|
57139
56987
|
def __init__(self):
|
|
57140
56988
|
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>
|
|
56989
|
+
: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
56990
|
:type Filters: list of Filter
|
|
57147
56991
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57148
56992
|
:type ExportAll: int
|
|
56993
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
56994
|
+
:type IsExportDetail: int
|
|
57149
56995
|
"""
|
|
57150
56996
|
self._Filters = None
|
|
57151
56997
|
self._ExportAll = None
|
|
56998
|
+
self._IsExportDetail = None
|
|
57152
56999
|
|
|
57153
57000
|
@property
|
|
57154
57001
|
def Filters(self):
|
|
@@ -57166,6 +57013,14 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57166
57013
|
def ExportAll(self, ExportAll):
|
|
57167
57014
|
self._ExportAll = ExportAll
|
|
57168
57015
|
|
|
57016
|
+
@property
|
|
57017
|
+
def IsExportDetail(self):
|
|
57018
|
+
return self._IsExportDetail
|
|
57019
|
+
|
|
57020
|
+
@IsExportDetail.setter
|
|
57021
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57022
|
+
self._IsExportDetail = IsExportDetail
|
|
57023
|
+
|
|
57169
57024
|
|
|
57170
57025
|
def _deserialize(self, params):
|
|
57171
57026
|
if params.get("Filters") is not None:
|
|
@@ -57175,6 +57030,7 @@ class ExportBaselineHostDetectListRequest(AbstractModel):
|
|
|
57175
57030
|
obj._deserialize(item)
|
|
57176
57031
|
self._Filters.append(obj)
|
|
57177
57032
|
self._ExportAll = params.get("ExportAll")
|
|
57033
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57178
57034
|
memeber_set = set(params.keys())
|
|
57179
57035
|
for name, value in vars(self).items():
|
|
57180
57036
|
property_name = name[1:]
|
|
@@ -57217,16 +57073,16 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57217
57073
|
|
|
57218
57074
|
def __init__(self):
|
|
57219
57075
|
r"""
|
|
57220
|
-
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</
|
|
57221
|
-
<li>RuleId - int64 - 是否必填:否 - 规则Id</i>
|
|
57222
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
|
57223
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57076
|
+
:param _Filters: <li>HostId - string - 是否必填:否 - 主机Id</li><li>RuleId - int64 - 是否必填:否 - 规则Id</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57224
57077
|
:type Filters: list of Filter
|
|
57225
57078
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57226
57079
|
:type ExportAll: int
|
|
57080
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
57081
|
+
:type IsExportDetail: int
|
|
57227
57082
|
"""
|
|
57228
57083
|
self._Filters = None
|
|
57229
57084
|
self._ExportAll = None
|
|
57085
|
+
self._IsExportDetail = None
|
|
57230
57086
|
|
|
57231
57087
|
@property
|
|
57232
57088
|
def Filters(self):
|
|
@@ -57244,6 +57100,14 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57244
57100
|
def ExportAll(self, ExportAll):
|
|
57245
57101
|
self._ExportAll = ExportAll
|
|
57246
57102
|
|
|
57103
|
+
@property
|
|
57104
|
+
def IsExportDetail(self):
|
|
57105
|
+
return self._IsExportDetail
|
|
57106
|
+
|
|
57107
|
+
@IsExportDetail.setter
|
|
57108
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57109
|
+
self._IsExportDetail = IsExportDetail
|
|
57110
|
+
|
|
57247
57111
|
|
|
57248
57112
|
def _deserialize(self, params):
|
|
57249
57113
|
if params.get("Filters") is not None:
|
|
@@ -57253,6 +57117,7 @@ class ExportBaselineItemDetectListRequest(AbstractModel):
|
|
|
57253
57117
|
obj._deserialize(item)
|
|
57254
57118
|
self._Filters.append(obj)
|
|
57255
57119
|
self._ExportAll = params.get("ExportAll")
|
|
57120
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57256
57121
|
memeber_set = set(params.keys())
|
|
57257
57122
|
for name, value in vars(self).items():
|
|
57258
57123
|
property_name = name[1:]
|
|
@@ -57485,15 +57350,16 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57485
57350
|
|
|
57486
57351
|
def __init__(self):
|
|
57487
57352
|
r"""
|
|
57488
|
-
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</
|
|
57489
|
-
<li>IsPassed - int - 是否必填:否 - 是否通过</li>
|
|
57490
|
-
<li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57353
|
+
:param _Filters: <li>RuleName - string - 是否必填:否 - 规则名称</li><li>IsPassed - int - 是否必填:否 - 是否通过</li><li>RiskTier - int - 是否必填:否 - 风险等级</li>
|
|
57491
57354
|
:type Filters: list of Filter
|
|
57492
57355
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
|
57493
57356
|
:type ExportAll: int
|
|
57357
|
+
:param _IsExportDetail: 0:导出界面展示;1:导出全部结果事件
|
|
57358
|
+
:type IsExportDetail: int
|
|
57494
57359
|
"""
|
|
57495
57360
|
self._Filters = None
|
|
57496
57361
|
self._ExportAll = None
|
|
57362
|
+
self._IsExportDetail = None
|
|
57497
57363
|
|
|
57498
57364
|
@property
|
|
57499
57365
|
def Filters(self):
|
|
@@ -57511,6 +57377,14 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57511
57377
|
def ExportAll(self, ExportAll):
|
|
57512
57378
|
self._ExportAll = ExportAll
|
|
57513
57379
|
|
|
57380
|
+
@property
|
|
57381
|
+
def IsExportDetail(self):
|
|
57382
|
+
return self._IsExportDetail
|
|
57383
|
+
|
|
57384
|
+
@IsExportDetail.setter
|
|
57385
|
+
def IsExportDetail(self, IsExportDetail):
|
|
57386
|
+
self._IsExportDetail = IsExportDetail
|
|
57387
|
+
|
|
57514
57388
|
|
|
57515
57389
|
def _deserialize(self, params):
|
|
57516
57390
|
if params.get("Filters") is not None:
|
|
@@ -57520,6 +57394,7 @@ class ExportBaselineRuleDetectListRequest(AbstractModel):
|
|
|
57520
57394
|
obj._deserialize(item)
|
|
57521
57395
|
self._Filters.append(obj)
|
|
57522
57396
|
self._ExportAll = params.get("ExportAll")
|
|
57397
|
+
self._IsExportDetail = params.get("IsExportDetail")
|
|
57523
57398
|
memeber_set = set(params.keys())
|
|
57524
57399
|
for name, value in vars(self).items():
|
|
57525
57400
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1187
|
|
@@ -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
|