tencentcloud-sdk-nodejs-cfw 4.1.339 → 4.1.340

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cfw",
3
- "version": "4.1.339",
3
+ "version": "4.1.340",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -6348,27 +6348,27 @@ export interface DescribeRuleOverviewResponse {
6348
6348
  */
6349
6349
  export interface CreateAlertCenterRuleAsyncRequest {
6350
6350
  /**
6351
- * <p>必填的告警方向:0 出向,1 入向,3 内网。用于 HandleIpList 中 IP 目标的处置方向;其它目标也必须传上述有效值。从 DescribeCfwAlerts 复制方向时,将 alerts[].direction 的 outbound、inbound、lateral 分别转换为 JSON 整数 0、1、3。</p>
6351
+ * <p>当前日志方向: 0 出向 1 入向</p>
6352
6352
  */
6353
6353
  AlertDirection: number;
6354
6354
  /**
6355
- * <p>必填的处置生效方向。支持空字符串、0(互联网出向)、1(互联网入向)、0,1/1,0(互联网双向)、3(内网访问)、5(内网访问源)、6(内网访问目的)及 5,6/6,5。空字符串表示按告警原方向处置;同一 IP 的已有规则方向会与本次方向合并。</p>
6355
+ * <p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
6356
6356
  */
6357
6357
  HandleDirection: string;
6358
6358
  /**
6359
- * <p>处置有效期:1 表示 1 天,7 表示 7 天,-2 表示永久。</p>
6359
+ * <p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
6360
6360
  */
6361
6361
  HandleTime: number;
6362
6362
  /**
6363
- * <p>必填的处置类型:1 按 HandleIdList 或 HandleEventIdList 封禁,2 按 HandleIdList、HandleEventIdList 或 BlockDomain 加白,3 按 HandleIpList 加白 IP,4 按 HandleIpList 封禁 IP,5 将 HandleIdList 或 HandleEventIdList 对应的安全基线告警地址加入指定方向的安全基线列表,8 按 HandleEventIdList 关联资产或 AssetIdList 新增隔离。五类目标至少提供一类;HandleType=8 未能从事件解析出资产时必须提供 AssetIdList。IsolateType 和 WhiteIpList 仅用于类型 8。</p>
6363
+ * <p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
6364
6364
  */
6365
6365
  HandleType: number;
6366
6366
  /**
6367
- * <p>资产隔离目标列表,可省略;仅 HandleType=8 使用。直接按资产隔离时,调用 DescribeCfwAssets,传 AssetType=host 和目标 InstanceId,解析返回结果;仅在唯一 assets[].instance_id 与目标完全相等时将其写入本字段,不使用资产名称。</p>
6367
+ * <p>隔离资产列表</p>
6368
6368
  */
6369
6369
  AssetIdList?: Array<string>;
6370
6370
  /**
6371
- * <p>域名加白目标,传合法域名;HandleType 必须为 2,并同时传 TargetEventIdList。</p>
6371
+ * <p>封禁域名-保留字段</p>
6372
6372
  */
6373
6373
  BlockDomain?: string;
6374
6374
  /**
@@ -6376,37 +6376,41 @@ export interface CreateAlertCenterRuleAsyncRequest {
6376
6376
  */
6377
6377
  CfwAiAgentOperationSource?: string;
6378
6378
  /**
6379
- * <p>可选处置说明,最多 50 个 Unicode 字符。</p>
6379
+ * <p>处置描述</p>
6380
6380
  */
6381
6381
  HandleComment?: string;
6382
6382
  /**
6383
- * <p>告警事件 ID 列表,可省略。通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。事件对应的告警日志会与 HandleIdList 合并后参与处置。</p>
6383
+ * <p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
6384
6384
  */
6385
6385
  HandleEventIdList?: Array<string>;
6386
6386
  /**
6387
- * <p>告警日志 ID 列表,可省略;可与 HandleEventIdList 同时使用。调用 DescribeLogs,传 Index=rule_threatinfo 和目标日志的查询条件,解析返回结果,仅使用目标记录的 log_id。告警事件 ID 使用 HandleEventIdList。</p>
6387
+ * <p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
6388
6388
  */
6389
6389
  HandleIdList?: Array<string>;
6390
6390
  /**
6391
- * <p>IP 处置目标列表,每项必须是有效 IP 地址。HandleType=3 表示加白,HandleType=4 表示封禁;可使用 DescribeCfwAlerts 返回的 alerts[].src_ip_list 或 alerts[].dst_ip_list。</p>
6391
+ * <p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
6392
6392
  */
6393
6393
  HandleIpList?: Array<string>;
6394
6394
  /**
6395
- * <p>处置原因,可省略:0 未指定原因,1 重复,2 误报,3 紧急加白;主要用于加白记录。</p>
6395
+ * <p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
6396
6396
  */
6397
6397
  IgnoreReason?: number;
6398
6398
  /**
6399
- * <p>隔离范围数组,可省略:1 互联网入站,2 互联网出站,4 内网访问。仅 HandleType=8 使用;组合多个范围时传入对应值且不要重复,重复值会改变最终隔离范围。</p>
6399
+ * <p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
6400
6400
  */
6401
6401
  IsolateType?: Array<number | bigint>;
6402
6402
  /**
6403
- * <p>处置关联的来源事件 ID 列表,仅用于 HandleIpList 或 BlockDomain。BlockDomain 处置时必填,HandleIpList 处置时可省略;通过 DescribeCfwAlerts 获取,返回 alerts[].current_event_id 时使用该值,否则使用 alerts[].event_id。</p>
6403
+ * <p>处置HandleIpList,属于的告警事件ID</p>
6404
6404
  */
6405
6405
  TargetEventIdList?: Array<string>;
6406
6406
  /**
6407
- * <p>隔离后仍允许通信的 IPv4 地址列表,仅 HandleType=8 使用。可省略或传空数组;非空时每项必须是有效 IPv4 地址。</p>
6407
+ * <p>加白IP列表 隔离时放通的ip列表</p>
6408
6408
  */
6409
6409
  WhiteIpList?: Array<string>;
6410
+ /**
6411
+ * <p>排除列表</p>
6412
+ */
6413
+ ExcludeIdList?: Array<string>;
6410
6414
  }
6411
6415
  /**
6412
6416
  * VPC防火墙实例卡片信息
@@ -9282,15 +9286,15 @@ export interface DeleteNatFwDnatRuleRequest {
9282
9286
  */
9283
9287
  export interface CreateAlertCenterRuleAsyncResponse {
9284
9288
  /**
9285
- * 请求返回码,0 表示已进入异步处理;处理进度见 Status。
9289
+ * <p>返回状态码:<br>0 成功<br>非0 失败</p>
9286
9290
  */
9287
9291
  ReturnCode?: number;
9288
9292
  /**
9289
- * 与 ReturnCode 对应的结果信息,成功时为 success。
9293
+ * <p>返回信息:<br>success 成功<br>其他</p>
9290
9294
  */
9291
9295
  ReturnMsg?: string;
9292
9296
  /**
9293
- * 异步处理状态:1 表示处理中,使用完全相同的请求参数继续查询;修改参数会发起新的操作。0 表示处理结束,处置结果通过对应查询接口获取。
9297
+ * <p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
9294
9298
  */
9295
9299
  Status?: number;
9296
9300
  /**