tencentcloud-sdk-nodejs-teo 4.0.572 → 4.0.574

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.
@@ -359,6 +359,40 @@ export interface Https {
359
359
  */
360
360
  CipherSuite?: string;
361
361
  }
362
+ /**
363
+ * Bot主动特征识别规则。
364
+ */
365
+ export interface AlgDetectRule {
366
+ /**
367
+ * 规则id。
368
+ */
369
+ RuleID?: number;
370
+ /**
371
+ * 规则名。
372
+ */
373
+ RuleName?: string;
374
+ /**
375
+ * 规则开关。
376
+ */
377
+ Switch?: string;
378
+ /**
379
+ * 自定义规则。
380
+ */
381
+ AlgConditions?: Array<AclCondition>;
382
+ /**
383
+ * Cookie校验和会话行为分析。
384
+ 注意:此字段可能返回 null,表示取不到有效值。
385
+ */
386
+ AlgDetectSession?: AlgDetectSession;
387
+ /**
388
+ * 客户端行为校验。
389
+ */
390
+ AlgDetectJS?: Array<AlgDetectJS>;
391
+ /**
392
+ * 更新时间。仅出参使用。
393
+ */
394
+ UpdateTime?: string;
395
+ }
362
396
  /**
363
397
  * 安全数据维度值信息
364
398
  */
@@ -1330,23 +1364,54 @@ export interface ModifyZoneResponse {
1330
1364
  RequestId?: string;
1331
1365
  }
1332
1366
  /**
1333
- * Waf规则
1367
+ * 安全模板配置
1334
1368
  */
1335
- export interface WafRule {
1369
+ export interface TemplateConfig {
1336
1370
  /**
1337
- * 托管规则开关,取值有:
1338
- <li> on:开启;</li>
1339
- <li> off:关闭。</li>
1371
+ * 模板ID。
1372
+ */
1373
+ TemplateId: string;
1374
+ /**
1375
+ * 模板名称。
1376
+ */
1377
+ TemplateName: string;
1378
+ }
1379
+ /**
1380
+ * Cookie校验与会话跟踪。
1381
+ */
1382
+ export interface AlgDetectSession {
1383
+ /**
1384
+ * 操作名称。
1385
+ */
1386
+ Name?: string;
1387
+ /**
1388
+ * 校验方式,默认update_detect,取值有:
1389
+ <li>detect:仅校验;</li>
1390
+ <li>update_detect:更新Cookie并校验。</li>
1340
1391
  */
1341
- Switch: string;
1392
+ DetectMode?: string;
1342
1393
  /**
1343
- * 黑名单,ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)。
1394
+ * 会话速率和周期特征校验开关,默认off,取值有:
1395
+ <li>off:关闭;</li>
1396
+ <li>on:打开。</li>
1397
+ */
1398
+ SessionAnalyzeSwitch?: string;
1399
+ /**
1400
+ * 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。
1344
1401
  */
1345
- BlockRuleIDs: Array<number>;
1402
+ InvalidStatTime?: number;
1346
1403
  /**
1347
- * 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)
1404
+ * 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000
1348
1405
  */
1349
- ObserveRuleIDs: Array<number>;
1406
+ InvalidThreshold?: number;
1407
+ /**
1408
+ * Cookie校验校验结果。
1409
+ */
1410
+ AlgDetectResults?: Array<AlgDetectResult>;
1411
+ /**
1412
+ * 会话速率和周期特征校验结果。
1413
+ */
1414
+ SessionBehaviors?: Array<AlgDetectResult>;
1350
1415
  }
1351
1416
  /**
1352
1417
  * ModifyZone请求参数结构体
@@ -2493,21 +2558,36 @@ export interface ModifyZoneSettingResponse {
2493
2558
  RequestId?: string;
2494
2559
  }
2495
2560
  /**
2496
- * DescribeZones返回参数结构体
2561
+ * Bot主动特征识别客户端行为校验。
2497
2562
  */
2498
- export interface DescribeZonesResponse {
2563
+ export interface AlgDetectJS {
2499
2564
  /**
2500
- * 符合条件的站点个数。
2565
+ * 操作名称。
2501
2566
  */
2502
- TotalCount: number;
2567
+ Name?: string;
2503
2568
  /**
2504
- * 站点详细信息列表。
2569
+ * 工作量证明 (proof_Of-Work)校验强度,默认low,取值有:
2570
+ <li>low:低;</li>
2571
+ <li>middle:中;</li>
2572
+ <li>high:高。</li>
2573
+ */
2574
+ WorkLevel?: string;
2575
+ /**
2576
+ * 执行方式,js延迟执行的时间。单位为ms,默认500,取值:0~1000。
2505
2577
  */
2506
- Zones: Array<Zone>;
2578
+ ExecuteMode?: number;
2507
2579
  /**
2508
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
2580
+ * 客户端末启用JS(末完成检测)统计周期。单位为秒,默认10,取值:5~3600
2509
2581
  */
2510
- RequestId?: string;
2582
+ InvalidStatTime?: number;
2583
+ /**
2584
+ * 客户端末启用JS(末完成检测)触发阈值。单位为次,默认300,取值:1~100000000。
2585
+ */
2586
+ InvalidThreshold?: number;
2587
+ /**
2588
+ * Bot主动特征识别客户端行为校验结果。
2589
+ */
2590
+ AlgDetectResults?: Array<AlgDetectResult>;
2511
2591
  }
2512
2592
  /**
2513
2593
  * 加速域名
@@ -3493,6 +3573,25 @@ export interface DescribeWebManagedRulesDataResponse {
3493
3573
  */
3494
3574
  RequestId?: string;
3495
3575
  }
3576
+ /**
3577
+ * Waf规则
3578
+ */
3579
+ export interface WafRule {
3580
+ /**
3581
+ * 托管规则开关,取值有:
3582
+ <li> on:开启;</li>
3583
+ <li> off:关闭。</li>
3584
+ */
3585
+ Switch: string;
3586
+ /**
3587
+ * 黑名单,ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)。
3588
+ */
3589
+ BlockRuleIDs: Array<number>;
3590
+ /**
3591
+ * 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)。
3592
+ */
3593
+ ObserveRuleIDs: Array<number>;
3594
+ }
3496
3595
  /**
3497
3596
  * 安全配置
3498
3597
  */
@@ -4273,17 +4372,33 @@ export interface ModifyApplicationProxyRequest {
4273
4372
  Ipv6?: Ipv6;
4274
4373
  }
4275
4374
  /**
4276
- * 安全模板配置
4375
+ * DownloadL4Logs请求参数结构体
4277
4376
  */
4278
- export interface TemplateConfig {
4377
+ export interface DownloadL4LogsRequest {
4279
4378
  /**
4280
- * 模板ID。
4379
+ * 开始时间。
4281
4380
  */
4282
- TemplateId: string;
4381
+ StartTime: string;
4283
4382
  /**
4284
- * 模板名称。
4383
+ * 结束时间。
4285
4384
  */
4286
- TemplateName: string;
4385
+ EndTime: string;
4386
+ /**
4387
+ * 站点集合,不填默认选择全部站点。
4388
+ */
4389
+ ZoneIds?: Array<string>;
4390
+ /**
4391
+ * 四层实例ID集合。
4392
+ */
4393
+ ProxyIds?: Array<string>;
4394
+ /**
4395
+ * 分页查询的限制数目,默认值为20,最大查询条目为1000。
4396
+ */
4397
+ Limit?: number;
4398
+ /**
4399
+ * 分页的偏移量,默认值为0。
4400
+ */
4401
+ Offset?: number;
4287
4402
  }
4288
4403
  /**
4289
4404
  * 规则引擎带有状态码的动作
@@ -6730,6 +6845,23 @@ export interface DescribePrefetchTasksRequest {
6730
6845
  * DescribeRulesSetting请求参数结构体
6731
6846
  */
6732
6847
  export declare type DescribeRulesSettingRequest = null;
6848
+ /**
6849
+ * DescribeZones返回参数结构体
6850
+ */
6851
+ export interface DescribeZonesResponse {
6852
+ /**
6853
+ * 符合条件的站点个数。
6854
+ */
6855
+ TotalCount: number;
6856
+ /**
6857
+ * 站点详细信息列表。
6858
+ */
6859
+ Zones: Array<Zone>;
6860
+ /**
6861
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6862
+ */
6863
+ RequestId?: string;
6864
+ }
6733
6865
  /**
6734
6866
  * ModifyAliasDomain返回参数结构体
6735
6867
  */
@@ -7608,33 +7740,31 @@ export interface IdentifyZoneRequest {
7608
7740
  Domain?: string;
7609
7741
  }
7610
7742
  /**
7611
- * DownloadL4Logs请求参数结构体
7743
+ * Bot主动特征识别校验结果。
7612
7744
  */
7613
- export interface DownloadL4LogsRequest {
7614
- /**
7615
- * 开始时间。
7616
- */
7617
- StartTime: string;
7618
- /**
7619
- * 结束时间。
7620
- */
7621
- EndTime: string;
7622
- /**
7623
- * 站点集合,不填默认选择全部站点。
7624
- */
7625
- ZoneIds?: Array<string>;
7626
- /**
7627
- * 四层实例ID集合。
7628
- */
7629
- ProxyIds?: Array<string>;
7745
+ export interface AlgDetectResult {
7630
7746
  /**
7631
- * 分页查询的限制数目,默认值为20,最大查询条目为1000。
7632
- */
7633
- Limit?: number;
7747
+ * 校验结果,取值有:
7748
+ <li>invalid:不合法Cookie;</li>
7749
+ <li>cookie_empty:末携带Cookie或Cookie己过期;</li>
7750
+ <li>js_empty:客户端末启用JS(末完成检测);</li>
7751
+ <li>low:会话速率和周期特征校验低风险;</li>
7752
+ <li>middle:会话速率和周期特征校验中风险;</li>
7753
+ <li>high:会话速率和周期特征校验高风险;</li>
7754
+ <li>timeout:检测超时时长;</li>
7755
+ <li>not_browser:不合法浏览器;</li>
7756
+ <li>is_bot:Bot客户端。</li>
7757
+ */
7758
+ Result?: string;
7634
7759
  /**
7635
- * 分页的偏移量,默认值为0。
7636
- */
7637
- Offset?: number;
7760
+ * 处罚动作,取值有:
7761
+ <li>drop:拦截;</li>
7762
+ <li>monitor:观察;</li>
7763
+ <li>silence:静默;</li>
7764
+ <li>shortdelay:(短时间)等待后响应;</li>
7765
+ <li>longdelay:(长时间)等待后响应。</li>
7766
+ */
7767
+ Action?: string;
7638
7768
  }
7639
7769
  /**
7640
7770
  * CreateSpeedTesting返回参数结构体
@@ -8044,6 +8174,10 @@ export interface BotConfig {
8044
8174
  * Bot自定义规则。如果为null,默认使用历史配置。
8045
8175
  */
8046
8176
  BotUserRules?: Array<BotUserRule>;
8177
+ /**
8178
+ * Bot主动特征识别规则。
8179
+ */
8180
+ AlgDetectRule?: Array<AlgDetectRule>;
8047
8181
  /**
8048
8182
  * Bot托管定制策略,入参可不填,仅出参使用。
8049
8183
  注意:此字段可能返回 null,表示取不到有效值。