tencentcloud-sdk-python 3.0.1313__py2.py3-none-any.whl → 3.0.1315__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.
Files changed (33) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +4 -4
  3. tencentcloud/batch/v20170312/models.py +2 -2
  4. tencentcloud/cdb/v20170320/cdb_client.py +3 -1
  5. tencentcloud/cdwdoris/v20211228/models.py +0 -2
  6. tencentcloud/cfw/v20190904/cfw_client.py +0 -25
  7. tencentcloud/cfw/v20190904/models.py +0 -374
  8. tencentcloud/ckafka/v20190819/models.py +17 -2
  9. tencentcloud/cvm/v20170312/models.py +2 -2
  10. tencentcloud/cwp/v20180228/cwp_client.py +0 -50
  11. tencentcloud/cwp/v20180228/models.py +83 -747
  12. tencentcloud/dsgc/v20190723/models.py +15 -0
  13. tencentcloud/ess/v20201111/models.py +2 -2
  14. tencentcloud/essbasic/v20210526/models.py +2 -2
  15. tencentcloud/lighthouse/v20200324/models.py +180 -0
  16. tencentcloud/live/v20180801/models.py +2 -2
  17. tencentcloud/lke/v20231130/models.py +45 -0
  18. tencentcloud/lkeap/v20240522/lkeap_client.py +7 -0
  19. tencentcloud/lkeap/v20240522/models.py +12 -2
  20. tencentcloud/mna/v20210119/models.py +0 -20
  21. tencentcloud/mongodb/v20190725/models.py +26 -14
  22. tencentcloud/monitor/v20180724/models.py +8 -0
  23. tencentcloud/ocr/v20181119/models.py +4 -4
  24. tencentcloud/tat/v20201028/models.py +14 -8
  25. tencentcloud/tccatalog/v20241024/models.py +79 -4
  26. tencentcloud/trocket/v20230308/errorcodes.py +6 -0
  27. tencentcloud/trocket/v20230308/models.py +131 -0
  28. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  29. {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/METADATA +3 -1
  30. {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/RECORD +33 -33
  31. {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/LICENSE +0 -0
  32. {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/WHEEL +0 -0
  33. {tencentcloud_sdk_python-3.0.1313.dist-info → tencentcloud_sdk_python-3.0.1315.dist-info}/top_level.txt +0 -0
@@ -16703,106 +16703,6 @@ class CommandLine(AbstractModel):
16703
16703
 
16704
16704
 
16705
16705
 
16706
- class ComponentStatistics(AbstractModel):
16707
- """组件统计数据。
16708
-
16709
- """
16710
-
16711
- def __init__(self):
16712
- r"""
16713
- :param _Id: 组件ID。
16714
- :type Id: int
16715
- :param _MachineNum: 主机数量。
16716
- :type MachineNum: int
16717
- :param _ComponentName: 组件名称。
16718
- :type ComponentName: str
16719
- :param _ComponentType: 组件类型。
16720
- <li>WEB:Web组件</li>
16721
- <li>SYSTEM:系统组件</li>
16722
- :type ComponentType: str
16723
- :param _Description: 组件描述。
16724
- :type Description: str
16725
- """
16726
- self._Id = None
16727
- self._MachineNum = None
16728
- self._ComponentName = None
16729
- self._ComponentType = None
16730
- self._Description = None
16731
-
16732
- @property
16733
- def Id(self):
16734
- """组件ID。
16735
- :rtype: int
16736
- """
16737
- return self._Id
16738
-
16739
- @Id.setter
16740
- def Id(self, Id):
16741
- self._Id = Id
16742
-
16743
- @property
16744
- def MachineNum(self):
16745
- """主机数量。
16746
- :rtype: int
16747
- """
16748
- return self._MachineNum
16749
-
16750
- @MachineNum.setter
16751
- def MachineNum(self, MachineNum):
16752
- self._MachineNum = MachineNum
16753
-
16754
- @property
16755
- def ComponentName(self):
16756
- """组件名称。
16757
- :rtype: str
16758
- """
16759
- return self._ComponentName
16760
-
16761
- @ComponentName.setter
16762
- def ComponentName(self, ComponentName):
16763
- self._ComponentName = ComponentName
16764
-
16765
- @property
16766
- def ComponentType(self):
16767
- """组件类型。
16768
- <li>WEB:Web组件</li>
16769
- <li>SYSTEM:系统组件</li>
16770
- :rtype: str
16771
- """
16772
- return self._ComponentType
16773
-
16774
- @ComponentType.setter
16775
- def ComponentType(self, ComponentType):
16776
- self._ComponentType = ComponentType
16777
-
16778
- @property
16779
- def Description(self):
16780
- """组件描述。
16781
- :rtype: str
16782
- """
16783
- return self._Description
16784
-
16785
- @Description.setter
16786
- def Description(self, Description):
16787
- self._Description = Description
16788
-
16789
-
16790
- def _deserialize(self, params):
16791
- self._Id = params.get("Id")
16792
- self._MachineNum = params.get("MachineNum")
16793
- self._ComponentName = params.get("ComponentName")
16794
- self._ComponentType = params.get("ComponentType")
16795
- self._Description = params.get("Description")
16796
- memeber_set = set(params.keys())
16797
- for name, value in vars(self).items():
16798
- property_name = name[1:]
16799
- if property_name in memeber_set:
16800
- memeber_set.remove(property_name)
16801
- if len(memeber_set) > 0:
16802
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16803
-
16804
-
16805
-
16806
16706
  class CreateBanWhiteListRequest(AbstractModel):
16807
16707
  """CreateBanWhiteList请求参数结构体
16808
16708
 
@@ -19248,254 +19148,6 @@ class DefaultStrategyInfo(AbstractModel):
19248
19148
 
19249
19149
 
19250
19150
 
19251
- class DefendAttackLog(AbstractModel):
19252
- """网络攻击日志
19253
-
19254
- """
19255
-
19256
- def __init__(self):
19257
- r"""
19258
- :param _Id: 日志ID
19259
- :type Id: int
19260
- :param _Uuid: 客户端ID
19261
- :type Uuid: str
19262
- :param _SrcIp: 来源IP
19263
- :type SrcIp: str
19264
- :param _SrcPort: 来源端口
19265
- :type SrcPort: int
19266
- :param _HttpMethod: 攻击方式
19267
- :type HttpMethod: str
19268
- :param _HttpCgi: 攻击描述
19269
- :type HttpCgi: str
19270
- :param _HttpParam: 攻击参数
19271
- :type HttpParam: str
19272
- :param _VulType: 威胁类型
19273
- :type VulType: str
19274
- :param _CreatedAt: 攻击时间
19275
- :type CreatedAt: str
19276
- :param _MachineIp: 目标服务器IP
19277
- :type MachineIp: str
19278
- :param _MachineName: 目标服务器名称
19279
- :type MachineName: str
19280
- :param _DstIp: 目标IP
19281
- :type DstIp: str
19282
- :param _DstPort: 目标端口
19283
- :type DstPort: int
19284
- :param _HttpContent: 攻击内容
19285
- :type HttpContent: str
19286
- :param _MachineExtraInfo: 主机额外信息
19287
- :type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
19288
- """
19289
- self._Id = None
19290
- self._Uuid = None
19291
- self._SrcIp = None
19292
- self._SrcPort = None
19293
- self._HttpMethod = None
19294
- self._HttpCgi = None
19295
- self._HttpParam = None
19296
- self._VulType = None
19297
- self._CreatedAt = None
19298
- self._MachineIp = None
19299
- self._MachineName = None
19300
- self._DstIp = None
19301
- self._DstPort = None
19302
- self._HttpContent = None
19303
- self._MachineExtraInfo = None
19304
-
19305
- @property
19306
- def Id(self):
19307
- """日志ID
19308
- :rtype: int
19309
- """
19310
- return self._Id
19311
-
19312
- @Id.setter
19313
- def Id(self, Id):
19314
- self._Id = Id
19315
-
19316
- @property
19317
- def Uuid(self):
19318
- """客户端ID
19319
- :rtype: str
19320
- """
19321
- return self._Uuid
19322
-
19323
- @Uuid.setter
19324
- def Uuid(self, Uuid):
19325
- self._Uuid = Uuid
19326
-
19327
- @property
19328
- def SrcIp(self):
19329
- """来源IP
19330
- :rtype: str
19331
- """
19332
- return self._SrcIp
19333
-
19334
- @SrcIp.setter
19335
- def SrcIp(self, SrcIp):
19336
- self._SrcIp = SrcIp
19337
-
19338
- @property
19339
- def SrcPort(self):
19340
- """来源端口
19341
- :rtype: int
19342
- """
19343
- return self._SrcPort
19344
-
19345
- @SrcPort.setter
19346
- def SrcPort(self, SrcPort):
19347
- self._SrcPort = SrcPort
19348
-
19349
- @property
19350
- def HttpMethod(self):
19351
- """攻击方式
19352
- :rtype: str
19353
- """
19354
- return self._HttpMethod
19355
-
19356
- @HttpMethod.setter
19357
- def HttpMethod(self, HttpMethod):
19358
- self._HttpMethod = HttpMethod
19359
-
19360
- @property
19361
- def HttpCgi(self):
19362
- """攻击描述
19363
- :rtype: str
19364
- """
19365
- return self._HttpCgi
19366
-
19367
- @HttpCgi.setter
19368
- def HttpCgi(self, HttpCgi):
19369
- self._HttpCgi = HttpCgi
19370
-
19371
- @property
19372
- def HttpParam(self):
19373
- """攻击参数
19374
- :rtype: str
19375
- """
19376
- return self._HttpParam
19377
-
19378
- @HttpParam.setter
19379
- def HttpParam(self, HttpParam):
19380
- self._HttpParam = HttpParam
19381
-
19382
- @property
19383
- def VulType(self):
19384
- """威胁类型
19385
- :rtype: str
19386
- """
19387
- return self._VulType
19388
-
19389
- @VulType.setter
19390
- def VulType(self, VulType):
19391
- self._VulType = VulType
19392
-
19393
- @property
19394
- def CreatedAt(self):
19395
- """攻击时间
19396
- :rtype: str
19397
- """
19398
- return self._CreatedAt
19399
-
19400
- @CreatedAt.setter
19401
- def CreatedAt(self, CreatedAt):
19402
- self._CreatedAt = CreatedAt
19403
-
19404
- @property
19405
- def MachineIp(self):
19406
- """目标服务器IP
19407
- :rtype: str
19408
- """
19409
- return self._MachineIp
19410
-
19411
- @MachineIp.setter
19412
- def MachineIp(self, MachineIp):
19413
- self._MachineIp = MachineIp
19414
-
19415
- @property
19416
- def MachineName(self):
19417
- """目标服务器名称
19418
- :rtype: str
19419
- """
19420
- return self._MachineName
19421
-
19422
- @MachineName.setter
19423
- def MachineName(self, MachineName):
19424
- self._MachineName = MachineName
19425
-
19426
- @property
19427
- def DstIp(self):
19428
- """目标IP
19429
- :rtype: str
19430
- """
19431
- return self._DstIp
19432
-
19433
- @DstIp.setter
19434
- def DstIp(self, DstIp):
19435
- self._DstIp = DstIp
19436
-
19437
- @property
19438
- def DstPort(self):
19439
- """目标端口
19440
- :rtype: int
19441
- """
19442
- return self._DstPort
19443
-
19444
- @DstPort.setter
19445
- def DstPort(self, DstPort):
19446
- self._DstPort = DstPort
19447
-
19448
- @property
19449
- def HttpContent(self):
19450
- """攻击内容
19451
- :rtype: str
19452
- """
19453
- return self._HttpContent
19454
-
19455
- @HttpContent.setter
19456
- def HttpContent(self, HttpContent):
19457
- self._HttpContent = HttpContent
19458
-
19459
- @property
19460
- def MachineExtraInfo(self):
19461
- """主机额外信息
19462
- :rtype: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
19463
- """
19464
- return self._MachineExtraInfo
19465
-
19466
- @MachineExtraInfo.setter
19467
- def MachineExtraInfo(self, MachineExtraInfo):
19468
- self._MachineExtraInfo = MachineExtraInfo
19469
-
19470
-
19471
- def _deserialize(self, params):
19472
- self._Id = params.get("Id")
19473
- self._Uuid = params.get("Uuid")
19474
- self._SrcIp = params.get("SrcIp")
19475
- self._SrcPort = params.get("SrcPort")
19476
- self._HttpMethod = params.get("HttpMethod")
19477
- self._HttpCgi = params.get("HttpCgi")
19478
- self._HttpParam = params.get("HttpParam")
19479
- self._VulType = params.get("VulType")
19480
- self._CreatedAt = params.get("CreatedAt")
19481
- self._MachineIp = params.get("MachineIp")
19482
- self._MachineName = params.get("MachineName")
19483
- self._DstIp = params.get("DstIp")
19484
- self._DstPort = params.get("DstPort")
19485
- self._HttpContent = params.get("HttpContent")
19486
- if params.get("MachineExtraInfo") is not None:
19487
- self._MachineExtraInfo = MachineExtraInfo()
19488
- self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
19489
- memeber_set = set(params.keys())
19490
- for name, value in vars(self).items():
19491
- property_name = name[1:]
19492
- if property_name in memeber_set:
19493
- memeber_set.remove(property_name)
19494
- if len(memeber_set) > 0:
19495
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19496
-
19497
-
19498
-
19499
19151
  class DeleteAllJavaMemShellsRequest(AbstractModel):
19500
19152
  """DeleteAllJavaMemShells请求参数结构体
19501
19153
 
@@ -30079,181 +29731,11 @@ class DescribeAttackEventInfoRequest(AbstractModel):
30079
29731
 
30080
29732
  @Id.setter
30081
29733
  def Id(self, Id):
30082
- self._Id = Id
30083
-
30084
-
30085
- def _deserialize(self, params):
30086
- self._Id = params.get("Id")
30087
- memeber_set = set(params.keys())
30088
- for name, value in vars(self).items():
30089
- property_name = name[1:]
30090
- if property_name in memeber_set:
30091
- memeber_set.remove(property_name)
30092
- if len(memeber_set) > 0:
30093
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
30094
-
30095
-
30096
-
30097
- class DescribeAttackEventInfoResponse(AbstractModel):
30098
- """DescribeAttackEventInfo返回参数结构体
30099
-
30100
- """
30101
-
30102
- def __init__(self):
30103
- r"""
30104
- :param _NetAttackEventInfo: 网络攻击事件详情
30105
- :type NetAttackEventInfo: :class:`tencentcloud.cwp.v20180228.models.NetAttackEventInfo`
30106
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30107
- :type RequestId: str
30108
- """
30109
- self._NetAttackEventInfo = None
30110
- self._RequestId = None
30111
-
30112
- @property
30113
- def NetAttackEventInfo(self):
30114
- """网络攻击事件详情
30115
- :rtype: :class:`tencentcloud.cwp.v20180228.models.NetAttackEventInfo`
30116
- """
30117
- return self._NetAttackEventInfo
30118
-
30119
- @NetAttackEventInfo.setter
30120
- def NetAttackEventInfo(self, NetAttackEventInfo):
30121
- self._NetAttackEventInfo = NetAttackEventInfo
30122
-
30123
- @property
30124
- def RequestId(self):
30125
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30126
- :rtype: str
30127
- """
30128
- return self._RequestId
30129
-
30130
- @RequestId.setter
30131
- def RequestId(self, RequestId):
30132
- self._RequestId = RequestId
30133
-
30134
-
30135
- def _deserialize(self, params):
30136
- if params.get("NetAttackEventInfo") is not None:
30137
- self._NetAttackEventInfo = NetAttackEventInfo()
30138
- self._NetAttackEventInfo._deserialize(params.get("NetAttackEventInfo"))
30139
- self._RequestId = params.get("RequestId")
30140
-
30141
-
30142
- class DescribeAttackEventsRequest(AbstractModel):
30143
- """DescribeAttackEvents请求参数结构体
30144
-
30145
- """
30146
-
30147
- def __init__(self):
30148
- r"""
30149
- :param _Limit: 返回数量,最大值为100。
30150
- :type Limit: int
30151
- :param _Offset: 偏移量,默认为0。
30152
- :type Offset: int
30153
- :param _Filters: 过滤条件。
30154
- <li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
30155
- <li>Status - String 事件处理状态 0:待处理 1:已处理 2: 已加白 3: 已忽略 4:已删除 - 是否必填: 否</li>
30156
- <li>SrcIP - String 来源IP - 是否必填: 否</li>
30157
- <li>Uuids - String 主机安全uuid - 是否必填: 否</li>
30158
- <li>Quuids - String cvm uuid - 是否必填: 否</li>
30159
- <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
30160
- <li>MachineName - String 主机名称 - 是否必填: 否</li>
30161
- <li>InstanceID - String 主机实例ID - 是否必填: 否</li>
30162
- <li>AttackTimeBegin - String 攻击开始时间 - 是否必填: 否</li>
30163
- <li>AttackTimeEnd - String 攻击结束时间 - 是否必填: 否</li>
30164
- <li>VulSupportDefense - String 漏洞是否支持防御 0不支持,1支持 - 是否必填: 否</li>
30165
-
30166
- :type Filters: list of Filter
30167
- :param _By: 排序
30168
- :type By: str
30169
- :param _Order: 排序方式 ASC,DESC
30170
- :type Order: str
30171
- """
30172
- self._Limit = None
30173
- self._Offset = None
30174
- self._Filters = None
30175
- self._By = None
30176
- self._Order = None
30177
-
30178
- @property
30179
- def Limit(self):
30180
- """返回数量,最大值为100。
30181
- :rtype: int
30182
- """
30183
- return self._Limit
30184
-
30185
- @Limit.setter
30186
- def Limit(self, Limit):
30187
- self._Limit = Limit
30188
-
30189
- @property
30190
- def Offset(self):
30191
- """偏移量,默认为0。
30192
- :rtype: int
30193
- """
30194
- return self._Offset
30195
-
30196
- @Offset.setter
30197
- def Offset(self, Offset):
30198
- self._Offset = Offset
30199
-
30200
- @property
30201
- def Filters(self):
30202
- """ 过滤条件。
30203
- <li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
30204
- <li>Status - String 事件处理状态 0:待处理 1:已处理 2: 已加白 3: 已忽略 4:已删除 - 是否必填: 否</li>
30205
- <li>SrcIP - String 来源IP - 是否必填: 否</li>
30206
- <li>Uuids - String 主机安全uuid - 是否必填: 否</li>
30207
- <li>Quuids - String cvm uuid - 是否必填: 否</li>
30208
- <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
30209
- <li>MachineName - String 主机名称 - 是否必填: 否</li>
30210
- <li>InstanceID - String 主机实例ID - 是否必填: 否</li>
30211
- <li>AttackTimeBegin - String 攻击开始时间 - 是否必填: 否</li>
30212
- <li>AttackTimeEnd - String 攻击结束时间 - 是否必填: 否</li>
30213
- <li>VulSupportDefense - String 漏洞是否支持防御 0不支持,1支持 - 是否必填: 否</li>
30214
-
30215
- :rtype: list of Filter
30216
- """
30217
- return self._Filters
30218
-
30219
- @Filters.setter
30220
- def Filters(self, Filters):
30221
- self._Filters = Filters
30222
-
30223
- @property
30224
- def By(self):
30225
- """排序
30226
- :rtype: str
30227
- """
30228
- return self._By
30229
-
30230
- @By.setter
30231
- def By(self, By):
30232
- self._By = By
30233
-
30234
- @property
30235
- def Order(self):
30236
- """排序方式 ASC,DESC
30237
- :rtype: str
30238
- """
30239
- return self._Order
30240
-
30241
- @Order.setter
30242
- def Order(self, Order):
30243
- self._Order = Order
30244
-
30245
-
30246
- def _deserialize(self, params):
30247
- self._Limit = params.get("Limit")
30248
- self._Offset = params.get("Offset")
30249
- if params.get("Filters") is not None:
30250
- self._Filters = []
30251
- for item in params.get("Filters"):
30252
- obj = Filter()
30253
- obj._deserialize(item)
30254
- self._Filters.append(obj)
30255
- self._By = params.get("By")
30256
- self._Order = params.get("Order")
29734
+ self._Id = Id
29735
+
29736
+
29737
+ def _deserialize(self, params):
29738
+ self._Id = params.get("Id")
30257
29739
  memeber_set = set(params.keys())
30258
29740
  for name, value in vars(self).items():
30259
29741
  property_name = name[1:]
@@ -30264,45 +29746,31 @@ class DescribeAttackEventsRequest(AbstractModel):
30264
29746
 
30265
29747
 
30266
29748
 
30267
- class DescribeAttackEventsResponse(AbstractModel):
30268
- """DescribeAttackEvents返回参数结构体
29749
+ class DescribeAttackEventInfoResponse(AbstractModel):
29750
+ """DescribeAttackEventInfo返回参数结构体
30269
29751
 
30270
29752
  """
30271
29753
 
30272
29754
  def __init__(self):
30273
29755
  r"""
30274
- :param _List: 攻击事件列表
30275
- :type List: list of NetAttackEvent
30276
- :param _TotalCount: 总条数
30277
- :type TotalCount: int
29756
+ :param _NetAttackEventInfo: 网络攻击事件详情
29757
+ :type NetAttackEventInfo: :class:`tencentcloud.cwp.v20180228.models.NetAttackEventInfo`
30278
29758
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30279
29759
  :type RequestId: str
30280
29760
  """
30281
- self._List = None
30282
- self._TotalCount = None
29761
+ self._NetAttackEventInfo = None
30283
29762
  self._RequestId = None
30284
29763
 
30285
29764
  @property
30286
- def List(self):
30287
- """攻击事件列表
30288
- :rtype: list of NetAttackEvent
30289
- """
30290
- return self._List
30291
-
30292
- @List.setter
30293
- def List(self, List):
30294
- self._List = List
30295
-
30296
- @property
30297
- def TotalCount(self):
30298
- """总条数
30299
- :rtype: int
29765
+ def NetAttackEventInfo(self):
29766
+ """网络攻击事件详情
29767
+ :rtype: :class:`tencentcloud.cwp.v20180228.models.NetAttackEventInfo`
30300
29768
  """
30301
- return self._TotalCount
29769
+ return self._NetAttackEventInfo
30302
29770
 
30303
- @TotalCount.setter
30304
- def TotalCount(self, TotalCount):
30305
- self._TotalCount = TotalCount
29771
+ @NetAttackEventInfo.setter
29772
+ def NetAttackEventInfo(self, NetAttackEventInfo):
29773
+ self._NetAttackEventInfo = NetAttackEventInfo
30306
29774
 
30307
29775
  @property
30308
29776
  def RequestId(self):
@@ -30317,18 +29785,14 @@ class DescribeAttackEventsResponse(AbstractModel):
30317
29785
 
30318
29786
 
30319
29787
  def _deserialize(self, params):
30320
- if params.get("List") is not None:
30321
- self._List = []
30322
- for item in params.get("List"):
30323
- obj = NetAttackEvent()
30324
- obj._deserialize(item)
30325
- self._List.append(obj)
30326
- self._TotalCount = params.get("TotalCount")
29788
+ if params.get("NetAttackEventInfo") is not None:
29789
+ self._NetAttackEventInfo = NetAttackEventInfo()
29790
+ self._NetAttackEventInfo._deserialize(params.get("NetAttackEventInfo"))
30327
29791
  self._RequestId = params.get("RequestId")
30328
29792
 
30329
29793
 
30330
- class DescribeAttackLogsRequest(AbstractModel):
30331
- """DescribeAttackLogs请求参数结构体
29794
+ class DescribeAttackEventsRequest(AbstractModel):
29795
+ """DescribeAttackEvents请求参数结构体
30332
29796
 
30333
29797
  """
30334
29798
 
@@ -30338,25 +29802,30 @@ class DescribeAttackLogsRequest(AbstractModel):
30338
29802
  :type Limit: int
30339
29803
  :param _Offset: 偏移量,默认为0。
30340
29804
  :type Offset: int
30341
- :param _Filters: 过滤条件。
30342
- <li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
30343
- <li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
30344
- <li>VulType - String 威胁类型 - 是否必填: 否</li>
30345
- <li>SrcIp - String 攻击源IP - 是否必填: 否</li>
30346
- <li>DstIp - String 攻击目标IP - 是否必填: 否</li>
30347
- <li>SrcPort - String 攻击源端口 - 是否必填: 否</li>
29805
+ :param _Filters: 过滤条件。
29806
+ <li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
29807
+ <li>Status - String 事件处理状态 0:待处理 1:已处理 2: 已加白 3: 已忽略 4:已删除 - 是否必填: 否</li>
29808
+ <li>SrcIP - String 来源IP - 是否必填: 否</li>
29809
+ <li>Uuids - String 主机安全uuid - 是否必填: 否</li>
29810
+ <li>Quuids - String cvm uuid - 是否必填: 否</li>
30348
29811
  <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
29812
+ <li>MachineName - String 主机名称 - 是否必填: 否</li>
29813
+ <li>InstanceID - String 主机实例ID - 是否必填: 否</li>
29814
+ <li>AttackTimeBegin - String 攻击开始时间 - 是否必填: 否</li>
29815
+ <li>AttackTimeEnd - String 攻击结束时间 - 是否必填: 否</li>
29816
+ <li>VulSupportDefense - String 漏洞是否支持防御 0不支持,1支持 - 是否必填: 否</li>
29817
+
30349
29818
  :type Filters: list of Filter
30350
- :param _Uuid: 主机安全客户端ID
30351
- :type Uuid: str
30352
- :param _Quuid: 云主机机器ID
30353
- :type Quuid: str
29819
+ :param _By: 排序
29820
+ :type By: str
29821
+ :param _Order: 排序方式 ASC,DESC
29822
+ :type Order: str
30354
29823
  """
30355
29824
  self._Limit = None
30356
29825
  self._Offset = None
30357
29826
  self._Filters = None
30358
- self._Uuid = None
30359
- self._Quuid = None
29827
+ self._By = None
29828
+ self._Order = None
30360
29829
 
30361
29830
  @property
30362
29831
  def Limit(self):
@@ -30382,14 +29851,19 @@ class DescribeAttackLogsRequest(AbstractModel):
30382
29851
 
30383
29852
  @property
30384
29853
  def Filters(self):
30385
- """过滤条件。
30386
- <li>HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)</li>
30387
- <li>DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]</li>
30388
- <li>VulType - String 威胁类型 - 是否必填: 否</li>
30389
- <li>SrcIp - String 攻击源IP - 是否必填: 否</li>
30390
- <li>DstIp - String 攻击目标IP - 是否必填: 否</li>
30391
- <li>SrcPort - String 攻击源端口 - 是否必填: 否</li>
29854
+ """ 过滤条件。
29855
+ <li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
29856
+ <li>Status - String 事件处理状态 0:待处理 1:已处理 2: 已加白 3: 已忽略 4:已删除 - 是否必填: 否</li>
29857
+ <li>SrcIP - String 来源IP - 是否必填: 否</li>
29858
+ <li>Uuids - String 主机安全uuid - 是否必填: 否</li>
29859
+ <li>Quuids - String cvm uuid - 是否必填: 否</li>
30392
29860
  <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
29861
+ <li>MachineName - String 主机名称 - 是否必填: 否</li>
29862
+ <li>InstanceID - String 主机实例ID - 是否必填: 否</li>
29863
+ <li>AttackTimeBegin - String 攻击开始时间 - 是否必填: 否</li>
29864
+ <li>AttackTimeEnd - String 攻击结束时间 - 是否必填: 否</li>
29865
+ <li>VulSupportDefense - String 漏洞是否支持防御 0不支持,1支持 - 是否必填: 否</li>
29866
+
30393
29867
  :rtype: list of Filter
30394
29868
  """
30395
29869
  return self._Filters
@@ -30399,26 +29873,26 @@ class DescribeAttackLogsRequest(AbstractModel):
30399
29873
  self._Filters = Filters
30400
29874
 
30401
29875
  @property
30402
- def Uuid(self):
30403
- """主机安全客户端ID
29876
+ def By(self):
29877
+ """排序
30404
29878
  :rtype: str
30405
29879
  """
30406
- return self._Uuid
29880
+ return self._By
30407
29881
 
30408
- @Uuid.setter
30409
- def Uuid(self, Uuid):
30410
- self._Uuid = Uuid
29882
+ @By.setter
29883
+ def By(self, By):
29884
+ self._By = By
30411
29885
 
30412
29886
  @property
30413
- def Quuid(self):
30414
- """云主机机器ID
29887
+ def Order(self):
29888
+ """排序方式 ASC,DESC
30415
29889
  :rtype: str
30416
29890
  """
30417
- return self._Quuid
29891
+ return self._Order
30418
29892
 
30419
- @Quuid.setter
30420
- def Quuid(self, Quuid):
30421
- self._Quuid = Quuid
29893
+ @Order.setter
29894
+ def Order(self, Order):
29895
+ self._Order = Order
30422
29896
 
30423
29897
 
30424
29898
  def _deserialize(self, params):
@@ -30430,8 +29904,8 @@ class DescribeAttackLogsRequest(AbstractModel):
30430
29904
  obj = Filter()
30431
29905
  obj._deserialize(item)
30432
29906
  self._Filters.append(obj)
30433
- self._Uuid = params.get("Uuid")
30434
- self._Quuid = params.get("Quuid")
29907
+ self._By = params.get("By")
29908
+ self._Order = params.get("Order")
30435
29909
  memeber_set = set(params.keys())
30436
29910
  for name, value in vars(self).items():
30437
29911
  property_name = name[1:]
@@ -30442,36 +29916,34 @@ class DescribeAttackLogsRequest(AbstractModel):
30442
29916
 
30443
29917
 
30444
29918
 
30445
- class DescribeAttackLogsResponse(AbstractModel):
30446
- """DescribeAttackLogs返回参数结构体
29919
+ class DescribeAttackEventsResponse(AbstractModel):
29920
+ """DescribeAttackEvents返回参数结构体
30447
29921
 
30448
29922
  """
30449
29923
 
30450
29924
  def __init__(self):
30451
29925
  r"""
30452
- :param _AttackLogs: 日志列表
30453
- 注意:此字段可能返回 null,表示取不到有效值。
30454
- :type AttackLogs: list of DefendAttackLog
29926
+ :param _List: 攻击事件列表
29927
+ :type List: list of NetAttackEvent
30455
29928
  :param _TotalCount: 总条数
30456
29929
  :type TotalCount: int
30457
29930
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30458
29931
  :type RequestId: str
30459
29932
  """
30460
- self._AttackLogs = None
29933
+ self._List = None
30461
29934
  self._TotalCount = None
30462
29935
  self._RequestId = None
30463
29936
 
30464
29937
  @property
30465
- def AttackLogs(self):
30466
- """日志列表
30467
- 注意:此字段可能返回 null,表示取不到有效值。
30468
- :rtype: list of DefendAttackLog
29938
+ def List(self):
29939
+ """攻击事件列表
29940
+ :rtype: list of NetAttackEvent
30469
29941
  """
30470
- return self._AttackLogs
29942
+ return self._List
30471
29943
 
30472
- @AttackLogs.setter
30473
- def AttackLogs(self, AttackLogs):
30474
- self._AttackLogs = AttackLogs
29944
+ @List.setter
29945
+ def List(self, List):
29946
+ self._List = List
30475
29947
 
30476
29948
  @property
30477
29949
  def TotalCount(self):
@@ -30497,12 +29969,12 @@ class DescribeAttackLogsResponse(AbstractModel):
30497
29969
 
30498
29970
 
30499
29971
  def _deserialize(self, params):
30500
- if params.get("AttackLogs") is not None:
30501
- self._AttackLogs = []
30502
- for item in params.get("AttackLogs"):
30503
- obj = DefendAttackLog()
29972
+ if params.get("List") is not None:
29973
+ self._List = []
29974
+ for item in params.get("List"):
29975
+ obj = NetAttackEvent()
30504
29976
  obj._deserialize(item)
30505
- self._AttackLogs.append(obj)
29977
+ self._List.append(obj)
30506
29978
  self._TotalCount = params.get("TotalCount")
30507
29979
  self._RequestId = params.get("RequestId")
30508
29980
 
@@ -37187,142 +36659,6 @@ class DescribeClientExceptionResponse(AbstractModel):
37187
36659
  self._RequestId = params.get("RequestId")
37188
36660
 
37189
36661
 
37190
- class DescribeComponentStatisticsRequest(AbstractModel):
37191
- """DescribeComponentStatistics请求参数结构体
37192
-
37193
- """
37194
-
37195
- def __init__(self):
37196
- r"""
37197
- :param _Limit: 返回数量,默认为10,最大值为100。
37198
- :type Limit: int
37199
- :param _Offset: 偏移量,默认为0。
37200
- :type Offset: int
37201
- :param _Filters: 过滤条件。
37202
- ComponentName - String - 是否必填:否 - 组件名称
37203
- :type Filters: list of Filter
37204
- """
37205
- self._Limit = None
37206
- self._Offset = None
37207
- self._Filters = None
37208
-
37209
- @property
37210
- def Limit(self):
37211
- """返回数量,默认为10,最大值为100。
37212
- :rtype: int
37213
- """
37214
- return self._Limit
37215
-
37216
- @Limit.setter
37217
- def Limit(self, Limit):
37218
- self._Limit = Limit
37219
-
37220
- @property
37221
- def Offset(self):
37222
- """偏移量,默认为0。
37223
- :rtype: int
37224
- """
37225
- return self._Offset
37226
-
37227
- @Offset.setter
37228
- def Offset(self, Offset):
37229
- self._Offset = Offset
37230
-
37231
- @property
37232
- def Filters(self):
37233
- """过滤条件。
37234
- ComponentName - String - 是否必填:否 - 组件名称
37235
- :rtype: list of Filter
37236
- """
37237
- return self._Filters
37238
-
37239
- @Filters.setter
37240
- def Filters(self, Filters):
37241
- self._Filters = Filters
37242
-
37243
-
37244
- def _deserialize(self, params):
37245
- self._Limit = params.get("Limit")
37246
- self._Offset = params.get("Offset")
37247
- if params.get("Filters") is not None:
37248
- self._Filters = []
37249
- for item in params.get("Filters"):
37250
- obj = Filter()
37251
- obj._deserialize(item)
37252
- self._Filters.append(obj)
37253
- memeber_set = set(params.keys())
37254
- for name, value in vars(self).items():
37255
- property_name = name[1:]
37256
- if property_name in memeber_set:
37257
- memeber_set.remove(property_name)
37258
- if len(memeber_set) > 0:
37259
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
37260
-
37261
-
37262
-
37263
- class DescribeComponentStatisticsResponse(AbstractModel):
37264
- """DescribeComponentStatistics返回参数结构体
37265
-
37266
- """
37267
-
37268
- def __init__(self):
37269
- r"""
37270
- :param _TotalCount: 组件统计列表记录总数。
37271
- :type TotalCount: int
37272
- :param _ComponentStatistics: 组件统计列表数据数组。
37273
- :type ComponentStatistics: list of ComponentStatistics
37274
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
37275
- :type RequestId: str
37276
- """
37277
- self._TotalCount = None
37278
- self._ComponentStatistics = None
37279
- self._RequestId = None
37280
-
37281
- @property
37282
- def TotalCount(self):
37283
- """组件统计列表记录总数。
37284
- :rtype: int
37285
- """
37286
- return self._TotalCount
37287
-
37288
- @TotalCount.setter
37289
- def TotalCount(self, TotalCount):
37290
- self._TotalCount = TotalCount
37291
-
37292
- @property
37293
- def ComponentStatistics(self):
37294
- """组件统计列表数据数组。
37295
- :rtype: list of ComponentStatistics
37296
- """
37297
- return self._ComponentStatistics
37298
-
37299
- @ComponentStatistics.setter
37300
- def ComponentStatistics(self, ComponentStatistics):
37301
- self._ComponentStatistics = ComponentStatistics
37302
-
37303
- @property
37304
- def RequestId(self):
37305
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
37306
- :rtype: str
37307
- """
37308
- return self._RequestId
37309
-
37310
- @RequestId.setter
37311
- def RequestId(self, RequestId):
37312
- self._RequestId = RequestId
37313
-
37314
-
37315
- def _deserialize(self, params):
37316
- self._TotalCount = params.get("TotalCount")
37317
- if params.get("ComponentStatistics") is not None:
37318
- self._ComponentStatistics = []
37319
- for item in params.get("ComponentStatistics"):
37320
- obj = ComponentStatistics()
37321
- obj._deserialize(item)
37322
- self._ComponentStatistics.append(obj)
37323
- self._RequestId = params.get("RequestId")
37324
-
37325
-
37326
36662
  class DescribeDefenceEventDetailRequest(AbstractModel):
37327
36663
  """DescribeDefenceEventDetail请求参数结构体
37328
36664