tencentcloud-sdk-python-cwp 3.1.169__py2.py3-none-any.whl → 3.1.181__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.169'
17
+ __version__ = '3.1.181'
@@ -18801,21 +18801,24 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18801
18801
 
18802
18802
  def __init__(self):
18803
18803
  r"""
18804
- :param _ScanPattern: 扫描模式 0 全盘扫描, 1 快速扫描
18804
+ :param _ScanPattern: <p>扫描模式 0 全盘扫描, 1 快速扫描</p>
18805
18805
  :type ScanPattern: int
18806
- :param _HostType: 服务器分类:1:专业版服务器;2:自选服务器
18806
+ :param _HostType: <p>服务器分类:1:专业版服务器;2:自选服务器</p>
18807
18807
  :type HostType: int
18808
- :param _QuuidList: 自选服务器时生效,主机quuid的string数组
18808
+ :param _CustomPaths: <p>自定义路径列表,仅ScanPattern=2/3时生效:2表示仅扫描这些路径,3表示扫描时排除这些路径。最少1条,最多200条</p>
18809
+ :type CustomPaths: list of str
18810
+ :param _QuuidList: <p>自选服务器时生效,主机quuid的string数组</p>
18809
18811
  :type QuuidList: list of str
18810
- :param _TimeoutPeriod: 超时时间单位 秒 默认3600 秒
18812
+ :param _TimeoutPeriod: <p>超时时间单位 秒 默认3600 秒</p>
18811
18813
  :type TimeoutPeriod: int
18812
- :param _EngineType: 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
18814
+ :param _EngineType: <p>1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)</p>
18813
18815
  :type EngineType: int
18814
- :param _EnableMemShellScan: 是否开启恶意进程查杀[0:未开启,1:开启]
18816
+ :param _EnableMemShellScan: <p>是否开启恶意进程查杀[0:未开启,1:开启]</p>
18815
18817
  :type EnableMemShellScan: int
18816
18818
  """
18817
18819
  self._ScanPattern = None
18818
18820
  self._HostType = None
18821
+ self._CustomPaths = None
18819
18822
  self._QuuidList = None
18820
18823
  self._TimeoutPeriod = None
18821
18824
  self._EngineType = None
@@ -18823,7 +18826,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18823
18826
 
18824
18827
  @property
18825
18828
  def ScanPattern(self):
18826
- r"""扫描模式 0 全盘扫描, 1 快速扫描
18829
+ r"""<p>扫描模式 0 全盘扫描, 1 快速扫描</p>
18827
18830
  :rtype: int
18828
18831
  """
18829
18832
  return self._ScanPattern
@@ -18834,7 +18837,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18834
18837
 
18835
18838
  @property
18836
18839
  def HostType(self):
18837
- r"""服务器分类:1:专业版服务器;2:自选服务器
18840
+ r"""<p>服务器分类:1:专业版服务器;2:自选服务器</p>
18838
18841
  :rtype: int
18839
18842
  """
18840
18843
  return self._HostType
@@ -18843,9 +18846,20 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18843
18846
  def HostType(self, HostType):
18844
18847
  self._HostType = HostType
18845
18848
 
18849
+ @property
18850
+ def CustomPaths(self):
18851
+ r"""<p>自定义路径列表,仅ScanPattern=2/3时生效:2表示仅扫描这些路径,3表示扫描时排除这些路径。最少1条,最多200条</p>
18852
+ :rtype: list of str
18853
+ """
18854
+ return self._CustomPaths
18855
+
18856
+ @CustomPaths.setter
18857
+ def CustomPaths(self, CustomPaths):
18858
+ self._CustomPaths = CustomPaths
18859
+
18846
18860
  @property
18847
18861
  def QuuidList(self):
18848
- r"""自选服务器时生效,主机quuid的string数组
18862
+ r"""<p>自选服务器时生效,主机quuid的string数组</p>
18849
18863
  :rtype: list of str
18850
18864
  """
18851
18865
  return self._QuuidList
@@ -18856,7 +18870,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18856
18870
 
18857
18871
  @property
18858
18872
  def TimeoutPeriod(self):
18859
- r"""超时时间单位 秒 默认3600 秒
18873
+ r"""<p>超时时间单位 秒 默认3600 秒</p>
18860
18874
  :rtype: int
18861
18875
  """
18862
18876
  return self._TimeoutPeriod
@@ -18867,7 +18881,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18867
18881
 
18868
18882
  @property
18869
18883
  def EngineType(self):
18870
- r"""1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
18884
+ r"""<p>1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)</p>
18871
18885
  :rtype: int
18872
18886
  """
18873
18887
  return self._EngineType
@@ -18878,7 +18892,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18878
18892
 
18879
18893
  @property
18880
18894
  def EnableMemShellScan(self):
18881
- r"""是否开启恶意进程查杀[0:未开启,1:开启]
18895
+ r"""<p>是否开启恶意进程查杀[0:未开启,1:开启]</p>
18882
18896
  :rtype: int
18883
18897
  """
18884
18898
  return self._EnableMemShellScan
@@ -18891,6 +18905,7 @@ class CreateScanMalwareSettingRequest(AbstractModel):
18891
18905
  def _deserialize(self, params):
18892
18906
  self._ScanPattern = params.get("ScanPattern")
18893
18907
  self._HostType = params.get("HostType")
18908
+ self._CustomPaths = params.get("CustomPaths")
18894
18909
  self._QuuidList = params.get("QuuidList")
18895
18910
  self._TimeoutPeriod = params.get("TimeoutPeriod")
18896
18911
  self._EngineType = params.get("EngineType")
@@ -18912,7 +18927,7 @@ class CreateScanMalwareSettingResponse(AbstractModel):
18912
18927
 
18913
18928
  def __init__(self):
18914
18929
  r"""
18915
- :param _TaskId: 任务id
18930
+ :param _TaskId: <p>任务id</p>
18916
18931
  :type TaskId: int
18917
18932
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18918
18933
  :type RequestId: str
@@ -18922,7 +18937,7 @@ class CreateScanMalwareSettingResponse(AbstractModel):
18922
18937
 
18923
18938
  @property
18924
18939
  def TaskId(self):
18925
- r"""任务id
18940
+ r"""<p>任务id</p>
18926
18941
  :rtype: int
18927
18942
  """
18928
18943
  return self._TaskId
@@ -46764,6 +46779,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
46764
46779
  r"""
46765
46780
  :param _CheckPattern: <p>检测模式 0 全盘检测 1快速检测</p>
46766
46781
  :type CheckPattern: int
46782
+ :param _CustomPaths: <p>自定义路径列表,CheckPattern=2/3时生效</p>
46783
+ :type CustomPaths: list of str
46767
46784
  :param _StartTime: <p>检测周期 开始时间</p>
46768
46785
  :type StartTime: str
46769
46786
  :param _EndTime: <p>检测周期 超时结束时间</p>
@@ -46774,6 +46791,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
46774
46791
  :type QuuidList: list of str
46775
46792
  :param _MonitoringPattern: <p>监控模式 0 标准 1深度</p>
46776
46793
  :type MonitoringPattern: int
46794
+ :param _MonitorCustomPaths: <p>监控自定义路径列表,MonitoringPattern=2/3时生效</p>
46795
+ :type MonitorCustomPaths: list of str
46777
46796
  :param _Cycle: <p>周期 1每天</p>
46778
46797
  :type Cycle: int
46779
46798
  :param _EnableScan: <p>定时检测开关 0 关闭1 开启</p>
@@ -46808,11 +46827,13 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
46808
46827
  :type RequestId: str
46809
46828
  """
46810
46829
  self._CheckPattern = None
46830
+ self._CustomPaths = None
46811
46831
  self._StartTime = None
46812
46832
  self._EndTime = None
46813
46833
  self._IsGlobal = None
46814
46834
  self._QuuidList = None
46815
46835
  self._MonitoringPattern = None
46836
+ self._MonitorCustomPaths = None
46816
46837
  self._Cycle = None
46817
46838
  self._EnableScan = None
46818
46839
  self._Id = None
@@ -46841,6 +46862,17 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
46841
46862
  def CheckPattern(self, CheckPattern):
46842
46863
  self._CheckPattern = CheckPattern
46843
46864
 
46865
+ @property
46866
+ def CustomPaths(self):
46867
+ r"""<p>自定义路径列表,CheckPattern=2/3时生效</p>
46868
+ :rtype: list of str
46869
+ """
46870
+ return self._CustomPaths
46871
+
46872
+ @CustomPaths.setter
46873
+ def CustomPaths(self, CustomPaths):
46874
+ self._CustomPaths = CustomPaths
46875
+
46844
46876
  @property
46845
46877
  def StartTime(self):
46846
46878
  r"""<p>检测周期 开始时间</p>
@@ -46896,6 +46928,17 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
46896
46928
  def MonitoringPattern(self, MonitoringPattern):
46897
46929
  self._MonitoringPattern = MonitoringPattern
46898
46930
 
46931
+ @property
46932
+ def MonitorCustomPaths(self):
46933
+ r"""<p>监控自定义路径列表,MonitoringPattern=2/3时生效</p>
46934
+ :rtype: list of str
46935
+ """
46936
+ return self._MonitorCustomPaths
46937
+
46938
+ @MonitorCustomPaths.setter
46939
+ def MonitorCustomPaths(self, MonitorCustomPaths):
46940
+ self._MonitorCustomPaths = MonitorCustomPaths
46941
+
46899
46942
  @property
46900
46943
  def Cycle(self):
46901
46944
  r"""<p>周期 1每天</p>
@@ -47075,11 +47118,13 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
47075
47118
 
47076
47119
  def _deserialize(self, params):
47077
47120
  self._CheckPattern = params.get("CheckPattern")
47121
+ self._CustomPaths = params.get("CustomPaths")
47078
47122
  self._StartTime = params.get("StartTime")
47079
47123
  self._EndTime = params.get("EndTime")
47080
47124
  self._IsGlobal = params.get("IsGlobal")
47081
47125
  self._QuuidList = params.get("QuuidList")
47082
47126
  self._MonitoringPattern = params.get("MonitoringPattern")
47127
+ self._MonitorCustomPaths = params.get("MonitorCustomPaths")
47083
47128
  self._Cycle = params.get("Cycle")
47084
47129
  self._EnableScan = params.get("EnableScan")
47085
47130
  self._Id = params.get("Id")
@@ -76947,56 +76992,68 @@ class HostLoginList(AbstractModel):
76947
76992
 
76948
76993
  def __init__(self):
76949
76994
  r"""
76950
- :param _Id: 记录Id
76995
+ :param _Id: <p>记录Id</p>
76951
76996
  :type Id: int
76952
- :param _Uuid: 主机Uuid
76997
+ :param _Uuid: <p>主机Uuid</p>
76953
76998
  :type Uuid: str
76954
- :param _MachineIp: 主机ip
76999
+ :param _MachineIp: <p>主机ip</p>
76955
77000
  :type MachineIp: str
76956
- :param _MachineName: 主机名
77001
+ :param _MachineName: <p>主机名</p>
76957
77002
  :type MachineName: str
76958
- :param _UserName: 用户名
77003
+ :param _UserName: <p>用户名</p>
76959
77004
  :type UserName: str
76960
- :param _SrcIp: 来源ip
77005
+ :param _SrcIp: <p>来源ip</p>
76961
77006
  :type SrcIp: str
76962
- :param _Status: 1:正常登录;2异地登录; 5已加白; 14:已处理;15:已忽略。
77007
+ :param _Status: <p>1:正常登录;2异地登录; 5已加白; 14:已处理;15:已忽略。</p>
76963
77008
  :type Status: int
76964
- :param _Country: 国家id
77009
+ :param _Country: <p>国家id</p>
76965
77010
  :type Country: int
76966
- :param _City: 城市id
77011
+ :param _City: <p>城市id</p>
76967
77012
  :type City: int
76968
- :param _Province: 省份id
77013
+ :param _Province: <p>省份id</p>
76969
77014
  :type Province: int
76970
- :param _LoginTime: 登录时间
77015
+ :param _LoginTime: <p>登录时间</p>
76971
77016
  :type LoginTime: str
76972
- :param _ModifyTime: 修改时间
77017
+ :param _ModifyTime: <p>修改时间</p>
76973
77018
  :type ModifyTime: str
76974
- :param _IsRiskArea: 是否命中异地登录异常 1表示命中此类异常, 0表示未命中
77019
+ :param _IsRiskArea: <p>是否命中异地登录异常 1表示命中此类异常, 0表示未命中</p>
76975
77020
  :type IsRiskArea: int
76976
- :param _IsRiskUser: 是否命中异常用户异常 1表示命中此类异常, 0表示未命中
77021
+ :param _IsRiskUser: <p>是否命中异常用户异常 1表示命中此类异常, 0表示未命中</p>
76977
77022
  :type IsRiskUser: int
76978
- :param _IsRiskTime: 是否命中异常时间异常 1表示命中此类异常, 0表示未命中
77023
+ :param _IsRiskTime: <p>是否命中异常时间异常 1表示命中此类异常, 0表示未命中</p>
76979
77024
  :type IsRiskTime: int
76980
- :param _IsRiskSrcIp: 是否命中异常IP异常 1表示命中此类异常, 0表示未命中
77025
+ :param _IsRiskSrcIp: <p>是否命中异常IP异常 1表示命中此类异常, 0表示未命中</p>
76981
77026
  :type IsRiskSrcIp: int
76982
- :param _RiskLevel: 危险等级:
76983
- 0 高危
76984
- 1 可疑
77027
+ :param _RiskLevel: <p>危险等级:<br>0 高危<br>1 可疑</p>
76985
77028
  :type RiskLevel: int
76986
- :param _Location: 位置名称
77029
+ :param _Location: <p>位置名称</p>
76987
77030
  :type Location: str
76988
- :param _Quuid: 主机quuid
77031
+ :param _Quuid: <p>主机quuid</p>
76989
77032
  :type Quuid: str
76990
- :param _Desc: 高危信息说明:
76991
- ABROAD - 境外IP;
76992
- XTI - 威胁情报
77033
+ :param _Desc: <p>高危信息说明:<br>ABROAD - 境外IP;<br>XTI - 威胁情报</p>
76993
77034
  :type Desc: str
76994
- :param _MachineExtraInfo: 附加信息
77035
+ :param _MachineExtraInfo: <p>附加信息</p>
76995
77036
  :type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
76996
- :param _Port: 请求目的端口
77037
+ :param _Port: <p>请求目的端口</p>
76997
77038
  :type Port: int
76998
- :param _IPAnalyse: ip分析
77039
+ :param _IPAnalyse: <p>ip分析</p>
76999
77040
  :type IPAnalyse: :class:`tencentcloud.cwp.v20180228.models.IPAnalyse`
77041
+ :param _HitRule: <p>命中策略ID</p><p>枚举值:</p><ul><li>risk_login_1: 威胁情报</li><li>risk_login_2: 密码破解成功后登录</li><li>risk_login_3: 弱口令账户登录</li><li>risk_login_4: 非法账户登录</li><li>risk_login_5: 登录后存在入侵行为</li><li>risk_login_101: 海外IP登录</li><li>risk_login_102: 非常用登录地登录</li><li>risk_login_103: 非工作时间登录</li></ul>
77042
+ :type HitRule: str
77043
+ :param _HitRuleName: <p>命中策略名</p>
77044
+ :type HitRuleName: str
77045
+ :param _AlertCount: <p>告警数量</p>
77046
+ :type AlertCount: int
77047
+ :param _FirstDiscoverTime: <p>首次发现时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
77048
+ :type FirstDiscoverTime: str
77049
+ :param _LastDiscoverTime: <p>最近发现时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
77050
+ :type LastDiscoverTime: str
77051
+ :param _HarmDescribe: <p>危害描述</p>
77052
+ :type HarmDescribe: str
77053
+ :param _SuggestScheme: <p>修复建议</p>
77054
+ :type SuggestScheme: str
77055
+ :param _RecentLoginList: <p>最近登录历史</p>
77056
+ :type RecentLoginList: list of RecentLoginItem
77000
77057
  """
77001
77058
  self._Id = None
77002
77059
  self._Uuid = None
@@ -77021,10 +77078,18 @@ XTI - 威胁情报
77021
77078
  self._MachineExtraInfo = None
77022
77079
  self._Port = None
77023
77080
  self._IPAnalyse = None
77081
+ self._HitRule = None
77082
+ self._HitRuleName = None
77083
+ self._AlertCount = None
77084
+ self._FirstDiscoverTime = None
77085
+ self._LastDiscoverTime = None
77086
+ self._HarmDescribe = None
77087
+ self._SuggestScheme = None
77088
+ self._RecentLoginList = None
77024
77089
 
77025
77090
  @property
77026
77091
  def Id(self):
77027
- r"""记录Id
77092
+ r"""<p>记录Id</p>
77028
77093
  :rtype: int
77029
77094
  """
77030
77095
  return self._Id
@@ -77035,7 +77100,7 @@ XTI - 威胁情报
77035
77100
 
77036
77101
  @property
77037
77102
  def Uuid(self):
77038
- r"""主机Uuid
77103
+ r"""<p>主机Uuid</p>
77039
77104
  :rtype: str
77040
77105
  """
77041
77106
  return self._Uuid
@@ -77046,7 +77111,7 @@ XTI - 威胁情报
77046
77111
 
77047
77112
  @property
77048
77113
  def MachineIp(self):
77049
- r"""主机ip
77114
+ r"""<p>主机ip</p>
77050
77115
  :rtype: str
77051
77116
  """
77052
77117
  return self._MachineIp
@@ -77057,7 +77122,7 @@ XTI - 威胁情报
77057
77122
 
77058
77123
  @property
77059
77124
  def MachineName(self):
77060
- r"""主机名
77125
+ r"""<p>主机名</p>
77061
77126
  :rtype: str
77062
77127
  """
77063
77128
  return self._MachineName
@@ -77068,7 +77133,7 @@ XTI - 威胁情报
77068
77133
 
77069
77134
  @property
77070
77135
  def UserName(self):
77071
- r"""用户名
77136
+ r"""<p>用户名</p>
77072
77137
  :rtype: str
77073
77138
  """
77074
77139
  return self._UserName
@@ -77079,7 +77144,7 @@ XTI - 威胁情报
77079
77144
 
77080
77145
  @property
77081
77146
  def SrcIp(self):
77082
- r"""来源ip
77147
+ r"""<p>来源ip</p>
77083
77148
  :rtype: str
77084
77149
  """
77085
77150
  return self._SrcIp
@@ -77090,7 +77155,7 @@ XTI - 威胁情报
77090
77155
 
77091
77156
  @property
77092
77157
  def Status(self):
77093
- r"""1:正常登录;2异地登录; 5已加白; 14:已处理;15:已忽略。
77158
+ r"""<p>1:正常登录;2异地登录; 5已加白; 14:已处理;15:已忽略。</p>
77094
77159
  :rtype: int
77095
77160
  """
77096
77161
  return self._Status
@@ -77101,7 +77166,7 @@ XTI - 威胁情报
77101
77166
 
77102
77167
  @property
77103
77168
  def Country(self):
77104
- r"""国家id
77169
+ r"""<p>国家id</p>
77105
77170
  :rtype: int
77106
77171
  """
77107
77172
  return self._Country
@@ -77112,7 +77177,7 @@ XTI - 威胁情报
77112
77177
 
77113
77178
  @property
77114
77179
  def City(self):
77115
- r"""城市id
77180
+ r"""<p>城市id</p>
77116
77181
  :rtype: int
77117
77182
  """
77118
77183
  return self._City
@@ -77123,7 +77188,7 @@ XTI - 威胁情报
77123
77188
 
77124
77189
  @property
77125
77190
  def Province(self):
77126
- r"""省份id
77191
+ r"""<p>省份id</p>
77127
77192
  :rtype: int
77128
77193
  """
77129
77194
  return self._Province
@@ -77134,7 +77199,7 @@ XTI - 威胁情报
77134
77199
 
77135
77200
  @property
77136
77201
  def LoginTime(self):
77137
- r"""登录时间
77202
+ r"""<p>登录时间</p>
77138
77203
  :rtype: str
77139
77204
  """
77140
77205
  return self._LoginTime
@@ -77145,7 +77210,7 @@ XTI - 威胁情报
77145
77210
 
77146
77211
  @property
77147
77212
  def ModifyTime(self):
77148
- r"""修改时间
77213
+ r"""<p>修改时间</p>
77149
77214
  :rtype: str
77150
77215
  """
77151
77216
  return self._ModifyTime
@@ -77156,7 +77221,7 @@ XTI - 威胁情报
77156
77221
 
77157
77222
  @property
77158
77223
  def IsRiskArea(self):
77159
- r"""是否命中异地登录异常 1表示命中此类异常, 0表示未命中
77224
+ r"""<p>是否命中异地登录异常 1表示命中此类异常, 0表示未命中</p>
77160
77225
  :rtype: int
77161
77226
  """
77162
77227
  return self._IsRiskArea
@@ -77167,7 +77232,7 @@ XTI - 威胁情报
77167
77232
 
77168
77233
  @property
77169
77234
  def IsRiskUser(self):
77170
- r"""是否命中异常用户异常 1表示命中此类异常, 0表示未命中
77235
+ r"""<p>是否命中异常用户异常 1表示命中此类异常, 0表示未命中</p>
77171
77236
  :rtype: int
77172
77237
  """
77173
77238
  return self._IsRiskUser
@@ -77178,7 +77243,7 @@ XTI - 威胁情报
77178
77243
 
77179
77244
  @property
77180
77245
  def IsRiskTime(self):
77181
- r"""是否命中异常时间异常 1表示命中此类异常, 0表示未命中
77246
+ r"""<p>是否命中异常时间异常 1表示命中此类异常, 0表示未命中</p>
77182
77247
  :rtype: int
77183
77248
  """
77184
77249
  return self._IsRiskTime
@@ -77189,7 +77254,7 @@ XTI - 威胁情报
77189
77254
 
77190
77255
  @property
77191
77256
  def IsRiskSrcIp(self):
77192
- r"""是否命中异常IP异常 1表示命中此类异常, 0表示未命中
77257
+ r"""<p>是否命中异常IP异常 1表示命中此类异常, 0表示未命中</p>
77193
77258
  :rtype: int
77194
77259
  """
77195
77260
  return self._IsRiskSrcIp
@@ -77200,9 +77265,7 @@ XTI - 威胁情报
77200
77265
 
77201
77266
  @property
77202
77267
  def RiskLevel(self):
77203
- r"""危险等级:
77204
- 0 高危
77205
- 1 可疑
77268
+ r"""<p>危险等级:<br>0 高危<br>1 可疑</p>
77206
77269
  :rtype: int
77207
77270
  """
77208
77271
  return self._RiskLevel
@@ -77213,7 +77276,7 @@ XTI - 威胁情报
77213
77276
 
77214
77277
  @property
77215
77278
  def Location(self):
77216
- r"""位置名称
77279
+ r"""<p>位置名称</p>
77217
77280
  :rtype: str
77218
77281
  """
77219
77282
  return self._Location
@@ -77224,7 +77287,7 @@ XTI - 威胁情报
77224
77287
 
77225
77288
  @property
77226
77289
  def Quuid(self):
77227
- r"""主机quuid
77290
+ r"""<p>主机quuid</p>
77228
77291
  :rtype: str
77229
77292
  """
77230
77293
  return self._Quuid
@@ -77235,9 +77298,7 @@ XTI - 威胁情报
77235
77298
 
77236
77299
  @property
77237
77300
  def Desc(self):
77238
- r"""高危信息说明:
77239
- ABROAD - 境外IP;
77240
- XTI - 威胁情报
77301
+ r"""<p>高危信息说明:<br>ABROAD - 境外IP;<br>XTI - 威胁情报</p>
77241
77302
  :rtype: str
77242
77303
  """
77243
77304
  return self._Desc
@@ -77248,7 +77309,7 @@ XTI - 威胁情报
77248
77309
 
77249
77310
  @property
77250
77311
  def MachineExtraInfo(self):
77251
- r"""附加信息
77312
+ r"""<p>附加信息</p>
77252
77313
  :rtype: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
77253
77314
  """
77254
77315
  return self._MachineExtraInfo
@@ -77259,7 +77320,7 @@ XTI - 威胁情报
77259
77320
 
77260
77321
  @property
77261
77322
  def Port(self):
77262
- r"""请求目的端口
77323
+ r"""<p>请求目的端口</p>
77263
77324
  :rtype: int
77264
77325
  """
77265
77326
  return self._Port
@@ -77270,7 +77331,7 @@ XTI - 威胁情报
77270
77331
 
77271
77332
  @property
77272
77333
  def IPAnalyse(self):
77273
- r"""ip分析
77334
+ r"""<p>ip分析</p>
77274
77335
  :rtype: :class:`tencentcloud.cwp.v20180228.models.IPAnalyse`
77275
77336
  """
77276
77337
  return self._IPAnalyse
@@ -77279,6 +77340,94 @@ XTI - 威胁情报
77279
77340
  def IPAnalyse(self, IPAnalyse):
77280
77341
  self._IPAnalyse = IPAnalyse
77281
77342
 
77343
+ @property
77344
+ def HitRule(self):
77345
+ r"""<p>命中策略ID</p><p>枚举值:</p><ul><li>risk_login_1: 威胁情报</li><li>risk_login_2: 密码破解成功后登录</li><li>risk_login_3: 弱口令账户登录</li><li>risk_login_4: 非法账户登录</li><li>risk_login_5: 登录后存在入侵行为</li><li>risk_login_101: 海外IP登录</li><li>risk_login_102: 非常用登录地登录</li><li>risk_login_103: 非工作时间登录</li></ul>
77346
+ :rtype: str
77347
+ """
77348
+ return self._HitRule
77349
+
77350
+ @HitRule.setter
77351
+ def HitRule(self, HitRule):
77352
+ self._HitRule = HitRule
77353
+
77354
+ @property
77355
+ def HitRuleName(self):
77356
+ r"""<p>命中策略名</p>
77357
+ :rtype: str
77358
+ """
77359
+ return self._HitRuleName
77360
+
77361
+ @HitRuleName.setter
77362
+ def HitRuleName(self, HitRuleName):
77363
+ self._HitRuleName = HitRuleName
77364
+
77365
+ @property
77366
+ def AlertCount(self):
77367
+ r"""<p>告警数量</p>
77368
+ :rtype: int
77369
+ """
77370
+ return self._AlertCount
77371
+
77372
+ @AlertCount.setter
77373
+ def AlertCount(self, AlertCount):
77374
+ self._AlertCount = AlertCount
77375
+
77376
+ @property
77377
+ def FirstDiscoverTime(self):
77378
+ r"""<p>首次发现时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
77379
+ :rtype: str
77380
+ """
77381
+ return self._FirstDiscoverTime
77382
+
77383
+ @FirstDiscoverTime.setter
77384
+ def FirstDiscoverTime(self, FirstDiscoverTime):
77385
+ self._FirstDiscoverTime = FirstDiscoverTime
77386
+
77387
+ @property
77388
+ def LastDiscoverTime(self):
77389
+ r"""<p>最近发现时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
77390
+ :rtype: str
77391
+ """
77392
+ return self._LastDiscoverTime
77393
+
77394
+ @LastDiscoverTime.setter
77395
+ def LastDiscoverTime(self, LastDiscoverTime):
77396
+ self._LastDiscoverTime = LastDiscoverTime
77397
+
77398
+ @property
77399
+ def HarmDescribe(self):
77400
+ r"""<p>危害描述</p>
77401
+ :rtype: str
77402
+ """
77403
+ return self._HarmDescribe
77404
+
77405
+ @HarmDescribe.setter
77406
+ def HarmDescribe(self, HarmDescribe):
77407
+ self._HarmDescribe = HarmDescribe
77408
+
77409
+ @property
77410
+ def SuggestScheme(self):
77411
+ r"""<p>修复建议</p>
77412
+ :rtype: str
77413
+ """
77414
+ return self._SuggestScheme
77415
+
77416
+ @SuggestScheme.setter
77417
+ def SuggestScheme(self, SuggestScheme):
77418
+ self._SuggestScheme = SuggestScheme
77419
+
77420
+ @property
77421
+ def RecentLoginList(self):
77422
+ r"""<p>最近登录历史</p>
77423
+ :rtype: list of RecentLoginItem
77424
+ """
77425
+ return self._RecentLoginList
77426
+
77427
+ @RecentLoginList.setter
77428
+ def RecentLoginList(self, RecentLoginList):
77429
+ self._RecentLoginList = RecentLoginList
77430
+
77282
77431
 
77283
77432
  def _deserialize(self, params):
77284
77433
  self._Id = params.get("Id")
@@ -77308,6 +77457,19 @@ XTI - 威胁情报
77308
77457
  if params.get("IPAnalyse") is not None:
77309
77458
  self._IPAnalyse = IPAnalyse()
77310
77459
  self._IPAnalyse._deserialize(params.get("IPAnalyse"))
77460
+ self._HitRule = params.get("HitRule")
77461
+ self._HitRuleName = params.get("HitRuleName")
77462
+ self._AlertCount = params.get("AlertCount")
77463
+ self._FirstDiscoverTime = params.get("FirstDiscoverTime")
77464
+ self._LastDiscoverTime = params.get("LastDiscoverTime")
77465
+ self._HarmDescribe = params.get("HarmDescribe")
77466
+ self._SuggestScheme = params.get("SuggestScheme")
77467
+ if params.get("RecentLoginList") is not None:
77468
+ self._RecentLoginList = []
77469
+ for item in params.get("RecentLoginList"):
77470
+ obj = RecentLoginItem()
77471
+ obj._deserialize(item)
77472
+ self._RecentLoginList.append(obj)
77311
77473
  memeber_set = set(params.keys())
77312
77474
  for name, value in vars(self).items():
77313
77475
  property_name = name[1:]
@@ -87674,6 +87836,10 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
87674
87836
  :type Cycle: int
87675
87837
  :param _RealTimeMonitoring: <p>实时监控 0 关闭 1开启</p>
87676
87838
  :type RealTimeMonitoring: int
87839
+ :param _CustomPaths: <p>自定义路径列表,仅CheckPattern=2/3时生效:2表示仅检测这些路径,3表示检测时排除这些路径。最少1条,最多200条</p>
87840
+ :type CustomPaths: list of str
87841
+ :param _MonitorCustomPaths: <p>监控自定义路径列表,仅MonitoringPattern=2/3时生效:2表示仅监控这些路径,3表示监控时排除这些路径。最少1条,最多200条</p>
87842
+ :type MonitorCustomPaths: list of str
87677
87843
  :param _QuuidList: <p>自选服务器时必须 主机quuid的string数组</p>
87678
87844
  :type QuuidList: list of str
87679
87845
  :param _AutoIsolation: <p>是否自动隔离 1隔离 0 不隔离</p>
@@ -87707,6 +87873,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
87707
87873
  self._MonitoringPattern = None
87708
87874
  self._Cycle = None
87709
87875
  self._RealTimeMonitoring = None
87876
+ self._CustomPaths = None
87877
+ self._MonitorCustomPaths = None
87710
87878
  self._QuuidList = None
87711
87879
  self._AutoIsolation = None
87712
87880
  self._KillProcess = None
@@ -87808,6 +87976,28 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
87808
87976
  def RealTimeMonitoring(self, RealTimeMonitoring):
87809
87977
  self._RealTimeMonitoring = RealTimeMonitoring
87810
87978
 
87979
+ @property
87980
+ def CustomPaths(self):
87981
+ r"""<p>自定义路径列表,仅CheckPattern=2/3时生效:2表示仅检测这些路径,3表示检测时排除这些路径。最少1条,最多200条</p>
87982
+ :rtype: list of str
87983
+ """
87984
+ return self._CustomPaths
87985
+
87986
+ @CustomPaths.setter
87987
+ def CustomPaths(self, CustomPaths):
87988
+ self._CustomPaths = CustomPaths
87989
+
87990
+ @property
87991
+ def MonitorCustomPaths(self):
87992
+ r"""<p>监控自定义路径列表,仅MonitoringPattern=2/3时生效:2表示仅监控这些路径,3表示监控时排除这些路径。最少1条,最多200条</p>
87993
+ :rtype: list of str
87994
+ """
87995
+ return self._MonitorCustomPaths
87996
+
87997
+ @MonitorCustomPaths.setter
87998
+ def MonitorCustomPaths(self, MonitorCustomPaths):
87999
+ self._MonitorCustomPaths = MonitorCustomPaths
88000
+
87811
88001
  @property
87812
88002
  def QuuidList(self):
87813
88003
  r"""<p>自选服务器时必须 主机quuid的string数组</p>
@@ -87950,6 +88140,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
87950
88140
  self._MonitoringPattern = params.get("MonitoringPattern")
87951
88141
  self._Cycle = params.get("Cycle")
87952
88142
  self._RealTimeMonitoring = params.get("RealTimeMonitoring")
88143
+ self._CustomPaths = params.get("CustomPaths")
88144
+ self._MonitorCustomPaths = params.get("MonitorCustomPaths")
87953
88145
  self._QuuidList = params.get("QuuidList")
87954
88146
  self._AutoIsolation = params.get("AutoIsolation")
87955
88147
  self._KillProcess = params.get("KillProcess")
@@ -100567,6 +100759,72 @@ class RaspRuleVul(AbstractModel):
100567
100759
 
100568
100760
 
100569
100761
 
100762
+ class RecentLoginItem(AbstractModel):
100763
+ r"""异常登陆历史记录
100764
+
100765
+ """
100766
+
100767
+ def __init__(self):
100768
+ r"""
100769
+ :param _LoginTime: <p>登录时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
100770
+ :type LoginTime: str
100771
+ :param _LoginType: <p>登录方式</p><p>枚举值:</p><ul><li>0: 无效用户</li><li>1: 密码错误</li><li>2: 密码登录</li><li>3: 密钥登录</li><li>4: PAM 认证失败(sshd)</li><li>5: PAM 认证失败(tty)</li><li>6: 键盘交互登录</li><li>7: 键盘交互认证失败</li><li>8: PAM 认证失败</li></ul>
100772
+ :type LoginType: int
100773
+ :param _LoginTypeDesc: <p>登录方式描述</p>
100774
+ :type LoginTypeDesc: str
100775
+ """
100776
+ self._LoginTime = None
100777
+ self._LoginType = None
100778
+ self._LoginTypeDesc = None
100779
+
100780
+ @property
100781
+ def LoginTime(self):
100782
+ r"""<p>登录时间</p><p>参数格式:YYYY-MM-DD HH:MM:SS</p>
100783
+ :rtype: str
100784
+ """
100785
+ return self._LoginTime
100786
+
100787
+ @LoginTime.setter
100788
+ def LoginTime(self, LoginTime):
100789
+ self._LoginTime = LoginTime
100790
+
100791
+ @property
100792
+ def LoginType(self):
100793
+ r"""<p>登录方式</p><p>枚举值:</p><ul><li>0: 无效用户</li><li>1: 密码错误</li><li>2: 密码登录</li><li>3: 密钥登录</li><li>4: PAM 认证失败(sshd)</li><li>5: PAM 认证失败(tty)</li><li>6: 键盘交互登录</li><li>7: 键盘交互认证失败</li><li>8: PAM 认证失败</li></ul>
100794
+ :rtype: int
100795
+ """
100796
+ return self._LoginType
100797
+
100798
+ @LoginType.setter
100799
+ def LoginType(self, LoginType):
100800
+ self._LoginType = LoginType
100801
+
100802
+ @property
100803
+ def LoginTypeDesc(self):
100804
+ r"""<p>登录方式描述</p>
100805
+ :rtype: str
100806
+ """
100807
+ return self._LoginTypeDesc
100808
+
100809
+ @LoginTypeDesc.setter
100810
+ def LoginTypeDesc(self, LoginTypeDesc):
100811
+ self._LoginTypeDesc = LoginTypeDesc
100812
+
100813
+
100814
+ def _deserialize(self, params):
100815
+ self._LoginTime = params.get("LoginTime")
100816
+ self._LoginType = params.get("LoginType")
100817
+ self._LoginTypeDesc = params.get("LoginTypeDesc")
100818
+ memeber_set = set(params.keys())
100819
+ for name, value in vars(self).items():
100820
+ property_name = name[1:]
100821
+ if property_name in memeber_set:
100822
+ memeber_set.remove(property_name)
100823
+ if len(memeber_set) > 0:
100824
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
100825
+
100826
+
100827
+
100570
100828
  class RecordInfo(AbstractModel):
100571
100829
  r"""客户端异常信息结构
100572
100830
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.1.169
3
+ Version: 3.1.181
4
4
  Summary: Tencent Cloud Cwp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.169
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.181
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=HnDCMRL5mci0tPT3Sl0Qh_d1hIggRW83QOx62CbPrW8,630
1
+ tencentcloud/__init__.py,sha256=Q7xjn66Y1ApDHTwqGAnGYkXPk8iZ-mRJJDynHutxW8Y,630
2
2
  tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cwp/v20180228/cwp_client.py,sha256=99tWcrEJqY_6xmageU5xC8cpGjn3xb_WqysVPfCkZ1w,492889
5
5
  tencentcloud/cwp/v20180228/cwp_client_async.py,sha256=Bv_qTxY825CGfBuncvCyI7TJkCMfNxWHeTb5LofZNGM,330336
6
6
  tencentcloud/cwp/v20180228/errorcodes.py,sha256=GGLopl1BdrhED3VJdN7OTgmr88O3OdihwPK-L0EGp78,4375
7
- tencentcloud/cwp/v20180228/models.py,sha256=UQBjVGvVbHLLgT3DgEEE-NDQmTGogV0WJJLF2RumHoQ,3347179
8
- tencentcloud_sdk_python_cwp-3.1.169.dist-info/METADATA,sha256=Y_Ve1zhV_qAAsCLPTSFZtdEEk_rBYfp3N0fnUJeN3zw,1497
9
- tencentcloud_sdk_python_cwp-3.1.169.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_cwp-3.1.169.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cwp-3.1.169.dist-info/RECORD,,
7
+ tencentcloud/cwp/v20180228/models.py,sha256=qodHZnSe3ynl8ZjrStoaS7tTn-jcHoZCpn5J9LApOts,3358070
8
+ tencentcloud_sdk_python_cwp-3.1.181.dist-info/METADATA,sha256=6rX8gwNf94siBQznm3iQQdvXv4kQ2AAaWM-fk6b6heY,1497
9
+ tencentcloud_sdk_python_cwp-3.1.181.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_cwp-3.1.181.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cwp-3.1.181.dist-info/RECORD,,