tencentcloud-sdk-python-csip 3.1.201__tar.gz → 3.1.203__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_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/setup.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/v20221121/models.py +460 -36
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_csip-3.1.203/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_csip-3.1.201/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/README.rst +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/setup.cfg +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/v20221121/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/v20221121/csip_client.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/v20221121/csip_client_async.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.201 → tencentcloud_sdk_python_csip-3.1.203}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
4
4
|
Summary: Tencent Cloud Csip 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-csip',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.203,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Csip SDK for Python',
|
|
@@ -138153,12 +138153,16 @@ class HostKBRisk(AbstractModel):
|
|
|
138153
138153
|
:type KBDetail: :class:`tencentcloud.csip.v20221121.models.KBDetail`
|
|
138154
138154
|
:param _EffectHostCount: <p>受影响主机数</p>
|
|
138155
138155
|
:type EffectHostCount: int
|
|
138156
|
-
:param _LatestScanTime: <p>最近扫描时间<br>参数格式:YYYY-MM-
|
|
138156
|
+
:param _LatestScanTime: <p>最近扫描时间<br>参数格式:YYYY-MM-DD HH:mm:ss</p>
|
|
138157
138157
|
:type LatestScanTime: str
|
|
138158
138158
|
:param _Account: <p>所属账号列表</p>
|
|
138159
138159
|
:type Account: list of AccountBriefInfo
|
|
138160
138160
|
:param _RiskStatus: <p>修复状态<br>枚举值:<br>PENDING:待修复<br>SCANNING:扫描中<br>FIXED:已修复<br>IGNORED:已加白<br>FIXING:修复中<br>FIX_FAILED:修复失败</p>
|
|
138161
138161
|
:type RiskStatus: str
|
|
138162
|
+
:param _IsNew: <p>是否最新补丁</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
138163
|
+
:type IsNew: bool
|
|
138164
|
+
:param _FixTaskId: <p>修复任务id</p>
|
|
138165
|
+
:type FixTaskId: str
|
|
138162
138166
|
"""
|
|
138163
138167
|
self._RiskID = None
|
|
138164
138168
|
self._KBDetail = None
|
|
@@ -138166,6 +138170,8 @@ class HostKBRisk(AbstractModel):
|
|
|
138166
138170
|
self._LatestScanTime = None
|
|
138167
138171
|
self._Account = None
|
|
138168
138172
|
self._RiskStatus = None
|
|
138173
|
+
self._IsNew = None
|
|
138174
|
+
self._FixTaskId = None
|
|
138169
138175
|
|
|
138170
138176
|
@property
|
|
138171
138177
|
def RiskID(self):
|
|
@@ -138202,7 +138208,7 @@ class HostKBRisk(AbstractModel):
|
|
|
138202
138208
|
|
|
138203
138209
|
@property
|
|
138204
138210
|
def LatestScanTime(self):
|
|
138205
|
-
r"""<p>最近扫描时间<br>参数格式:YYYY-MM-
|
|
138211
|
+
r"""<p>最近扫描时间<br>参数格式:YYYY-MM-DD HH:mm:ss</p>
|
|
138206
138212
|
:rtype: str
|
|
138207
138213
|
"""
|
|
138208
138214
|
return self._LatestScanTime
|
|
@@ -138233,6 +138239,28 @@ class HostKBRisk(AbstractModel):
|
|
|
138233
138239
|
def RiskStatus(self, RiskStatus):
|
|
138234
138240
|
self._RiskStatus = RiskStatus
|
|
138235
138241
|
|
|
138242
|
+
@property
|
|
138243
|
+
def IsNew(self):
|
|
138244
|
+
r"""<p>是否最新补丁</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
138245
|
+
:rtype: bool
|
|
138246
|
+
"""
|
|
138247
|
+
return self._IsNew
|
|
138248
|
+
|
|
138249
|
+
@IsNew.setter
|
|
138250
|
+
def IsNew(self, IsNew):
|
|
138251
|
+
self._IsNew = IsNew
|
|
138252
|
+
|
|
138253
|
+
@property
|
|
138254
|
+
def FixTaskId(self):
|
|
138255
|
+
r"""<p>修复任务id</p>
|
|
138256
|
+
:rtype: str
|
|
138257
|
+
"""
|
|
138258
|
+
return self._FixTaskId
|
|
138259
|
+
|
|
138260
|
+
@FixTaskId.setter
|
|
138261
|
+
def FixTaskId(self, FixTaskId):
|
|
138262
|
+
self._FixTaskId = FixTaskId
|
|
138263
|
+
|
|
138236
138264
|
|
|
138237
138265
|
def _deserialize(self, params):
|
|
138238
138266
|
self._RiskID = params.get("RiskID")
|
|
@@ -138248,6 +138276,8 @@ class HostKBRisk(AbstractModel):
|
|
|
138248
138276
|
obj._deserialize(item)
|
|
138249
138277
|
self._Account.append(obj)
|
|
138250
138278
|
self._RiskStatus = params.get("RiskStatus")
|
|
138279
|
+
self._IsNew = params.get("IsNew")
|
|
138280
|
+
self._FixTaskId = params.get("FixTaskId")
|
|
138251
138281
|
memeber_set = set(params.keys())
|
|
138252
138282
|
for name, value in vars(self).items():
|
|
138253
138283
|
property_name = name[1:]
|
|
@@ -138819,6 +138849,10 @@ class HostVulRisk(AbstractModel):
|
|
|
138819
138849
|
:type RiskStatus: str
|
|
138820
138850
|
:param _VulDetail: <p>漏洞详细信息</p>
|
|
138821
138851
|
:type VulDetail: :class:`tencentcloud.csip.v20221121.models.VulDetailInfo`
|
|
138852
|
+
:param _FixTaskId: <p>修复任务ID</p>
|
|
138853
|
+
:type FixTaskId: str
|
|
138854
|
+
:param _SupportAutoFix: <p>当前用户可见范围内存在至少一台支持自动修复的主机时为 1,否则为 0</p><p>单位:1</p>
|
|
138855
|
+
:type SupportAutoFix: int
|
|
138822
138856
|
"""
|
|
138823
138857
|
self._RiskID = None
|
|
138824
138858
|
self._EffectHostCount = None
|
|
@@ -138827,6 +138861,8 @@ class HostVulRisk(AbstractModel):
|
|
|
138827
138861
|
self._DefendStatus = None
|
|
138828
138862
|
self._RiskStatus = None
|
|
138829
138863
|
self._VulDetail = None
|
|
138864
|
+
self._FixTaskId = None
|
|
138865
|
+
self._SupportAutoFix = None
|
|
138830
138866
|
|
|
138831
138867
|
@property
|
|
138832
138868
|
def RiskID(self):
|
|
@@ -138905,6 +138941,28 @@ class HostVulRisk(AbstractModel):
|
|
|
138905
138941
|
def VulDetail(self, VulDetail):
|
|
138906
138942
|
self._VulDetail = VulDetail
|
|
138907
138943
|
|
|
138944
|
+
@property
|
|
138945
|
+
def FixTaskId(self):
|
|
138946
|
+
r"""<p>修复任务ID</p>
|
|
138947
|
+
:rtype: str
|
|
138948
|
+
"""
|
|
138949
|
+
return self._FixTaskId
|
|
138950
|
+
|
|
138951
|
+
@FixTaskId.setter
|
|
138952
|
+
def FixTaskId(self, FixTaskId):
|
|
138953
|
+
self._FixTaskId = FixTaskId
|
|
138954
|
+
|
|
138955
|
+
@property
|
|
138956
|
+
def SupportAutoFix(self):
|
|
138957
|
+
r"""<p>当前用户可见范围内存在至少一台支持自动修复的主机时为 1,否则为 0</p><p>单位:1</p>
|
|
138958
|
+
:rtype: int
|
|
138959
|
+
"""
|
|
138960
|
+
return self._SupportAutoFix
|
|
138961
|
+
|
|
138962
|
+
@SupportAutoFix.setter
|
|
138963
|
+
def SupportAutoFix(self, SupportAutoFix):
|
|
138964
|
+
self._SupportAutoFix = SupportAutoFix
|
|
138965
|
+
|
|
138908
138966
|
|
|
138909
138967
|
def _deserialize(self, params):
|
|
138910
138968
|
self._RiskID = params.get("RiskID")
|
|
@@ -138921,6 +138979,8 @@ class HostVulRisk(AbstractModel):
|
|
|
138921
138979
|
if params.get("VulDetail") is not None:
|
|
138922
138980
|
self._VulDetail = VulDetailInfo()
|
|
138923
138981
|
self._VulDetail._deserialize(params.get("VulDetail"))
|
|
138982
|
+
self._FixTaskId = params.get("FixTaskId")
|
|
138983
|
+
self._SupportAutoFix = params.get("SupportAutoFix")
|
|
138924
138984
|
memeber_set = set(params.keys())
|
|
138925
138985
|
for name, value in vars(self).items():
|
|
138926
138986
|
property_name = name[1:]
|
|
@@ -146930,33 +146990,59 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
146930
146990
|
|
|
146931
146991
|
def __init__(self):
|
|
146932
146992
|
r"""
|
|
146933
|
-
:param _KBId:
|
|
146993
|
+
:param _KBId: KB补丁ID
|
|
146934
146994
|
:type KBId: int
|
|
146935
|
-
:param _InstanceId:
|
|
146995
|
+
:param _InstanceId: 主机实例ID
|
|
146936
146996
|
:type InstanceId: str
|
|
146937
|
-
:param _MachineName:
|
|
146997
|
+
:param _MachineName: 主机名称
|
|
146938
146998
|
:type MachineName: str
|
|
146939
|
-
:param _MachineIp:
|
|
146999
|
+
:param _MachineIp: 主机IP
|
|
146940
147000
|
:type MachineIp: str
|
|
146941
|
-
:param _PublicIp:
|
|
147001
|
+
:param _PublicIp: 公网IP
|
|
146942
147002
|
:type PublicIp: str
|
|
146943
|
-
:param _OsName:
|
|
147003
|
+
:param _OsName: 操作系统名称
|
|
146944
147004
|
:type OsName: str
|
|
146945
|
-
:param _MachineStatus:
|
|
147005
|
+
:param _MachineStatus: 主机在线状态
|
|
147006
|
+
枚举值:
|
|
147007
|
+
ONLINE:在线
|
|
147008
|
+
OFFLINE:离线
|
|
146946
147009
|
:type MachineStatus: str
|
|
146947
|
-
:param
|
|
147010
|
+
:param _HostStatus: 主机运行状态
|
|
147011
|
+
枚举值:
|
|
147012
|
+
RUNNING:运行中
|
|
147013
|
+
STOPPED:已停止
|
|
147014
|
+
EXPIRED:待回收
|
|
147015
|
+
:type HostStatus: str
|
|
147016
|
+
:param _SupportAutoFix: 是否支持自动更新补丁
|
|
147017
|
+
枚举值:
|
|
147018
|
+
0:不支持
|
|
147019
|
+
1:支持
|
|
146948
147020
|
:type SupportAutoFix: int
|
|
146949
|
-
:param _FixStatus:
|
|
147021
|
+
:param _FixStatus: 当前修复状态
|
|
147022
|
+
枚举值:
|
|
147023
|
+
0:未修复
|
|
147024
|
+
1:修复中
|
|
147025
|
+
2:修复失败
|
|
147026
|
+
3:修复成功
|
|
147027
|
+
4:修复超时
|
|
146950
147028
|
:type FixStatus: int
|
|
146951
|
-
:param _LatestFixTime:
|
|
147029
|
+
:param _LatestFixTime: 最近一次修复时间
|
|
147030
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
146952
147031
|
:type LatestFixTime: str
|
|
146953
|
-
:param _NotFixableReason:
|
|
147032
|
+
:param _NotFixableReason: 不可修复原因,SupportAutoFix为0时返回
|
|
146954
147033
|
:type NotFixableReason: str
|
|
146955
|
-
:param
|
|
147034
|
+
:param _NotFixableAction: 不可修复原因关联动作,SupportAutoFix为0且存在可引导动作时返回
|
|
147035
|
+
:type NotFixableAction: :class:`tencentcloud.csip.v20221121.models.VulFixableMachineAction`
|
|
147036
|
+
:param _TagItems: 资产标签列表
|
|
146956
147037
|
:type TagItems: list of MiniTagItem
|
|
146957
|
-
:param _AppId:
|
|
147038
|
+
:param _AppId: 所属账号AppId
|
|
146958
147039
|
:type AppId: int
|
|
146959
|
-
:param _PayVersion:
|
|
147040
|
+
:param _PayVersion: 付费版本信息
|
|
147041
|
+
枚举值:
|
|
147042
|
+
BASIC:基础版
|
|
147043
|
+
PRO:专业版
|
|
147044
|
+
ULTIMATE:旗舰版
|
|
147045
|
+
PRO_LH:轻量版
|
|
146960
147046
|
:type PayVersion: str
|
|
146961
147047
|
"""
|
|
146962
147048
|
self._KBId = None
|
|
@@ -146966,17 +147052,19 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
146966
147052
|
self._PublicIp = None
|
|
146967
147053
|
self._OsName = None
|
|
146968
147054
|
self._MachineStatus = None
|
|
147055
|
+
self._HostStatus = None
|
|
146969
147056
|
self._SupportAutoFix = None
|
|
146970
147057
|
self._FixStatus = None
|
|
146971
147058
|
self._LatestFixTime = None
|
|
146972
147059
|
self._NotFixableReason = None
|
|
147060
|
+
self._NotFixableAction = None
|
|
146973
147061
|
self._TagItems = None
|
|
146974
147062
|
self._AppId = None
|
|
146975
147063
|
self._PayVersion = None
|
|
146976
147064
|
|
|
146977
147065
|
@property
|
|
146978
147066
|
def KBId(self):
|
|
146979
|
-
r"""
|
|
147067
|
+
r"""KB补丁ID
|
|
146980
147068
|
:rtype: int
|
|
146981
147069
|
"""
|
|
146982
147070
|
return self._KBId
|
|
@@ -146987,7 +147075,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
146987
147075
|
|
|
146988
147076
|
@property
|
|
146989
147077
|
def InstanceId(self):
|
|
146990
|
-
r"""
|
|
147078
|
+
r"""主机实例ID
|
|
146991
147079
|
:rtype: str
|
|
146992
147080
|
"""
|
|
146993
147081
|
return self._InstanceId
|
|
@@ -146998,7 +147086,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
146998
147086
|
|
|
146999
147087
|
@property
|
|
147000
147088
|
def MachineName(self):
|
|
147001
|
-
r"""
|
|
147089
|
+
r"""主机名称
|
|
147002
147090
|
:rtype: str
|
|
147003
147091
|
"""
|
|
147004
147092
|
return self._MachineName
|
|
@@ -147009,7 +147097,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147009
147097
|
|
|
147010
147098
|
@property
|
|
147011
147099
|
def MachineIp(self):
|
|
147012
|
-
r"""
|
|
147100
|
+
r"""主机IP
|
|
147013
147101
|
:rtype: str
|
|
147014
147102
|
"""
|
|
147015
147103
|
return self._MachineIp
|
|
@@ -147020,7 +147108,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147020
147108
|
|
|
147021
147109
|
@property
|
|
147022
147110
|
def PublicIp(self):
|
|
147023
|
-
r"""
|
|
147111
|
+
r"""公网IP
|
|
147024
147112
|
:rtype: str
|
|
147025
147113
|
"""
|
|
147026
147114
|
return self._PublicIp
|
|
@@ -147031,7 +147119,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147031
147119
|
|
|
147032
147120
|
@property
|
|
147033
147121
|
def OsName(self):
|
|
147034
|
-
r"""
|
|
147122
|
+
r"""操作系统名称
|
|
147035
147123
|
:rtype: str
|
|
147036
147124
|
"""
|
|
147037
147125
|
return self._OsName
|
|
@@ -147042,7 +147130,10 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147042
147130
|
|
|
147043
147131
|
@property
|
|
147044
147132
|
def MachineStatus(self):
|
|
147045
|
-
r"""
|
|
147133
|
+
r"""主机在线状态
|
|
147134
|
+
枚举值:
|
|
147135
|
+
ONLINE:在线
|
|
147136
|
+
OFFLINE:离线
|
|
147046
147137
|
:rtype: str
|
|
147047
147138
|
"""
|
|
147048
147139
|
return self._MachineStatus
|
|
@@ -147051,9 +147142,27 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147051
147142
|
def MachineStatus(self, MachineStatus):
|
|
147052
147143
|
self._MachineStatus = MachineStatus
|
|
147053
147144
|
|
|
147145
|
+
@property
|
|
147146
|
+
def HostStatus(self):
|
|
147147
|
+
r"""主机运行状态
|
|
147148
|
+
枚举值:
|
|
147149
|
+
RUNNING:运行中
|
|
147150
|
+
STOPPED:已停止
|
|
147151
|
+
EXPIRED:待回收
|
|
147152
|
+
:rtype: str
|
|
147153
|
+
"""
|
|
147154
|
+
return self._HostStatus
|
|
147155
|
+
|
|
147156
|
+
@HostStatus.setter
|
|
147157
|
+
def HostStatus(self, HostStatus):
|
|
147158
|
+
self._HostStatus = HostStatus
|
|
147159
|
+
|
|
147054
147160
|
@property
|
|
147055
147161
|
def SupportAutoFix(self):
|
|
147056
|
-
r"""
|
|
147162
|
+
r"""是否支持自动更新补丁
|
|
147163
|
+
枚举值:
|
|
147164
|
+
0:不支持
|
|
147165
|
+
1:支持
|
|
147057
147166
|
:rtype: int
|
|
147058
147167
|
"""
|
|
147059
147168
|
return self._SupportAutoFix
|
|
@@ -147064,7 +147173,13 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147064
147173
|
|
|
147065
147174
|
@property
|
|
147066
147175
|
def FixStatus(self):
|
|
147067
|
-
r"""
|
|
147176
|
+
r"""当前修复状态
|
|
147177
|
+
枚举值:
|
|
147178
|
+
0:未修复
|
|
147179
|
+
1:修复中
|
|
147180
|
+
2:修复失败
|
|
147181
|
+
3:修复成功
|
|
147182
|
+
4:修复超时
|
|
147068
147183
|
:rtype: int
|
|
147069
147184
|
"""
|
|
147070
147185
|
return self._FixStatus
|
|
@@ -147075,7 +147190,8 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147075
147190
|
|
|
147076
147191
|
@property
|
|
147077
147192
|
def LatestFixTime(self):
|
|
147078
|
-
r"""
|
|
147193
|
+
r"""最近一次修复时间
|
|
147194
|
+
参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)
|
|
147079
147195
|
:rtype: str
|
|
147080
147196
|
"""
|
|
147081
147197
|
return self._LatestFixTime
|
|
@@ -147086,7 +147202,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147086
147202
|
|
|
147087
147203
|
@property
|
|
147088
147204
|
def NotFixableReason(self):
|
|
147089
|
-
r"""
|
|
147205
|
+
r"""不可修复原因,SupportAutoFix为0时返回
|
|
147090
147206
|
:rtype: str
|
|
147091
147207
|
"""
|
|
147092
147208
|
return self._NotFixableReason
|
|
@@ -147095,9 +147211,20 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147095
147211
|
def NotFixableReason(self, NotFixableReason):
|
|
147096
147212
|
self._NotFixableReason = NotFixableReason
|
|
147097
147213
|
|
|
147214
|
+
@property
|
|
147215
|
+
def NotFixableAction(self):
|
|
147216
|
+
r"""不可修复原因关联动作,SupportAutoFix为0且存在可引导动作时返回
|
|
147217
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.VulFixableMachineAction`
|
|
147218
|
+
"""
|
|
147219
|
+
return self._NotFixableAction
|
|
147220
|
+
|
|
147221
|
+
@NotFixableAction.setter
|
|
147222
|
+
def NotFixableAction(self, NotFixableAction):
|
|
147223
|
+
self._NotFixableAction = NotFixableAction
|
|
147224
|
+
|
|
147098
147225
|
@property
|
|
147099
147226
|
def TagItems(self):
|
|
147100
|
-
r"""
|
|
147227
|
+
r"""资产标签列表
|
|
147101
147228
|
:rtype: list of MiniTagItem
|
|
147102
147229
|
"""
|
|
147103
147230
|
return self._TagItems
|
|
@@ -147108,7 +147235,7 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147108
147235
|
|
|
147109
147236
|
@property
|
|
147110
147237
|
def AppId(self):
|
|
147111
|
-
r"""
|
|
147238
|
+
r"""所属账号AppId
|
|
147112
147239
|
:rtype: int
|
|
147113
147240
|
"""
|
|
147114
147241
|
return self._AppId
|
|
@@ -147119,7 +147246,12 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147119
147246
|
|
|
147120
147247
|
@property
|
|
147121
147248
|
def PayVersion(self):
|
|
147122
|
-
r"""
|
|
147249
|
+
r"""付费版本信息
|
|
147250
|
+
枚举值:
|
|
147251
|
+
BASIC:基础版
|
|
147252
|
+
PRO:专业版
|
|
147253
|
+
ULTIMATE:旗舰版
|
|
147254
|
+
PRO_LH:轻量版
|
|
147123
147255
|
:rtype: str
|
|
147124
147256
|
"""
|
|
147125
147257
|
return self._PayVersion
|
|
@@ -147137,10 +147269,14 @@ class KBUpdateMachineItem(AbstractModel):
|
|
|
147137
147269
|
self._PublicIp = params.get("PublicIp")
|
|
147138
147270
|
self._OsName = params.get("OsName")
|
|
147139
147271
|
self._MachineStatus = params.get("MachineStatus")
|
|
147272
|
+
self._HostStatus = params.get("HostStatus")
|
|
147140
147273
|
self._SupportAutoFix = params.get("SupportAutoFix")
|
|
147141
147274
|
self._FixStatus = params.get("FixStatus")
|
|
147142
147275
|
self._LatestFixTime = params.get("LatestFixTime")
|
|
147143
147276
|
self._NotFixableReason = params.get("NotFixableReason")
|
|
147277
|
+
if params.get("NotFixableAction") is not None:
|
|
147278
|
+
self._NotFixableAction = VulFixableMachineAction()
|
|
147279
|
+
self._NotFixableAction._deserialize(params.get("NotFixableAction"))
|
|
147144
147280
|
if params.get("TagItems") is not None:
|
|
147145
147281
|
self._TagItems = []
|
|
147146
147282
|
for item in params.get("TagItems"):
|
|
@@ -192224,10 +192360,13 @@ class VPRExplainDimensionItem(AbstractModel):
|
|
|
192224
192360
|
:type Name: str
|
|
192225
192361
|
:param _Remark: <p>标签描述</p>
|
|
192226
192362
|
:type Remark: str
|
|
192363
|
+
:param _Level: <p>危害等级</p><p>枚举值:</p><ul><li>LOW: 低危</li><li>MEDIUM: 中危</li><li>HIGH: 高危</li><li>CRITICAL: 严重</li></ul>
|
|
192364
|
+
:type Level: str
|
|
192227
192365
|
"""
|
|
192228
192366
|
self._Key = None
|
|
192229
192367
|
self._Name = None
|
|
192230
192368
|
self._Remark = None
|
|
192369
|
+
self._Level = None
|
|
192231
192370
|
|
|
192232
192371
|
@property
|
|
192233
192372
|
def Key(self):
|
|
@@ -192262,11 +192401,23 @@ class VPRExplainDimensionItem(AbstractModel):
|
|
|
192262
192401
|
def Remark(self, Remark):
|
|
192263
192402
|
self._Remark = Remark
|
|
192264
192403
|
|
|
192404
|
+
@property
|
|
192405
|
+
def Level(self):
|
|
192406
|
+
r"""<p>危害等级</p><p>枚举值:</p><ul><li>LOW: 低危</li><li>MEDIUM: 中危</li><li>HIGH: 高危</li><li>CRITICAL: 严重</li></ul>
|
|
192407
|
+
:rtype: str
|
|
192408
|
+
"""
|
|
192409
|
+
return self._Level
|
|
192410
|
+
|
|
192411
|
+
@Level.setter
|
|
192412
|
+
def Level(self, Level):
|
|
192413
|
+
self._Level = Level
|
|
192414
|
+
|
|
192265
192415
|
|
|
192266
192416
|
def _deserialize(self, params):
|
|
192267
192417
|
self._Key = params.get("Key")
|
|
192268
192418
|
self._Name = params.get("Name")
|
|
192269
192419
|
self._Remark = params.get("Remark")
|
|
192420
|
+
self._Level = params.get("Level")
|
|
192270
192421
|
memeber_set = set(params.keys())
|
|
192271
192422
|
for name, value in vars(self).items():
|
|
192272
192423
|
property_name = name[1:]
|
|
@@ -195144,6 +195295,12 @@ false:未收录
|
|
|
195144
195295
|
:type HarmDescription: str
|
|
195145
195296
|
:param _AffectVendorProduct: <p>漏洞影响产品</p>
|
|
195146
195297
|
:type AffectVendorProduct: list of VulVendorProduct
|
|
195298
|
+
:param _VPRExplainInfo: <p>VPR暴露面信息</p>
|
|
195299
|
+
:type VPRExplainInfo: :class:`tencentcloud.csip.v20221121.models.VPRExplainInfo`
|
|
195300
|
+
:param _ScanTaskId: <p>最近扫描任务id(应急漏洞)</p>
|
|
195301
|
+
:type ScanTaskId: int
|
|
195302
|
+
:param _AffectAsset: <p>影响资产数(应急漏洞)</p>
|
|
195303
|
+
:type AffectAsset: int
|
|
195147
195304
|
"""
|
|
195148
195305
|
self._ID = None
|
|
195149
195306
|
self._Name = None
|
|
@@ -195175,6 +195332,9 @@ false:未收录
|
|
|
195175
195332
|
self._RefLink = None
|
|
195176
195333
|
self._HarmDescription = None
|
|
195177
195334
|
self._AffectVendorProduct = None
|
|
195335
|
+
self._VPRExplainInfo = None
|
|
195336
|
+
self._ScanTaskId = None
|
|
195337
|
+
self._AffectAsset = None
|
|
195178
195338
|
|
|
195179
195339
|
@property
|
|
195180
195340
|
def ID(self):
|
|
@@ -195534,6 +195694,39 @@ false:未收录
|
|
|
195534
195694
|
def AffectVendorProduct(self, AffectVendorProduct):
|
|
195535
195695
|
self._AffectVendorProduct = AffectVendorProduct
|
|
195536
195696
|
|
|
195697
|
+
@property
|
|
195698
|
+
def VPRExplainInfo(self):
|
|
195699
|
+
r"""<p>VPR暴露面信息</p>
|
|
195700
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.VPRExplainInfo`
|
|
195701
|
+
"""
|
|
195702
|
+
return self._VPRExplainInfo
|
|
195703
|
+
|
|
195704
|
+
@VPRExplainInfo.setter
|
|
195705
|
+
def VPRExplainInfo(self, VPRExplainInfo):
|
|
195706
|
+
self._VPRExplainInfo = VPRExplainInfo
|
|
195707
|
+
|
|
195708
|
+
@property
|
|
195709
|
+
def ScanTaskId(self):
|
|
195710
|
+
r"""<p>最近扫描任务id(应急漏洞)</p>
|
|
195711
|
+
:rtype: int
|
|
195712
|
+
"""
|
|
195713
|
+
return self._ScanTaskId
|
|
195714
|
+
|
|
195715
|
+
@ScanTaskId.setter
|
|
195716
|
+
def ScanTaskId(self, ScanTaskId):
|
|
195717
|
+
self._ScanTaskId = ScanTaskId
|
|
195718
|
+
|
|
195719
|
+
@property
|
|
195720
|
+
def AffectAsset(self):
|
|
195721
|
+
r"""<p>影响资产数(应急漏洞)</p>
|
|
195722
|
+
:rtype: int
|
|
195723
|
+
"""
|
|
195724
|
+
return self._AffectAsset
|
|
195725
|
+
|
|
195726
|
+
@AffectAsset.setter
|
|
195727
|
+
def AffectAsset(self, AffectAsset):
|
|
195728
|
+
self._AffectAsset = AffectAsset
|
|
195729
|
+
|
|
195537
195730
|
|
|
195538
195731
|
def _deserialize(self, params):
|
|
195539
195732
|
self._ID = params.get("ID")
|
|
@@ -195583,6 +195776,11 @@ false:未收录
|
|
|
195583
195776
|
obj = VulVendorProduct()
|
|
195584
195777
|
obj._deserialize(item)
|
|
195585
195778
|
self._AffectVendorProduct.append(obj)
|
|
195779
|
+
if params.get("VPRExplainInfo") is not None:
|
|
195780
|
+
self._VPRExplainInfo = VPRExplainInfo()
|
|
195781
|
+
self._VPRExplainInfo._deserialize(params.get("VPRExplainInfo"))
|
|
195782
|
+
self._ScanTaskId = params.get("ScanTaskId")
|
|
195783
|
+
self._AffectAsset = params.get("AffectAsset")
|
|
195586
195784
|
memeber_set = set(params.keys())
|
|
195587
195785
|
for name, value in vars(self).items():
|
|
195588
195786
|
property_name = name[1:]
|
|
@@ -195812,7 +196010,7 @@ class VulFixSummaryItem(AbstractModel):
|
|
|
195812
196010
|
:type AffectedCount: int
|
|
195813
196011
|
:param _NeedReboot: <p>修复后是否需要重启系统</p>
|
|
195814
196012
|
:type NeedReboot: bool
|
|
195815
|
-
:param _FixSwitch: <p
|
|
196013
|
+
:param _FixSwitch: <p>是否支持一键修复</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
195816
196014
|
:type FixSwitch: bool
|
|
195817
196015
|
"""
|
|
195818
196016
|
self._VulId = None
|
|
@@ -195879,7 +196077,7 @@ class VulFixSummaryItem(AbstractModel):
|
|
|
195879
196077
|
|
|
195880
196078
|
@property
|
|
195881
196079
|
def FixSwitch(self):
|
|
195882
|
-
r"""<p
|
|
196080
|
+
r"""<p>是否支持一键修复</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
195883
196081
|
:rtype: bool
|
|
195884
196082
|
"""
|
|
195885
196083
|
return self._FixSwitch
|
|
@@ -195937,6 +196135,14 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
195937
196135
|
:type SnapshotStatus: int
|
|
195938
196136
|
:param _ExceptionMessage: <p>异常提示信息</p>
|
|
195939
196137
|
:type ExceptionMessage: str
|
|
196138
|
+
:param _ErrorCode: <p>结构化错误码(如 VF-INS-002、VF-AG-013)</p>
|
|
196139
|
+
:type ErrorCode: str
|
|
196140
|
+
:param _ErrorReason: <p>结构化失败原因</p>
|
|
196141
|
+
:type ErrorReason: str
|
|
196142
|
+
:param _ErrorSolution: <p>结构化解决方案</p>
|
|
196143
|
+
:type ErrorSolution: str
|
|
196144
|
+
:param _RawErrorMessage: <p>原始错误信息(不做翻译)</p>
|
|
196145
|
+
:type RawErrorMessage: str
|
|
195940
196146
|
:param _StartTime: <p>修复启动时间<br>参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)</p>
|
|
195941
196147
|
:type StartTime: str
|
|
195942
196148
|
:param _EndTime: <p>修复结束时间<br>参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)</p>
|
|
@@ -195947,6 +196153,10 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
195947
196153
|
:type SnapshotExpireTime: str
|
|
195948
196154
|
:param _SnapshotFailReason: <p>快照创建失败原因(当 SnapshotStatus=3 时有值)</p>
|
|
195949
196155
|
:type SnapshotFailReason: str
|
|
196156
|
+
:param _MachineType: <p>机器类型</p><p>枚举值:</p><ul><li>CVM: 腾讯云cvm</li><li>Other: 混合云机器</li></ul>
|
|
196157
|
+
:type MachineType: str
|
|
196158
|
+
:param _SnapshotReused: <p>快照是否复用</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
196159
|
+
:type SnapshotReused: bool
|
|
195950
196160
|
"""
|
|
195951
196161
|
self._Id = None
|
|
195952
196162
|
self._TaskId = None
|
|
@@ -195960,11 +196170,17 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
195960
196170
|
self._FixStatus = None
|
|
195961
196171
|
self._SnapshotStatus = None
|
|
195962
196172
|
self._ExceptionMessage = None
|
|
196173
|
+
self._ErrorCode = None
|
|
196174
|
+
self._ErrorReason = None
|
|
196175
|
+
self._ErrorSolution = None
|
|
196176
|
+
self._RawErrorMessage = None
|
|
195963
196177
|
self._StartTime = None
|
|
195964
196178
|
self._EndTime = None
|
|
195965
196179
|
self._SnapshotCreateTime = None
|
|
195966
196180
|
self._SnapshotExpireTime = None
|
|
195967
196181
|
self._SnapshotFailReason = None
|
|
196182
|
+
self._MachineType = None
|
|
196183
|
+
self._SnapshotReused = None
|
|
195968
196184
|
|
|
195969
196185
|
@property
|
|
195970
196186
|
def Id(self):
|
|
@@ -196098,6 +196314,50 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
196098
196314
|
def ExceptionMessage(self, ExceptionMessage):
|
|
196099
196315
|
self._ExceptionMessage = ExceptionMessage
|
|
196100
196316
|
|
|
196317
|
+
@property
|
|
196318
|
+
def ErrorCode(self):
|
|
196319
|
+
r"""<p>结构化错误码(如 VF-INS-002、VF-AG-013)</p>
|
|
196320
|
+
:rtype: str
|
|
196321
|
+
"""
|
|
196322
|
+
return self._ErrorCode
|
|
196323
|
+
|
|
196324
|
+
@ErrorCode.setter
|
|
196325
|
+
def ErrorCode(self, ErrorCode):
|
|
196326
|
+
self._ErrorCode = ErrorCode
|
|
196327
|
+
|
|
196328
|
+
@property
|
|
196329
|
+
def ErrorReason(self):
|
|
196330
|
+
r"""<p>结构化失败原因</p>
|
|
196331
|
+
:rtype: str
|
|
196332
|
+
"""
|
|
196333
|
+
return self._ErrorReason
|
|
196334
|
+
|
|
196335
|
+
@ErrorReason.setter
|
|
196336
|
+
def ErrorReason(self, ErrorReason):
|
|
196337
|
+
self._ErrorReason = ErrorReason
|
|
196338
|
+
|
|
196339
|
+
@property
|
|
196340
|
+
def ErrorSolution(self):
|
|
196341
|
+
r"""<p>结构化解决方案</p>
|
|
196342
|
+
:rtype: str
|
|
196343
|
+
"""
|
|
196344
|
+
return self._ErrorSolution
|
|
196345
|
+
|
|
196346
|
+
@ErrorSolution.setter
|
|
196347
|
+
def ErrorSolution(self, ErrorSolution):
|
|
196348
|
+
self._ErrorSolution = ErrorSolution
|
|
196349
|
+
|
|
196350
|
+
@property
|
|
196351
|
+
def RawErrorMessage(self):
|
|
196352
|
+
r"""<p>原始错误信息(不做翻译)</p>
|
|
196353
|
+
:rtype: str
|
|
196354
|
+
"""
|
|
196355
|
+
return self._RawErrorMessage
|
|
196356
|
+
|
|
196357
|
+
@RawErrorMessage.setter
|
|
196358
|
+
def RawErrorMessage(self, RawErrorMessage):
|
|
196359
|
+
self._RawErrorMessage = RawErrorMessage
|
|
196360
|
+
|
|
196101
196361
|
@property
|
|
196102
196362
|
def StartTime(self):
|
|
196103
196363
|
r"""<p>修复启动时间<br>参数格式:YYYY-MM-DDTHH:mm:ssZ(ISO8601格式)</p>
|
|
@@ -196153,6 +196413,28 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
196153
196413
|
def SnapshotFailReason(self, SnapshotFailReason):
|
|
196154
196414
|
self._SnapshotFailReason = SnapshotFailReason
|
|
196155
196415
|
|
|
196416
|
+
@property
|
|
196417
|
+
def MachineType(self):
|
|
196418
|
+
r"""<p>机器类型</p><p>枚举值:</p><ul><li>CVM: 腾讯云cvm</li><li>Other: 混合云机器</li></ul>
|
|
196419
|
+
:rtype: str
|
|
196420
|
+
"""
|
|
196421
|
+
return self._MachineType
|
|
196422
|
+
|
|
196423
|
+
@MachineType.setter
|
|
196424
|
+
def MachineType(self, MachineType):
|
|
196425
|
+
self._MachineType = MachineType
|
|
196426
|
+
|
|
196427
|
+
@property
|
|
196428
|
+
def SnapshotReused(self):
|
|
196429
|
+
r"""<p>快照是否复用</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
196430
|
+
:rtype: bool
|
|
196431
|
+
"""
|
|
196432
|
+
return self._SnapshotReused
|
|
196433
|
+
|
|
196434
|
+
@SnapshotReused.setter
|
|
196435
|
+
def SnapshotReused(self, SnapshotReused):
|
|
196436
|
+
self._SnapshotReused = SnapshotReused
|
|
196437
|
+
|
|
196156
196438
|
|
|
196157
196439
|
def _deserialize(self, params):
|
|
196158
196440
|
self._Id = params.get("Id")
|
|
@@ -196167,11 +196449,17 @@ class VulFixTaskDetailItem(AbstractModel):
|
|
|
196167
196449
|
self._FixStatus = params.get("FixStatus")
|
|
196168
196450
|
self._SnapshotStatus = params.get("SnapshotStatus")
|
|
196169
196451
|
self._ExceptionMessage = params.get("ExceptionMessage")
|
|
196452
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
196453
|
+
self._ErrorReason = params.get("ErrorReason")
|
|
196454
|
+
self._ErrorSolution = params.get("ErrorSolution")
|
|
196455
|
+
self._RawErrorMessage = params.get("RawErrorMessage")
|
|
196170
196456
|
self._StartTime = params.get("StartTime")
|
|
196171
196457
|
self._EndTime = params.get("EndTime")
|
|
196172
196458
|
self._SnapshotCreateTime = params.get("SnapshotCreateTime")
|
|
196173
196459
|
self._SnapshotExpireTime = params.get("SnapshotExpireTime")
|
|
196174
196460
|
self._SnapshotFailReason = params.get("SnapshotFailReason")
|
|
196461
|
+
self._MachineType = params.get("MachineType")
|
|
196462
|
+
self._SnapshotReused = params.get("SnapshotReused")
|
|
196175
196463
|
memeber_set = set(params.keys())
|
|
196176
196464
|
for name, value in vars(self).items():
|
|
196177
196465
|
property_name = name[1:]
|
|
@@ -196784,6 +197072,63 @@ EMERGENCY:应急漏洞
|
|
|
196784
197072
|
|
|
196785
197073
|
|
|
196786
197074
|
|
|
197075
|
+
class VulFixableMachineAction(AbstractModel):
|
|
197076
|
+
r"""不可修复原因关联动作
|
|
197077
|
+
|
|
197078
|
+
"""
|
|
197079
|
+
|
|
197080
|
+
def __init__(self):
|
|
197081
|
+
r"""
|
|
197082
|
+
:param _ActionType: 动作类型
|
|
197083
|
+
枚举值:
|
|
197084
|
+
UPGRADE_PROTECTION:升级防护
|
|
197085
|
+
REINSTALL_CLIENT:重新安装客户端
|
|
197086
|
+
:type ActionType: str
|
|
197087
|
+
:param _ActionText: 动作按钮文案
|
|
197088
|
+
:type ActionText: str
|
|
197089
|
+
"""
|
|
197090
|
+
self._ActionType = None
|
|
197091
|
+
self._ActionText = None
|
|
197092
|
+
|
|
197093
|
+
@property
|
|
197094
|
+
def ActionType(self):
|
|
197095
|
+
r"""动作类型
|
|
197096
|
+
枚举值:
|
|
197097
|
+
UPGRADE_PROTECTION:升级防护
|
|
197098
|
+
REINSTALL_CLIENT:重新安装客户端
|
|
197099
|
+
:rtype: str
|
|
197100
|
+
"""
|
|
197101
|
+
return self._ActionType
|
|
197102
|
+
|
|
197103
|
+
@ActionType.setter
|
|
197104
|
+
def ActionType(self, ActionType):
|
|
197105
|
+
self._ActionType = ActionType
|
|
197106
|
+
|
|
197107
|
+
@property
|
|
197108
|
+
def ActionText(self):
|
|
197109
|
+
r"""动作按钮文案
|
|
197110
|
+
:rtype: str
|
|
197111
|
+
"""
|
|
197112
|
+
return self._ActionText
|
|
197113
|
+
|
|
197114
|
+
@ActionText.setter
|
|
197115
|
+
def ActionText(self, ActionText):
|
|
197116
|
+
self._ActionText = ActionText
|
|
197117
|
+
|
|
197118
|
+
|
|
197119
|
+
def _deserialize(self, params):
|
|
197120
|
+
self._ActionType = params.get("ActionType")
|
|
197121
|
+
self._ActionText = params.get("ActionText")
|
|
197122
|
+
memeber_set = set(params.keys())
|
|
197123
|
+
for name, value in vars(self).items():
|
|
197124
|
+
property_name = name[1:]
|
|
197125
|
+
if property_name in memeber_set:
|
|
197126
|
+
memeber_set.remove(property_name)
|
|
197127
|
+
if len(memeber_set) > 0:
|
|
197128
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
197129
|
+
|
|
197130
|
+
|
|
197131
|
+
|
|
196787
197132
|
class VulFixableMachineItem(AbstractModel):
|
|
196788
197133
|
r"""可修复主机信息
|
|
196789
197134
|
|
|
@@ -196807,6 +197152,8 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
196807
197152
|
:type OsName: str
|
|
196808
197153
|
:param _MachineStatus: <p>主机在线状态<br>枚举值:<br>ONLINE:在线<br>OFFLINE:离线</p>
|
|
196809
197154
|
:type MachineStatus: str
|
|
197155
|
+
:param _HostStatus: <p>主机运行状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>STOPPED: 已停止</li><li>EXPIRED: 待回收</li></ul>
|
|
197156
|
+
:type HostStatus: str
|
|
196810
197157
|
:param _SupportAutoFix: <p>是否支持自动修复<br>枚举值:<br>0:不支持<br>1:支持</p>
|
|
196811
197158
|
:type SupportAutoFix: int
|
|
196812
197159
|
:param _FixStatus: <p>当前修复状态<br>枚举值:<br>0:未修复<br>1:修复中<br>2:修复失败<br>3:修复成功<br>4:修复超时</p>
|
|
@@ -196815,6 +197162,10 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
196815
197162
|
:type LatestFixTime: str
|
|
196816
197163
|
:param _NotFixableReason: <p>不可修复原因,SupportAutoFix为0时返回</p>
|
|
196817
197164
|
:type NotFixableReason: str
|
|
197165
|
+
:param _NotFixableReasonCode: <p>不可修复原因码,SupportAutoFix为0时返回<br>枚举值:<br>BASIC_VERSION:基础版主机不支持一键修复<br>HOST_STOPPED:主机已关机<br>CLIENT_OFFLINE:主机防护客户端已离线<br>PATCH_UNAVAILABLE:官方已停止发布该系统版本的安全补丁<br>SOURCE_COMPILED:源码编译安装,不支持一键修复</p>
|
|
197166
|
+
:type NotFixableReasonCode: str
|
|
197167
|
+
:param _NotFixableAction: <p>不可修复原因关联动作,SupportAutoFix为0且存在可引导动作时返回</p>
|
|
197168
|
+
:type NotFixableAction: :class:`tencentcloud.csip.v20221121.models.VulFixableMachineAction`
|
|
196818
197169
|
:param _FixCommands: <p>修复命令列表,SupportAutoFix为1时返回</p>
|
|
196819
197170
|
:type FixCommands: list of str
|
|
196820
197171
|
:param _Components: <p>关联组件列表</p>
|
|
@@ -196834,10 +197185,13 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
196834
197185
|
self._OsType = None
|
|
196835
197186
|
self._OsName = None
|
|
196836
197187
|
self._MachineStatus = None
|
|
197188
|
+
self._HostStatus = None
|
|
196837
197189
|
self._SupportAutoFix = None
|
|
196838
197190
|
self._FixStatus = None
|
|
196839
197191
|
self._LatestFixTime = None
|
|
196840
197192
|
self._NotFixableReason = None
|
|
197193
|
+
self._NotFixableReasonCode = None
|
|
197194
|
+
self._NotFixableAction = None
|
|
196841
197195
|
self._FixCommands = None
|
|
196842
197196
|
self._Components = None
|
|
196843
197197
|
self._TagItems = None
|
|
@@ -196932,6 +197286,17 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
196932
197286
|
def MachineStatus(self, MachineStatus):
|
|
196933
197287
|
self._MachineStatus = MachineStatus
|
|
196934
197288
|
|
|
197289
|
+
@property
|
|
197290
|
+
def HostStatus(self):
|
|
197291
|
+
r"""<p>主机运行状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>STOPPED: 已停止</li><li>EXPIRED: 待回收</li></ul>
|
|
197292
|
+
:rtype: str
|
|
197293
|
+
"""
|
|
197294
|
+
return self._HostStatus
|
|
197295
|
+
|
|
197296
|
+
@HostStatus.setter
|
|
197297
|
+
def HostStatus(self, HostStatus):
|
|
197298
|
+
self._HostStatus = HostStatus
|
|
197299
|
+
|
|
196935
197300
|
@property
|
|
196936
197301
|
def SupportAutoFix(self):
|
|
196937
197302
|
r"""<p>是否支持自动修复<br>枚举值:<br>0:不支持<br>1:支持</p>
|
|
@@ -196976,6 +197341,28 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
196976
197341
|
def NotFixableReason(self, NotFixableReason):
|
|
196977
197342
|
self._NotFixableReason = NotFixableReason
|
|
196978
197343
|
|
|
197344
|
+
@property
|
|
197345
|
+
def NotFixableReasonCode(self):
|
|
197346
|
+
r"""<p>不可修复原因码,SupportAutoFix为0时返回<br>枚举值:<br>BASIC_VERSION:基础版主机不支持一键修复<br>HOST_STOPPED:主机已关机<br>CLIENT_OFFLINE:主机防护客户端已离线<br>PATCH_UNAVAILABLE:官方已停止发布该系统版本的安全补丁<br>SOURCE_COMPILED:源码编译安装,不支持一键修复</p>
|
|
197347
|
+
:rtype: str
|
|
197348
|
+
"""
|
|
197349
|
+
return self._NotFixableReasonCode
|
|
197350
|
+
|
|
197351
|
+
@NotFixableReasonCode.setter
|
|
197352
|
+
def NotFixableReasonCode(self, NotFixableReasonCode):
|
|
197353
|
+
self._NotFixableReasonCode = NotFixableReasonCode
|
|
197354
|
+
|
|
197355
|
+
@property
|
|
197356
|
+
def NotFixableAction(self):
|
|
197357
|
+
r"""<p>不可修复原因关联动作,SupportAutoFix为0且存在可引导动作时返回</p>
|
|
197358
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.VulFixableMachineAction`
|
|
197359
|
+
"""
|
|
197360
|
+
return self._NotFixableAction
|
|
197361
|
+
|
|
197362
|
+
@NotFixableAction.setter
|
|
197363
|
+
def NotFixableAction(self, NotFixableAction):
|
|
197364
|
+
self._NotFixableAction = NotFixableAction
|
|
197365
|
+
|
|
196979
197366
|
@property
|
|
196980
197367
|
def FixCommands(self):
|
|
196981
197368
|
r"""<p>修复命令列表,SupportAutoFix为1时返回</p>
|
|
@@ -197041,10 +197428,15 @@ class VulFixableMachineItem(AbstractModel):
|
|
|
197041
197428
|
self._OsType = params.get("OsType")
|
|
197042
197429
|
self._OsName = params.get("OsName")
|
|
197043
197430
|
self._MachineStatus = params.get("MachineStatus")
|
|
197431
|
+
self._HostStatus = params.get("HostStatus")
|
|
197044
197432
|
self._SupportAutoFix = params.get("SupportAutoFix")
|
|
197045
197433
|
self._FixStatus = params.get("FixStatus")
|
|
197046
197434
|
self._LatestFixTime = params.get("LatestFixTime")
|
|
197047
197435
|
self._NotFixableReason = params.get("NotFixableReason")
|
|
197436
|
+
self._NotFixableReasonCode = params.get("NotFixableReasonCode")
|
|
197437
|
+
if params.get("NotFixableAction") is not None:
|
|
197438
|
+
self._NotFixableAction = VulFixableMachineAction()
|
|
197439
|
+
self._NotFixableAction._deserialize(params.get("NotFixableAction"))
|
|
197048
197440
|
self._FixCommands = params.get("FixCommands")
|
|
197049
197441
|
self._Components = params.get("Components")
|
|
197050
197442
|
if params.get("TagItems") is not None:
|
|
@@ -197096,6 +197488,8 @@ class VulFixedItem(AbstractModel):
|
|
|
197096
197488
|
:type LatestFixTime: str
|
|
197097
197489
|
:param _VPRExplainInfo: <p>VPR评级依据</p>
|
|
197098
197490
|
:type VPRExplainInfo: :class:`tencentcloud.csip.v20221121.models.VPRExplainInfo`
|
|
197491
|
+
:param _RepairMethod: <p>修复方式:AUTO_FIX-一键修复 MANUAL_FIX-手动修复 </p>
|
|
197492
|
+
:type RepairMethod: str
|
|
197099
197493
|
"""
|
|
197100
197494
|
self._VulId = None
|
|
197101
197495
|
self._VulName = None
|
|
@@ -197109,6 +197503,7 @@ class VulFixedItem(AbstractModel):
|
|
|
197109
197503
|
self._Components = None
|
|
197110
197504
|
self._LatestFixTime = None
|
|
197111
197505
|
self._VPRExplainInfo = None
|
|
197506
|
+
self._RepairMethod = None
|
|
197112
197507
|
|
|
197113
197508
|
@property
|
|
197114
197509
|
def VulId(self):
|
|
@@ -197242,6 +197637,17 @@ class VulFixedItem(AbstractModel):
|
|
|
197242
197637
|
def VPRExplainInfo(self, VPRExplainInfo):
|
|
197243
197638
|
self._VPRExplainInfo = VPRExplainInfo
|
|
197244
197639
|
|
|
197640
|
+
@property
|
|
197641
|
+
def RepairMethod(self):
|
|
197642
|
+
r"""<p>修复方式:AUTO_FIX-一键修复 MANUAL_FIX-手动修复 </p>
|
|
197643
|
+
:rtype: str
|
|
197644
|
+
"""
|
|
197645
|
+
return self._RepairMethod
|
|
197646
|
+
|
|
197647
|
+
@RepairMethod.setter
|
|
197648
|
+
def RepairMethod(self, RepairMethod):
|
|
197649
|
+
self._RepairMethod = RepairMethod
|
|
197650
|
+
|
|
197245
197651
|
|
|
197246
197652
|
def _deserialize(self, params):
|
|
197247
197653
|
self._VulId = params.get("VulId")
|
|
@@ -197260,6 +197666,7 @@ class VulFixedItem(AbstractModel):
|
|
|
197260
197666
|
if params.get("VPRExplainInfo") is not None:
|
|
197261
197667
|
self._VPRExplainInfo = VPRExplainInfo()
|
|
197262
197668
|
self._VPRExplainInfo._deserialize(params.get("VPRExplainInfo"))
|
|
197669
|
+
self._RepairMethod = params.get("RepairMethod")
|
|
197263
197670
|
memeber_set = set(params.keys())
|
|
197264
197671
|
for name, value in vars(self).items():
|
|
197265
197672
|
property_name = name[1:]
|
|
@@ -197285,13 +197692,13 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197285
197692
|
:type PublicIP: str
|
|
197286
197693
|
:param _PrivateIP: <p>内网 IP 地址</p>
|
|
197287
197694
|
:type PrivateIP: str
|
|
197288
|
-
:param _DefendVersion: <p
|
|
197695
|
+
:param _DefendVersion: <p>防护版本枚举值 BASIC:基础版PRO:专业版ULTIMATE:旗舰版PRO_LH:轻量版</p>
|
|
197289
197696
|
:type DefendVersion: str
|
|
197290
197697
|
:param _DefendStatus: <p>漏洞防御状态<br>枚举值:<br>ENABLED:已开启<br>NOT_SUPPORTED:不支持<br>NOT_ENABLED:未开启</p>
|
|
197291
197698
|
:type DefendStatus: str
|
|
197292
197699
|
:param _Account: <p>所属账号信息</p>
|
|
197293
197700
|
:type Account: :class:`tencentcloud.csip.v20221121.models.AccountBriefInfo`
|
|
197294
|
-
:param _InstanceStatus: <p
|
|
197701
|
+
:param _InstanceStatus: <p>云主机实例状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>STOPPED: 已停止</li><li>EXPIRED: 待回收</li></ul>
|
|
197295
197702
|
:type InstanceStatus: str
|
|
197296
197703
|
:param _RiskStatus: <p>修复状态枚举值</p><p>枚举值:</p><ul><li>PENDING: 待修复</li><li>SCANNING: 扫描中</li><li>FIXED: 已修复</li><li>IGNORED: 已忽略</li><li>FIXING: 修复中</li><li>FIX_FAILED: 修复失败</li><li>NEED_REBOOT: 修复待重启</li></ul>
|
|
197297
197704
|
:type RiskStatus: str
|
|
@@ -197303,6 +197710,8 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197303
197710
|
:type TagItem: list of MiniTagItem
|
|
197304
197711
|
:param _CloudTag: <p>云上标签列表(云资产侧 Tag)</p>
|
|
197305
197712
|
:type CloudTag: list of Tag
|
|
197713
|
+
:param _VPRExplainInfo: <p>VPR评级解释卡片</p>
|
|
197714
|
+
:type VPRExplainInfo: :class:`tencentcloud.csip.v20221121.models.VPRExplainInfo`
|
|
197306
197715
|
"""
|
|
197307
197716
|
self._InstanceID = None
|
|
197308
197717
|
self._Name = None
|
|
@@ -197317,6 +197726,7 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197317
197726
|
self._AgentStatus = None
|
|
197318
197727
|
self._TagItem = None
|
|
197319
197728
|
self._CloudTag = None
|
|
197729
|
+
self._VPRExplainInfo = None
|
|
197320
197730
|
|
|
197321
197731
|
@property
|
|
197322
197732
|
def InstanceID(self):
|
|
@@ -197364,7 +197774,7 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197364
197774
|
|
|
197365
197775
|
@property
|
|
197366
197776
|
def DefendVersion(self):
|
|
197367
|
-
r"""<p
|
|
197777
|
+
r"""<p>防护版本枚举值 BASIC:基础版PRO:专业版ULTIMATE:旗舰版PRO_LH:轻量版</p>
|
|
197368
197778
|
:rtype: str
|
|
197369
197779
|
"""
|
|
197370
197780
|
return self._DefendVersion
|
|
@@ -197397,7 +197807,7 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197397
197807
|
|
|
197398
197808
|
@property
|
|
197399
197809
|
def InstanceStatus(self):
|
|
197400
|
-
r"""<p
|
|
197810
|
+
r"""<p>云主机实例状态</p><p>枚举值:</p><ul><li>RUNNING: 运行中</li><li>STOPPED: 已停止</li><li>EXPIRED: 待回收</li></ul>
|
|
197401
197811
|
:rtype: str
|
|
197402
197812
|
"""
|
|
197403
197813
|
return self._InstanceStatus
|
|
@@ -197461,6 +197871,17 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197461
197871
|
def CloudTag(self, CloudTag):
|
|
197462
197872
|
self._CloudTag = CloudTag
|
|
197463
197873
|
|
|
197874
|
+
@property
|
|
197875
|
+
def VPRExplainInfo(self):
|
|
197876
|
+
r"""<p>VPR评级解释卡片</p>
|
|
197877
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.VPRExplainInfo`
|
|
197878
|
+
"""
|
|
197879
|
+
return self._VPRExplainInfo
|
|
197880
|
+
|
|
197881
|
+
@VPRExplainInfo.setter
|
|
197882
|
+
def VPRExplainInfo(self, VPRExplainInfo):
|
|
197883
|
+
self._VPRExplainInfo = VPRExplainInfo
|
|
197884
|
+
|
|
197464
197885
|
|
|
197465
197886
|
def _deserialize(self, params):
|
|
197466
197887
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -197490,6 +197911,9 @@ class VulHostBriefInfo(AbstractModel):
|
|
|
197490
197911
|
obj = Tag()
|
|
197491
197912
|
obj._deserialize(item)
|
|
197492
197913
|
self._CloudTag.append(obj)
|
|
197914
|
+
if params.get("VPRExplainInfo") is not None:
|
|
197915
|
+
self._VPRExplainInfo = VPRExplainInfo()
|
|
197916
|
+
self._VPRExplainInfo._deserialize(params.get("VPRExplainInfo"))
|
|
197493
197917
|
memeber_set = set(params.keys())
|
|
197494
197918
|
for name, value in vars(self).items():
|
|
197495
197919
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
4
4
|
Summary: Tencent Cloud Csip 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.201
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|