tencentcloud-sdk-python-cfw 3.1.201__py2.py3-none-any.whl → 3.1.202__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/cfw/v20190904/models.py +49 -34
- {tencentcloud_sdk_python_cfw-3.1.201.dist-info → tencentcloud_sdk_python_cfw-3.1.202.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_cfw-3.1.201.dist-info → tencentcloud_sdk_python_cfw-3.1.202.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_cfw-3.1.201.dist-info → tencentcloud_sdk_python_cfw-3.1.202.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201.dist-info → tencentcloud_sdk_python_cfw-3.1.202.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -5129,36 +5129,38 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5129
5129
|
|
|
5130
5130
|
def __init__(self):
|
|
5131
5131
|
r"""
|
|
5132
|
-
:param _AlertDirection: <p
|
|
5132
|
+
:param _AlertDirection: <p>当前日志方向: 0 出向 1 入向</p>
|
|
5133
5133
|
:type AlertDirection: int
|
|
5134
|
-
:param _HandleDirection: <p
|
|
5134
|
+
:param _HandleDirection: <p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
|
|
5135
5135
|
:type HandleDirection: str
|
|
5136
|
-
:param _HandleTime: <p
|
|
5136
|
+
:param _HandleTime: <p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
|
|
5137
5137
|
:type HandleTime: int
|
|
5138
|
-
:param _HandleType: <p
|
|
5138
|
+
:param _HandleType: <p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
|
|
5139
5139
|
:type HandleType: int
|
|
5140
|
-
:param _AssetIdList: <p
|
|
5140
|
+
:param _AssetIdList: <p>隔离资产列表</p>
|
|
5141
5141
|
:type AssetIdList: list of str
|
|
5142
|
-
:param _BlockDomain: <p
|
|
5142
|
+
:param _BlockDomain: <p>封禁域名-保留字段</p>
|
|
5143
5143
|
:type BlockDomain: str
|
|
5144
5144
|
:param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
|
|
5145
5145
|
:type CfwAiAgentOperationSource: str
|
|
5146
|
-
:param _HandleComment: <p
|
|
5146
|
+
:param _HandleComment: <p>处置描述</p>
|
|
5147
5147
|
:type HandleComment: str
|
|
5148
|
-
:param _HandleEventIdList: <p
|
|
5148
|
+
:param _HandleEventIdList: <p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5149
5149
|
:type HandleEventIdList: list of str
|
|
5150
|
-
:param _HandleIdList: <p
|
|
5150
|
+
:param _HandleIdList: <p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5151
5151
|
:type HandleIdList: list of str
|
|
5152
|
-
:param _HandleIpList: <p
|
|
5152
|
+
:param _HandleIpList: <p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
|
|
5153
5153
|
:type HandleIpList: list of str
|
|
5154
|
-
:param _IgnoreReason: <p
|
|
5154
|
+
:param _IgnoreReason: <p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
|
|
5155
5155
|
:type IgnoreReason: int
|
|
5156
|
-
:param _IsolateType: <p
|
|
5156
|
+
:param _IsolateType: <p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
|
|
5157
5157
|
:type IsolateType: list of int
|
|
5158
|
-
:param _TargetEventIdList: <p
|
|
5158
|
+
:param _TargetEventIdList: <p>处置HandleIpList,属于的告警事件ID</p>
|
|
5159
5159
|
:type TargetEventIdList: list of str
|
|
5160
|
-
:param _WhiteIpList: <p
|
|
5160
|
+
:param _WhiteIpList: <p>加白IP列表 隔离时放通的ip列表</p>
|
|
5161
5161
|
:type WhiteIpList: list of str
|
|
5162
|
+
:param _ExcludeIdList: <p>排除列表</p>
|
|
5163
|
+
:type ExcludeIdList: list of str
|
|
5162
5164
|
"""
|
|
5163
5165
|
self._AlertDirection = None
|
|
5164
5166
|
self._HandleDirection = None
|
|
@@ -5175,10 +5177,11 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5175
5177
|
self._IsolateType = None
|
|
5176
5178
|
self._TargetEventIdList = None
|
|
5177
5179
|
self._WhiteIpList = None
|
|
5180
|
+
self._ExcludeIdList = None
|
|
5178
5181
|
|
|
5179
5182
|
@property
|
|
5180
5183
|
def AlertDirection(self):
|
|
5181
|
-
r"""<p
|
|
5184
|
+
r"""<p>当前日志方向: 0 出向 1 入向</p>
|
|
5182
5185
|
:rtype: int
|
|
5183
5186
|
"""
|
|
5184
5187
|
return self._AlertDirection
|
|
@@ -5189,7 +5192,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5189
5192
|
|
|
5190
5193
|
@property
|
|
5191
5194
|
def HandleDirection(self):
|
|
5192
|
-
r"""<p
|
|
5195
|
+
r"""<p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
|
|
5193
5196
|
:rtype: str
|
|
5194
5197
|
"""
|
|
5195
5198
|
return self._HandleDirection
|
|
@@ -5200,7 +5203,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5200
5203
|
|
|
5201
5204
|
@property
|
|
5202
5205
|
def HandleTime(self):
|
|
5203
|
-
r"""<p
|
|
5206
|
+
r"""<p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
|
|
5204
5207
|
:rtype: int
|
|
5205
5208
|
"""
|
|
5206
5209
|
return self._HandleTime
|
|
@@ -5211,7 +5214,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5211
5214
|
|
|
5212
5215
|
@property
|
|
5213
5216
|
def HandleType(self):
|
|
5214
|
-
r"""<p
|
|
5217
|
+
r"""<p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
|
|
5215
5218
|
:rtype: int
|
|
5216
5219
|
"""
|
|
5217
5220
|
return self._HandleType
|
|
@@ -5222,7 +5225,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5222
5225
|
|
|
5223
5226
|
@property
|
|
5224
5227
|
def AssetIdList(self):
|
|
5225
|
-
r"""<p
|
|
5228
|
+
r"""<p>隔离资产列表</p>
|
|
5226
5229
|
:rtype: list of str
|
|
5227
5230
|
"""
|
|
5228
5231
|
return self._AssetIdList
|
|
@@ -5233,7 +5236,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5233
5236
|
|
|
5234
5237
|
@property
|
|
5235
5238
|
def BlockDomain(self):
|
|
5236
|
-
r"""<p
|
|
5239
|
+
r"""<p>封禁域名-保留字段</p>
|
|
5237
5240
|
:rtype: str
|
|
5238
5241
|
"""
|
|
5239
5242
|
return self._BlockDomain
|
|
@@ -5255,7 +5258,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5255
5258
|
|
|
5256
5259
|
@property
|
|
5257
5260
|
def HandleComment(self):
|
|
5258
|
-
r"""<p
|
|
5261
|
+
r"""<p>处置描述</p>
|
|
5259
5262
|
:rtype: str
|
|
5260
5263
|
"""
|
|
5261
5264
|
return self._HandleComment
|
|
@@ -5266,7 +5269,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5266
5269
|
|
|
5267
5270
|
@property
|
|
5268
5271
|
def HandleEventIdList(self):
|
|
5269
|
-
r"""<p
|
|
5272
|
+
r"""<p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5270
5273
|
:rtype: list of str
|
|
5271
5274
|
"""
|
|
5272
5275
|
return self._HandleEventIdList
|
|
@@ -5277,7 +5280,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5277
5280
|
|
|
5278
5281
|
@property
|
|
5279
5282
|
def HandleIdList(self):
|
|
5280
|
-
r"""<p
|
|
5283
|
+
r"""<p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5281
5284
|
:rtype: list of str
|
|
5282
5285
|
"""
|
|
5283
5286
|
return self._HandleIdList
|
|
@@ -5288,7 +5291,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5288
5291
|
|
|
5289
5292
|
@property
|
|
5290
5293
|
def HandleIpList(self):
|
|
5291
|
-
r"""<p
|
|
5294
|
+
r"""<p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
|
|
5292
5295
|
:rtype: list of str
|
|
5293
5296
|
"""
|
|
5294
5297
|
return self._HandleIpList
|
|
@@ -5299,7 +5302,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5299
5302
|
|
|
5300
5303
|
@property
|
|
5301
5304
|
def IgnoreReason(self):
|
|
5302
|
-
r"""<p
|
|
5305
|
+
r"""<p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
|
|
5303
5306
|
:rtype: int
|
|
5304
5307
|
"""
|
|
5305
5308
|
return self._IgnoreReason
|
|
@@ -5310,7 +5313,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5310
5313
|
|
|
5311
5314
|
@property
|
|
5312
5315
|
def IsolateType(self):
|
|
5313
|
-
r"""<p
|
|
5316
|
+
r"""<p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
|
|
5314
5317
|
:rtype: list of int
|
|
5315
5318
|
"""
|
|
5316
5319
|
return self._IsolateType
|
|
@@ -5321,7 +5324,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5321
5324
|
|
|
5322
5325
|
@property
|
|
5323
5326
|
def TargetEventIdList(self):
|
|
5324
|
-
r"""<p
|
|
5327
|
+
r"""<p>处置HandleIpList,属于的告警事件ID</p>
|
|
5325
5328
|
:rtype: list of str
|
|
5326
5329
|
"""
|
|
5327
5330
|
return self._TargetEventIdList
|
|
@@ -5332,7 +5335,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5332
5335
|
|
|
5333
5336
|
@property
|
|
5334
5337
|
def WhiteIpList(self):
|
|
5335
|
-
r"""<p
|
|
5338
|
+
r"""<p>加白IP列表 隔离时放通的ip列表</p>
|
|
5336
5339
|
:rtype: list of str
|
|
5337
5340
|
"""
|
|
5338
5341
|
return self._WhiteIpList
|
|
@@ -5341,6 +5344,17 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5341
5344
|
def WhiteIpList(self, WhiteIpList):
|
|
5342
5345
|
self._WhiteIpList = WhiteIpList
|
|
5343
5346
|
|
|
5347
|
+
@property
|
|
5348
|
+
def ExcludeIdList(self):
|
|
5349
|
+
r"""<p>排除列表</p>
|
|
5350
|
+
:rtype: list of str
|
|
5351
|
+
"""
|
|
5352
|
+
return self._ExcludeIdList
|
|
5353
|
+
|
|
5354
|
+
@ExcludeIdList.setter
|
|
5355
|
+
def ExcludeIdList(self, ExcludeIdList):
|
|
5356
|
+
self._ExcludeIdList = ExcludeIdList
|
|
5357
|
+
|
|
5344
5358
|
|
|
5345
5359
|
def _deserialize(self, params):
|
|
5346
5360
|
self._AlertDirection = params.get("AlertDirection")
|
|
@@ -5358,6 +5372,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5358
5372
|
self._IsolateType = params.get("IsolateType")
|
|
5359
5373
|
self._TargetEventIdList = params.get("TargetEventIdList")
|
|
5360
5374
|
self._WhiteIpList = params.get("WhiteIpList")
|
|
5375
|
+
self._ExcludeIdList = params.get("ExcludeIdList")
|
|
5361
5376
|
memeber_set = set(params.keys())
|
|
5362
5377
|
for name, value in vars(self).items():
|
|
5363
5378
|
property_name = name[1:]
|
|
@@ -5375,11 +5390,11 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5375
5390
|
|
|
5376
5391
|
def __init__(self):
|
|
5377
5392
|
r"""
|
|
5378
|
-
:param _ReturnCode:
|
|
5393
|
+
:param _ReturnCode: <p>返回状态码:<br>0 成功<br>非0 失败</p>
|
|
5379
5394
|
:type ReturnCode: int
|
|
5380
|
-
:param _ReturnMsg:
|
|
5395
|
+
:param _ReturnMsg: <p>返回信息:<br>success 成功<br>其他</p>
|
|
5381
5396
|
:type ReturnMsg: str
|
|
5382
|
-
:param _Status:
|
|
5397
|
+
:param _Status: <p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
|
|
5383
5398
|
:type Status: int
|
|
5384
5399
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5385
5400
|
:type RequestId: str
|
|
@@ -5391,7 +5406,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5391
5406
|
|
|
5392
5407
|
@property
|
|
5393
5408
|
def ReturnCode(self):
|
|
5394
|
-
r"""
|
|
5409
|
+
r"""<p>返回状态码:<br>0 成功<br>非0 失败</p>
|
|
5395
5410
|
:rtype: int
|
|
5396
5411
|
"""
|
|
5397
5412
|
return self._ReturnCode
|
|
@@ -5402,7 +5417,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5402
5417
|
|
|
5403
5418
|
@property
|
|
5404
5419
|
def ReturnMsg(self):
|
|
5405
|
-
r"""
|
|
5420
|
+
r"""<p>返回信息:<br>success 成功<br>其他</p>
|
|
5406
5421
|
:rtype: str
|
|
5407
5422
|
"""
|
|
5408
5423
|
return self._ReturnMsg
|
|
@@ -5413,7 +5428,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5413
5428
|
|
|
5414
5429
|
@property
|
|
5415
5430
|
def Status(self):
|
|
5416
|
-
r"""
|
|
5431
|
+
r"""<p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
|
|
5417
5432
|
:rtype: int
|
|
5418
5433
|
"""
|
|
5419
5434
|
return self._Status
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.202
|
|
4
4
|
Summary: Tencent Cloud Cfw 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.202
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=qNFGzGznxGawZ4vza6Oe_jR2urdGslk9Dmd28Crg6Ro,630
|
|
2
2
|
tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/cfw/v20190904/cfw_client.py,sha256=W3odQczJkr9sjABPcCM7HqSpPkIKNVWbaiMK7Xp_7FY,160140
|
|
5
5
|
tencentcloud/cfw/v20190904/cfw_client_async.py,sha256=4rmhdBSXjzCNiCXhILY8ldqfkTUkQEedMd3wvfBxo3M,109037
|
|
6
6
|
tencentcloud/cfw/v20190904/errorcodes.py,sha256=stHSiv13FWhtpW2Kc-M8RMKWIgd6cLODnrtucdRYUl0,5035
|
|
7
|
-
tencentcloud/cfw/v20190904/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
9
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
10
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
11
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
7
|
+
tencentcloud/cfw/v20190904/models.py,sha256=hTjMP7bgFBryvuRcbFBpOqReNFS5XZRhWWUKqnyGctE,1449860
|
|
8
|
+
tencentcloud_sdk_python_cfw-3.1.202.dist-info/METADATA,sha256=2QYBw44teg31snxFPckI8h4HviygW7Un81083Lt6osw,1497
|
|
9
|
+
tencentcloud_sdk_python_cfw-3.1.202.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cfw-3.1.202.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cfw-3.1.202.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|