tencentcloud-sdk-python-cwp 3.1.111__tar.gz → 3.1.124__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.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/setup.py +1 -1
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/v20180228/cwp_client.py +23 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/v20180228/cwp_client_async.py +18 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/v20180228/models.py +353 -102
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cwp-3.1.124/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cwp-3.1.111/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/README.rst +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cwp-3.1.111 → tencentcloud_sdk_python_cwp-3.1.124}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cwp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.124
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
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-cwp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cwp SDK for Python',
|
|
@@ -49,6 +49,29 @@ class CwpClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def AddVulIgnoreRule(self, request):
|
|
53
|
+
r"""添加漏洞忽略规则
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for AddVulIgnoreRule.
|
|
56
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.AddVulIgnoreRuleRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.AddVulIgnoreRuleResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("AddVulIgnoreRule", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.AddVulIgnoreRuleResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def ChangeRuleEventsIgnoreStatus(self, request):
|
|
53
76
|
r"""根据检测项id或事件id批量忽略事件或取消忽略
|
|
54
77
|
|
|
@@ -43,6 +43,24 @@ class CwpClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def AddVulIgnoreRule(
|
|
47
|
+
self,
|
|
48
|
+
request: models.AddVulIgnoreRuleRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.AddVulIgnoreRuleResponse:
|
|
51
|
+
"""
|
|
52
|
+
添加漏洞忽略规则
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "AddVulIgnoreRule"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.AddVulIgnoreRuleResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def ChangeRuleEventsIgnoreStatus(
|
|
47
65
|
self,
|
|
48
66
|
request: models.ChangeRuleEventsIgnoreStatusRequest,
|
|
@@ -127,14 +127,11 @@ class AddLoginWhiteListsRequest(AbstractModel):
|
|
|
127
127
|
|
|
128
128
|
def __init__(self):
|
|
129
129
|
r"""
|
|
130
|
-
:param _HostLoginWhiteObj:
|
|
130
|
+
:param _HostLoginWhiteObj: <p>异地登录白名单实体</p>
|
|
131
131
|
:type HostLoginWhiteObj: :class:`tencentcloud.cwp.v20180228.models.HostLoginWhiteObj`
|
|
132
|
-
:param _ProcessType:
|
|
133
|
-
"" -- 不操作
|
|
134
|
-
"All" -- 将符合此配置的所有事件记录加白
|
|
135
|
-
"Id" -- 将EventId对应的事件记录加白
|
|
132
|
+
:param _ProcessType: <p>事件同步处理方式:<br> "" -- 不操作<br> "All" -- 将符合此配置的所有事件记录加白<br> "Id" -- 将EventId对应的事件记录加白</p>
|
|
136
133
|
:type ProcessType: str
|
|
137
|
-
:param _EventId:
|
|
134
|
+
:param _EventId: <p>异地登录事件ID,当ProcessType为Id时此项必填</p>
|
|
138
135
|
:type EventId: int
|
|
139
136
|
"""
|
|
140
137
|
self._HostLoginWhiteObj = None
|
|
@@ -143,7 +140,7 @@ class AddLoginWhiteListsRequest(AbstractModel):
|
|
|
143
140
|
|
|
144
141
|
@property
|
|
145
142
|
def HostLoginWhiteObj(self):
|
|
146
|
-
r"""
|
|
143
|
+
r"""<p>异地登录白名单实体</p>
|
|
147
144
|
:rtype: :class:`tencentcloud.cwp.v20180228.models.HostLoginWhiteObj`
|
|
148
145
|
"""
|
|
149
146
|
return self._HostLoginWhiteObj
|
|
@@ -154,10 +151,7 @@ class AddLoginWhiteListsRequest(AbstractModel):
|
|
|
154
151
|
|
|
155
152
|
@property
|
|
156
153
|
def ProcessType(self):
|
|
157
|
-
r"""
|
|
158
|
-
"" -- 不操作
|
|
159
|
-
"All" -- 将符合此配置的所有事件记录加白
|
|
160
|
-
"Id" -- 将EventId对应的事件记录加白
|
|
154
|
+
r"""<p>事件同步处理方式:<br> "" -- 不操作<br> "All" -- 将符合此配置的所有事件记录加白<br> "Id" -- 将EventId对应的事件记录加白</p>
|
|
161
155
|
:rtype: str
|
|
162
156
|
"""
|
|
163
157
|
return self._ProcessType
|
|
@@ -168,7 +162,7 @@ class AddLoginWhiteListsRequest(AbstractModel):
|
|
|
168
162
|
|
|
169
163
|
@property
|
|
170
164
|
def EventId(self):
|
|
171
|
-
r"""
|
|
165
|
+
r"""<p>异地登录事件ID,当ProcessType为Id时此项必填</p>
|
|
172
166
|
:rtype: int
|
|
173
167
|
"""
|
|
174
168
|
return self._EventId
|
|
@@ -201,7 +195,7 @@ class AddLoginWhiteListsResponse(AbstractModel):
|
|
|
201
195
|
|
|
202
196
|
def __init__(self):
|
|
203
197
|
r"""
|
|
204
|
-
:param _DuplicateHosts:
|
|
198
|
+
:param _DuplicateHosts: <p>重复添加的提示列表</p>
|
|
205
199
|
:type DuplicateHosts: list of DuplicateHosts
|
|
206
200
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
207
201
|
:type RequestId: str
|
|
@@ -211,7 +205,7 @@ class AddLoginWhiteListsResponse(AbstractModel):
|
|
|
211
205
|
|
|
212
206
|
@property
|
|
213
207
|
def DuplicateHosts(self):
|
|
214
|
-
r"""
|
|
208
|
+
r"""<p>重复添加的提示列表</p>
|
|
215
209
|
:rtype: list of DuplicateHosts
|
|
216
210
|
"""
|
|
217
211
|
return self._DuplicateHosts
|
|
@@ -242,6 +236,75 @@ class AddLoginWhiteListsResponse(AbstractModel):
|
|
|
242
236
|
self._RequestId = params.get("RequestId")
|
|
243
237
|
|
|
244
238
|
|
|
239
|
+
class AddVulIgnoreRuleRequest(AbstractModel):
|
|
240
|
+
r"""AddVulIgnoreRule请求参数结构体
|
|
241
|
+
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
def __init__(self):
|
|
245
|
+
r"""
|
|
246
|
+
:param _RuleDetailList: 忽略规则集合
|
|
247
|
+
:type RuleDetailList: list of VulIgnoreRule
|
|
248
|
+
"""
|
|
249
|
+
self._RuleDetailList = None
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
def RuleDetailList(self):
|
|
253
|
+
r"""忽略规则集合
|
|
254
|
+
:rtype: list of VulIgnoreRule
|
|
255
|
+
"""
|
|
256
|
+
return self._RuleDetailList
|
|
257
|
+
|
|
258
|
+
@RuleDetailList.setter
|
|
259
|
+
def RuleDetailList(self, RuleDetailList):
|
|
260
|
+
self._RuleDetailList = RuleDetailList
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def _deserialize(self, params):
|
|
264
|
+
if params.get("RuleDetailList") is not None:
|
|
265
|
+
self._RuleDetailList = []
|
|
266
|
+
for item in params.get("RuleDetailList"):
|
|
267
|
+
obj = VulIgnoreRule()
|
|
268
|
+
obj._deserialize(item)
|
|
269
|
+
self._RuleDetailList.append(obj)
|
|
270
|
+
memeber_set = set(params.keys())
|
|
271
|
+
for name, value in vars(self).items():
|
|
272
|
+
property_name = name[1:]
|
|
273
|
+
if property_name in memeber_set:
|
|
274
|
+
memeber_set.remove(property_name)
|
|
275
|
+
if len(memeber_set) > 0:
|
|
276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class AddVulIgnoreRuleResponse(AbstractModel):
|
|
281
|
+
r"""AddVulIgnoreRule返回参数结构体
|
|
282
|
+
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
def __init__(self):
|
|
286
|
+
r"""
|
|
287
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
288
|
+
:type RequestId: str
|
|
289
|
+
"""
|
|
290
|
+
self._RequestId = None
|
|
291
|
+
|
|
292
|
+
@property
|
|
293
|
+
def RequestId(self):
|
|
294
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._RequestId
|
|
298
|
+
|
|
299
|
+
@RequestId.setter
|
|
300
|
+
def RequestId(self, RequestId):
|
|
301
|
+
self._RequestId = RequestId
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
def _deserialize(self, params):
|
|
305
|
+
self._RequestId = params.get("RequestId")
|
|
306
|
+
|
|
307
|
+
|
|
245
308
|
class AlarmInfo(AbstractModel):
|
|
246
309
|
r"""节点关联的告警信息
|
|
247
310
|
|
|
@@ -20329,14 +20392,14 @@ class DeleteLoginWhiteListRequest(AbstractModel):
|
|
|
20329
20392
|
|
|
20330
20393
|
def __init__(self):
|
|
20331
20394
|
r"""
|
|
20332
|
-
:param _Ids:
|
|
20395
|
+
:param _Ids: <p>白名单ID (最大 100 条)</p>
|
|
20333
20396
|
:type Ids: list of int non-negative
|
|
20334
20397
|
"""
|
|
20335
20398
|
self._Ids = None
|
|
20336
20399
|
|
|
20337
20400
|
@property
|
|
20338
20401
|
def Ids(self):
|
|
20339
|
-
r"""
|
|
20402
|
+
r"""<p>白名单ID (最大 100 条)</p>
|
|
20340
20403
|
:rtype: list of int non-negative
|
|
20341
20404
|
"""
|
|
20342
20405
|
return self._Ids
|
|
@@ -43077,11 +43140,11 @@ class DescribeLoginWhiteCombinedListRequest(AbstractModel):
|
|
|
43077
43140
|
|
|
43078
43141
|
def __init__(self):
|
|
43079
43142
|
r"""
|
|
43080
|
-
:param _Limit:
|
|
43143
|
+
:param _Limit: <p>需要返回的数量,默认为10,最大值为100</p>
|
|
43081
43144
|
:type Limit: int
|
|
43082
|
-
:param _Offset:
|
|
43145
|
+
:param _Offset: <p>偏移量,默认为0。</p>
|
|
43083
43146
|
:type Offset: int
|
|
43084
|
-
:param _Filters:
|
|
43147
|
+
:param _Filters: <p>过滤条件。<li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>SrcIP - String - 是否必填:否 - 来源IP筛选</li><li>Location - String - 是否必填:否 - 登录地筛选</li><li>ModifyBeginTime - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>ModifyEndTime - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li></p>
|
|
43085
43148
|
:type Filters: list of Filter
|
|
43086
43149
|
"""
|
|
43087
43150
|
self._Limit = None
|
|
@@ -43090,7 +43153,7 @@ class DescribeLoginWhiteCombinedListRequest(AbstractModel):
|
|
|
43090
43153
|
|
|
43091
43154
|
@property
|
|
43092
43155
|
def Limit(self):
|
|
43093
|
-
r"""
|
|
43156
|
+
r"""<p>需要返回的数量,默认为10,最大值为100</p>
|
|
43094
43157
|
:rtype: int
|
|
43095
43158
|
"""
|
|
43096
43159
|
return self._Limit
|
|
@@ -43101,7 +43164,7 @@ class DescribeLoginWhiteCombinedListRequest(AbstractModel):
|
|
|
43101
43164
|
|
|
43102
43165
|
@property
|
|
43103
43166
|
def Offset(self):
|
|
43104
|
-
r"""
|
|
43167
|
+
r"""<p>偏移量,默认为0。</p>
|
|
43105
43168
|
:rtype: int
|
|
43106
43169
|
"""
|
|
43107
43170
|
return self._Offset
|
|
@@ -43112,7 +43175,7 @@ class DescribeLoginWhiteCombinedListRequest(AbstractModel):
|
|
|
43112
43175
|
|
|
43113
43176
|
@property
|
|
43114
43177
|
def Filters(self):
|
|
43115
|
-
r"""
|
|
43178
|
+
r"""<p>过滤条件。<li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>SrcIP - String - 是否必填:否 - 来源IP筛选</li><li>Location - String - 是否必填:否 - 登录地筛选</li><li>ModifyBeginTime - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>ModifyEndTime - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li></p>
|
|
43116
43179
|
:rtype: list of Filter
|
|
43117
43180
|
"""
|
|
43118
43181
|
return self._Filters
|
|
@@ -43148,9 +43211,9 @@ class DescribeLoginWhiteCombinedListResponse(AbstractModel):
|
|
|
43148
43211
|
|
|
43149
43212
|
def __init__(self):
|
|
43150
43213
|
r"""
|
|
43151
|
-
:param _TotalCount:
|
|
43214
|
+
:param _TotalCount: <p>总数量</p>
|
|
43152
43215
|
:type TotalCount: int
|
|
43153
|
-
:param _LoginWhiteCombinedInfos:
|
|
43216
|
+
:param _LoginWhiteCombinedInfos: <p>合并后的白名单列表</p>
|
|
43154
43217
|
:type LoginWhiteCombinedInfos: list of LoginWhiteCombinedInfo
|
|
43155
43218
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
43156
43219
|
:type RequestId: str
|
|
@@ -43161,7 +43224,7 @@ class DescribeLoginWhiteCombinedListResponse(AbstractModel):
|
|
|
43161
43224
|
|
|
43162
43225
|
@property
|
|
43163
43226
|
def TotalCount(self):
|
|
43164
|
-
r"""
|
|
43227
|
+
r"""<p>总数量</p>
|
|
43165
43228
|
:rtype: int
|
|
43166
43229
|
"""
|
|
43167
43230
|
return self._TotalCount
|
|
@@ -43172,7 +43235,7 @@ class DescribeLoginWhiteCombinedListResponse(AbstractModel):
|
|
|
43172
43235
|
|
|
43173
43236
|
@property
|
|
43174
43237
|
def LoginWhiteCombinedInfos(self):
|
|
43175
|
-
r"""
|
|
43238
|
+
r"""<p>合并后的白名单列表</p>
|
|
43176
43239
|
:rtype: list of LoginWhiteCombinedInfo
|
|
43177
43240
|
"""
|
|
43178
43241
|
return self._LoginWhiteCombinedInfos
|
|
@@ -43211,13 +43274,13 @@ class DescribeLoginWhiteHostListRequest(AbstractModel):
|
|
|
43211
43274
|
|
|
43212
43275
|
def __init__(self):
|
|
43213
43276
|
r"""
|
|
43214
|
-
:param _Id:
|
|
43277
|
+
:param _Id: <p>白名单ID</p>
|
|
43215
43278
|
:type Id: int
|
|
43216
|
-
:param _Limit:
|
|
43279
|
+
:param _Limit: <p>需要返回的数量,最大值为1000</p>
|
|
43217
43280
|
:type Limit: int
|
|
43218
|
-
:param _Offset:
|
|
43281
|
+
:param _Offset: <p>偏移量,默认为0。</p>
|
|
43219
43282
|
:type Offset: int
|
|
43220
|
-
:param _Filters:
|
|
43283
|
+
:param _Filters: <p>过滤条件 <li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li></p>
|
|
43221
43284
|
:type Filters: list of AssetFilters
|
|
43222
43285
|
"""
|
|
43223
43286
|
self._Id = None
|
|
@@ -43227,7 +43290,7 @@ class DescribeLoginWhiteHostListRequest(AbstractModel):
|
|
|
43227
43290
|
|
|
43228
43291
|
@property
|
|
43229
43292
|
def Id(self):
|
|
43230
|
-
r"""
|
|
43293
|
+
r"""<p>白名单ID</p>
|
|
43231
43294
|
:rtype: int
|
|
43232
43295
|
"""
|
|
43233
43296
|
return self._Id
|
|
@@ -43238,7 +43301,7 @@ class DescribeLoginWhiteHostListRequest(AbstractModel):
|
|
|
43238
43301
|
|
|
43239
43302
|
@property
|
|
43240
43303
|
def Limit(self):
|
|
43241
|
-
r"""
|
|
43304
|
+
r"""<p>需要返回的数量,最大值为1000</p>
|
|
43242
43305
|
:rtype: int
|
|
43243
43306
|
"""
|
|
43244
43307
|
return self._Limit
|
|
@@ -43249,7 +43312,7 @@ class DescribeLoginWhiteHostListRequest(AbstractModel):
|
|
|
43249
43312
|
|
|
43250
43313
|
@property
|
|
43251
43314
|
def Offset(self):
|
|
43252
|
-
r"""
|
|
43315
|
+
r"""<p>偏移量,默认为0。</p>
|
|
43253
43316
|
:rtype: int
|
|
43254
43317
|
"""
|
|
43255
43318
|
return self._Offset
|
|
@@ -43260,7 +43323,7 @@ class DescribeLoginWhiteHostListRequest(AbstractModel):
|
|
|
43260
43323
|
|
|
43261
43324
|
@property
|
|
43262
43325
|
def Filters(self):
|
|
43263
|
-
r"""
|
|
43326
|
+
r"""<p>过滤条件 <li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li></p>
|
|
43264
43327
|
:rtype: list of AssetFilters
|
|
43265
43328
|
"""
|
|
43266
43329
|
return self._Filters
|
|
@@ -43297,9 +43360,9 @@ class DescribeLoginWhiteHostListResponse(AbstractModel):
|
|
|
43297
43360
|
|
|
43298
43361
|
def __init__(self):
|
|
43299
43362
|
r"""
|
|
43300
|
-
:param _TotalCount:
|
|
43363
|
+
:param _TotalCount: <p>总数</p>
|
|
43301
43364
|
:type TotalCount: int
|
|
43302
|
-
:param _Hosts:
|
|
43365
|
+
:param _Hosts: <p>服务器列表</p>
|
|
43303
43366
|
:type Hosts: list of HostDesc
|
|
43304
43367
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
43305
43368
|
:type RequestId: str
|
|
@@ -43310,7 +43373,7 @@ class DescribeLoginWhiteHostListResponse(AbstractModel):
|
|
|
43310
43373
|
|
|
43311
43374
|
@property
|
|
43312
43375
|
def TotalCount(self):
|
|
43313
|
-
r"""
|
|
43376
|
+
r"""<p>总数</p>
|
|
43314
43377
|
:rtype: int
|
|
43315
43378
|
"""
|
|
43316
43379
|
return self._TotalCount
|
|
@@ -43321,7 +43384,7 @@ class DescribeLoginWhiteHostListResponse(AbstractModel):
|
|
|
43321
43384
|
|
|
43322
43385
|
@property
|
|
43323
43386
|
def Hosts(self):
|
|
43324
|
-
r"""
|
|
43387
|
+
r"""<p>服务器列表</p>
|
|
43325
43388
|
:rtype: list of HostDesc
|
|
43326
43389
|
"""
|
|
43327
43390
|
return self._Hosts
|
|
@@ -43902,45 +43965,45 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
43902
43965
|
|
|
43903
43966
|
def __init__(self):
|
|
43904
43967
|
r"""
|
|
43905
|
-
:param _MachineCnt:
|
|
43968
|
+
:param _MachineCnt: <p>资产总数</p>
|
|
43906
43969
|
:type MachineCnt: int
|
|
43907
|
-
:param _TencentCloudMachineCnt:
|
|
43970
|
+
:param _TencentCloudMachineCnt: <p>腾讯云服务商机器数</p>
|
|
43908
43971
|
:type TencentCloudMachineCnt: int
|
|
43909
|
-
:param _AliCloudMachineCnt:
|
|
43972
|
+
:param _AliCloudMachineCnt: <p>阿里云服务商机器数</p>
|
|
43910
43973
|
:type AliCloudMachineCnt: int
|
|
43911
|
-
:param _BaiduCloudMachineCnt:
|
|
43974
|
+
:param _BaiduCloudMachineCnt: <p>百度云服务商机器数</p>
|
|
43912
43975
|
:type BaiduCloudMachineCnt: int
|
|
43913
|
-
:param _IDCMachineCnt: IDC
|
|
43976
|
+
:param _IDCMachineCnt: <p>IDC机器数</p>
|
|
43914
43977
|
:type IDCMachineCnt: int
|
|
43915
|
-
:param _OtherCloudMachineCnt:
|
|
43978
|
+
:param _OtherCloudMachineCnt: <p>其他云服务商机器数</p>
|
|
43916
43979
|
:type OtherCloudMachineCnt: int
|
|
43917
|
-
:param _ProtectMachineCnt:
|
|
43980
|
+
:param _ProtectMachineCnt: <p>已防护机器数</p>
|
|
43918
43981
|
:type ProtectMachineCnt: int
|
|
43919
|
-
:param _BaseMachineCnt:
|
|
43982
|
+
:param _BaseMachineCnt: <p>已防护基础版机器数</p>
|
|
43920
43983
|
:type BaseMachineCnt: int
|
|
43921
|
-
:param _SpecialtyMachineCnt:
|
|
43984
|
+
:param _SpecialtyMachineCnt: <p>已防护专业版机器数</p>
|
|
43922
43985
|
:type SpecialtyMachineCnt: int
|
|
43923
|
-
:param _FlagshipMachineCnt:
|
|
43986
|
+
:param _FlagshipMachineCnt: <p>已防护旗舰版机器数</p>
|
|
43924
43987
|
:type FlagshipMachineCnt: int
|
|
43925
|
-
:param _RiskMachineCnt:
|
|
43988
|
+
:param _RiskMachineCnt: <p>存在风险的机器数</p>
|
|
43926
43989
|
:type RiskMachineCnt: int
|
|
43927
|
-
:param _CompareYesterdayRiskMachineCnt:
|
|
43990
|
+
:param _CompareYesterdayRiskMachineCnt: <p>比较昨日风险机器数</p>
|
|
43928
43991
|
:type CompareYesterdayRiskMachineCnt: int
|
|
43929
|
-
:param _CompareYesterdayNotProtectMachineCnt:
|
|
43992
|
+
:param _CompareYesterdayNotProtectMachineCnt: <p>比较昨日未防护机器数</p>
|
|
43930
43993
|
:type CompareYesterdayNotProtectMachineCnt: int
|
|
43931
|
-
:param _CompareYesterdayDeadlineMachineCnt:
|
|
43994
|
+
:param _CompareYesterdayDeadlineMachineCnt: <p>比较昨日即将到期的机器数</p>
|
|
43932
43995
|
:type CompareYesterdayDeadlineMachineCnt: int
|
|
43933
|
-
:param _DeadlineMachineCnt:
|
|
43996
|
+
:param _DeadlineMachineCnt: <p>即将到期的机器数</p>
|
|
43934
43997
|
:type DeadlineMachineCnt: int
|
|
43935
|
-
:param _NotProtectMachineCnt:
|
|
43998
|
+
:param _NotProtectMachineCnt: <p>未防护机器数</p>
|
|
43936
43999
|
:type NotProtectMachineCnt: int
|
|
43937
|
-
:param _LHGeneralDiscountCnt:
|
|
44000
|
+
:param _LHGeneralDiscountCnt: <p>已防护轻量机器数(Lighthouse机器)</p>
|
|
43938
44001
|
:type LHGeneralDiscountCnt: int
|
|
43939
|
-
:param _CompareYesterdayMachineCnt:
|
|
44002
|
+
:param _CompareYesterdayMachineCnt: <p>比较昨日新增的主机数</p>
|
|
43940
44003
|
:type CompareYesterdayMachineCnt: int
|
|
43941
|
-
:param _MachineDestroyAfterOfflineHours:
|
|
44004
|
+
:param _MachineDestroyAfterOfflineHours: <p>自动清理时间,最大720小时,最小0, 默认0 ,0=关闭</p>
|
|
43942
44005
|
:type MachineDestroyAfterOfflineHours: int
|
|
43943
|
-
:param _CloudFrom:
|
|
44006
|
+
:param _CloudFrom: <p>云服务器类型数组</p>
|
|
43944
44007
|
:type CloudFrom: list of CloudFromCnt
|
|
43945
44008
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
43946
44009
|
:type RequestId: str
|
|
@@ -43969,7 +44032,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
43969
44032
|
|
|
43970
44033
|
@property
|
|
43971
44034
|
def MachineCnt(self):
|
|
43972
|
-
r"""
|
|
44035
|
+
r"""<p>资产总数</p>
|
|
43973
44036
|
:rtype: int
|
|
43974
44037
|
"""
|
|
43975
44038
|
return self._MachineCnt
|
|
@@ -43982,7 +44045,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
43982
44045
|
def TencentCloudMachineCnt(self):
|
|
43983
44046
|
warnings.warn("parameter `TencentCloudMachineCnt` is deprecated", DeprecationWarning)
|
|
43984
44047
|
|
|
43985
|
-
r"""
|
|
44048
|
+
r"""<p>腾讯云服务商机器数</p>
|
|
43986
44049
|
:rtype: int
|
|
43987
44050
|
"""
|
|
43988
44051
|
return self._TencentCloudMachineCnt
|
|
@@ -43997,7 +44060,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
43997
44060
|
def AliCloudMachineCnt(self):
|
|
43998
44061
|
warnings.warn("parameter `AliCloudMachineCnt` is deprecated", DeprecationWarning)
|
|
43999
44062
|
|
|
44000
|
-
r"""
|
|
44063
|
+
r"""<p>阿里云服务商机器数</p>
|
|
44001
44064
|
:rtype: int
|
|
44002
44065
|
"""
|
|
44003
44066
|
return self._AliCloudMachineCnt
|
|
@@ -44012,7 +44075,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44012
44075
|
def BaiduCloudMachineCnt(self):
|
|
44013
44076
|
warnings.warn("parameter `BaiduCloudMachineCnt` is deprecated", DeprecationWarning)
|
|
44014
44077
|
|
|
44015
|
-
r"""
|
|
44078
|
+
r"""<p>百度云服务商机器数</p>
|
|
44016
44079
|
:rtype: int
|
|
44017
44080
|
"""
|
|
44018
44081
|
return self._BaiduCloudMachineCnt
|
|
@@ -44027,7 +44090,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44027
44090
|
def IDCMachineCnt(self):
|
|
44028
44091
|
warnings.warn("parameter `IDCMachineCnt` is deprecated", DeprecationWarning)
|
|
44029
44092
|
|
|
44030
|
-
r"""IDC
|
|
44093
|
+
r"""<p>IDC机器数</p>
|
|
44031
44094
|
:rtype: int
|
|
44032
44095
|
"""
|
|
44033
44096
|
return self._IDCMachineCnt
|
|
@@ -44042,7 +44105,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44042
44105
|
def OtherCloudMachineCnt(self):
|
|
44043
44106
|
warnings.warn("parameter `OtherCloudMachineCnt` is deprecated", DeprecationWarning)
|
|
44044
44107
|
|
|
44045
|
-
r"""
|
|
44108
|
+
r"""<p>其他云服务商机器数</p>
|
|
44046
44109
|
:rtype: int
|
|
44047
44110
|
"""
|
|
44048
44111
|
return self._OtherCloudMachineCnt
|
|
@@ -44055,7 +44118,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44055
44118
|
|
|
44056
44119
|
@property
|
|
44057
44120
|
def ProtectMachineCnt(self):
|
|
44058
|
-
r"""
|
|
44121
|
+
r"""<p>已防护机器数</p>
|
|
44059
44122
|
:rtype: int
|
|
44060
44123
|
"""
|
|
44061
44124
|
return self._ProtectMachineCnt
|
|
@@ -44066,7 +44129,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44066
44129
|
|
|
44067
44130
|
@property
|
|
44068
44131
|
def BaseMachineCnt(self):
|
|
44069
|
-
r"""
|
|
44132
|
+
r"""<p>已防护基础版机器数</p>
|
|
44070
44133
|
:rtype: int
|
|
44071
44134
|
"""
|
|
44072
44135
|
return self._BaseMachineCnt
|
|
@@ -44077,7 +44140,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44077
44140
|
|
|
44078
44141
|
@property
|
|
44079
44142
|
def SpecialtyMachineCnt(self):
|
|
44080
|
-
r"""
|
|
44143
|
+
r"""<p>已防护专业版机器数</p>
|
|
44081
44144
|
:rtype: int
|
|
44082
44145
|
"""
|
|
44083
44146
|
return self._SpecialtyMachineCnt
|
|
@@ -44088,7 +44151,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44088
44151
|
|
|
44089
44152
|
@property
|
|
44090
44153
|
def FlagshipMachineCnt(self):
|
|
44091
|
-
r"""
|
|
44154
|
+
r"""<p>已防护旗舰版机器数</p>
|
|
44092
44155
|
:rtype: int
|
|
44093
44156
|
"""
|
|
44094
44157
|
return self._FlagshipMachineCnt
|
|
@@ -44099,7 +44162,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44099
44162
|
|
|
44100
44163
|
@property
|
|
44101
44164
|
def RiskMachineCnt(self):
|
|
44102
|
-
r"""
|
|
44165
|
+
r"""<p>存在风险的机器数</p>
|
|
44103
44166
|
:rtype: int
|
|
44104
44167
|
"""
|
|
44105
44168
|
return self._RiskMachineCnt
|
|
@@ -44110,7 +44173,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44110
44173
|
|
|
44111
44174
|
@property
|
|
44112
44175
|
def CompareYesterdayRiskMachineCnt(self):
|
|
44113
|
-
r"""
|
|
44176
|
+
r"""<p>比较昨日风险机器数</p>
|
|
44114
44177
|
:rtype: int
|
|
44115
44178
|
"""
|
|
44116
44179
|
return self._CompareYesterdayRiskMachineCnt
|
|
@@ -44121,7 +44184,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44121
44184
|
|
|
44122
44185
|
@property
|
|
44123
44186
|
def CompareYesterdayNotProtectMachineCnt(self):
|
|
44124
|
-
r"""
|
|
44187
|
+
r"""<p>比较昨日未防护机器数</p>
|
|
44125
44188
|
:rtype: int
|
|
44126
44189
|
"""
|
|
44127
44190
|
return self._CompareYesterdayNotProtectMachineCnt
|
|
@@ -44132,7 +44195,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44132
44195
|
|
|
44133
44196
|
@property
|
|
44134
44197
|
def CompareYesterdayDeadlineMachineCnt(self):
|
|
44135
|
-
r"""
|
|
44198
|
+
r"""<p>比较昨日即将到期的机器数</p>
|
|
44136
44199
|
:rtype: int
|
|
44137
44200
|
"""
|
|
44138
44201
|
return self._CompareYesterdayDeadlineMachineCnt
|
|
@@ -44143,7 +44206,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44143
44206
|
|
|
44144
44207
|
@property
|
|
44145
44208
|
def DeadlineMachineCnt(self):
|
|
44146
|
-
r"""
|
|
44209
|
+
r"""<p>即将到期的机器数</p>
|
|
44147
44210
|
:rtype: int
|
|
44148
44211
|
"""
|
|
44149
44212
|
return self._DeadlineMachineCnt
|
|
@@ -44154,7 +44217,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44154
44217
|
|
|
44155
44218
|
@property
|
|
44156
44219
|
def NotProtectMachineCnt(self):
|
|
44157
|
-
r"""
|
|
44220
|
+
r"""<p>未防护机器数</p>
|
|
44158
44221
|
:rtype: int
|
|
44159
44222
|
"""
|
|
44160
44223
|
return self._NotProtectMachineCnt
|
|
@@ -44165,7 +44228,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44165
44228
|
|
|
44166
44229
|
@property
|
|
44167
44230
|
def LHGeneralDiscountCnt(self):
|
|
44168
|
-
r"""
|
|
44231
|
+
r"""<p>已防护轻量机器数(Lighthouse机器)</p>
|
|
44169
44232
|
:rtype: int
|
|
44170
44233
|
"""
|
|
44171
44234
|
return self._LHGeneralDiscountCnt
|
|
@@ -44176,7 +44239,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44176
44239
|
|
|
44177
44240
|
@property
|
|
44178
44241
|
def CompareYesterdayMachineCnt(self):
|
|
44179
|
-
r"""
|
|
44242
|
+
r"""<p>比较昨日新增的主机数</p>
|
|
44180
44243
|
:rtype: int
|
|
44181
44244
|
"""
|
|
44182
44245
|
return self._CompareYesterdayMachineCnt
|
|
@@ -44187,7 +44250,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44187
44250
|
|
|
44188
44251
|
@property
|
|
44189
44252
|
def MachineDestroyAfterOfflineHours(self):
|
|
44190
|
-
r"""
|
|
44253
|
+
r"""<p>自动清理时间,最大720小时,最小0, 默认0 ,0=关闭</p>
|
|
44191
44254
|
:rtype: int
|
|
44192
44255
|
"""
|
|
44193
44256
|
return self._MachineDestroyAfterOfflineHours
|
|
@@ -44198,7 +44261,7 @@ class DescribeMachineGeneralResponse(AbstractModel):
|
|
|
44198
44261
|
|
|
44199
44262
|
@property
|
|
44200
44263
|
def CloudFrom(self):
|
|
44201
|
-
r"""
|
|
44264
|
+
r"""<p>云服务器类型数组</p>
|
|
44202
44265
|
:rtype: list of CloudFromCnt
|
|
44203
44266
|
"""
|
|
44204
44267
|
return self._CloudFrom
|
|
@@ -73263,14 +73326,14 @@ class ExportTasksRequest(AbstractModel):
|
|
|
73263
73326
|
|
|
73264
73327
|
def __init__(self):
|
|
73265
73328
|
r"""
|
|
73266
|
-
:param _TaskId:
|
|
73329
|
+
:param _TaskId: <p>任务ID</p>
|
|
73267
73330
|
:type TaskId: str
|
|
73268
73331
|
"""
|
|
73269
73332
|
self._TaskId = None
|
|
73270
73333
|
|
|
73271
73334
|
@property
|
|
73272
73335
|
def TaskId(self):
|
|
73273
|
-
r"""
|
|
73336
|
+
r"""<p>任务ID</p>
|
|
73274
73337
|
:rtype: str
|
|
73275
73338
|
"""
|
|
73276
73339
|
return self._TaskId
|
|
@@ -73299,20 +73362,23 @@ class ExportTasksResponse(AbstractModel):
|
|
|
73299
73362
|
|
|
73300
73363
|
def __init__(self):
|
|
73301
73364
|
r"""
|
|
73302
|
-
:param _Status: PENDING:正在生成下载链接,FINISHED:下载链接已生成,ERROR
|
|
73365
|
+
:param _Status: <p>PENDING:正在生成下载链接,FINISHED:下载链接已生成,ERROR:网络异常等异常情况</p>
|
|
73303
73366
|
:type Status: str
|
|
73304
|
-
:param _DownloadUrl:
|
|
73367
|
+
:param _DownloadUrl: <p>下载链接</p>
|
|
73305
73368
|
:type DownloadUrl: str
|
|
73369
|
+
:param _FileName: <p>文件名称</p>
|
|
73370
|
+
:type FileName: str
|
|
73306
73371
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
73307
73372
|
:type RequestId: str
|
|
73308
73373
|
"""
|
|
73309
73374
|
self._Status = None
|
|
73310
73375
|
self._DownloadUrl = None
|
|
73376
|
+
self._FileName = None
|
|
73311
73377
|
self._RequestId = None
|
|
73312
73378
|
|
|
73313
73379
|
@property
|
|
73314
73380
|
def Status(self):
|
|
73315
|
-
r"""PENDING:正在生成下载链接,FINISHED:下载链接已生成,ERROR
|
|
73381
|
+
r"""<p>PENDING:正在生成下载链接,FINISHED:下载链接已生成,ERROR:网络异常等异常情况</p>
|
|
73316
73382
|
:rtype: str
|
|
73317
73383
|
"""
|
|
73318
73384
|
return self._Status
|
|
@@ -73323,7 +73389,7 @@ class ExportTasksResponse(AbstractModel):
|
|
|
73323
73389
|
|
|
73324
73390
|
@property
|
|
73325
73391
|
def DownloadUrl(self):
|
|
73326
|
-
r"""
|
|
73392
|
+
r"""<p>下载链接</p>
|
|
73327
73393
|
:rtype: str
|
|
73328
73394
|
"""
|
|
73329
73395
|
return self._DownloadUrl
|
|
@@ -73332,6 +73398,17 @@ class ExportTasksResponse(AbstractModel):
|
|
|
73332
73398
|
def DownloadUrl(self, DownloadUrl):
|
|
73333
73399
|
self._DownloadUrl = DownloadUrl
|
|
73334
73400
|
|
|
73401
|
+
@property
|
|
73402
|
+
def FileName(self):
|
|
73403
|
+
r"""<p>文件名称</p>
|
|
73404
|
+
:rtype: str
|
|
73405
|
+
"""
|
|
73406
|
+
return self._FileName
|
|
73407
|
+
|
|
73408
|
+
@FileName.setter
|
|
73409
|
+
def FileName(self, FileName):
|
|
73410
|
+
self._FileName = FileName
|
|
73411
|
+
|
|
73335
73412
|
@property
|
|
73336
73413
|
def RequestId(self):
|
|
73337
73414
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -73347,6 +73424,7 @@ class ExportTasksResponse(AbstractModel):
|
|
|
73347
73424
|
def _deserialize(self, params):
|
|
73348
73425
|
self._Status = params.get("Status")
|
|
73349
73426
|
self._DownloadUrl = params.get("DownloadUrl")
|
|
73427
|
+
self._FileName = params.get("FileName")
|
|
73350
73428
|
self._RequestId = params.get("RequestId")
|
|
73351
73429
|
|
|
73352
73430
|
|
|
@@ -86663,23 +86741,23 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86663
86741
|
|
|
86664
86742
|
def __init__(self):
|
|
86665
86743
|
r"""
|
|
86666
|
-
:param _UserName:
|
|
86744
|
+
:param _UserName: <p>白名单用户(多个用户逗号隔开)</p>
|
|
86667
86745
|
:type UserName: str
|
|
86668
|
-
:param _SrcIp:
|
|
86746
|
+
:param _SrcIp: <p>更新后记录的白名单维度信息</p>
|
|
86669
86747
|
:type SrcIp: str
|
|
86670
|
-
:param _StartTime:
|
|
86748
|
+
:param _StartTime: <p>开始时间</p>
|
|
86671
86749
|
:type StartTime: str
|
|
86672
|
-
:param _EndTime:
|
|
86750
|
+
:param _EndTime: <p>结束时间</p>
|
|
86673
86751
|
:type EndTime: str
|
|
86674
|
-
:param _Remark:
|
|
86752
|
+
:param _Remark: <p>备注</p>
|
|
86675
86753
|
:type Remark: str
|
|
86676
|
-
:param _IsGlobal:
|
|
86754
|
+
:param _IsGlobal: <p>是否对所有服务器生效,0-否,1-是</p>
|
|
86677
86755
|
:type IsGlobal: int
|
|
86678
|
-
:param _Id:
|
|
86756
|
+
:param _Id: <p>白名单ID</p>
|
|
86679
86757
|
:type Id: int
|
|
86680
|
-
:param _Hosts:
|
|
86758
|
+
:param _Hosts: <p>服务器列表</p>
|
|
86681
86759
|
:type Hosts: list of HostInfo
|
|
86682
|
-
:param _Places:
|
|
86760
|
+
:param _Places: <p>地域列表</p>
|
|
86683
86761
|
:type Places: list of Place
|
|
86684
86762
|
"""
|
|
86685
86763
|
self._UserName = None
|
|
@@ -86694,7 +86772,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86694
86772
|
|
|
86695
86773
|
@property
|
|
86696
86774
|
def UserName(self):
|
|
86697
|
-
r"""
|
|
86775
|
+
r"""<p>白名单用户(多个用户逗号隔开)</p>
|
|
86698
86776
|
:rtype: str
|
|
86699
86777
|
"""
|
|
86700
86778
|
return self._UserName
|
|
@@ -86705,7 +86783,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86705
86783
|
|
|
86706
86784
|
@property
|
|
86707
86785
|
def SrcIp(self):
|
|
86708
|
-
r"""
|
|
86786
|
+
r"""<p>更新后记录的白名单维度信息</p>
|
|
86709
86787
|
:rtype: str
|
|
86710
86788
|
"""
|
|
86711
86789
|
return self._SrcIp
|
|
@@ -86716,7 +86794,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86716
86794
|
|
|
86717
86795
|
@property
|
|
86718
86796
|
def StartTime(self):
|
|
86719
|
-
r"""
|
|
86797
|
+
r"""<p>开始时间</p>
|
|
86720
86798
|
:rtype: str
|
|
86721
86799
|
"""
|
|
86722
86800
|
return self._StartTime
|
|
@@ -86727,7 +86805,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86727
86805
|
|
|
86728
86806
|
@property
|
|
86729
86807
|
def EndTime(self):
|
|
86730
|
-
r"""
|
|
86808
|
+
r"""<p>结束时间</p>
|
|
86731
86809
|
:rtype: str
|
|
86732
86810
|
"""
|
|
86733
86811
|
return self._EndTime
|
|
@@ -86738,7 +86816,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86738
86816
|
|
|
86739
86817
|
@property
|
|
86740
86818
|
def Remark(self):
|
|
86741
|
-
r"""
|
|
86819
|
+
r"""<p>备注</p>
|
|
86742
86820
|
:rtype: str
|
|
86743
86821
|
"""
|
|
86744
86822
|
return self._Remark
|
|
@@ -86749,7 +86827,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86749
86827
|
|
|
86750
86828
|
@property
|
|
86751
86829
|
def IsGlobal(self):
|
|
86752
|
-
r"""
|
|
86830
|
+
r"""<p>是否对所有服务器生效,0-否,1-是</p>
|
|
86753
86831
|
:rtype: int
|
|
86754
86832
|
"""
|
|
86755
86833
|
return self._IsGlobal
|
|
@@ -86760,7 +86838,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86760
86838
|
|
|
86761
86839
|
@property
|
|
86762
86840
|
def Id(self):
|
|
86763
|
-
r"""
|
|
86841
|
+
r"""<p>白名单ID</p>
|
|
86764
86842
|
:rtype: int
|
|
86765
86843
|
"""
|
|
86766
86844
|
return self._Id
|
|
@@ -86771,7 +86849,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86771
86849
|
|
|
86772
86850
|
@property
|
|
86773
86851
|
def Hosts(self):
|
|
86774
|
-
r"""
|
|
86852
|
+
r"""<p>服务器列表</p>
|
|
86775
86853
|
:rtype: list of HostInfo
|
|
86776
86854
|
"""
|
|
86777
86855
|
return self._Hosts
|
|
@@ -86782,7 +86860,7 @@ class ModifyLoginWhiteRecordRequest(AbstractModel):
|
|
|
86782
86860
|
|
|
86783
86861
|
@property
|
|
86784
86862
|
def Places(self):
|
|
86785
|
-
r"""
|
|
86863
|
+
r"""<p>地域列表</p>
|
|
86786
86864
|
:rtype: list of Place
|
|
86787
86865
|
"""
|
|
86788
86866
|
return self._Places
|
|
@@ -113385,6 +113463,179 @@ class VulHostTopInfo(AbstractModel):
|
|
|
113385
113463
|
|
|
113386
113464
|
|
|
113387
113465
|
|
|
113466
|
+
class VulIgnoreRule(AbstractModel):
|
|
113467
|
+
r"""漏洞忽略规则
|
|
113468
|
+
|
|
113469
|
+
"""
|
|
113470
|
+
|
|
113471
|
+
def __init__(self):
|
|
113472
|
+
r"""
|
|
113473
|
+
:param _VulID: 漏洞规则ID
|
|
113474
|
+
:type VulID: int
|
|
113475
|
+
:param _AssetScopeType: <li>0:全部主机</li>
|
|
113476
|
+
<li>1:自选主机</li>
|
|
113477
|
+
:type AssetScopeType: int
|
|
113478
|
+
:param _IncludeQuuidList: 自选主机情况下自选主机quuid列表
|
|
113479
|
+
:type IncludeQuuidList: list of str
|
|
113480
|
+
:param _ExcludeQuuidList: 全部主机情况下排出的主机
|
|
113481
|
+
:type ExcludeQuuidList: list of str
|
|
113482
|
+
:param _Remark: 忽略的原因
|
|
113483
|
+
:type Remark: str
|
|
113484
|
+
:param _ConfigHostCount: 配置主机数
|
|
113485
|
+
:type ConfigHostCount: int
|
|
113486
|
+
:param _AffectedHostCount: 实际受影响主机数
|
|
113487
|
+
:type AffectedHostCount: int
|
|
113488
|
+
:param _VulName: 漏洞名字
|
|
113489
|
+
:type VulName: str
|
|
113490
|
+
:param _RuleID: 忽略规则ID
|
|
113491
|
+
:type RuleID: int
|
|
113492
|
+
:param _ModifyTime: 最近更新时间
|
|
113493
|
+
:type ModifyTime: str
|
|
113494
|
+
"""
|
|
113495
|
+
self._VulID = None
|
|
113496
|
+
self._AssetScopeType = None
|
|
113497
|
+
self._IncludeQuuidList = None
|
|
113498
|
+
self._ExcludeQuuidList = None
|
|
113499
|
+
self._Remark = None
|
|
113500
|
+
self._ConfigHostCount = None
|
|
113501
|
+
self._AffectedHostCount = None
|
|
113502
|
+
self._VulName = None
|
|
113503
|
+
self._RuleID = None
|
|
113504
|
+
self._ModifyTime = None
|
|
113505
|
+
|
|
113506
|
+
@property
|
|
113507
|
+
def VulID(self):
|
|
113508
|
+
r"""漏洞规则ID
|
|
113509
|
+
:rtype: int
|
|
113510
|
+
"""
|
|
113511
|
+
return self._VulID
|
|
113512
|
+
|
|
113513
|
+
@VulID.setter
|
|
113514
|
+
def VulID(self, VulID):
|
|
113515
|
+
self._VulID = VulID
|
|
113516
|
+
|
|
113517
|
+
@property
|
|
113518
|
+
def AssetScopeType(self):
|
|
113519
|
+
r"""<li>0:全部主机</li>
|
|
113520
|
+
<li>1:自选主机</li>
|
|
113521
|
+
:rtype: int
|
|
113522
|
+
"""
|
|
113523
|
+
return self._AssetScopeType
|
|
113524
|
+
|
|
113525
|
+
@AssetScopeType.setter
|
|
113526
|
+
def AssetScopeType(self, AssetScopeType):
|
|
113527
|
+
self._AssetScopeType = AssetScopeType
|
|
113528
|
+
|
|
113529
|
+
@property
|
|
113530
|
+
def IncludeQuuidList(self):
|
|
113531
|
+
r"""自选主机情况下自选主机quuid列表
|
|
113532
|
+
:rtype: list of str
|
|
113533
|
+
"""
|
|
113534
|
+
return self._IncludeQuuidList
|
|
113535
|
+
|
|
113536
|
+
@IncludeQuuidList.setter
|
|
113537
|
+
def IncludeQuuidList(self, IncludeQuuidList):
|
|
113538
|
+
self._IncludeQuuidList = IncludeQuuidList
|
|
113539
|
+
|
|
113540
|
+
@property
|
|
113541
|
+
def ExcludeQuuidList(self):
|
|
113542
|
+
r"""全部主机情况下排出的主机
|
|
113543
|
+
:rtype: list of str
|
|
113544
|
+
"""
|
|
113545
|
+
return self._ExcludeQuuidList
|
|
113546
|
+
|
|
113547
|
+
@ExcludeQuuidList.setter
|
|
113548
|
+
def ExcludeQuuidList(self, ExcludeQuuidList):
|
|
113549
|
+
self._ExcludeQuuidList = ExcludeQuuidList
|
|
113550
|
+
|
|
113551
|
+
@property
|
|
113552
|
+
def Remark(self):
|
|
113553
|
+
r"""忽略的原因
|
|
113554
|
+
:rtype: str
|
|
113555
|
+
"""
|
|
113556
|
+
return self._Remark
|
|
113557
|
+
|
|
113558
|
+
@Remark.setter
|
|
113559
|
+
def Remark(self, Remark):
|
|
113560
|
+
self._Remark = Remark
|
|
113561
|
+
|
|
113562
|
+
@property
|
|
113563
|
+
def ConfigHostCount(self):
|
|
113564
|
+
r"""配置主机数
|
|
113565
|
+
:rtype: int
|
|
113566
|
+
"""
|
|
113567
|
+
return self._ConfigHostCount
|
|
113568
|
+
|
|
113569
|
+
@ConfigHostCount.setter
|
|
113570
|
+
def ConfigHostCount(self, ConfigHostCount):
|
|
113571
|
+
self._ConfigHostCount = ConfigHostCount
|
|
113572
|
+
|
|
113573
|
+
@property
|
|
113574
|
+
def AffectedHostCount(self):
|
|
113575
|
+
r"""实际受影响主机数
|
|
113576
|
+
:rtype: int
|
|
113577
|
+
"""
|
|
113578
|
+
return self._AffectedHostCount
|
|
113579
|
+
|
|
113580
|
+
@AffectedHostCount.setter
|
|
113581
|
+
def AffectedHostCount(self, AffectedHostCount):
|
|
113582
|
+
self._AffectedHostCount = AffectedHostCount
|
|
113583
|
+
|
|
113584
|
+
@property
|
|
113585
|
+
def VulName(self):
|
|
113586
|
+
r"""漏洞名字
|
|
113587
|
+
:rtype: str
|
|
113588
|
+
"""
|
|
113589
|
+
return self._VulName
|
|
113590
|
+
|
|
113591
|
+
@VulName.setter
|
|
113592
|
+
def VulName(self, VulName):
|
|
113593
|
+
self._VulName = VulName
|
|
113594
|
+
|
|
113595
|
+
@property
|
|
113596
|
+
def RuleID(self):
|
|
113597
|
+
r"""忽略规则ID
|
|
113598
|
+
:rtype: int
|
|
113599
|
+
"""
|
|
113600
|
+
return self._RuleID
|
|
113601
|
+
|
|
113602
|
+
@RuleID.setter
|
|
113603
|
+
def RuleID(self, RuleID):
|
|
113604
|
+
self._RuleID = RuleID
|
|
113605
|
+
|
|
113606
|
+
@property
|
|
113607
|
+
def ModifyTime(self):
|
|
113608
|
+
r"""最近更新时间
|
|
113609
|
+
:rtype: str
|
|
113610
|
+
"""
|
|
113611
|
+
return self._ModifyTime
|
|
113612
|
+
|
|
113613
|
+
@ModifyTime.setter
|
|
113614
|
+
def ModifyTime(self, ModifyTime):
|
|
113615
|
+
self._ModifyTime = ModifyTime
|
|
113616
|
+
|
|
113617
|
+
|
|
113618
|
+
def _deserialize(self, params):
|
|
113619
|
+
self._VulID = params.get("VulID")
|
|
113620
|
+
self._AssetScopeType = params.get("AssetScopeType")
|
|
113621
|
+
self._IncludeQuuidList = params.get("IncludeQuuidList")
|
|
113622
|
+
self._ExcludeQuuidList = params.get("ExcludeQuuidList")
|
|
113623
|
+
self._Remark = params.get("Remark")
|
|
113624
|
+
self._ConfigHostCount = params.get("ConfigHostCount")
|
|
113625
|
+
self._AffectedHostCount = params.get("AffectedHostCount")
|
|
113626
|
+
self._VulName = params.get("VulName")
|
|
113627
|
+
self._RuleID = params.get("RuleID")
|
|
113628
|
+
self._ModifyTime = params.get("ModifyTime")
|
|
113629
|
+
memeber_set = set(params.keys())
|
|
113630
|
+
for name, value in vars(self).items():
|
|
113631
|
+
property_name = name[1:]
|
|
113632
|
+
if property_name in memeber_set:
|
|
113633
|
+
memeber_set.remove(property_name)
|
|
113634
|
+
if len(memeber_set) > 0:
|
|
113635
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
113636
|
+
|
|
113637
|
+
|
|
113638
|
+
|
|
113388
113639
|
class VulInfoByCveId(AbstractModel):
|
|
113389
113640
|
r"""根据cve_id查询漏洞详情
|
|
113390
113641
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cwp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.124
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.111
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|