tencentcloud-sdk-python-cwp 3.0.1140__tar.gz → 3.0.1142__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.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/cwp/v20180228/models.py +0 -250
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1142/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1140/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1140 → tencentcloud-sdk-python-cwp-3.0.1142}/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.1142"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2837,31 +2837,6 @@ class CwpClient(AbstractClient):
|
|
|
2837
2837
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2838
2838
|
|
|
2839
2839
|
|
|
2840
|
-
def DescribeAttackLogInfo(self, request):
|
|
2841
|
-
"""DescribeAttackEventInfo 接口替代
|
|
2842
|
-
|
|
2843
|
-
网络攻击日志详情
|
|
2844
|
-
|
|
2845
|
-
:param request: Request instance for DescribeAttackLogInfo.
|
|
2846
|
-
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackLogInfoRequest`
|
|
2847
|
-
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeAttackLogInfoResponse`
|
|
2848
|
-
|
|
2849
|
-
"""
|
|
2850
|
-
try:
|
|
2851
|
-
params = request._serialize()
|
|
2852
|
-
headers = request.headers
|
|
2853
|
-
body = self.call("DescribeAttackLogInfo", params, headers=headers)
|
|
2854
|
-
response = json.loads(body)
|
|
2855
|
-
model = models.DescribeAttackLogInfoResponse()
|
|
2856
|
-
model._deserialize(response["Response"])
|
|
2857
|
-
return model
|
|
2858
|
-
except Exception as e:
|
|
2859
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2860
|
-
raise
|
|
2861
|
-
else:
|
|
2862
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
2840
|
def DescribeAttackLogs(self, request):
|
|
2866
2841
|
"""按分页形式展示网络攻击日志列表
|
|
2867
2842
|
|
|
@@ -25819,256 +25819,6 @@ class DescribeAttackEventsResponse(AbstractModel):
|
|
|
25819
25819
|
self._RequestId = params.get("RequestId")
|
|
25820
25820
|
|
|
25821
25821
|
|
|
25822
|
-
class DescribeAttackLogInfoRequest(AbstractModel):
|
|
25823
|
-
"""DescribeAttackLogInfo请求参数结构体
|
|
25824
|
-
|
|
25825
|
-
"""
|
|
25826
|
-
|
|
25827
|
-
def __init__(self):
|
|
25828
|
-
r"""
|
|
25829
|
-
:param _Id: 日志ID
|
|
25830
|
-
:type Id: int
|
|
25831
|
-
"""
|
|
25832
|
-
self._Id = None
|
|
25833
|
-
|
|
25834
|
-
@property
|
|
25835
|
-
def Id(self):
|
|
25836
|
-
return self._Id
|
|
25837
|
-
|
|
25838
|
-
@Id.setter
|
|
25839
|
-
def Id(self, Id):
|
|
25840
|
-
self._Id = Id
|
|
25841
|
-
|
|
25842
|
-
|
|
25843
|
-
def _deserialize(self, params):
|
|
25844
|
-
self._Id = params.get("Id")
|
|
25845
|
-
memeber_set = set(params.keys())
|
|
25846
|
-
for name, value in vars(self).items():
|
|
25847
|
-
property_name = name[1:]
|
|
25848
|
-
if property_name in memeber_set:
|
|
25849
|
-
memeber_set.remove(property_name)
|
|
25850
|
-
if len(memeber_set) > 0:
|
|
25851
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25852
|
-
|
|
25853
|
-
|
|
25854
|
-
|
|
25855
|
-
class DescribeAttackLogInfoResponse(AbstractModel):
|
|
25856
|
-
"""DescribeAttackLogInfo返回参数结构体
|
|
25857
|
-
|
|
25858
|
-
"""
|
|
25859
|
-
|
|
25860
|
-
def __init__(self):
|
|
25861
|
-
r"""
|
|
25862
|
-
:param _Id: 日志ID
|
|
25863
|
-
:type Id: int
|
|
25864
|
-
:param _Quuid: 主机ID
|
|
25865
|
-
:type Quuid: str
|
|
25866
|
-
:param _SrcPort: 攻击来源端口
|
|
25867
|
-
:type SrcPort: int
|
|
25868
|
-
:param _SrcIp: 攻击来源IP
|
|
25869
|
-
:type SrcIp: str
|
|
25870
|
-
:param _DstPort: 攻击目标端口
|
|
25871
|
-
:type DstPort: int
|
|
25872
|
-
:param _DstIp: 攻击目标IP
|
|
25873
|
-
:type DstIp: str
|
|
25874
|
-
:param _HttpMethod: 攻击方法
|
|
25875
|
-
:type HttpMethod: str
|
|
25876
|
-
:param _HttpHost: 攻击目标主机
|
|
25877
|
-
:type HttpHost: str
|
|
25878
|
-
:param _HttpHead: 攻击头信息
|
|
25879
|
-
:type HttpHead: str
|
|
25880
|
-
:param _HttpUserAgent: 攻击者浏览器标识
|
|
25881
|
-
:type HttpUserAgent: str
|
|
25882
|
-
:param _HttpReferer: 请求源
|
|
25883
|
-
:type HttpReferer: str
|
|
25884
|
-
:param _VulType: 威胁类型
|
|
25885
|
-
:type VulType: str
|
|
25886
|
-
:param _HttpCgi: 攻击路径
|
|
25887
|
-
:type HttpCgi: str
|
|
25888
|
-
:param _HttpParam: 攻击参数
|
|
25889
|
-
:type HttpParam: str
|
|
25890
|
-
:param _CreatedAt: 攻击时间
|
|
25891
|
-
:type CreatedAt: str
|
|
25892
|
-
:param _HttpContent: 攻击内容
|
|
25893
|
-
:type HttpContent: str
|
|
25894
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25895
|
-
:type RequestId: str
|
|
25896
|
-
"""
|
|
25897
|
-
self._Id = None
|
|
25898
|
-
self._Quuid = None
|
|
25899
|
-
self._SrcPort = None
|
|
25900
|
-
self._SrcIp = None
|
|
25901
|
-
self._DstPort = None
|
|
25902
|
-
self._DstIp = None
|
|
25903
|
-
self._HttpMethod = None
|
|
25904
|
-
self._HttpHost = None
|
|
25905
|
-
self._HttpHead = None
|
|
25906
|
-
self._HttpUserAgent = None
|
|
25907
|
-
self._HttpReferer = None
|
|
25908
|
-
self._VulType = None
|
|
25909
|
-
self._HttpCgi = None
|
|
25910
|
-
self._HttpParam = None
|
|
25911
|
-
self._CreatedAt = None
|
|
25912
|
-
self._HttpContent = None
|
|
25913
|
-
self._RequestId = None
|
|
25914
|
-
|
|
25915
|
-
@property
|
|
25916
|
-
def Id(self):
|
|
25917
|
-
return self._Id
|
|
25918
|
-
|
|
25919
|
-
@Id.setter
|
|
25920
|
-
def Id(self, Id):
|
|
25921
|
-
self._Id = Id
|
|
25922
|
-
|
|
25923
|
-
@property
|
|
25924
|
-
def Quuid(self):
|
|
25925
|
-
return self._Quuid
|
|
25926
|
-
|
|
25927
|
-
@Quuid.setter
|
|
25928
|
-
def Quuid(self, Quuid):
|
|
25929
|
-
self._Quuid = Quuid
|
|
25930
|
-
|
|
25931
|
-
@property
|
|
25932
|
-
def SrcPort(self):
|
|
25933
|
-
return self._SrcPort
|
|
25934
|
-
|
|
25935
|
-
@SrcPort.setter
|
|
25936
|
-
def SrcPort(self, SrcPort):
|
|
25937
|
-
self._SrcPort = SrcPort
|
|
25938
|
-
|
|
25939
|
-
@property
|
|
25940
|
-
def SrcIp(self):
|
|
25941
|
-
return self._SrcIp
|
|
25942
|
-
|
|
25943
|
-
@SrcIp.setter
|
|
25944
|
-
def SrcIp(self, SrcIp):
|
|
25945
|
-
self._SrcIp = SrcIp
|
|
25946
|
-
|
|
25947
|
-
@property
|
|
25948
|
-
def DstPort(self):
|
|
25949
|
-
return self._DstPort
|
|
25950
|
-
|
|
25951
|
-
@DstPort.setter
|
|
25952
|
-
def DstPort(self, DstPort):
|
|
25953
|
-
self._DstPort = DstPort
|
|
25954
|
-
|
|
25955
|
-
@property
|
|
25956
|
-
def DstIp(self):
|
|
25957
|
-
return self._DstIp
|
|
25958
|
-
|
|
25959
|
-
@DstIp.setter
|
|
25960
|
-
def DstIp(self, DstIp):
|
|
25961
|
-
self._DstIp = DstIp
|
|
25962
|
-
|
|
25963
|
-
@property
|
|
25964
|
-
def HttpMethod(self):
|
|
25965
|
-
return self._HttpMethod
|
|
25966
|
-
|
|
25967
|
-
@HttpMethod.setter
|
|
25968
|
-
def HttpMethod(self, HttpMethod):
|
|
25969
|
-
self._HttpMethod = HttpMethod
|
|
25970
|
-
|
|
25971
|
-
@property
|
|
25972
|
-
def HttpHost(self):
|
|
25973
|
-
return self._HttpHost
|
|
25974
|
-
|
|
25975
|
-
@HttpHost.setter
|
|
25976
|
-
def HttpHost(self, HttpHost):
|
|
25977
|
-
self._HttpHost = HttpHost
|
|
25978
|
-
|
|
25979
|
-
@property
|
|
25980
|
-
def HttpHead(self):
|
|
25981
|
-
return self._HttpHead
|
|
25982
|
-
|
|
25983
|
-
@HttpHead.setter
|
|
25984
|
-
def HttpHead(self, HttpHead):
|
|
25985
|
-
self._HttpHead = HttpHead
|
|
25986
|
-
|
|
25987
|
-
@property
|
|
25988
|
-
def HttpUserAgent(self):
|
|
25989
|
-
return self._HttpUserAgent
|
|
25990
|
-
|
|
25991
|
-
@HttpUserAgent.setter
|
|
25992
|
-
def HttpUserAgent(self, HttpUserAgent):
|
|
25993
|
-
self._HttpUserAgent = HttpUserAgent
|
|
25994
|
-
|
|
25995
|
-
@property
|
|
25996
|
-
def HttpReferer(self):
|
|
25997
|
-
return self._HttpReferer
|
|
25998
|
-
|
|
25999
|
-
@HttpReferer.setter
|
|
26000
|
-
def HttpReferer(self, HttpReferer):
|
|
26001
|
-
self._HttpReferer = HttpReferer
|
|
26002
|
-
|
|
26003
|
-
@property
|
|
26004
|
-
def VulType(self):
|
|
26005
|
-
return self._VulType
|
|
26006
|
-
|
|
26007
|
-
@VulType.setter
|
|
26008
|
-
def VulType(self, VulType):
|
|
26009
|
-
self._VulType = VulType
|
|
26010
|
-
|
|
26011
|
-
@property
|
|
26012
|
-
def HttpCgi(self):
|
|
26013
|
-
return self._HttpCgi
|
|
26014
|
-
|
|
26015
|
-
@HttpCgi.setter
|
|
26016
|
-
def HttpCgi(self, HttpCgi):
|
|
26017
|
-
self._HttpCgi = HttpCgi
|
|
26018
|
-
|
|
26019
|
-
@property
|
|
26020
|
-
def HttpParam(self):
|
|
26021
|
-
return self._HttpParam
|
|
26022
|
-
|
|
26023
|
-
@HttpParam.setter
|
|
26024
|
-
def HttpParam(self, HttpParam):
|
|
26025
|
-
self._HttpParam = HttpParam
|
|
26026
|
-
|
|
26027
|
-
@property
|
|
26028
|
-
def CreatedAt(self):
|
|
26029
|
-
return self._CreatedAt
|
|
26030
|
-
|
|
26031
|
-
@CreatedAt.setter
|
|
26032
|
-
def CreatedAt(self, CreatedAt):
|
|
26033
|
-
self._CreatedAt = CreatedAt
|
|
26034
|
-
|
|
26035
|
-
@property
|
|
26036
|
-
def HttpContent(self):
|
|
26037
|
-
return self._HttpContent
|
|
26038
|
-
|
|
26039
|
-
@HttpContent.setter
|
|
26040
|
-
def HttpContent(self, HttpContent):
|
|
26041
|
-
self._HttpContent = HttpContent
|
|
26042
|
-
|
|
26043
|
-
@property
|
|
26044
|
-
def RequestId(self):
|
|
26045
|
-
return self._RequestId
|
|
26046
|
-
|
|
26047
|
-
@RequestId.setter
|
|
26048
|
-
def RequestId(self, RequestId):
|
|
26049
|
-
self._RequestId = RequestId
|
|
26050
|
-
|
|
26051
|
-
|
|
26052
|
-
def _deserialize(self, params):
|
|
26053
|
-
self._Id = params.get("Id")
|
|
26054
|
-
self._Quuid = params.get("Quuid")
|
|
26055
|
-
self._SrcPort = params.get("SrcPort")
|
|
26056
|
-
self._SrcIp = params.get("SrcIp")
|
|
26057
|
-
self._DstPort = params.get("DstPort")
|
|
26058
|
-
self._DstIp = params.get("DstIp")
|
|
26059
|
-
self._HttpMethod = params.get("HttpMethod")
|
|
26060
|
-
self._HttpHost = params.get("HttpHost")
|
|
26061
|
-
self._HttpHead = params.get("HttpHead")
|
|
26062
|
-
self._HttpUserAgent = params.get("HttpUserAgent")
|
|
26063
|
-
self._HttpReferer = params.get("HttpReferer")
|
|
26064
|
-
self._VulType = params.get("VulType")
|
|
26065
|
-
self._HttpCgi = params.get("HttpCgi")
|
|
26066
|
-
self._HttpParam = params.get("HttpParam")
|
|
26067
|
-
self._CreatedAt = params.get("CreatedAt")
|
|
26068
|
-
self._HttpContent = params.get("HttpContent")
|
|
26069
|
-
self._RequestId = params.get("RequestId")
|
|
26070
|
-
|
|
26071
|
-
|
|
26072
25822
|
class DescribeAttackLogsRequest(AbstractModel):
|
|
26073
25823
|
"""DescribeAttackLogs请求参数结构体
|
|
26074
25824
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1142
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1140
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|