tencentcloud-sdk-python-cwp 3.1.112__py2.py3-none-any.whl → 3.1.125__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 +1 -1
- tencentcloud/cwp/v20180228/cwp_client.py +23 -0
- tencentcloud/cwp/v20180228/cwp_client_async.py +18 -0
- tencentcloud/cwp/v20180228/models.py +667 -40
- {tencentcloud_sdk_python_cwp-3.1.112.dist-info → tencentcloud_sdk_python_cwp-3.1.125.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_cwp-3.1.125.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_cwp-3.1.112.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_cwp-3.1.112.dist-info → tencentcloud_sdk_python_cwp-3.1.125.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cwp-3.1.112.dist-info → tencentcloud_sdk_python_cwp-3.1.125.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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,
|
|
@@ -236,6 +236,75 @@ class AddLoginWhiteListsResponse(AbstractModel):
|
|
|
236
236
|
self._RequestId = params.get("RequestId")
|
|
237
237
|
|
|
238
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
|
+
|
|
239
308
|
class AlarmInfo(AbstractModel):
|
|
240
309
|
r"""节点关联的告警信息
|
|
241
310
|
|
|
@@ -17247,13 +17316,13 @@ class CreateBuyBindTaskRequest(AbstractModel):
|
|
|
17247
17316
|
|
|
17248
17317
|
def __init__(self):
|
|
17249
17318
|
r"""
|
|
17250
|
-
:param _DealName:
|
|
17319
|
+
:param _DealName: <p>订单号</p>
|
|
17251
17320
|
:type DealName: str
|
|
17252
|
-
:param _LicenseType:
|
|
17321
|
+
:param _LicenseType: <p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
17253
17322
|
:type LicenseType: int
|
|
17254
|
-
:param _QuuidList:
|
|
17323
|
+
:param _QuuidList: <p>机器列表</p>
|
|
17255
17324
|
:type QuuidList: list of str
|
|
17256
|
-
:param _IsAll:
|
|
17325
|
+
:param _IsAll: <p>是否全选机器</p>
|
|
17257
17326
|
:type IsAll: bool
|
|
17258
17327
|
"""
|
|
17259
17328
|
self._DealName = None
|
|
@@ -17263,7 +17332,7 @@ class CreateBuyBindTaskRequest(AbstractModel):
|
|
|
17263
17332
|
|
|
17264
17333
|
@property
|
|
17265
17334
|
def DealName(self):
|
|
17266
|
-
r"""
|
|
17335
|
+
r"""<p>订单号</p>
|
|
17267
17336
|
:rtype: str
|
|
17268
17337
|
"""
|
|
17269
17338
|
return self._DealName
|
|
@@ -17274,7 +17343,7 @@ class CreateBuyBindTaskRequest(AbstractModel):
|
|
|
17274
17343
|
|
|
17275
17344
|
@property
|
|
17276
17345
|
def LicenseType(self):
|
|
17277
|
-
r"""
|
|
17346
|
+
r"""<p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
17278
17347
|
:rtype: int
|
|
17279
17348
|
"""
|
|
17280
17349
|
return self._LicenseType
|
|
@@ -17285,7 +17354,7 @@ class CreateBuyBindTaskRequest(AbstractModel):
|
|
|
17285
17354
|
|
|
17286
17355
|
@property
|
|
17287
17356
|
def QuuidList(self):
|
|
17288
|
-
r"""
|
|
17357
|
+
r"""<p>机器列表</p>
|
|
17289
17358
|
:rtype: list of str
|
|
17290
17359
|
"""
|
|
17291
17360
|
return self._QuuidList
|
|
@@ -17296,7 +17365,7 @@ class CreateBuyBindTaskRequest(AbstractModel):
|
|
|
17296
17365
|
|
|
17297
17366
|
@property
|
|
17298
17367
|
def IsAll(self):
|
|
17299
|
-
r"""
|
|
17368
|
+
r"""<p>是否全选机器</p>
|
|
17300
17369
|
:rtype: bool
|
|
17301
17370
|
"""
|
|
17302
17371
|
return self._IsAll
|
|
@@ -48899,14 +48968,14 @@ class DescribeProVersionStatusRequest(AbstractModel):
|
|
|
48899
48968
|
|
|
48900
48969
|
def __init__(self):
|
|
48901
48970
|
r"""
|
|
48902
|
-
:param _Uuid:
|
|
48971
|
+
:param _Uuid: <p>主机安全客户端UUID、填写"all"表示所有主机。</p>
|
|
48903
48972
|
:type Uuid: str
|
|
48904
48973
|
"""
|
|
48905
48974
|
self._Uuid = None
|
|
48906
48975
|
|
|
48907
48976
|
@property
|
|
48908
48977
|
def Uuid(self):
|
|
48909
|
-
r"""
|
|
48978
|
+
r"""<p>主机安全客户端UUID、填写"all"表示所有主机。</p>
|
|
48910
48979
|
:rtype: str
|
|
48911
48980
|
"""
|
|
48912
48981
|
return self._Uuid
|
|
@@ -48935,11 +49004,25 @@ class DescribeProVersionStatusResponse(AbstractModel):
|
|
|
48935
49004
|
|
|
48936
49005
|
def __init__(self):
|
|
48937
49006
|
r"""
|
|
49007
|
+
:param _Status: <p>开通状态。</p><li>UNOPENED:未开通专业版</li><li>OPENED:已开通专业版</li>
|
|
49008
|
+
:type Status: str
|
|
48938
49009
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
48939
49010
|
:type RequestId: str
|
|
48940
49011
|
"""
|
|
49012
|
+
self._Status = None
|
|
48941
49013
|
self._RequestId = None
|
|
48942
49014
|
|
|
49015
|
+
@property
|
|
49016
|
+
def Status(self):
|
|
49017
|
+
r"""<p>开通状态。</p><li>UNOPENED:未开通专业版</li><li>OPENED:已开通专业版</li>
|
|
49018
|
+
:rtype: str
|
|
49019
|
+
"""
|
|
49020
|
+
return self._Status
|
|
49021
|
+
|
|
49022
|
+
@Status.setter
|
|
49023
|
+
def Status(self, Status):
|
|
49024
|
+
self._Status = Status
|
|
49025
|
+
|
|
48943
49026
|
@property
|
|
48944
49027
|
def RequestId(self):
|
|
48945
49028
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -48953,6 +49036,7 @@ class DescribeProVersionStatusResponse(AbstractModel):
|
|
|
48953
49036
|
|
|
48954
49037
|
|
|
48955
49038
|
def _deserialize(self, params):
|
|
49039
|
+
self._Status = params.get("Status")
|
|
48956
49040
|
self._RequestId = params.get("RequestId")
|
|
48957
49041
|
|
|
48958
49042
|
|
|
@@ -52607,11 +52691,25 @@ class DescribeRecommendedProtectCpuResponse(AbstractModel):
|
|
|
52607
52691
|
|
|
52608
52692
|
def __init__(self):
|
|
52609
52693
|
r"""
|
|
52694
|
+
:param _Number: <p>推荐购买数</p>
|
|
52695
|
+
:type Number: int
|
|
52610
52696
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
52611
52697
|
:type RequestId: str
|
|
52612
52698
|
"""
|
|
52699
|
+
self._Number = None
|
|
52613
52700
|
self._RequestId = None
|
|
52614
52701
|
|
|
52702
|
+
@property
|
|
52703
|
+
def Number(self):
|
|
52704
|
+
r"""<p>推荐购买数</p>
|
|
52705
|
+
:rtype: int
|
|
52706
|
+
"""
|
|
52707
|
+
return self._Number
|
|
52708
|
+
|
|
52709
|
+
@Number.setter
|
|
52710
|
+
def Number(self, Number):
|
|
52711
|
+
self._Number = Number
|
|
52712
|
+
|
|
52615
52713
|
@property
|
|
52616
52714
|
def RequestId(self):
|
|
52617
52715
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -52625,6 +52723,7 @@ class DescribeRecommendedProtectCpuResponse(AbstractModel):
|
|
|
52625
52723
|
|
|
52626
52724
|
|
|
52627
52725
|
def _deserialize(self, params):
|
|
52726
|
+
self._Number = params.get("Number")
|
|
52628
52727
|
self._RequestId = params.get("RequestId")
|
|
52629
52728
|
|
|
52630
52729
|
|
|
@@ -54247,11 +54346,123 @@ class DescribeSafeInfoResponse(AbstractModel):
|
|
|
54247
54346
|
|
|
54248
54347
|
def __init__(self):
|
|
54249
54348
|
r"""
|
|
54349
|
+
:param _Context: <p>文本内容</p>
|
|
54350
|
+
:type Context: str
|
|
54351
|
+
:param _Title: <p>标题</p>
|
|
54352
|
+
:type Title: str
|
|
54353
|
+
:param _Url: <p>超链接地址</p>
|
|
54354
|
+
:type Url: str
|
|
54355
|
+
:param _EffectHostCount: <p>受影响机器数</p>
|
|
54356
|
+
:type EffectHostCount: int
|
|
54357
|
+
:param _EventName: <p>受影响事件名称</p>
|
|
54358
|
+
:type EventName: str
|
|
54359
|
+
:param _EventCategory: <p>受影响事件类型 0 无 1 木马 2 漏洞 3基线</p>
|
|
54360
|
+
:type EventCategory: int
|
|
54361
|
+
:param _IsShow: <p>是否展示通知</p>
|
|
54362
|
+
:type IsShow: bool
|
|
54363
|
+
:param _Id: <p>Id值</p>
|
|
54364
|
+
:type Id: int
|
|
54250
54365
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
54251
54366
|
:type RequestId: str
|
|
54252
54367
|
"""
|
|
54368
|
+
self._Context = None
|
|
54369
|
+
self._Title = None
|
|
54370
|
+
self._Url = None
|
|
54371
|
+
self._EffectHostCount = None
|
|
54372
|
+
self._EventName = None
|
|
54373
|
+
self._EventCategory = None
|
|
54374
|
+
self._IsShow = None
|
|
54375
|
+
self._Id = None
|
|
54253
54376
|
self._RequestId = None
|
|
54254
54377
|
|
|
54378
|
+
@property
|
|
54379
|
+
def Context(self):
|
|
54380
|
+
r"""<p>文本内容</p>
|
|
54381
|
+
:rtype: str
|
|
54382
|
+
"""
|
|
54383
|
+
return self._Context
|
|
54384
|
+
|
|
54385
|
+
@Context.setter
|
|
54386
|
+
def Context(self, Context):
|
|
54387
|
+
self._Context = Context
|
|
54388
|
+
|
|
54389
|
+
@property
|
|
54390
|
+
def Title(self):
|
|
54391
|
+
r"""<p>标题</p>
|
|
54392
|
+
:rtype: str
|
|
54393
|
+
"""
|
|
54394
|
+
return self._Title
|
|
54395
|
+
|
|
54396
|
+
@Title.setter
|
|
54397
|
+
def Title(self, Title):
|
|
54398
|
+
self._Title = Title
|
|
54399
|
+
|
|
54400
|
+
@property
|
|
54401
|
+
def Url(self):
|
|
54402
|
+
r"""<p>超链接地址</p>
|
|
54403
|
+
:rtype: str
|
|
54404
|
+
"""
|
|
54405
|
+
return self._Url
|
|
54406
|
+
|
|
54407
|
+
@Url.setter
|
|
54408
|
+
def Url(self, Url):
|
|
54409
|
+
self._Url = Url
|
|
54410
|
+
|
|
54411
|
+
@property
|
|
54412
|
+
def EffectHostCount(self):
|
|
54413
|
+
r"""<p>受影响机器数</p>
|
|
54414
|
+
:rtype: int
|
|
54415
|
+
"""
|
|
54416
|
+
return self._EffectHostCount
|
|
54417
|
+
|
|
54418
|
+
@EffectHostCount.setter
|
|
54419
|
+
def EffectHostCount(self, EffectHostCount):
|
|
54420
|
+
self._EffectHostCount = EffectHostCount
|
|
54421
|
+
|
|
54422
|
+
@property
|
|
54423
|
+
def EventName(self):
|
|
54424
|
+
r"""<p>受影响事件名称</p>
|
|
54425
|
+
:rtype: str
|
|
54426
|
+
"""
|
|
54427
|
+
return self._EventName
|
|
54428
|
+
|
|
54429
|
+
@EventName.setter
|
|
54430
|
+
def EventName(self, EventName):
|
|
54431
|
+
self._EventName = EventName
|
|
54432
|
+
|
|
54433
|
+
@property
|
|
54434
|
+
def EventCategory(self):
|
|
54435
|
+
r"""<p>受影响事件类型 0 无 1 木马 2 漏洞 3基线</p>
|
|
54436
|
+
:rtype: int
|
|
54437
|
+
"""
|
|
54438
|
+
return self._EventCategory
|
|
54439
|
+
|
|
54440
|
+
@EventCategory.setter
|
|
54441
|
+
def EventCategory(self, EventCategory):
|
|
54442
|
+
self._EventCategory = EventCategory
|
|
54443
|
+
|
|
54444
|
+
@property
|
|
54445
|
+
def IsShow(self):
|
|
54446
|
+
r"""<p>是否展示通知</p>
|
|
54447
|
+
:rtype: bool
|
|
54448
|
+
"""
|
|
54449
|
+
return self._IsShow
|
|
54450
|
+
|
|
54451
|
+
@IsShow.setter
|
|
54452
|
+
def IsShow(self, IsShow):
|
|
54453
|
+
self._IsShow = IsShow
|
|
54454
|
+
|
|
54455
|
+
@property
|
|
54456
|
+
def Id(self):
|
|
54457
|
+
r"""<p>Id值</p>
|
|
54458
|
+
:rtype: int
|
|
54459
|
+
"""
|
|
54460
|
+
return self._Id
|
|
54461
|
+
|
|
54462
|
+
@Id.setter
|
|
54463
|
+
def Id(self, Id):
|
|
54464
|
+
self._Id = Id
|
|
54465
|
+
|
|
54255
54466
|
@property
|
|
54256
54467
|
def RequestId(self):
|
|
54257
54468
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -54265,6 +54476,14 @@ class DescribeSafeInfoResponse(AbstractModel):
|
|
|
54265
54476
|
|
|
54266
54477
|
|
|
54267
54478
|
def _deserialize(self, params):
|
|
54479
|
+
self._Context = params.get("Context")
|
|
54480
|
+
self._Title = params.get("Title")
|
|
54481
|
+
self._Url = params.get("Url")
|
|
54482
|
+
self._EffectHostCount = params.get("EffectHostCount")
|
|
54483
|
+
self._EventName = params.get("EventName")
|
|
54484
|
+
self._EventCategory = params.get("EventCategory")
|
|
54485
|
+
self._IsShow = params.get("IsShow")
|
|
54486
|
+
self._Id = params.get("Id")
|
|
54268
54487
|
self._RequestId = params.get("RequestId")
|
|
54269
54488
|
|
|
54270
54489
|
|
|
@@ -58633,11 +58852,235 @@ class DescribeTrialReportResponse(AbstractModel):
|
|
|
58633
58852
|
|
|
58634
58853
|
def __init__(self):
|
|
58635
58854
|
r"""
|
|
58855
|
+
:param _IsShow: <p>是否展示</p>
|
|
58856
|
+
:type IsShow: bool
|
|
58857
|
+
:param _AddMachineCnt: <p>新增机器数</p>
|
|
58858
|
+
:type AddMachineCnt: int
|
|
58859
|
+
:param _BaselineRiskCnt: <p>基线风险数(检测项)</p>
|
|
58860
|
+
:type BaselineRiskCnt: int
|
|
58861
|
+
:param _VulCnt: <p>漏洞数</p>
|
|
58862
|
+
:type VulCnt: int
|
|
58863
|
+
:param _MalwareAlarmCnt: <p>木马告警成功数</p>
|
|
58864
|
+
:type MalwareAlarmCnt: int
|
|
58865
|
+
:param _BruteAlarmCnt: <p>爆破告警成功数</p>
|
|
58866
|
+
:type BruteAlarmCnt: int
|
|
58867
|
+
:param _AutoIsolateMalwareCnt: <p>自动隔离木马数(成功)</p>
|
|
58868
|
+
:type AutoIsolateMalwareCnt: int
|
|
58869
|
+
:param _AutoBlockBruteCnt: <p>自动阻断数(成功)</p>
|
|
58870
|
+
:type AutoBlockBruteCnt: int
|
|
58871
|
+
:param _AutoDefenceCnt: <p>自动防御漏洞数(成功)</p>
|
|
58872
|
+
:type AutoDefenceCnt: int
|
|
58873
|
+
:param _AutoVulFixCnt: <p>漏洞自动修复数</p>
|
|
58874
|
+
:type AutoVulFixCnt: int
|
|
58875
|
+
:param _JavaShellCnt: <p>java内存码告警数</p>
|
|
58876
|
+
:type JavaShellCnt: int
|
|
58877
|
+
:param _FileTamperCnt: <p>核心文件监控告警数</p>
|
|
58878
|
+
:type FileTamperCnt: int
|
|
58879
|
+
:param _EventCnt: <p>事件调查数</p>
|
|
58880
|
+
:type EventCnt: int
|
|
58881
|
+
:param _DnsCnt: <p>恶意请求事件数</p>
|
|
58882
|
+
:type DnsCnt: int
|
|
58883
|
+
:param _BashCnt: <p>高危命令事件数</p>
|
|
58884
|
+
:type BashCnt: int
|
|
58885
|
+
:param _CloudFrom: <p>云服务器厂商类型</p>
|
|
58886
|
+
:type CloudFrom: list of CloudFromCnt
|
|
58636
58887
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
58637
58888
|
:type RequestId: str
|
|
58638
58889
|
"""
|
|
58890
|
+
self._IsShow = None
|
|
58891
|
+
self._AddMachineCnt = None
|
|
58892
|
+
self._BaselineRiskCnt = None
|
|
58893
|
+
self._VulCnt = None
|
|
58894
|
+
self._MalwareAlarmCnt = None
|
|
58895
|
+
self._BruteAlarmCnt = None
|
|
58896
|
+
self._AutoIsolateMalwareCnt = None
|
|
58897
|
+
self._AutoBlockBruteCnt = None
|
|
58898
|
+
self._AutoDefenceCnt = None
|
|
58899
|
+
self._AutoVulFixCnt = None
|
|
58900
|
+
self._JavaShellCnt = None
|
|
58901
|
+
self._FileTamperCnt = None
|
|
58902
|
+
self._EventCnt = None
|
|
58903
|
+
self._DnsCnt = None
|
|
58904
|
+
self._BashCnt = None
|
|
58905
|
+
self._CloudFrom = None
|
|
58639
58906
|
self._RequestId = None
|
|
58640
58907
|
|
|
58908
|
+
@property
|
|
58909
|
+
def IsShow(self):
|
|
58910
|
+
r"""<p>是否展示</p>
|
|
58911
|
+
:rtype: bool
|
|
58912
|
+
"""
|
|
58913
|
+
return self._IsShow
|
|
58914
|
+
|
|
58915
|
+
@IsShow.setter
|
|
58916
|
+
def IsShow(self, IsShow):
|
|
58917
|
+
self._IsShow = IsShow
|
|
58918
|
+
|
|
58919
|
+
@property
|
|
58920
|
+
def AddMachineCnt(self):
|
|
58921
|
+
r"""<p>新增机器数</p>
|
|
58922
|
+
:rtype: int
|
|
58923
|
+
"""
|
|
58924
|
+
return self._AddMachineCnt
|
|
58925
|
+
|
|
58926
|
+
@AddMachineCnt.setter
|
|
58927
|
+
def AddMachineCnt(self, AddMachineCnt):
|
|
58928
|
+
self._AddMachineCnt = AddMachineCnt
|
|
58929
|
+
|
|
58930
|
+
@property
|
|
58931
|
+
def BaselineRiskCnt(self):
|
|
58932
|
+
r"""<p>基线风险数(检测项)</p>
|
|
58933
|
+
:rtype: int
|
|
58934
|
+
"""
|
|
58935
|
+
return self._BaselineRiskCnt
|
|
58936
|
+
|
|
58937
|
+
@BaselineRiskCnt.setter
|
|
58938
|
+
def BaselineRiskCnt(self, BaselineRiskCnt):
|
|
58939
|
+
self._BaselineRiskCnt = BaselineRiskCnt
|
|
58940
|
+
|
|
58941
|
+
@property
|
|
58942
|
+
def VulCnt(self):
|
|
58943
|
+
r"""<p>漏洞数</p>
|
|
58944
|
+
:rtype: int
|
|
58945
|
+
"""
|
|
58946
|
+
return self._VulCnt
|
|
58947
|
+
|
|
58948
|
+
@VulCnt.setter
|
|
58949
|
+
def VulCnt(self, VulCnt):
|
|
58950
|
+
self._VulCnt = VulCnt
|
|
58951
|
+
|
|
58952
|
+
@property
|
|
58953
|
+
def MalwareAlarmCnt(self):
|
|
58954
|
+
r"""<p>木马告警成功数</p>
|
|
58955
|
+
:rtype: int
|
|
58956
|
+
"""
|
|
58957
|
+
return self._MalwareAlarmCnt
|
|
58958
|
+
|
|
58959
|
+
@MalwareAlarmCnt.setter
|
|
58960
|
+
def MalwareAlarmCnt(self, MalwareAlarmCnt):
|
|
58961
|
+
self._MalwareAlarmCnt = MalwareAlarmCnt
|
|
58962
|
+
|
|
58963
|
+
@property
|
|
58964
|
+
def BruteAlarmCnt(self):
|
|
58965
|
+
r"""<p>爆破告警成功数</p>
|
|
58966
|
+
:rtype: int
|
|
58967
|
+
"""
|
|
58968
|
+
return self._BruteAlarmCnt
|
|
58969
|
+
|
|
58970
|
+
@BruteAlarmCnt.setter
|
|
58971
|
+
def BruteAlarmCnt(self, BruteAlarmCnt):
|
|
58972
|
+
self._BruteAlarmCnt = BruteAlarmCnt
|
|
58973
|
+
|
|
58974
|
+
@property
|
|
58975
|
+
def AutoIsolateMalwareCnt(self):
|
|
58976
|
+
r"""<p>自动隔离木马数(成功)</p>
|
|
58977
|
+
:rtype: int
|
|
58978
|
+
"""
|
|
58979
|
+
return self._AutoIsolateMalwareCnt
|
|
58980
|
+
|
|
58981
|
+
@AutoIsolateMalwareCnt.setter
|
|
58982
|
+
def AutoIsolateMalwareCnt(self, AutoIsolateMalwareCnt):
|
|
58983
|
+
self._AutoIsolateMalwareCnt = AutoIsolateMalwareCnt
|
|
58984
|
+
|
|
58985
|
+
@property
|
|
58986
|
+
def AutoBlockBruteCnt(self):
|
|
58987
|
+
r"""<p>自动阻断数(成功)</p>
|
|
58988
|
+
:rtype: int
|
|
58989
|
+
"""
|
|
58990
|
+
return self._AutoBlockBruteCnt
|
|
58991
|
+
|
|
58992
|
+
@AutoBlockBruteCnt.setter
|
|
58993
|
+
def AutoBlockBruteCnt(self, AutoBlockBruteCnt):
|
|
58994
|
+
self._AutoBlockBruteCnt = AutoBlockBruteCnt
|
|
58995
|
+
|
|
58996
|
+
@property
|
|
58997
|
+
def AutoDefenceCnt(self):
|
|
58998
|
+
r"""<p>自动防御漏洞数(成功)</p>
|
|
58999
|
+
:rtype: int
|
|
59000
|
+
"""
|
|
59001
|
+
return self._AutoDefenceCnt
|
|
59002
|
+
|
|
59003
|
+
@AutoDefenceCnt.setter
|
|
59004
|
+
def AutoDefenceCnt(self, AutoDefenceCnt):
|
|
59005
|
+
self._AutoDefenceCnt = AutoDefenceCnt
|
|
59006
|
+
|
|
59007
|
+
@property
|
|
59008
|
+
def AutoVulFixCnt(self):
|
|
59009
|
+
r"""<p>漏洞自动修复数</p>
|
|
59010
|
+
:rtype: int
|
|
59011
|
+
"""
|
|
59012
|
+
return self._AutoVulFixCnt
|
|
59013
|
+
|
|
59014
|
+
@AutoVulFixCnt.setter
|
|
59015
|
+
def AutoVulFixCnt(self, AutoVulFixCnt):
|
|
59016
|
+
self._AutoVulFixCnt = AutoVulFixCnt
|
|
59017
|
+
|
|
59018
|
+
@property
|
|
59019
|
+
def JavaShellCnt(self):
|
|
59020
|
+
r"""<p>java内存码告警数</p>
|
|
59021
|
+
:rtype: int
|
|
59022
|
+
"""
|
|
59023
|
+
return self._JavaShellCnt
|
|
59024
|
+
|
|
59025
|
+
@JavaShellCnt.setter
|
|
59026
|
+
def JavaShellCnt(self, JavaShellCnt):
|
|
59027
|
+
self._JavaShellCnt = JavaShellCnt
|
|
59028
|
+
|
|
59029
|
+
@property
|
|
59030
|
+
def FileTamperCnt(self):
|
|
59031
|
+
r"""<p>核心文件监控告警数</p>
|
|
59032
|
+
:rtype: int
|
|
59033
|
+
"""
|
|
59034
|
+
return self._FileTamperCnt
|
|
59035
|
+
|
|
59036
|
+
@FileTamperCnt.setter
|
|
59037
|
+
def FileTamperCnt(self, FileTamperCnt):
|
|
59038
|
+
self._FileTamperCnt = FileTamperCnt
|
|
59039
|
+
|
|
59040
|
+
@property
|
|
59041
|
+
def EventCnt(self):
|
|
59042
|
+
r"""<p>事件调查数</p>
|
|
59043
|
+
:rtype: int
|
|
59044
|
+
"""
|
|
59045
|
+
return self._EventCnt
|
|
59046
|
+
|
|
59047
|
+
@EventCnt.setter
|
|
59048
|
+
def EventCnt(self, EventCnt):
|
|
59049
|
+
self._EventCnt = EventCnt
|
|
59050
|
+
|
|
59051
|
+
@property
|
|
59052
|
+
def DnsCnt(self):
|
|
59053
|
+
r"""<p>恶意请求事件数</p>
|
|
59054
|
+
:rtype: int
|
|
59055
|
+
"""
|
|
59056
|
+
return self._DnsCnt
|
|
59057
|
+
|
|
59058
|
+
@DnsCnt.setter
|
|
59059
|
+
def DnsCnt(self, DnsCnt):
|
|
59060
|
+
self._DnsCnt = DnsCnt
|
|
59061
|
+
|
|
59062
|
+
@property
|
|
59063
|
+
def BashCnt(self):
|
|
59064
|
+
r"""<p>高危命令事件数</p>
|
|
59065
|
+
:rtype: int
|
|
59066
|
+
"""
|
|
59067
|
+
return self._BashCnt
|
|
59068
|
+
|
|
59069
|
+
@BashCnt.setter
|
|
59070
|
+
def BashCnt(self, BashCnt):
|
|
59071
|
+
self._BashCnt = BashCnt
|
|
59072
|
+
|
|
59073
|
+
@property
|
|
59074
|
+
def CloudFrom(self):
|
|
59075
|
+
r"""<p>云服务器厂商类型</p>
|
|
59076
|
+
:rtype: list of CloudFromCnt
|
|
59077
|
+
"""
|
|
59078
|
+
return self._CloudFrom
|
|
59079
|
+
|
|
59080
|
+
@CloudFrom.setter
|
|
59081
|
+
def CloudFrom(self, CloudFrom):
|
|
59082
|
+
self._CloudFrom = CloudFrom
|
|
59083
|
+
|
|
58641
59084
|
@property
|
|
58642
59085
|
def RequestId(self):
|
|
58643
59086
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -58651,6 +59094,27 @@ class DescribeTrialReportResponse(AbstractModel):
|
|
|
58651
59094
|
|
|
58652
59095
|
|
|
58653
59096
|
def _deserialize(self, params):
|
|
59097
|
+
self._IsShow = params.get("IsShow")
|
|
59098
|
+
self._AddMachineCnt = params.get("AddMachineCnt")
|
|
59099
|
+
self._BaselineRiskCnt = params.get("BaselineRiskCnt")
|
|
59100
|
+
self._VulCnt = params.get("VulCnt")
|
|
59101
|
+
self._MalwareAlarmCnt = params.get("MalwareAlarmCnt")
|
|
59102
|
+
self._BruteAlarmCnt = params.get("BruteAlarmCnt")
|
|
59103
|
+
self._AutoIsolateMalwareCnt = params.get("AutoIsolateMalwareCnt")
|
|
59104
|
+
self._AutoBlockBruteCnt = params.get("AutoBlockBruteCnt")
|
|
59105
|
+
self._AutoDefenceCnt = params.get("AutoDefenceCnt")
|
|
59106
|
+
self._AutoVulFixCnt = params.get("AutoVulFixCnt")
|
|
59107
|
+
self._JavaShellCnt = params.get("JavaShellCnt")
|
|
59108
|
+
self._FileTamperCnt = params.get("FileTamperCnt")
|
|
59109
|
+
self._EventCnt = params.get("EventCnt")
|
|
59110
|
+
self._DnsCnt = params.get("DnsCnt")
|
|
59111
|
+
self._BashCnt = params.get("BashCnt")
|
|
59112
|
+
if params.get("CloudFrom") is not None:
|
|
59113
|
+
self._CloudFrom = []
|
|
59114
|
+
for item in params.get("CloudFrom"):
|
|
59115
|
+
obj = CloudFromCnt()
|
|
59116
|
+
obj._deserialize(item)
|
|
59117
|
+
self._CloudFrom.append(obj)
|
|
58654
59118
|
self._RequestId = params.get("RequestId")
|
|
58655
59119
|
|
|
58656
59120
|
|
|
@@ -85418,13 +85882,13 @@ class ModifyLicenseBindsRequest(AbstractModel):
|
|
|
85418
85882
|
|
|
85419
85883
|
def __init__(self):
|
|
85420
85884
|
r"""
|
|
85421
|
-
:param _ResourceId:
|
|
85885
|
+
:param _ResourceId: <p>资源ID</p>
|
|
85422
85886
|
:type ResourceId: str
|
|
85423
|
-
:param _LicenseType:
|
|
85887
|
+
:param _LicenseType: <p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
85424
85888
|
:type LicenseType: int
|
|
85425
|
-
:param _IsAll:
|
|
85889
|
+
:param _IsAll: <p>是否全部机器(当全部机器数大于当前订单可用授权数时,多余机器会被跳过)</p>
|
|
85426
85890
|
:type IsAll: bool
|
|
85427
|
-
:param _QuuidList:
|
|
85891
|
+
:param _QuuidList: <p>需要绑定的机器quuid列表, 当IsAll = false 时必填,反之忽略该参数. 最大长度=2000</p>
|
|
85428
85892
|
:type QuuidList: list of str
|
|
85429
85893
|
"""
|
|
85430
85894
|
self._ResourceId = None
|
|
@@ -85434,7 +85898,7 @@ class ModifyLicenseBindsRequest(AbstractModel):
|
|
|
85434
85898
|
|
|
85435
85899
|
@property
|
|
85436
85900
|
def ResourceId(self):
|
|
85437
|
-
r"""
|
|
85901
|
+
r"""<p>资源ID</p>
|
|
85438
85902
|
:rtype: str
|
|
85439
85903
|
"""
|
|
85440
85904
|
return self._ResourceId
|
|
@@ -85445,7 +85909,7 @@ class ModifyLicenseBindsRequest(AbstractModel):
|
|
|
85445
85909
|
|
|
85446
85910
|
@property
|
|
85447
85911
|
def LicenseType(self):
|
|
85448
|
-
r"""
|
|
85912
|
+
r"""<p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
85449
85913
|
:rtype: int
|
|
85450
85914
|
"""
|
|
85451
85915
|
return self._LicenseType
|
|
@@ -85456,7 +85920,7 @@ class ModifyLicenseBindsRequest(AbstractModel):
|
|
|
85456
85920
|
|
|
85457
85921
|
@property
|
|
85458
85922
|
def IsAll(self):
|
|
85459
|
-
r"""
|
|
85923
|
+
r"""<p>是否全部机器(当全部机器数大于当前订单可用授权数时,多余机器会被跳过)</p>
|
|
85460
85924
|
:rtype: bool
|
|
85461
85925
|
"""
|
|
85462
85926
|
return self._IsAll
|
|
@@ -85467,7 +85931,7 @@ class ModifyLicenseBindsRequest(AbstractModel):
|
|
|
85467
85931
|
|
|
85468
85932
|
@property
|
|
85469
85933
|
def QuuidList(self):
|
|
85470
|
-
r"""
|
|
85934
|
+
r"""<p>需要绑定的机器quuid列表, 当IsAll = false 时必填,反之忽略该参数. 最大长度=2000</p>
|
|
85471
85935
|
:rtype: list of str
|
|
85472
85936
|
"""
|
|
85473
85937
|
return self._QuuidList
|
|
@@ -85499,7 +85963,7 @@ class ModifyLicenseBindsResponse(AbstractModel):
|
|
|
85499
85963
|
|
|
85500
85964
|
def __init__(self):
|
|
85501
85965
|
r"""
|
|
85502
|
-
:param _TaskId:
|
|
85966
|
+
:param _TaskId: <p>任务ID</p>
|
|
85503
85967
|
:type TaskId: int
|
|
85504
85968
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
85505
85969
|
:type RequestId: str
|
|
@@ -85509,7 +85973,7 @@ class ModifyLicenseBindsResponse(AbstractModel):
|
|
|
85509
85973
|
|
|
85510
85974
|
@property
|
|
85511
85975
|
def TaskId(self):
|
|
85512
|
-
r"""
|
|
85976
|
+
r"""<p>任务ID</p>
|
|
85513
85977
|
:rtype: int
|
|
85514
85978
|
"""
|
|
85515
85979
|
return self._TaskId
|
|
@@ -85681,18 +86145,13 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85681
86145
|
|
|
85682
86146
|
def __init__(self):
|
|
85683
86147
|
r"""
|
|
85684
|
-
:param _ResourceId:
|
|
86148
|
+
:param _ResourceId: <p>资源ID</p>
|
|
85685
86149
|
:type ResourceId: str
|
|
85686
|
-
:param _LicenseType:
|
|
85687
|
-
- 0 按量付费-专业版
|
|
85688
|
-
- 1 包年包月-专业版
|
|
85689
|
-
- 2 包年包月-旗舰版
|
|
85690
|
-
- 3 包年包月-轻量版
|
|
86150
|
+
:param _LicenseType: <p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
85691
86151
|
:type LicenseType: int
|
|
85692
|
-
:param _IsAll:
|
|
86152
|
+
:param _IsAll: <p>是否全部机器(当全部机器数大于当前订单可用授权数时,多余机器会被跳过)</p>
|
|
85693
86153
|
:type IsAll: bool
|
|
85694
|
-
:param _QuuidList:
|
|
85695
|
-
最大长度=100
|
|
86154
|
+
:param _QuuidList: <p>需要绑定的机器quuid列表, 当IsAll = false 时必填,反之忽略该参数.<br>最大长度=100</p>
|
|
85696
86155
|
:type QuuidList: list of str
|
|
85697
86156
|
"""
|
|
85698
86157
|
self._ResourceId = None
|
|
@@ -85702,7 +86161,7 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85702
86161
|
|
|
85703
86162
|
@property
|
|
85704
86163
|
def ResourceId(self):
|
|
85705
|
-
r"""
|
|
86164
|
+
r"""<p>资源ID</p>
|
|
85706
86165
|
:rtype: str
|
|
85707
86166
|
"""
|
|
85708
86167
|
return self._ResourceId
|
|
@@ -85713,11 +86172,7 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85713
86172
|
|
|
85714
86173
|
@property
|
|
85715
86174
|
def LicenseType(self):
|
|
85716
|
-
r"""
|
|
85717
|
-
- 0 按量付费-专业版
|
|
85718
|
-
- 1 包年包月-专业版
|
|
85719
|
-
- 2 包年包月-旗舰版
|
|
85720
|
-
- 3 包年包月-轻量版
|
|
86175
|
+
r"""<p>授权类型</p><p>枚举值:</p><ul><li>1: 专业版-包年包月</li><li>2: 旗舰版-包年包月</li></ul>
|
|
85721
86176
|
:rtype: int
|
|
85722
86177
|
"""
|
|
85723
86178
|
return self._LicenseType
|
|
@@ -85728,7 +86183,7 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85728
86183
|
|
|
85729
86184
|
@property
|
|
85730
86185
|
def IsAll(self):
|
|
85731
|
-
r"""
|
|
86186
|
+
r"""<p>是否全部机器(当全部机器数大于当前订单可用授权数时,多余机器会被跳过)</p>
|
|
85732
86187
|
:rtype: bool
|
|
85733
86188
|
"""
|
|
85734
86189
|
return self._IsAll
|
|
@@ -85739,8 +86194,7 @@ class ModifyLicenseUnBindsRequest(AbstractModel):
|
|
|
85739
86194
|
|
|
85740
86195
|
@property
|
|
85741
86196
|
def QuuidList(self):
|
|
85742
|
-
r"""
|
|
85743
|
-
最大长度=100
|
|
86197
|
+
r"""<p>需要绑定的机器quuid列表, 当IsAll = false 时必填,反之忽略该参数.<br>最大长度=100</p>
|
|
85744
86198
|
:rtype: list of str
|
|
85745
86199
|
"""
|
|
85746
86200
|
return self._QuuidList
|
|
@@ -85772,7 +86226,7 @@ class ModifyLicenseUnBindsResponse(AbstractModel):
|
|
|
85772
86226
|
|
|
85773
86227
|
def __init__(self):
|
|
85774
86228
|
r"""
|
|
85775
|
-
:param _ErrMsg:
|
|
86229
|
+
:param _ErrMsg: <p>只有解绑失败的才有该值.</p>
|
|
85776
86230
|
:type ErrMsg: list of LicenseUnBindRsp
|
|
85777
86231
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
85778
86232
|
:type RequestId: str
|
|
@@ -85782,7 +86236,7 @@ class ModifyLicenseUnBindsResponse(AbstractModel):
|
|
|
85782
86236
|
|
|
85783
86237
|
@property
|
|
85784
86238
|
def ErrMsg(self):
|
|
85785
|
-
r"""
|
|
86239
|
+
r"""<p>只有解绑失败的才有该值.</p>
|
|
85786
86240
|
:rtype: list of LicenseUnBindRsp
|
|
85787
86241
|
"""
|
|
85788
86242
|
return self._ErrMsg
|
|
@@ -113394,6 +113848,179 @@ class VulHostTopInfo(AbstractModel):
|
|
|
113394
113848
|
|
|
113395
113849
|
|
|
113396
113850
|
|
|
113851
|
+
class VulIgnoreRule(AbstractModel):
|
|
113852
|
+
r"""漏洞忽略规则
|
|
113853
|
+
|
|
113854
|
+
"""
|
|
113855
|
+
|
|
113856
|
+
def __init__(self):
|
|
113857
|
+
r"""
|
|
113858
|
+
:param _VulID: 漏洞规则ID
|
|
113859
|
+
:type VulID: int
|
|
113860
|
+
:param _AssetScopeType: <li>0:全部主机</li>
|
|
113861
|
+
<li>1:自选主机</li>
|
|
113862
|
+
:type AssetScopeType: int
|
|
113863
|
+
:param _IncludeQuuidList: 自选主机情况下自选主机quuid列表
|
|
113864
|
+
:type IncludeQuuidList: list of str
|
|
113865
|
+
:param _ExcludeQuuidList: 全部主机情况下排出的主机
|
|
113866
|
+
:type ExcludeQuuidList: list of str
|
|
113867
|
+
:param _Remark: 忽略的原因
|
|
113868
|
+
:type Remark: str
|
|
113869
|
+
:param _ConfigHostCount: 配置主机数
|
|
113870
|
+
:type ConfigHostCount: int
|
|
113871
|
+
:param _AffectedHostCount: 实际受影响主机数
|
|
113872
|
+
:type AffectedHostCount: int
|
|
113873
|
+
:param _VulName: 漏洞名字
|
|
113874
|
+
:type VulName: str
|
|
113875
|
+
:param _RuleID: 忽略规则ID
|
|
113876
|
+
:type RuleID: int
|
|
113877
|
+
:param _ModifyTime: 最近更新时间
|
|
113878
|
+
:type ModifyTime: str
|
|
113879
|
+
"""
|
|
113880
|
+
self._VulID = None
|
|
113881
|
+
self._AssetScopeType = None
|
|
113882
|
+
self._IncludeQuuidList = None
|
|
113883
|
+
self._ExcludeQuuidList = None
|
|
113884
|
+
self._Remark = None
|
|
113885
|
+
self._ConfigHostCount = None
|
|
113886
|
+
self._AffectedHostCount = None
|
|
113887
|
+
self._VulName = None
|
|
113888
|
+
self._RuleID = None
|
|
113889
|
+
self._ModifyTime = None
|
|
113890
|
+
|
|
113891
|
+
@property
|
|
113892
|
+
def VulID(self):
|
|
113893
|
+
r"""漏洞规则ID
|
|
113894
|
+
:rtype: int
|
|
113895
|
+
"""
|
|
113896
|
+
return self._VulID
|
|
113897
|
+
|
|
113898
|
+
@VulID.setter
|
|
113899
|
+
def VulID(self, VulID):
|
|
113900
|
+
self._VulID = VulID
|
|
113901
|
+
|
|
113902
|
+
@property
|
|
113903
|
+
def AssetScopeType(self):
|
|
113904
|
+
r"""<li>0:全部主机</li>
|
|
113905
|
+
<li>1:自选主机</li>
|
|
113906
|
+
:rtype: int
|
|
113907
|
+
"""
|
|
113908
|
+
return self._AssetScopeType
|
|
113909
|
+
|
|
113910
|
+
@AssetScopeType.setter
|
|
113911
|
+
def AssetScopeType(self, AssetScopeType):
|
|
113912
|
+
self._AssetScopeType = AssetScopeType
|
|
113913
|
+
|
|
113914
|
+
@property
|
|
113915
|
+
def IncludeQuuidList(self):
|
|
113916
|
+
r"""自选主机情况下自选主机quuid列表
|
|
113917
|
+
:rtype: list of str
|
|
113918
|
+
"""
|
|
113919
|
+
return self._IncludeQuuidList
|
|
113920
|
+
|
|
113921
|
+
@IncludeQuuidList.setter
|
|
113922
|
+
def IncludeQuuidList(self, IncludeQuuidList):
|
|
113923
|
+
self._IncludeQuuidList = IncludeQuuidList
|
|
113924
|
+
|
|
113925
|
+
@property
|
|
113926
|
+
def ExcludeQuuidList(self):
|
|
113927
|
+
r"""全部主机情况下排出的主机
|
|
113928
|
+
:rtype: list of str
|
|
113929
|
+
"""
|
|
113930
|
+
return self._ExcludeQuuidList
|
|
113931
|
+
|
|
113932
|
+
@ExcludeQuuidList.setter
|
|
113933
|
+
def ExcludeQuuidList(self, ExcludeQuuidList):
|
|
113934
|
+
self._ExcludeQuuidList = ExcludeQuuidList
|
|
113935
|
+
|
|
113936
|
+
@property
|
|
113937
|
+
def Remark(self):
|
|
113938
|
+
r"""忽略的原因
|
|
113939
|
+
:rtype: str
|
|
113940
|
+
"""
|
|
113941
|
+
return self._Remark
|
|
113942
|
+
|
|
113943
|
+
@Remark.setter
|
|
113944
|
+
def Remark(self, Remark):
|
|
113945
|
+
self._Remark = Remark
|
|
113946
|
+
|
|
113947
|
+
@property
|
|
113948
|
+
def ConfigHostCount(self):
|
|
113949
|
+
r"""配置主机数
|
|
113950
|
+
:rtype: int
|
|
113951
|
+
"""
|
|
113952
|
+
return self._ConfigHostCount
|
|
113953
|
+
|
|
113954
|
+
@ConfigHostCount.setter
|
|
113955
|
+
def ConfigHostCount(self, ConfigHostCount):
|
|
113956
|
+
self._ConfigHostCount = ConfigHostCount
|
|
113957
|
+
|
|
113958
|
+
@property
|
|
113959
|
+
def AffectedHostCount(self):
|
|
113960
|
+
r"""实际受影响主机数
|
|
113961
|
+
:rtype: int
|
|
113962
|
+
"""
|
|
113963
|
+
return self._AffectedHostCount
|
|
113964
|
+
|
|
113965
|
+
@AffectedHostCount.setter
|
|
113966
|
+
def AffectedHostCount(self, AffectedHostCount):
|
|
113967
|
+
self._AffectedHostCount = AffectedHostCount
|
|
113968
|
+
|
|
113969
|
+
@property
|
|
113970
|
+
def VulName(self):
|
|
113971
|
+
r"""漏洞名字
|
|
113972
|
+
:rtype: str
|
|
113973
|
+
"""
|
|
113974
|
+
return self._VulName
|
|
113975
|
+
|
|
113976
|
+
@VulName.setter
|
|
113977
|
+
def VulName(self, VulName):
|
|
113978
|
+
self._VulName = VulName
|
|
113979
|
+
|
|
113980
|
+
@property
|
|
113981
|
+
def RuleID(self):
|
|
113982
|
+
r"""忽略规则ID
|
|
113983
|
+
:rtype: int
|
|
113984
|
+
"""
|
|
113985
|
+
return self._RuleID
|
|
113986
|
+
|
|
113987
|
+
@RuleID.setter
|
|
113988
|
+
def RuleID(self, RuleID):
|
|
113989
|
+
self._RuleID = RuleID
|
|
113990
|
+
|
|
113991
|
+
@property
|
|
113992
|
+
def ModifyTime(self):
|
|
113993
|
+
r"""最近更新时间
|
|
113994
|
+
:rtype: str
|
|
113995
|
+
"""
|
|
113996
|
+
return self._ModifyTime
|
|
113997
|
+
|
|
113998
|
+
@ModifyTime.setter
|
|
113999
|
+
def ModifyTime(self, ModifyTime):
|
|
114000
|
+
self._ModifyTime = ModifyTime
|
|
114001
|
+
|
|
114002
|
+
|
|
114003
|
+
def _deserialize(self, params):
|
|
114004
|
+
self._VulID = params.get("VulID")
|
|
114005
|
+
self._AssetScopeType = params.get("AssetScopeType")
|
|
114006
|
+
self._IncludeQuuidList = params.get("IncludeQuuidList")
|
|
114007
|
+
self._ExcludeQuuidList = params.get("ExcludeQuuidList")
|
|
114008
|
+
self._Remark = params.get("Remark")
|
|
114009
|
+
self._ConfigHostCount = params.get("ConfigHostCount")
|
|
114010
|
+
self._AffectedHostCount = params.get("AffectedHostCount")
|
|
114011
|
+
self._VulName = params.get("VulName")
|
|
114012
|
+
self._RuleID = params.get("RuleID")
|
|
114013
|
+
self._ModifyTime = params.get("ModifyTime")
|
|
114014
|
+
memeber_set = set(params.keys())
|
|
114015
|
+
for name, value in vars(self).items():
|
|
114016
|
+
property_name = name[1:]
|
|
114017
|
+
if property_name in memeber_set:
|
|
114018
|
+
memeber_set.remove(property_name)
|
|
114019
|
+
if len(memeber_set) > 0:
|
|
114020
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
114021
|
+
|
|
114022
|
+
|
|
114023
|
+
|
|
113397
114024
|
class VulInfoByCveId(AbstractModel):
|
|
113398
114025
|
r"""根据cve_id查询漏洞详情
|
|
113399
114026
|
|
|
@@ -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.125
|
|
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.125
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=WysDthN_F0A52Z8n0P-8kdBIqIG9p0tBFER868494hI,630
|
|
2
|
+
tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/cwp/v20180228/cwp_client.py,sha256=aKQmpkVnU6q6AELfGqCM4bEItweNK3kr4LmneV61198,492886
|
|
5
|
+
tencentcloud/cwp/v20180228/cwp_client_async.py,sha256=qS_nDuD8TPFK5usgwFR2fQgW4W1A1m0Ro_q7szZbWH8,330333
|
|
6
|
+
tencentcloud/cwp/v20180228/errorcodes.py,sha256=GGLopl1BdrhED3VJdN7OTgmr88O3OdihwPK-L0EGp78,4375
|
|
7
|
+
tencentcloud/cwp/v20180228/models.py,sha256=bdbOMGbeyxAZx9a0Pu1usClYTXgOpEOpK6OODb8flU4,3340087
|
|
8
|
+
tencentcloud_sdk_python_cwp-3.1.125.dist-info/METADATA,sha256=SsUr7PbTNyh_kUUFE1OH8BPOEL2FSXNUf_p-H2xpqeA,1497
|
|
9
|
+
tencentcloud_sdk_python_cwp-3.1.125.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cwp-3.1.125.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cwp-3.1.125.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=Mq2JsEBUAoVRWhH2ZdmzNAC82kdYoTWlSdIYTDQ0TH0,630
|
|
2
|
-
tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/cwp/v20180228/cwp_client.py,sha256=7e90AotMNJNW9Yp43rThxW2A7jDZvQLZRGZRiV_civI,492016
|
|
5
|
-
tencentcloud/cwp/v20180228/cwp_client_async.py,sha256=52peVPTBHKO9lDEXsCWhCHhsiL9Kg5w5yD9psC8fRCk,329761
|
|
6
|
-
tencentcloud/cwp/v20180228/errorcodes.py,sha256=GGLopl1BdrhED3VJdN7OTgmr88O3OdihwPK-L0EGp78,4375
|
|
7
|
-
tencentcloud/cwp/v20180228/models.py,sha256=NApeG9UQ6nuxvEjPJaDROIMLitwfHl1mTHYtTwJBH10,3321457
|
|
8
|
-
tencentcloud_sdk_python_cwp-3.1.112.dist-info/METADATA,sha256=UCBers_0Wtwji-85hxfUinpHq2hYuqOsWEt5-DN4GpM,1497
|
|
9
|
-
tencentcloud_sdk_python_cwp-3.1.112.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_cwp-3.1.112.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_cwp-3.1.112.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|