tencentcloud-sdk-nodejs 4.1.324 → 4.1.326

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 (105) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/adp/v20260520/adp_client.js +37 -10
  3. package/es/services/ags/v20250920/ags_client.js +19 -4
  4. package/es/services/apm/v20210622/apm_client.js +3 -0
  5. package/es/services/cfw/v20190904/cfw_client.js +5 -2
  6. package/es/services/databuddy/v20260715/databuddy_client.js +47 -2
  7. package/es/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  8. package/es/services/goosefs/v20220519/goosefs_client.js +21 -0
  9. package/es/services/ioa/v20220601/ioa_client.js +3 -0
  10. package/es/services/iss/v20230517/iss_client.js +196 -130
  11. package/es/services/live/v20180801/live_client.js +9 -0
  12. package/es/services/mongodb/v20190725/mongodb_client.js +24 -0
  13. package/es/services/mqtt/v20240516/mqtt_client.js +7 -4
  14. package/es/services/ocr/v20181119/ocr_client.js +15 -6
  15. package/es/services/organization/v20210331/organization_client.js +3 -0
  16. package/es/services/redis/v20180412/redis_client.js +3 -0
  17. package/es/services/tione/v20211111/tione_client.js +3 -0
  18. package/es/services/waf/v20180125/waf_client.js +54 -12
  19. package/package.json +1 -1
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +48 -11
  23. package/tencentcloud/services/adp/v20260520/adp_client.js +70 -15
  24. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +1189 -162
  25. package/tencentcloud/services/ags/v20250920/ags_client.d.ts +28 -5
  26. package/tencentcloud/services/ags/v20250920/ags_client.js +39 -6
  27. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +270 -2
  28. package/tencentcloud/services/alb/v20251030/alb_models.d.ts +3 -10
  29. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  30. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  31. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +253 -47
  32. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  33. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  34. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -0
  35. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +33 -33
  36. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -5
  37. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +81 -81
  38. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +7 -3
  39. package/tencentcloud/services/cfw/v20190904/cfw_client.js +9 -3
  40. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +158 -35
  41. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
  42. package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +16 -0
  43. package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +63 -3
  44. package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +93 -3
  45. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +2859 -1375
  46. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
  47. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
  48. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +668 -53
  49. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
  50. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +469 -196
  51. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +7 -3
  52. package/tencentcloud/services/es/v20180416/es_client.d.ts +1 -1
  53. package/tencentcloud/services/es/v20180416/es_models.d.ts +231 -95
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  55. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +29 -1
  56. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +42 -0
  57. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +448 -68
  58. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +33 -22
  59. package/tencentcloud/services/ims/v20201229/ims_client.js +33 -22
  60. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +11 -11
  61. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
  62. package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
  63. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +115 -19
  64. package/tencentcloud/services/iss/v20230517/iss_client.d.ts +235 -147
  65. package/tencentcloud/services/iss/v20230517/iss_client.js +349 -217
  66. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +1393 -302
  67. package/tencentcloud/services/kms/v20190118/kms_models.d.ts +4 -4
  68. package/tencentcloud/services/live/v20180801/live_client.d.ts +13 -1
  69. package/tencentcloud/services/live/v20180801/live_client.js +18 -0
  70. package/tencentcloud/services/live/v20180801/live_models.d.ts +227 -34
  71. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +33 -1
  72. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +48 -0
  73. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +570 -113
  74. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +8 -8
  75. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +169 -32
  76. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +195 -136
  77. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +10 -6
  78. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +13 -7
  79. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +90 -16
  80. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +103 -28
  81. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +32 -10
  82. package/tencentcloud/services/ocr/v20181119/ocr_client.js +40 -12
  83. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +353 -205
  84. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
  85. package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
  86. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +80 -46
  87. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +163 -96
  88. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  89. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  90. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +31 -1
  91. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +30 -4
  92. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +42 -4
  93. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
  94. package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
  95. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +67 -64
  96. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
  97. package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
  98. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +37 -3
  99. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +3 -1
  100. package/tencentcloud/services/tke/v20180525/tke_client.js +3 -1
  101. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -4
  102. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -8
  103. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +71 -15
  104. package/tencentcloud/services/waf/v20180125/waf_client.js +105 -21
  105. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +890 -169
@@ -1,3 +1,16 @@
1
+ /**
2
+ * DescribeLLMWafDLPRules返回参数结构体
3
+ */
4
+ export interface DescribeLLMWafDLPRulesResponse {
5
+ /**
6
+ * <p>规则列表</p>
7
+ */
8
+ Rules?: Array<RuleDetail>;
9
+ /**
10
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11
+ */
12
+ RequestId?: string;
13
+ }
1
14
  /**
2
15
  * api安全自定义事件规则结构体
3
16
  */
@@ -625,6 +638,19 @@ export interface SearchLogResponse {
625
638
  */
626
639
  RequestId?: string;
627
640
  }
641
+ /**
642
+ * DescribeLLMWafProtectRules返回参数结构体
643
+ */
644
+ export interface DescribeLLMWafProtectRulesResponse {
645
+ /**
646
+ * <p>类别列表</p>
647
+ */
648
+ Categories?: Array<CategoryGroup>;
649
+ /**
650
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
651
+ */
652
+ RequestId?: string;
653
+ }
628
654
  /**
629
655
  * ModifyUserSignatureClass返回参数结构体
630
656
  */
@@ -831,17 +857,25 @@ export interface ModifyUserSignatureRuleResponse {
831
857
  RequestId?: string;
832
858
  }
833
859
  /**
834
- * ModifyInstanceName返回参数结构体
860
+ * ModifyApiAnalyzeStatus请求参数结构体
835
861
  */
836
- export interface ModifyInstanceNameResponse {
862
+ export interface ModifyApiAnalyzeStatusRequest {
837
863
  /**
838
- * 修改状态:0为成功
864
+ * 开关状态
839
865
  */
840
- ModifyCode?: number;
866
+ Status: number;
841
867
  /**
842
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
868
+ * 域名
843
869
  */
844
- RequestId?: string;
870
+ Domain?: string;
871
+ /**
872
+ * 实例id
873
+ */
874
+ InstanceId?: string;
875
+ /**
876
+ * 需要批量开启的实体列表
877
+ */
878
+ TargetList?: Array<TargetEntity>;
845
879
  }
846
880
  /**
847
881
  * 实例对象的简略结构,只包含实例ID和实例名
@@ -1038,6 +1072,15 @@ export interface MajorEventsPkg {
1038
1072
  */
1039
1073
  HWState?: number;
1040
1074
  }
1075
+ /**
1076
+ * DescribeLLMContentRuleList返回参数结构体
1077
+ */
1078
+ export interface DescribeLLMContentRuleListResponse {
1079
+ /**
1080
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1081
+ */
1082
+ RequestId?: string;
1083
+ }
1041
1084
  /**
1042
1085
  * DescribeDomainRules请求参数结构体
1043
1086
  */
@@ -1065,6 +1108,15 @@ export interface DeleteAccessExportResponse {
1065
1108
  */
1066
1109
  RequestId?: string;
1067
1110
  }
1111
+ /**
1112
+ * ModifyLLMWafProtectRule返回参数结构体
1113
+ */
1114
+ export interface ModifyLLMWafProtectRuleResponse {
1115
+ /**
1116
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1117
+ */
1118
+ RequestId?: string;
1119
+ }
1068
1120
  /**
1069
1121
  * DescribeModuleStatus返回参数结构体
1070
1122
  */
@@ -1120,17 +1172,29 @@ export interface AccessKeyValueInfo {
1120
1172
  Value?: AccessValueInfo;
1121
1173
  }
1122
1174
  /**
1123
- * JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
1175
+ * 大模型Rule生效条件
1124
1176
  */
1125
- export interface TokenDisplaySetting {
1177
+ export interface LLMOptionsItem {
1126
1178
  /**
1127
- * 是否使用payload字段作为显示token
1179
+ * 键
1128
1180
  */
1129
- DisplayWithPayloadEnable?: boolean;
1181
+ Key?: string;
1130
1182
  /**
1131
- * 用于显示的payload字段名
1183
+ * 操作符
1132
1184
  */
1133
- FieldName?: string;
1185
+ Op?: string;
1186
+ /**
1187
+ * 值
1188
+ */
1189
+ Value?: Array<string>;
1190
+ /**
1191
+ * Header参数值时使用
1192
+ */
1193
+ Name?: string;
1194
+ /**
1195
+ * 区域选择
1196
+ */
1197
+ Areas?: Array<Area>;
1134
1198
  }
1135
1199
  /**
1136
1200
  * Key-Value的形式,Value为Int
@@ -2047,6 +2111,15 @@ export interface ModifyAntiInfoLeakRuleStatusRequest {
2047
2111
  */
2048
2112
  Status: number;
2049
2113
  }
2114
+ /**
2115
+ * ModifyLLMKeywordLibrary请求参数结构体
2116
+ */
2117
+ export interface ModifyLLMKeywordLibraryRequest {
2118
+ /**
2119
+ * 新增的关键词库列表
2120
+ */
2121
+ LibList: Array<LLMKeywordLibrary>;
2122
+ }
2050
2123
  /**
2051
2124
  * CreateDeals请求参数结构体
2052
2125
  */
@@ -2474,6 +2547,19 @@ export interface DescribePostCKafkaFlowsResponse {
2474
2547
  */
2475
2548
  RequestId?: string;
2476
2549
  }
2550
+ /**
2551
+ * ModifyLLMKeywordLibrary返回参数结构体
2552
+ */
2553
+ export interface ModifyLLMKeywordLibraryResponse {
2554
+ /**
2555
+ * 成功创建的列表id
2556
+ */
2557
+ RuleIds?: Array<string>;
2558
+ /**
2559
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2560
+ */
2561
+ RequestId?: string;
2562
+ }
2477
2563
  /**
2478
2564
  * 规则的匹配条件结构体
2479
2565
  */
@@ -2704,6 +2790,23 @@ export interface ModifyOwaspDomainUpdateStatusRequest {
2704
2790
  */
2705
2791
  UpdateStatus: number;
2706
2792
  }
2793
+ /**
2794
+ * DescribeLLMSdkAccess返回参数结构体
2795
+ */
2796
+ export interface DescribeLLMSdkAccessResponse {
2797
+ /**
2798
+ * 查询结果中规则数量
2799
+ */
2800
+ Total?: number;
2801
+ /**
2802
+ * 操作结果
2803
+ */
2804
+ Data?: Array<LLMSdkAccessItem>;
2805
+ /**
2806
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2807
+ */
2808
+ RequestId?: string;
2809
+ }
2707
2810
  /**
2708
2811
  * ModifyInstanceAttackLogPost返回参数结构体
2709
2812
  */
@@ -2951,6 +3054,27 @@ export interface ModifyAreaBanRuleRequest {
2951
3054
  */
2952
3055
  Lang?: string;
2953
3056
  }
3057
+ /**
3058
+ * ModifyLLMStatus请求参数结构体
3059
+ */
3060
+ export interface ModifyLLMStatusRequest {
3061
+ /**
3062
+ * <p>开关状态。true:开启,false:关闭。</p>
3063
+ */
3064
+ Status: boolean;
3065
+ /**
3066
+ * <p>需要操作的域名或者serviceid</p>
3067
+ */
3068
+ Domain: string;
3069
+ /**
3070
+ * <p>开关类型,用于指定要操作的防护模块开关。取值如下:<br>1:防护总开关,控制大模型防护功能的全局开启/关闭。<br>2:算力消耗防护规则开关,控制算力消耗限制功能的开启/关闭。<br>3:自定义防护规则开关,控制内容安全自定义规则功能的开启/关闭。<br>4:ToolCall 防护开关,控制工具调用安全检测功能的开启/关闭。<br>5:提示词攻击防护开关,控制提示词注入/越狱攻击检测功能的开启/关闭。<br>6:内容合规检测开关,控制输入输出内容合规检测功能的开启/关闭。<br>7:敏感数据检测开关,控制敏感信息泄露检测(DLP)功能的开启/关闭。<br>8:Skill 安全检测开关,控制 Skill/Plugin 调用安全检测功能的开启/关闭。<br>9:意图行为检测开关,控制用户意图识别与行为检测功能的开启/关闭。<br>10:恶意URL检测开关,控制响应中恶意链接检测功能的开启/关闭。</p>
3071
+ */
3072
+ SwitchType: number;
3073
+ /**
3074
+ * <p>WAF 实例 ID,表示当前操作所属的 WAF 实例。可通过 DescribeInstances 接口获取。</p>
3075
+ */
3076
+ InstanceId?: string;
3077
+ }
2954
3078
  /**
2955
3079
  * UpdateRateLimitV2返回参数结构体
2956
3080
  */
@@ -3659,6 +3783,43 @@ export interface ModifyUserSignatureRuleRequest {
3659
3783
  */
3660
3784
  RuleID?: Array<ReqUserRule>;
3661
3785
  }
3786
+ /**
3787
+ * SearchAccessLog请求参数结构体
3788
+ */
3789
+ export interface SearchAccessLogRequest {
3790
+ /**
3791
+ * 客户要查询的日志主题ID,每个客户都有对应的一个主题,新版本此字段填空字符串
3792
+ */
3793
+ TopicId: string;
3794
+ /**
3795
+ * 要查询的日志的起始时间,Unix时间戳,单位ms
3796
+ */
3797
+ From: number;
3798
+ /**
3799
+ * 要查询的日志的结束时间,Unix时间戳,单位ms
3800
+ */
3801
+ To: number;
3802
+ /**
3803
+ * 查询语句,语句长度最大为4096
3804
+ */
3805
+ Query: string;
3806
+ /**
3807
+ * 单次查询返回的日志条数,最大值为100
3808
+ */
3809
+ Limit?: number;
3810
+ /**
3811
+ * 新版本此字段失效,填空字符串,翻页使用Page
3812
+ */
3813
+ Context?: string;
3814
+ /**
3815
+ * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
3816
+ */
3817
+ Sort?: string;
3818
+ /**
3819
+ * 第几页,从0开始。新版本接口字段
3820
+ */
3821
+ Page?: number;
3822
+ }
3662
3823
  /**
3663
3824
  * CreatePostCKafkaFlow返回参数结构体
3664
3825
  */
@@ -4217,6 +4378,10 @@ export interface ModifyBatchCustomWhiteRuleStatusRequest {
4217
4378
  */
4218
4379
  Status: number;
4219
4380
  }
4381
+ /**
4382
+ * DescribeLLMContentRuleList请求参数结构体
4383
+ */
4384
+ export type DescribeLLMContentRuleListRequest = null;
4220
4385
  /**
4221
4386
  * ModifyUserSignatureClass请求参数结构体
4222
4387
  */
@@ -4260,6 +4425,35 @@ export interface DescribeModuleStatusRequest {
4260
4425
  */
4261
4426
  Domain: string;
4262
4427
  }
4428
+ /**
4429
+ * DescribeLLMSdkAccess请求参数结构体
4430
+ */
4431
+ export interface DescribeLLMSdkAccessRequest {
4432
+ /**
4433
+ * 实例id
4434
+ */
4435
+ InstanceId: string;
4436
+ /**
4437
+ * 分页的起始位置
4438
+ */
4439
+ Offset?: number;
4440
+ /**
4441
+ * 每页行数
4442
+ */
4443
+ Limit?: number;
4444
+ /**
4445
+ * 过滤器
4446
+ */
4447
+ Filters?: Array<FiltersItemNew>;
4448
+ /**
4449
+ * 支持根据ts排序
4450
+ */
4451
+ By?: string;
4452
+ /**
4453
+ * asc或者desc
4454
+ */
4455
+ Order?: string;
4456
+ }
4263
4457
  /**
4264
4458
  * DeleteRateLimitsV2返回参数结构体
4265
4459
  */
@@ -4400,6 +4594,19 @@ export interface CreateProtectGroupRequest {
4400
4594
  */
4401
4595
  Tags?: Array<TagInfo>;
4402
4596
  }
4597
+ /**
4598
+ * DeleteLLMContentRule请求参数结构体
4599
+ */
4600
+ export interface DeleteLLMContentRuleRequest {
4601
+ /**
4602
+ * <p>Id列表</p>
4603
+ */
4604
+ Ids: Array<string>;
4605
+ /**
4606
+ * <p>域名</p>
4607
+ */
4608
+ Domain?: string;
4609
+ }
4403
4610
  /**
4404
4611
  * CreatePostCLSFlow返回参数结构体
4405
4612
  */
@@ -5076,33 +5283,13 @@ export interface ApiAsset {
5076
5283
  */
5077
5284
  export type QueryBypassAllStatusRequest = null;
5078
5285
  /**
5079
- * DescribeOwaspRules请求参数结构体
5286
+ * DeleteLLMKeywordLibrary返回参数结构体
5080
5287
  */
5081
- export interface DescribeOwaspRulesRequest {
5082
- /**
5083
- * 需要查询的域名
5084
- */
5085
- Domain: string;
5086
- /**
5087
- * 分页页数,默认为0
5088
- */
5089
- Offset?: number;
5090
- /**
5091
- * 每页容量,默认为10
5092
- */
5093
- Limit?: number;
5094
- /**
5095
- * 排序字段,支持 RuleId, ModifyTime
5096
- */
5097
- By?: string;
5098
- /**
5099
- * 排序方式,支持asc、desc
5100
- */
5101
- Order?: string;
5288
+ export interface DeleteLLMKeywordLibraryResponse {
5102
5289
  /**
5103
- * 筛选条件,支持 RuleId:规则ID、TypeId:规则类型、Desc:规则描述 、CveID:CVE编号、Status:规则状态、VulLevel:威胁等级
5290
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5104
5291
  */
5105
- Filters?: Array<FiltersItemNew>;
5292
+ RequestId?: string;
5106
5293
  }
5107
5294
  /**
5108
5295
  * DescribeCCRuleList请求参数结构体
@@ -5159,6 +5346,19 @@ export interface ResponseCode {
5159
5346
  */
5160
5347
  Message?: string;
5161
5348
  }
5349
+ /**
5350
+ * 大模型内容安全,不当信息配置中,敏感度配置
5351
+ */
5352
+ export interface ValueLevel {
5353
+ /**
5354
+ * 标签,如政治等
5355
+ */
5356
+ Label: string;
5357
+ /**
5358
+ * 敏感度
5359
+ */
5360
+ Level: number;
5361
+ }
5162
5362
  /**
5163
5363
  * PeakPoints数组项
5164
5364
  */
@@ -5275,6 +5475,15 @@ export interface ModifyAttackWhiteRuleResponse {
5275
5475
  */
5276
5476
  RequestId?: string;
5277
5477
  }
5478
+ /**
5479
+ * ModifyLLMContentRuleStatus返回参数结构体
5480
+ */
5481
+ export interface ModifyLLMContentRuleStatusResponse {
5482
+ /**
5483
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5484
+ */
5485
+ RequestId?: string;
5486
+ }
5278
5487
  /**
5279
5488
  * SearchAccessLog返回参数结构体
5280
5489
  */
@@ -5895,6 +6104,15 @@ export interface DescribeWafAutoDenyStatusResponse {
5895
6104
  */
5896
6105
  RequestId?: string;
5897
6106
  }
6107
+ /**
6108
+ * ModifyLLMWafDLPRule返回参数结构体
6109
+ */
6110
+ export interface ModifyLLMWafDLPRuleResponse {
6111
+ /**
6112
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6113
+ */
6114
+ RequestId?: string;
6115
+ }
5898
6116
  /**
5899
6117
  * 地域封禁规则详情
5900
6118
  */
@@ -5932,6 +6150,28 @@ export interface AreaBanRule {
5932
6150
  * DescribeTlsVersion请求参数结构体
5933
6151
  */
5934
6152
  export type DescribeTlsVersionRequest = null;
6153
+ /**
6154
+ * 大模型检测内容匹配
6155
+ */
6156
+ export interface RuleItem {
6157
+ /**
6158
+ * 信息类型
6159
+ */
6160
+ Key?: string;
6161
+ /**
6162
+ * 操作符,默认是包含
6163
+
6164
+ */
6165
+ Op?: string;
6166
+ /**
6167
+ * 信息类型
6168
+ */
6169
+ Value?: Array<string>;
6170
+ /**
6171
+ * 信息类
6172
+ */
6173
+ Levels?: Array<ValueLevel>;
6174
+ }
5935
6175
  /**
5936
6176
  * 计费下单响应实体
5937
6177
  */
@@ -6295,7 +6535,20 @@ export interface DescribeBotSceneUCBRuleResponse {
6295
6535
  RequestId?: string;
6296
6536
  }
6297
6537
  /**
6298
- * 产品明细
6538
+ * JWT显示设置(只有当校验方式为JWS/JWE的时候才会有该配置信息)
6539
+ */
6540
+ export interface TokenDisplaySetting {
6541
+ /**
6542
+ * 是否使用payload字段作为显示token
6543
+ */
6544
+ DisplayWithPayloadEnable?: boolean;
6545
+ /**
6546
+ * 用于显示的payload字段名
6547
+ */
6548
+ FieldName?: string;
6549
+ }
6550
+ /**
6551
+ * 产品明细
6299
6552
  */
6300
6553
  export interface GoodsDetailNew {
6301
6554
  /**
@@ -6483,6 +6736,49 @@ export interface DeleteIpAccessControlResponse {
6483
6736
  */
6484
6737
  RequestId?: string;
6485
6738
  }
6739
+ /**
6740
+ * DescribeLLMKeywordLibrary请求参数结构体
6741
+ */
6742
+ export interface DescribeLLMKeywordLibraryRequest {
6743
+ /**
6744
+ * 词库类型筛选
6745
+ 枚举值:
6746
+ custom:自定义黑库
6747
+ builtin:内置词库
6748
+ all:全部词库
6749
+ white:自定义白库
6750
+ */
6751
+ Type: string;
6752
+ /**
6753
+ * 分页偏移量
6754
+ 取值范围:[0, +∞)
6755
+ 默认值:0
6756
+ */
6757
+ Offset?: number;
6758
+ /**
6759
+ * 每页返回数量
6760
+ 取值范围:[1, 1000]
6761
+ 默认值:10
6762
+ */
6763
+ Limit?: number;
6764
+ /**
6765
+ * 排序字段
6766
+ 枚举值:
6767
+ UpdateTime:按更新时间排序
6768
+ CreateTime:按创建时间排序
6769
+ Name:按名称排序
6770
+ 默认值:UpdateTime
6771
+ */
6772
+ By?: string;
6773
+ /**
6774
+ * 排序方向
6775
+ 枚举值:
6776
+ ASC:升序
6777
+ DESC:降序
6778
+ 默认值:DESC
6779
+ */
6780
+ Order?: string;
6781
+ }
6486
6782
  /**
6487
6783
  * tool_call 场景检测结果
6488
6784
  */
@@ -7220,6 +7516,35 @@ export interface ScanIpInfo {
7220
7516
  */
7221
7517
  UpdateTime?: number;
7222
7518
  }
7519
+ /**
7520
+ * ModifyLLMWafProtectRule请求参数结构体
7521
+ */
7522
+ export interface ModifyLLMWafProtectRuleRequest {
7523
+ /**
7524
+ * <p>服务ID</p>
7525
+ */
7526
+ ServiceId: string;
7527
+ /**
7528
+ * <p>要修改的规则id列表</p>
7529
+ */
7530
+ RuleIds: Array<string>;
7531
+ /**
7532
+ * <p>规则动作</p>
7533
+ */
7534
+ RuleAction?: string;
7535
+ /**
7536
+ * <p>开关</p>
7537
+ */
7538
+ Status?: number;
7539
+ /**
7540
+ * <p>实例id</p>
7541
+ */
7542
+ InstanceId?: string;
7543
+ /**
7544
+ * <p>检测方向:1是入向,2是出向,3是入向和出向都检测</p>
7545
+ */
7546
+ Direction?: number;
7547
+ }
7223
7548
  /**
7224
7549
  * DescribeUserSignatureRule请求参数结构体
7225
7550
  */
@@ -7644,17 +7969,13 @@ export interface DescribeRuleLimitResponse {
7644
7969
  RequestId?: string;
7645
7970
  }
7646
7971
  /**
7647
- * CreateAccessExport返回参数结构体
7972
+ * DeleteProtectGroup请求参数结构体
7648
7973
  */
7649
- export interface CreateAccessExportResponse {
7650
- /**
7651
- * 日志导出ID。
7652
- */
7653
- ExportId?: string;
7974
+ export interface DeleteProtectGroupRequest {
7654
7975
  /**
7655
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7976
+ * 防护对象组ID列表,支持批量删除
7656
7977
  */
7657
- RequestId?: string;
7978
+ GroupIds?: Array<number | bigint>;
7658
7979
  }
7659
7980
  /**
7660
7981
  * 限流Path
@@ -7773,6 +8094,15 @@ export interface LLMMonPkg {
7773
8094
  */
7774
8095
  InstanceId?: string;
7775
8096
  }
8097
+ /**
8098
+ * ModifyOwaspDomainUpdateStatus返回参数结构体
8099
+ */
8100
+ export interface ModifyOwaspDomainUpdateStatusResponse {
8101
+ /**
8102
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8103
+ */
8104
+ RequestId?: string;
8105
+ }
7776
8106
  /**
7777
8107
  * ModifyHost请求参数结构体
7778
8108
  */
@@ -8138,6 +8468,35 @@ export interface ModifyHostResponse {
8138
8468
  */
8139
8469
  RequestId?: string;
8140
8470
  }
8471
+ /**
8472
+ * ModifyLLMWafDLPRule请求参数结构体
8473
+ */
8474
+ export interface ModifyLLMWafDLPRuleRequest {
8475
+ /**
8476
+ * <p>服务ID</p>
8477
+ */
8478
+ ServiceId: string;
8479
+ /**
8480
+ * <p>要修改的规则id列表</p>
8481
+ */
8482
+ RuleIds: Array<string>;
8483
+ /**
8484
+ * <p>动作</p>
8485
+ */
8486
+ RuleAction?: string;
8487
+ /**
8488
+ * <p>开关</p>
8489
+ */
8490
+ Status?: number;
8491
+ /**
8492
+ * <p>实例id</p>
8493
+ */
8494
+ InstanceId?: string;
8495
+ /**
8496
+ * <p>检测方向:1是入向,2是出向,3是入向和出向都检测</p>
8497
+ */
8498
+ Direction?: number;
8499
+ }
8141
8500
  /**
8142
8501
  * DescribeCertificateVerifyResult请求参数结构体
8143
8502
  */
@@ -8759,13 +9118,41 @@ export interface DeleteSessionRequest {
8759
9118
  SessionID?: number;
8760
9119
  }
8761
9120
  /**
8762
- * ModifyOwaspDomainUpdateStatus返回参数结构体
9121
+ * LLM waf 自定义词库实体
8763
9122
  */
8764
- export interface ModifyOwaspDomainUpdateStatusResponse {
9123
+ export interface LLMKeywordLibrary {
8765
9124
  /**
8766
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9125
+ * 词库名
8767
9126
  */
8768
- RequestId?: string;
9127
+ Name: string;
9128
+ /**
9129
+ * 词库描述
9130
+ */
9131
+ Description: string;
9132
+ /**
9133
+ * 词库类型,custom 或 builtin
9134
+ */
9135
+ Type: string;
9136
+ /**
9137
+ * 关键词列表
9138
+ */
9139
+ Keywords: Array<string>;
9140
+ /**
9141
+ * 词库规则 id
9142
+ */
9143
+ RuleId?: string;
9144
+ /**
9145
+ * 被引用的规则 id 列表
9146
+ */
9147
+ ReferencedRules?: Array<string>;
9148
+ /**
9149
+ * 更新时间
9150
+ */
9151
+ UpdateTime?: number;
9152
+ /**
9153
+ * 词库类别:black-黑库(默认),white-白库;空值按黑库处理
9154
+ */
9155
+ Category?: string;
8769
9156
  }
8770
9157
  /**
8771
9158
  * SearchAttackLog请求参数结构体
@@ -8804,6 +9191,15 @@ export interface SearchAttackLogRequest {
8804
9191
  */
8805
9192
  Page?: number;
8806
9193
  }
9194
+ /**
9195
+ * ModifyIpAccessControl返回参数结构体
9196
+ */
9197
+ export interface ModifyIpAccessControlResponse {
9198
+ /**
9199
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9200
+ */
9201
+ RequestId?: string;
9202
+ }
8807
9203
  /**
8808
9204
  * AddCustomRule返回参数结构体
8809
9205
  */
@@ -11568,25 +11964,13 @@ export interface DeleteExportRequest {
11568
11964
  ExportId: string;
11569
11965
  }
11570
11966
  /**
11571
- * ModifyApiAnalyzeStatus请求参数结构体
11967
+ * ExportLLMKeywordLib请求参数结构体
11572
11968
  */
11573
- export interface ModifyApiAnalyzeStatusRequest {
11574
- /**
11575
- * 开关状态
11576
- */
11577
- Status: number;
11578
- /**
11579
- * 域名
11580
- */
11581
- Domain?: string;
11582
- /**
11583
- * 实例id
11584
- */
11585
- InstanceId?: string;
11969
+ export interface ExportLLMKeywordLibRequest {
11586
11970
  /**
11587
- * 需要批量开启的实体列表
11971
+ * 要导出的词库id列表
11588
11972
  */
11589
- TargetList?: Array<TargetEntity>;
11973
+ RuleIds: Array<string>;
11590
11974
  }
11591
11975
  /**
11592
11976
  * ModifyAntiInfoLeakRuleStatus返回参数结构体
@@ -11597,6 +11981,27 @@ export interface ModifyAntiInfoLeakRuleStatusResponse {
11597
11981
  */
11598
11982
  RequestId?: string;
11599
11983
  }
11984
+ /**
11985
+ * UpdateProtectionModes请求参数结构体
11986
+ */
11987
+ export interface UpdateProtectionModesRequest {
11988
+ /**
11989
+ * 域名
11990
+ */
11991
+ Domain: string;
11992
+ /**
11993
+ * 资源类型
11994
+ */
11995
+ Edition: string;
11996
+ /**
11997
+ * 大类规则ID
11998
+ */
11999
+ TypeIDs: Array<string>;
12000
+ /**
12001
+ * 0表示观察,1表示拦截
12002
+ */
12003
+ Mode: number;
12004
+ }
11600
12005
  /**
11601
12006
  * 自研版限流规则数据结构
11602
12007
  */
@@ -12262,9 +12667,65 @@ export interface DescribeAreaBanRuleRequest {
12262
12667
  Domain: string;
12263
12668
  }
12264
12669
  /**
12265
- * ModifyIpAccessControl返回参数结构体
12670
+ * DescribeApiDetail返回参数结构体
12266
12671
  */
12267
- export interface ModifyIpAccessControlResponse {
12672
+ export interface DescribeApiDetailResponse {
12673
+ /**
12674
+ * 请求样例,json字符串格式
12675
+ */
12676
+ Log?: string;
12677
+ /**
12678
+ * 完整请求样例
12679
+ */
12680
+ FullReqLog?: string;
12681
+ /**
12682
+ * 请求参数样例列表
12683
+ */
12684
+ ParameterList?: Array<ApiParameterType>;
12685
+ /**
12686
+ * 当前场景标签
12687
+ */
12688
+ Scene?: string;
12689
+ /**
12690
+ * 敏感字段
12691
+ */
12692
+ SensitiveFields?: Array<string>;
12693
+ /**
12694
+ * 7天内是否活跃
12695
+ */
12696
+ IsActive?: boolean;
12697
+ /**
12698
+ * 访问ip数
12699
+ */
12700
+ IpCount?: number;
12701
+ /**
12702
+ * 访问地域数量
12703
+ */
12704
+ RegionCount?: number;
12705
+ /**
12706
+ * 关联事件数
12707
+ */
12708
+ EventCount?: number;
12709
+ /**
12710
+ * 涉敏数据条数
12711
+ */
12712
+ SensitiveCount?: number;
12713
+ /**
12714
+ * 风险等级
12715
+ */
12716
+ Level?: number;
12717
+ /**
12718
+ * 响应体
12719
+ */
12720
+ RspLog?: string;
12721
+ /**
12722
+ * 昨日访问峰值QPS
12723
+ */
12724
+ MaxQPS?: number;
12725
+ /**
12726
+ * 历史样例
12727
+ */
12728
+ ApiDetailSampleHistory?: Array<ApiDetailSampleHistory>;
12268
12729
  /**
12269
12730
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12270
12731
  */
@@ -12855,6 +13316,19 @@ export interface DescribeApiSecEventListResponse {
12855
13316
  */
12856
13317
  RequestId?: string;
12857
13318
  }
13319
+ /**
13320
+ * ModifyLLMStatus返回参数结构体
13321
+ */
13322
+ export interface ModifyLLMStatusResponse {
13323
+ /**
13324
+ * <p>操作结果,成功时返回 &quot;Success&quot;。</p>
13325
+ */
13326
+ Res?: string;
13327
+ /**
13328
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13329
+ */
13330
+ RequestId?: string;
13331
+ }
12858
13332
  /**
12859
13333
  * Token有效性校验规则
12860
13334
  */
@@ -13049,6 +13523,19 @@ export interface DescribeWafAutoDenyRulesResponse {
13049
13523
  */
13050
13524
  RequestId?: string;
13051
13525
  }
13526
+ /**
13527
+ * ModifyInstanceName返回参数结构体
13528
+ */
13529
+ export interface ModifyInstanceNameResponse {
13530
+ /**
13531
+ * 修改状态:0为成功
13532
+ */
13533
+ ModifyCode?: number;
13534
+ /**
13535
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13536
+ */
13537
+ RequestId?: string;
13538
+ }
13052
13539
  /**
13053
13540
  * ModifyDomainPostAction返回参数结构体
13054
13541
  */
@@ -13278,6 +13765,15 @@ export interface ModifyModuleStatusRequest {
13278
13765
  */
13279
13766
  GzipAnalysis?: number;
13280
13767
  }
13768
+ /**
13769
+ * DeleteLLMContentRule返回参数结构体
13770
+ */
13771
+ export interface DeleteLLMContentRuleResponse {
13772
+ /**
13773
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13774
+ */
13775
+ RequestId?: string;
13776
+ }
13281
13777
  /**
13282
13778
  * ModifyUserSignatureRuleV2返回参数结构体
13283
13779
  */
@@ -13937,6 +14433,83 @@ export interface DescribeAttackWhiteRuleRequest {
13937
14433
  */
13938
14434
  Filters?: Array<FiltersItemNew>;
13939
14435
  }
14436
+ /**
14437
+ * sdk接入配置
14438
+ */
14439
+ export interface LLMSdkAccessItem {
14440
+ /**
14441
+ * <p>服务id</p>
14442
+ */
14443
+ Domain?: string;
14444
+ /**
14445
+ * <p>服务名称</p>
14446
+ */
14447
+ Name?: string;
14448
+ /**
14449
+ * <p>备注</p>
14450
+ */
14451
+ Remark?: string;
14452
+ /**
14453
+ * <p>SDK接入来源,tokenhub 表示通过 TokenHub 创建,空字符串表示通过控制台创建</p>
14454
+ */
14455
+ SdkSource?: string;
14456
+ /**
14457
+ * <p>总开关</p>
14458
+ */
14459
+ MainStatus?: boolean;
14460
+ /**
14461
+ * <p>限速开关</p>
14462
+ */
14463
+ LimitRuleStatus?: boolean;
14464
+ /**
14465
+ * <p>内容安全开关</p>
14466
+ */
14467
+ ContentRuleStatus?: boolean;
14468
+ /**
14469
+ * <p>创建时间</p>
14470
+ */
14471
+ CreateTime?: number;
14472
+ /**
14473
+ * <p>修改时间</p>
14474
+ */
14475
+ UpdateTime?: number;
14476
+ /**
14477
+ * <p>限流规则数量</p>
14478
+ */
14479
+ LimitRuleCount?: number;
14480
+ /**
14481
+ * <p>内容安全规则数量</p>
14482
+ */
14483
+ ContentRuleCount?: number;
14484
+ /**
14485
+ * <p>toolcall防护开关</p>
14486
+ */
14487
+ ToolCallStatus?: boolean;
14488
+ /**
14489
+ * <p>llm推理防护开关</p>
14490
+ */
14491
+ LLMProtectStatus?: boolean;
14492
+ /**
14493
+ * <p>内容合规检测开关</p>
14494
+ */
14495
+ ContentComplianceStatus?: boolean;
14496
+ /**
14497
+ * <p>dlp防护开关</p>
14498
+ */
14499
+ DLPStatus?: boolean;
14500
+ /**
14501
+ * <p>skills防护开关</p>
14502
+ */
14503
+ SkillsStatus?: boolean;
14504
+ /**
14505
+ * <p>意图识别检测开关</p>
14506
+ */
14507
+ IntentStatus?: boolean;
14508
+ /**
14509
+ * <p>生效规则数量</p>
14510
+ */
14511
+ EffectiveRules?: number;
14512
+ }
13940
14513
  /**
13941
14514
  * DescribeAntiInfoLeakageRules返回参数结构体
13942
14515
  */
@@ -14200,6 +14773,23 @@ export interface DescribeAttackTypeRequest {
14200
14773
  */
14201
14774
  Domain?: string;
14202
14775
  }
14776
+ /**
14777
+ * 按分类分组的规则列表
14778
+ */
14779
+ export interface CategoryGroup {
14780
+ /**
14781
+ * <p>分类</p>
14782
+ */
14783
+ Category?: string;
14784
+ /**
14785
+ * <p>总数</p>
14786
+ */
14787
+ Count?: number;
14788
+ /**
14789
+ * <p>规则列表</p>
14790
+ */
14791
+ Rules?: Array<RuleDetail>;
14792
+ }
14203
14793
  /**
14204
14794
  * ModifyCustomWhiteRule请求参数结构体
14205
14795
  */
@@ -15095,6 +15685,43 @@ export interface ModifyModuleStatusResponse {
15095
15685
  */
15096
15686
  RequestId?: string;
15097
15687
  }
15688
+ /**
15689
+ * aiguard规则详情
15690
+ */
15691
+ export interface RuleDetail {
15692
+ /**
15693
+ * <p>规则ID</p>
15694
+ */
15695
+ RuleId?: string;
15696
+ /**
15697
+ * <p>规则名称</p>
15698
+ */
15699
+ RuleName?: string;
15700
+ /**
15701
+ * <p>描述</p>
15702
+ */
15703
+ Description?: string;
15704
+ /**
15705
+ * <p>严重度</p>
15706
+ */
15707
+ Severity?: string;
15708
+ /**
15709
+ * <p>动作</p>
15710
+ */
15711
+ Action?: string;
15712
+ /**
15713
+ * <p>开关</p>
15714
+ */
15715
+ Status?: number;
15716
+ /**
15717
+ * <p>脱敏样例</p>
15718
+ */
15719
+ DesensitizeSample?: string;
15720
+ /**
15721
+ * <p>检测方向</p><p>取值范围:[0, 3]</p>
15722
+ */
15723
+ Direction?: number;
15724
+ }
15098
15725
  /**
15099
15726
  * 修改/新增自定义规则的入参,查询自定义规则列表时的出参
15100
15727
  */
@@ -15492,6 +16119,23 @@ export interface TokenRuleEntryValue {
15492
16119
  */
15493
16120
  ValidKey?: string;
15494
16121
  }
16122
+ /**
16123
+ * DescribeLLMWafProtectRules请求参数结构体
16124
+ */
16125
+ export interface DescribeLLMWafProtectRulesRequest {
16126
+ /**
16127
+ * <p>服务ID</p>
16128
+ */
16129
+ ServiceId?: string;
16130
+ /**
16131
+ * <p>实例id</p>
16132
+ */
16133
+ InstanceId?: string;
16134
+ /**
16135
+ * <p>规则类型</p>
16136
+ */
16137
+ RuleType?: string;
16138
+ }
15495
16139
  /**
15496
16140
  * 限流Header数据结构
15497
16141
  */
@@ -15552,6 +16196,19 @@ export interface ModifyApiSecEventChangeResponse {
15552
16196
  */
15553
16197
  RequestId?: string;
15554
16198
  }
16199
+ /**
16200
+ * CreateAccessExport返回参数结构体
16201
+ */
16202
+ export interface CreateAccessExportResponse {
16203
+ /**
16204
+ * 日志导出ID。
16205
+ */
16206
+ ExportId?: string;
16207
+ /**
16208
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16209
+ */
16210
+ RequestId?: string;
16211
+ }
15555
16212
  /**
15556
16213
  * ModifyCustomWhiteRuleStatus返回参数结构体
15557
16214
  */
@@ -15612,6 +16269,15 @@ export interface ModifyAntiFakeUrlStatusRequest {
15612
16269
  */
15613
16270
  Ids: Array<number | bigint>;
15614
16271
  }
16272
+ /**
16273
+ * DeleteLLMKeywordLibrary请求参数结构体
16274
+ */
16275
+ export interface DeleteLLMKeywordLibraryRequest {
16276
+ /**
16277
+ * 要删除的词库 id 列表
16278
+ */
16279
+ Ids?: Array<string>;
16280
+ }
15615
16281
  /**
15616
16282
  * DescribePeakValue请求参数结构体
15617
16283
  */
@@ -15804,13 +16470,17 @@ export interface DescribeDomainRulesResponse {
15804
16470
  RequestId?: string;
15805
16471
  }
15806
16472
  /**
15807
- * DeleteProtectGroup请求参数结构体
16473
+ * DescribeLLMWafDLPRules请求参数结构体
15808
16474
  */
15809
- export interface DeleteProtectGroupRequest {
16475
+ export interface DescribeLLMWafDLPRulesRequest {
15810
16476
  /**
15811
- * 防护对象组ID列表,支持批量删除
16477
+ * <p>服务ID</p>
15812
16478
  */
15813
- GroupIds?: Array<number | bigint>;
16479
+ ServiceId?: string;
16480
+ /**
16481
+ * <p>实例id</p>
16482
+ */
16483
+ InstanceId?: string;
15814
16484
  }
15815
16485
  /**
15816
16486
  * CreateDeals返回参数结构体
@@ -15833,6 +16503,35 @@ export interface CreateDealsResponse {
15833
16503
  */
15834
16504
  RequestId?: string;
15835
16505
  }
16506
+ /**
16507
+ * DescribeOwaspRules请求参数结构体
16508
+ */
16509
+ export interface DescribeOwaspRulesRequest {
16510
+ /**
16511
+ * 需要查询的域名
16512
+ */
16513
+ Domain: string;
16514
+ /**
16515
+ * 分页页数,默认为0
16516
+ */
16517
+ Offset?: number;
16518
+ /**
16519
+ * 每页容量,默认为10
16520
+ */
16521
+ Limit?: number;
16522
+ /**
16523
+ * 排序字段,支持 RuleId, ModifyTime
16524
+ */
16525
+ By?: string;
16526
+ /**
16527
+ * 排序方式,支持asc、desc
16528
+ */
16529
+ Order?: string;
16530
+ /**
16531
+ * 筛选条件,支持 RuleId:规则ID、TypeId:规则类型、Desc:规则描述 、CveID:CVE编号、Status:规则状态、VulLevel:威胁等级
16532
+ */
16533
+ Filters?: Array<FiltersItemNew>;
16534
+ }
15836
16535
  /**
15837
16536
  * EnableClientMsg返回参数结构体
15838
16537
  */
@@ -15855,6 +16554,23 @@ export interface DestroyPostCKafkaFlowResponse {
15855
16554
  */
15856
16555
  RequestId?: string;
15857
16556
  }
16557
+ /**
16558
+ * ModifyLLMContentRuleStatus请求参数结构体
16559
+ */
16560
+ export interface ModifyLLMContentRuleStatusRequest {
16561
+ /**
16562
+ * <p>状态</p>
16563
+ */
16564
+ Status: number;
16565
+ /**
16566
+ * <p>Id列表</p>
16567
+ */
16568
+ Ids: Array<string>;
16569
+ /**
16570
+ * <p>域名</p>
16571
+ */
16572
+ Domain?: string;
16573
+ }
15858
16574
  /**
15859
16575
  * DescribeCiphersDetail请求参数结构体
15860
16576
  */
@@ -16170,6 +16886,91 @@ export interface AutoDenyDetail {
16170
16886
  */
16171
16887
  LastUpdateTime?: string;
16172
16888
  }
16889
+ /**
16890
+ * ModifyLLMContentRule请求参数结构体
16891
+ */
16892
+ export interface ModifyLLMContentRuleRequest {
16893
+ /**
16894
+ * <p>名称</p>
16895
+ */
16896
+ Name: string;
16897
+ /**
16898
+ * <p>优先级</p>
16899
+ */
16900
+ Priority: number;
16901
+ /**
16902
+ * <p>规则开关</p>
16903
+ */
16904
+ Status: number;
16905
+ /**
16906
+ * <p>检测范围,1:入向,2:出向,3:入向和出向</p>
16907
+ */
16908
+ CheckType: number;
16909
+ /**
16910
+ * <p>检测内容匹配</p>
16911
+ */
16912
+ RuleItem: Array<RuleItem>;
16913
+ /**
16914
+ * <p>匹配条件</p>
16915
+ */
16916
+ Options: Array<LLMOptionsItem>;
16917
+ /**
16918
+ * <p>域名</p>
16919
+ */
16920
+ Domain?: string;
16921
+ /**
16922
+ * <p>动作,观察monitor,拦截intercept</p>
16923
+ */
16924
+ ActionType?: string;
16925
+ /**
16926
+ * <p>响应提示内容</p>
16927
+ */
16928
+ ResponseText?: string;
16929
+ /**
16930
+ * <p>规则需要启用的SessionID</p>
16931
+ */
16932
+ SessionApplied?: Array<string>;
16933
+ /**
16934
+ * <p>规则ID,新增时填0</p>
16935
+ */
16936
+ RuleId?: string;
16937
+ /**
16938
+ * <p>拦截页面id</p>
16939
+ */
16940
+ PageId?: number;
16941
+ /**
16942
+ * <p>检测内容and or表达式,默认为and</p>
16943
+ */
16944
+ ContentLogicalOp?: string;
16945
+ /**
16946
+ * <p>实例id,必填项</p>
16947
+ */
16948
+ InstanceId?: string;
16949
+ /**
16950
+ * <p>代答类型:1-内置可信模型安全代答,2-自定义代答(ActionType=reply时生效</p><p>枚举值:</p><ul><li>1: 内置可信模型安全代答</li><li>2: 自定义代答ActionType=reply时生效</li></ul>
16951
+ */
16952
+ ReplyType?: number;
16953
+ /**
16954
+ * <p>自定义回答模板</p>
16955
+ */
16956
+ CustomReplyRuleId?: string;
16957
+ /**
16958
+ * <p>模态类型:0-文本(默认),1-图片</p><p>枚举值:</p><ul><li>0: 文本</li><li>1: 图片</li></ul>
16959
+ */
16960
+ ModalType?: number;
16961
+ /**
16962
+ * <p>规则类别:black-普通规则(默认),white-白名单规则;空值按black处理。white时ActionType仅允许pass(放行),RuleItem支持白名单匹配字段(Key: ip/geo/type/content/chat_id/user_id/tool_name/tool_args/keyword_whitelist;Op: belong/not_belong/equal/not_equal/contain/not_contain/prefix/suffix/wildcard)</p>
16963
+ */
16964
+ Category?: string;
16965
+ /**
16966
+ * <p>白名单规则生效范围:多个serviceId/domain列表(Category=white时使用),表示该白名单规则同时生效于哪些域名/serviceId。黑名单规则不使用此字段。</p>
16967
+ */
16968
+ Domains?: Array<string>;
16969
+ /**
16970
+ * <p>加白生效模块type列表(Category=white时使用),表示该白名单规则命中后对哪些防护模块生效(放行)。取值:2-算力消耗规则,3-自定义防护规则,4-ToolCall防护,5-提示词攻击防护,6-内容合规检测,7-敏感数据检测。</p>
16971
+ */
16972
+ AppliedModules?: Array<number | bigint>;
16973
+ }
16173
16974
  /**
16174
16975
  * DeleteBatchIpAccessControl请求参数结构体
16175
16976
  */
@@ -16197,25 +16998,17 @@ export interface DescribeWebshellStatusResponse {
16197
16998
  RequestId?: string;
16198
16999
  }
16199
17000
  /**
16200
- * UpdateProtectionModes请求参数结构体
17001
+ * ModifyLLMContentRule返回参数结构体
16201
17002
  */
16202
- export interface UpdateProtectionModesRequest {
17003
+ export interface ModifyLLMContentRuleResponse {
16203
17004
  /**
16204
- * 域名
17005
+ * <p>操作的RuleId</p>
16205
17006
  */
16206
- Domain: string;
16207
- /**
16208
- * 资源类型
16209
- */
16210
- Edition: string;
16211
- /**
16212
- * 大类规则ID
16213
- */
16214
- TypeIDs: Array<string>;
17007
+ RuleId?: string;
16215
17008
  /**
16216
- * 0表示观察,1表示拦截
17009
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16217
17010
  */
16218
- Mode: number;
17011
+ RequestId?: string;
16219
17012
  }
16220
17013
  /**
16221
17014
  * 域名列表
@@ -16318,65 +17111,17 @@ export interface DescribeVipInfoResponse {
16318
17111
  RequestId?: string;
16319
17112
  }
16320
17113
  /**
16321
- * DescribeApiDetail返回参数结构体
17114
+ * DescribeLLMKeywordLibrary返回参数结构体
16322
17115
  */
16323
- export interface DescribeApiDetailResponse {
17116
+ export interface DescribeLLMKeywordLibraryResponse {
16324
17117
  /**
16325
- * 请求样例,json字符串格式
17118
+ * 关键词库列表
16326
17119
  */
16327
- Log?: string;
17120
+ LibList?: Array<LLMKeywordLibrary>;
16328
17121
  /**
16329
- * 完整请求样例
17122
+ * 词库总数
16330
17123
  */
16331
- FullReqLog?: string;
16332
- /**
16333
- * 请求参数样例列表
16334
- */
16335
- ParameterList?: Array<ApiParameterType>;
16336
- /**
16337
- * 当前场景标签
16338
- */
16339
- Scene?: string;
16340
- /**
16341
- * 敏感字段
16342
- */
16343
- SensitiveFields?: Array<string>;
16344
- /**
16345
- * 7天内是否活跃
16346
- */
16347
- IsActive?: boolean;
16348
- /**
16349
- * 访问ip数
16350
- */
16351
- IpCount?: number;
16352
- /**
16353
- * 访问地域数量
16354
- */
16355
- RegionCount?: number;
16356
- /**
16357
- * 关联事件数
16358
- */
16359
- EventCount?: number;
16360
- /**
16361
- * 涉敏数据条数
16362
- */
16363
- SensitiveCount?: number;
16364
- /**
16365
- * 风险等级
16366
- */
16367
- Level?: number;
16368
- /**
16369
- * 响应体
16370
- */
16371
- RspLog?: string;
16372
- /**
16373
- * 昨日访问峰值QPS
16374
- */
16375
- MaxQPS?: number;
16376
- /**
16377
- * 历史样例
16378
- */
16379
- ApiDetailSampleHistory?: Array<ApiDetailSampleHistory>;
17124
+ Total?: number;
16380
17125
  /**
16381
17126
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16382
17127
  */
@@ -16996,41 +17741,17 @@ export interface DescribeObjectsResponse {
16996
17741
  RequestId?: string;
16997
17742
  }
16998
17743
  /**
16999
- * SearchAccessLog请求参数结构体
17744
+ * ExportLLMKeywordLib返回参数结构体
17000
17745
  */
17001
- export interface SearchAccessLogRequest {
17002
- /**
17003
- * 客户要查询的日志主题ID,每个客户都有对应的一个主题,新版本此字段填空字符串
17004
- */
17005
- TopicId: string;
17006
- /**
17007
- * 要查询的日志的起始时间,Unix时间戳,单位ms
17008
- */
17009
- From: number;
17010
- /**
17011
- * 要查询的日志的结束时间,Unix时间戳,单位ms
17012
- */
17013
- To: number;
17014
- /**
17015
- * 查询语句,语句长度最大为4096
17016
- */
17017
- Query: string;
17018
- /**
17019
- * 单次查询返回的日志条数,最大值为100
17020
- */
17021
- Limit?: number;
17022
- /**
17023
- * 新版本此字段失效,填空字符串,翻页使用Page
17024
- */
17025
- Context?: string;
17746
+ export interface ExportLLMKeywordLibResponse {
17026
17747
  /**
17027
- * 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
17748
+ * 导出的文件url
17028
17749
  */
17029
- Sort?: string;
17750
+ Url?: string;
17030
17751
  /**
17031
- * 第几页,从0开始。新版本接口字段
17752
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17032
17753
  */
17033
- Page?: number;
17754
+ RequestId?: string;
17034
17755
  }
17035
17756
  /**
17036
17757
  * 小程序安全接入ID扩展资源信息