tccli 3.0.1344.1__py2.py3-none-any.whl → 3.0.1346.1__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.
- tccli/__init__.py +1 -1
- tccli/services/aiart/aiart_client.py +167 -61
- tccli/services/aiart/v20221229/api.json +253 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/apm/v20210622/api.json +228 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/batch/v20170312/api.json +2 -2
- tccli/services/ccc/ccc_client.py +61 -8
- tccli/services/ccc/v20200210/api.json +121 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +65 -65
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/csip/csip_client.py +167 -8
- tccli/services/csip/v20221121/api.json +877 -0
- tccli/services/csip/v20221121/examples.json +36 -0
- tccli/services/emr/v20190103/api.json +22 -1
- tccli/services/ess/v20201111/api.json +42 -2
- tccli/services/essbasic/v20210526/api.json +21 -1
- tccli/services/gs/v20191118/api.json +1 -1
- tccli/services/mps/v20190612/api.json +2 -2
- tccli/services/oceanus/v20190422/api.json +168 -8
- tccli/services/redis/v20180412/api.json +9 -0
- tccli/services/trocket/v20230308/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +29 -0
- tccli/services/waf/v20180125/api.json +52 -2
- {tccli-3.0.1344.1.dist-info → tccli-3.0.1346.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1344.1.dist-info → tccli-3.0.1346.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1344.1.dist-info → tccli-3.0.1346.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1344.1.dist-info → tccli-3.0.1346.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1344.1.dist-info → tccli-3.0.1346.1.dist-info}/license_files/LICENSE +0 -0
@@ -133,6 +133,20 @@
|
|
133
133
|
"output": "TextToImageResponse",
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
|
+
"TextToImageLite": {
|
137
|
+
"document": "混元文生图接口,基于混元大模型,根据输入的文本描述智能生成图片\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
138
|
+
"input": "TextToImageLiteRequest",
|
139
|
+
"name": "文生图轻量版",
|
140
|
+
"output": "TextToImageLiteResponse",
|
141
|
+
"status": "online"
|
142
|
+
},
|
143
|
+
"TextToImageRapid": {
|
144
|
+
"document": "混元文生图接口,基于混元大模型,根据输入的文本描述智能生成图片\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
145
|
+
"input": "TextToImageRapidRequest",
|
146
|
+
"name": "文生图极速版",
|
147
|
+
"output": "TextToImageRapidResponse",
|
148
|
+
"status": "online"
|
149
|
+
},
|
136
150
|
"UploadTrainPortraitImages": {
|
137
151
|
"document": "AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。\n本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。\n可选模式:\n- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。\n- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。\n- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。\n\n上传写真训练图片默认提供1个并发。",
|
138
152
|
"input": "UploadTrainPortraitImagesRequest",
|
@@ -387,6 +401,34 @@
|
|
387
401
|
],
|
388
402
|
"type": "object"
|
389
403
|
},
|
404
|
+
"Image": {
|
405
|
+
"document": "图片",
|
406
|
+
"members": [
|
407
|
+
{
|
408
|
+
"disabled": false,
|
409
|
+
"document": "图片Base64",
|
410
|
+
"example": "MIIHNjCCBh6gAwIBAgIQCVe4E0h49mzI0NcSqMy1",
|
411
|
+
"member": "string",
|
412
|
+
"name": "Base64",
|
413
|
+
"output_required": false,
|
414
|
+
"required": false,
|
415
|
+
"type": "string",
|
416
|
+
"value_allowed_null": false
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"disabled": false,
|
420
|
+
"document": "图片Url",
|
421
|
+
"example": "https://123.jpg",
|
422
|
+
"member": "string",
|
423
|
+
"name": "Url",
|
424
|
+
"output_required": false,
|
425
|
+
"required": false,
|
426
|
+
"type": "string",
|
427
|
+
"value_allowed_null": false
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"usage": "both"
|
431
|
+
},
|
390
432
|
"ImageInpaintingRemovalRequest": {
|
391
433
|
"document": "ImageInpaintingRemoval请求参数结构体",
|
392
434
|
"members": [
|
@@ -1923,6 +1965,217 @@
|
|
1923
1965
|
],
|
1924
1966
|
"type": "object"
|
1925
1967
|
},
|
1968
|
+
"TextToImageLiteRequest": {
|
1969
|
+
"document": "TextToImageLite请求参数结构体",
|
1970
|
+
"members": [
|
1971
|
+
{
|
1972
|
+
"disabled": false,
|
1973
|
+
"document": "文本描述。将根据输入的文本智能生成与之相关的图像。\n不能为空,推荐使用中文。最多可传1024个 utf-8 字符。",
|
1974
|
+
"example": "雨中, 竹林, 小路",
|
1975
|
+
"member": "string",
|
1976
|
+
"name": "Prompt",
|
1977
|
+
"required": true,
|
1978
|
+
"type": "string"
|
1979
|
+
},
|
1980
|
+
{
|
1981
|
+
"disabled": false,
|
1982
|
+
"document": "反向提示词。 减少生成结果中出现描述内容。\n推荐使用中文。最多可传1024个 utf-8 字符。",
|
1983
|
+
"example": "黑色",
|
1984
|
+
"member": "string",
|
1985
|
+
"name": "NegativePrompt",
|
1986
|
+
"required": false,
|
1987
|
+
"type": "string"
|
1988
|
+
},
|
1989
|
+
{
|
1990
|
+
"disabled": false,
|
1991
|
+
"document": "生成图分辨率,默认1024:1024。\n支持的图像宽高比例: 1:1,3:4,4:3,9:16,16:9。\n支持的长边分辨率: 160,200,225,258,512,520,608,768,1024,1080,1280,1600,1620,1920,2048,2400,2560,2592,3440,3840,4096。",
|
1992
|
+
"example": "1024:1024",
|
1993
|
+
"member": "string",
|
1994
|
+
"name": "Resolution",
|
1995
|
+
"required": false,
|
1996
|
+
"type": "string"
|
1997
|
+
},
|
1998
|
+
{
|
1999
|
+
"disabled": false,
|
2000
|
+
"document": "随机种子,默认随机。\n0:随机种子生成。\n不传:随机种子生成。\n正数:固定种子生成。\n",
|
2001
|
+
"example": "1",
|
2002
|
+
"member": "int64",
|
2003
|
+
"name": "Seed",
|
2004
|
+
"required": false,
|
2005
|
+
"type": "int"
|
2006
|
+
},
|
2007
|
+
{
|
2008
|
+
"disabled": false,
|
2009
|
+
"document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
2010
|
+
"example": "1",
|
2011
|
+
"member": "int64",
|
2012
|
+
"name": "LogoAdd",
|
2013
|
+
"required": false,
|
2014
|
+
"type": "int"
|
2015
|
+
},
|
2016
|
+
{
|
2017
|
+
"disabled": false,
|
2018
|
+
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
2019
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
2020
|
+
"member": "LogoParam",
|
2021
|
+
"name": "LogoParam",
|
2022
|
+
"required": false,
|
2023
|
+
"type": "object"
|
2024
|
+
},
|
2025
|
+
{
|
2026
|
+
"disabled": false,
|
2027
|
+
"document": "返回图像方式(base64 或 url),二选一,默认为 base64。url 有效期为1小时。",
|
2028
|
+
"example": "url",
|
2029
|
+
"member": "string",
|
2030
|
+
"name": "RspImgType",
|
2031
|
+
"required": false,
|
2032
|
+
"type": "string"
|
2033
|
+
}
|
2034
|
+
],
|
2035
|
+
"type": "object"
|
2036
|
+
},
|
2037
|
+
"TextToImageLiteResponse": {
|
2038
|
+
"document": "TextToImageLite返回参数结构体",
|
2039
|
+
"members": [
|
2040
|
+
{
|
2041
|
+
"disabled": false,
|
2042
|
+
"document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
|
2043
|
+
"example": "https://xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg",
|
2044
|
+
"member": "string",
|
2045
|
+
"name": "ResultImage",
|
2046
|
+
"output_required": true,
|
2047
|
+
"type": "string",
|
2048
|
+
"value_allowed_null": false
|
2049
|
+
},
|
2050
|
+
{
|
2051
|
+
"disabled": false,
|
2052
|
+
"document": "Seed",
|
2053
|
+
"example": "1",
|
2054
|
+
"member": "int64",
|
2055
|
+
"name": "Seed",
|
2056
|
+
"output_required": false,
|
2057
|
+
"type": "int",
|
2058
|
+
"value_allowed_null": false
|
2059
|
+
},
|
2060
|
+
{
|
2061
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2062
|
+
"member": "string",
|
2063
|
+
"name": "RequestId",
|
2064
|
+
"type": "string"
|
2065
|
+
}
|
2066
|
+
],
|
2067
|
+
"type": "object"
|
2068
|
+
},
|
2069
|
+
"TextToImageRapidRequest": {
|
2070
|
+
"document": "TextToImageRapid请求参数结构体",
|
2071
|
+
"members": [
|
2072
|
+
{
|
2073
|
+
"disabled": false,
|
2074
|
+
"document": "文本描述。\n算法将根据输入的文本智能生成与之相关的图像。建议详细描述画面主体、细节、场景等,文本描述越丰富,生成效果越精美。\n不能为空,推荐使用中文。最多可传256个 utf-8 字符。",
|
2075
|
+
"example": "雨中, 竹林, 小路",
|
2076
|
+
"member": "string",
|
2077
|
+
"name": "Prompt",
|
2078
|
+
"required": true,
|
2079
|
+
"type": "string"
|
2080
|
+
},
|
2081
|
+
{
|
2082
|
+
"disabled": false,
|
2083
|
+
"document": "生成图分辨率,默认1024:1024。\n支持的图像宽高比例: 1:1,3:4,4:3,9:16,16:9。\n支持的长边分辨率: 160,200,225,258,512,520,608,768,1024,1080,1280,1600,1620,1920,2048,2400,2560,2592,3440,3840,4096。",
|
2084
|
+
"example": "1024:1024",
|
2085
|
+
"member": "string",
|
2086
|
+
"name": "Resolution",
|
2087
|
+
"required": false,
|
2088
|
+
"type": "string"
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
"disabled": false,
|
2092
|
+
"document": "随机种子,默认随机。\n0:随机种子生成。\n不传:随机种子生成。\n正数:固定种子生成。\n",
|
2093
|
+
"example": "1",
|
2094
|
+
"member": "int64",
|
2095
|
+
"name": "Seed",
|
2096
|
+
"required": false,
|
2097
|
+
"type": "int"
|
2098
|
+
},
|
2099
|
+
{
|
2100
|
+
"disabled": false,
|
2101
|
+
"document": "参考图。\n\n- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。\n- 当传入Image参数时,Style和Resolution参数不生效,输出图分辨率将保持Image传入图分辨率。\n- 图片限制:单边分辨率大于128且小于2048;图片小于6M;格式支持 jpg、jpeg、png、bmp、tiff、webp。",
|
2102
|
+
"example": "\"Image\":{\"Url\":\"https://***/test.png\", \"Base64\": \"\"}",
|
2103
|
+
"member": "Image",
|
2104
|
+
"name": "Image",
|
2105
|
+
"required": false,
|
2106
|
+
"type": "object"
|
2107
|
+
},
|
2108
|
+
{
|
2109
|
+
"disabled": false,
|
2110
|
+
"document": "生成的图片风格,参考值:\n\n1:宫崎骏风格;\n2:新海诚风格;\n3:去旅行风格;\n4:水彩风格;\n5:像素风格;\n6:童话世界风格;\n7:奇趣卡通风格;\n8:赛博朋克风格;\n9:极简风格;\n10:复古风格;\n11:暗黑系风格;\n12:波普风风格;\n13:糖果色风格;\n14:胶片电影风格;\n15:素描风格;\n16:水墨画风格;\n17:油画风格;\n18:粉笔风格;\n19:粘土风格;\n20:毛毡风格;\n21:刺绣风格;\n22:彩铅风格;\n23:莫奈风格;\n24:毕加索风格;\n25:穆夏风格;\n26:古风二次元风格;\n27:都市二次元风格;\n28:悬疑风格;\n29:校园风格;\n30:都市异能风格。",
|
2111
|
+
"example": "\"1\"",
|
2112
|
+
"member": "string",
|
2113
|
+
"name": "Style",
|
2114
|
+
"required": false,
|
2115
|
+
"type": "string"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
"disabled": false,
|
2119
|
+
"document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
2120
|
+
"example": "1",
|
2121
|
+
"member": "int64",
|
2122
|
+
"name": "LogoAdd",
|
2123
|
+
"required": false,
|
2124
|
+
"type": "int"
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
"disabled": false,
|
2128
|
+
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
2129
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
2130
|
+
"member": "LogoParam",
|
2131
|
+
"name": "LogoParam",
|
2132
|
+
"required": false,
|
2133
|
+
"type": "object"
|
2134
|
+
},
|
2135
|
+
{
|
2136
|
+
"disabled": false,
|
2137
|
+
"document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
|
2138
|
+
"example": "url",
|
2139
|
+
"member": "string",
|
2140
|
+
"name": "RspImgType",
|
2141
|
+
"required": false,
|
2142
|
+
"type": "string"
|
2143
|
+
}
|
2144
|
+
],
|
2145
|
+
"type": "object"
|
2146
|
+
},
|
2147
|
+
"TextToImageRapidResponse": {
|
2148
|
+
"document": "TextToImageRapid返回参数结构体",
|
2149
|
+
"members": [
|
2150
|
+
{
|
2151
|
+
"disabled": false,
|
2152
|
+
"document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
|
2153
|
+
"example": "https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7",
|
2154
|
+
"member": "string",
|
2155
|
+
"name": "ResultImage",
|
2156
|
+
"output_required": true,
|
2157
|
+
"type": "string",
|
2158
|
+
"value_allowed_null": false
|
2159
|
+
},
|
2160
|
+
{
|
2161
|
+
"disabled": false,
|
2162
|
+
"document": "Seed",
|
2163
|
+
"example": "1",
|
2164
|
+
"member": "int64",
|
2165
|
+
"name": "Seed",
|
2166
|
+
"output_required": false,
|
2167
|
+
"type": "int",
|
2168
|
+
"value_allowed_null": false
|
2169
|
+
},
|
2170
|
+
{
|
2171
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2172
|
+
"member": "string",
|
2173
|
+
"name": "RequestId",
|
2174
|
+
"type": "string"
|
2175
|
+
}
|
2176
|
+
],
|
2177
|
+
"type": "object"
|
2178
|
+
},
|
1926
2179
|
"TextToImageRequest": {
|
1927
2180
|
"document": "TextToImage请求参数结构体",
|
1928
2181
|
"members": [
|
@@ -152,6 +152,22 @@
|
|
152
152
|
"title": "调用示例"
|
153
153
|
}
|
154
154
|
],
|
155
|
+
"TextToImageLite": [
|
156
|
+
{
|
157
|
+
"document": "",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextToImageLite\n<公共请求参数>\n\n{\n \"Prompt\": \"小狗\",\n \"RspImgType\": \"url\"\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d5d96b7a-7fe3-4ea2-9dce-504e2c0d63cd\",\n \"ResultImage\": \"https://xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg\",\n \"Seed\": 2068699513\n }\n}",
|
160
|
+
"title": "调用示例"
|
161
|
+
}
|
162
|
+
],
|
163
|
+
"TextToImageRapid": [
|
164
|
+
{
|
165
|
+
"document": "",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextToImageRapid\n<公共请求参数>\n\n{\n \"Prompt\": \"画一个小狗\",\n \"Resolution\": \"1024:1024\",\n \"RspImgType\": \"url\"\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e77c02f6-44b1-4e67-a503-844ebb44f067\",\n \"ResultImage\": \"https://xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg\",\n \"Seed\": 4180030109\n }\n}",
|
168
|
+
"title": "调用示例"
|
169
|
+
}
|
170
|
+
],
|
155
171
|
"UploadTrainPortraitImages": [
|
156
172
|
{
|
157
173
|
"document": "成功调用上传",
|
@@ -920,6 +920,126 @@
|
|
920
920
|
"type": "string",
|
921
921
|
"value_allowed_null": false
|
922
922
|
},
|
923
|
+
{
|
924
|
+
"disabled": false,
|
925
|
+
"document": "是否开启删除任意文件检测(0-关闭,1-开启)",
|
926
|
+
"example": "0",
|
927
|
+
"member": "int64",
|
928
|
+
"name": "IsDeleteAnyFileAnalysis",
|
929
|
+
"output_required": true,
|
930
|
+
"type": "int",
|
931
|
+
"value_allowed_null": false
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"disabled": false,
|
935
|
+
"document": "是否开启读取任意文件检测(0-关闭,1-开启)",
|
936
|
+
"example": "0",
|
937
|
+
"member": "int64",
|
938
|
+
"name": "IsReadAnyFileAnalysis",
|
939
|
+
"output_required": true,
|
940
|
+
"type": "int",
|
941
|
+
"value_allowed_null": false
|
942
|
+
},
|
943
|
+
{
|
944
|
+
"disabled": false,
|
945
|
+
"document": "是否开启上传任意文件检测(0-关闭,1-开启)",
|
946
|
+
"example": "0",
|
947
|
+
"member": "int64",
|
948
|
+
"name": "IsUploadAnyFileAnalysis",
|
949
|
+
"output_required": true,
|
950
|
+
"type": "int",
|
951
|
+
"value_allowed_null": false
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"disabled": false,
|
955
|
+
"document": "是否开启包含任意文件检测(0-关闭,1-开启)",
|
956
|
+
"example": "0",
|
957
|
+
"member": "int64",
|
958
|
+
"name": "IsIncludeAnyFileAnalysis",
|
959
|
+
"output_required": true,
|
960
|
+
"type": "int",
|
961
|
+
"value_allowed_null": false
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"disabled": false,
|
965
|
+
"document": "是否开启目录遍历检测(0-关闭,1-开启)",
|
966
|
+
"example": "0",
|
967
|
+
"member": "int64",
|
968
|
+
"name": "IsDirectoryTraversalAnalysis",
|
969
|
+
"output_required": true,
|
970
|
+
"type": "int",
|
971
|
+
"value_allowed_null": false
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"disabled": false,
|
975
|
+
"document": "是否开启模板引擎注入检测(0-关闭,1-开启)",
|
976
|
+
"example": "0",
|
977
|
+
"member": "int64",
|
978
|
+
"name": "IsTemplateEngineInjectionAnalysis",
|
979
|
+
"output_required": true,
|
980
|
+
"type": "int",
|
981
|
+
"value_allowed_null": false
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"disabled": false,
|
985
|
+
"document": "是否开启脚本引擎注入检测(0-关闭,1-开启)",
|
986
|
+
"example": "0",
|
987
|
+
"member": "int64",
|
988
|
+
"name": "IsScriptEngineInjectionAnalysis",
|
989
|
+
"output_required": true,
|
990
|
+
"type": "int",
|
991
|
+
"value_allowed_null": false
|
992
|
+
},
|
993
|
+
{
|
994
|
+
"disabled": false,
|
995
|
+
"document": "是否开启表达式注入检测(0-关闭,1-开启)",
|
996
|
+
"example": "0",
|
997
|
+
"member": "int64",
|
998
|
+
"name": "IsExpressionInjectionAnalysis",
|
999
|
+
"output_required": true,
|
1000
|
+
"type": "int",
|
1001
|
+
"value_allowed_null": false
|
1002
|
+
},
|
1003
|
+
{
|
1004
|
+
"disabled": false,
|
1005
|
+
"document": "是否开启JNDI注入检测(0-关闭,1-开启)",
|
1006
|
+
"example": "0",
|
1007
|
+
"member": "int64",
|
1008
|
+
"name": "IsJNDIInjectionAnalysis",
|
1009
|
+
"output_required": true,
|
1010
|
+
"type": "int",
|
1011
|
+
"value_allowed_null": false
|
1012
|
+
},
|
1013
|
+
{
|
1014
|
+
"disabled": false,
|
1015
|
+
"document": "是否开启JNI注入检测(0-关闭,1-开启)",
|
1016
|
+
"example": "0",
|
1017
|
+
"member": "int64",
|
1018
|
+
"name": "IsJNIInjectionAnalysis",
|
1019
|
+
"output_required": true,
|
1020
|
+
"type": "int",
|
1021
|
+
"value_allowed_null": false
|
1022
|
+
},
|
1023
|
+
{
|
1024
|
+
"disabled": false,
|
1025
|
+
"document": "是否开启Webshell后门检测(0-关闭,1-开启)",
|
1026
|
+
"example": "0",
|
1027
|
+
"member": "int64",
|
1028
|
+
"name": "IsWebshellBackdoorAnalysis",
|
1029
|
+
"output_required": true,
|
1030
|
+
"type": "int",
|
1031
|
+
"value_allowed_null": false
|
1032
|
+
},
|
1033
|
+
{
|
1034
|
+
"disabled": false,
|
1035
|
+
"document": "是否开启反序列化检测(0-关闭,1-开启)",
|
1036
|
+
"example": "0",
|
1037
|
+
"member": "int64",
|
1038
|
+
"name": "IsDeserializationAnalysis",
|
1039
|
+
"output_required": true,
|
1040
|
+
"type": "int",
|
1041
|
+
"value_allowed_null": false
|
1042
|
+
},
|
923
1043
|
{
|
924
1044
|
"disabled": false,
|
925
1045
|
"document": "业务系统鉴权 token",
|
@@ -2492,6 +2612,114 @@
|
|
2492
2612
|
"name": "LogTraceIdKey",
|
2493
2613
|
"required": false,
|
2494
2614
|
"type": "string"
|
2615
|
+
},
|
2616
|
+
{
|
2617
|
+
"disabled": false,
|
2618
|
+
"document": "是否开启删除任意文件检测(0-关闭,1-开启)",
|
2619
|
+
"example": "0",
|
2620
|
+
"member": "int64",
|
2621
|
+
"name": "IsDeleteAnyFileAnalysis",
|
2622
|
+
"required": false,
|
2623
|
+
"type": "int"
|
2624
|
+
},
|
2625
|
+
{
|
2626
|
+
"disabled": false,
|
2627
|
+
"document": "是否开启读取任意文件检测(0-关闭,1-开启)",
|
2628
|
+
"example": "0",
|
2629
|
+
"member": "int64",
|
2630
|
+
"name": "IsReadAnyFileAnalysis",
|
2631
|
+
"required": false,
|
2632
|
+
"type": "int"
|
2633
|
+
},
|
2634
|
+
{
|
2635
|
+
"disabled": false,
|
2636
|
+
"document": "是否开启上传任意文件检测(0-关闭,1-开启)",
|
2637
|
+
"example": "0",
|
2638
|
+
"member": "int64",
|
2639
|
+
"name": "IsUploadAnyFileAnalysis",
|
2640
|
+
"required": false,
|
2641
|
+
"type": "int"
|
2642
|
+
},
|
2643
|
+
{
|
2644
|
+
"disabled": false,
|
2645
|
+
"document": "是否开启包含任意文件检测(0-关闭,1-开启)",
|
2646
|
+
"example": "0",
|
2647
|
+
"member": "int64",
|
2648
|
+
"name": "IsIncludeAnyFileAnalysis",
|
2649
|
+
"required": false,
|
2650
|
+
"type": "int"
|
2651
|
+
},
|
2652
|
+
{
|
2653
|
+
"disabled": false,
|
2654
|
+
"document": "是否开启目录遍历检测(0-关闭,1-开启)",
|
2655
|
+
"example": "0",
|
2656
|
+
"member": "int64",
|
2657
|
+
"name": "IsDirectoryTraversalAnalysis",
|
2658
|
+
"required": false,
|
2659
|
+
"type": "int"
|
2660
|
+
},
|
2661
|
+
{
|
2662
|
+
"disabled": false,
|
2663
|
+
"document": "是否开启模板引擎注入检测(0-关闭,1-开启)",
|
2664
|
+
"example": "0",
|
2665
|
+
"member": "int64",
|
2666
|
+
"name": "IsTemplateEngineInjectionAnalysis",
|
2667
|
+
"required": false,
|
2668
|
+
"type": "int"
|
2669
|
+
},
|
2670
|
+
{
|
2671
|
+
"disabled": false,
|
2672
|
+
"document": "是否开启脚本引擎注入检测(0-关闭,1-开启)",
|
2673
|
+
"example": "0",
|
2674
|
+
"member": "int64",
|
2675
|
+
"name": "IsScriptEngineInjectionAnalysis",
|
2676
|
+
"required": false,
|
2677
|
+
"type": "int"
|
2678
|
+
},
|
2679
|
+
{
|
2680
|
+
"disabled": false,
|
2681
|
+
"document": "是否开启表达式注入检测(0-关闭,1-开启)",
|
2682
|
+
"example": "0",
|
2683
|
+
"member": "int64",
|
2684
|
+
"name": "IsExpressionInjectionAnalysis",
|
2685
|
+
"required": false,
|
2686
|
+
"type": "int"
|
2687
|
+
},
|
2688
|
+
{
|
2689
|
+
"disabled": false,
|
2690
|
+
"document": "是否开启JNDI注入检测(0-关闭,1-开启)",
|
2691
|
+
"example": "0",
|
2692
|
+
"member": "int64",
|
2693
|
+
"name": "IsJNDIInjectionAnalysis",
|
2694
|
+
"required": false,
|
2695
|
+
"type": "int"
|
2696
|
+
},
|
2697
|
+
{
|
2698
|
+
"disabled": false,
|
2699
|
+
"document": "是否开启JNI注入检测(0-关闭,1-开启)",
|
2700
|
+
"example": "0",
|
2701
|
+
"member": "int64",
|
2702
|
+
"name": "IsJNIInjectionAnalysis",
|
2703
|
+
"required": false,
|
2704
|
+
"type": "int"
|
2705
|
+
},
|
2706
|
+
{
|
2707
|
+
"disabled": false,
|
2708
|
+
"document": "是否开启Webshell后门检测(0-关闭,1-开启)",
|
2709
|
+
"example": "0",
|
2710
|
+
"member": "int64",
|
2711
|
+
"name": "IsWebshellBackdoorAnalysis",
|
2712
|
+
"required": false,
|
2713
|
+
"type": "int"
|
2714
|
+
},
|
2715
|
+
{
|
2716
|
+
"disabled": false,
|
2717
|
+
"document": "是否开启反序列化检测(0-关闭,1-开启)",
|
2718
|
+
"example": "0",
|
2719
|
+
"member": "int64",
|
2720
|
+
"name": "IsDeserializationAnalysis",
|
2721
|
+
"required": false,
|
2722
|
+
"type": "int"
|
2495
2723
|
}
|
2496
2724
|
],
|
2497
2725
|
"type": "object"
|
@@ -28,7 +28,7 @@
|
|
28
28
|
{
|
29
29
|
"document": "获取 APM 业务系统列表",
|
30
30
|
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApmInstances\n<公共请求参数>\n\n{\n \"Tags\": [\n {\n \"Key\": \"appId\",\n \"Value\": \"251005942\"\n }\n ]\n}",
|
31
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AmountOfUsedStorage\": 100,\n \"AppId\": 251005942,\n \"BillingInstance\": 0,\n \"ClientCount\": 0,\n \"CountOfReportSpanPerDay\": 0,\n \"CreateUin\": \"1500000686\",\n \"CustomShowTags\": [],\n \"DashboardTopicID\": \"\",\n \"DefaultTSF\": 0,\n \"Description\": \"\",\n \"ErrRateThreshold\": 5,\n \"ErrorSample\": 1,\n \"Free\": 2,\n \"InstanceId\": \"apm-u6HNYVXhz\",\n \"IsInstrumentationVulnerabilityScan\": 1,\n \"IsMemoryHijackingAnalysis\": 1,\n \"IsRelatedDashboard\": 0,\n \"IsRelatedLog\": 0,\n \"IsRemoteCommandExecutionAnalysis\": 1,\n \"IsSqlInjectionAnalysis\": 1,\n \"LogIndexType\": 0,\n \"LogRegion\": \"\",\n \"LogSet\": \"\",\n \"LogSource\": \"\",\n \"LogTopicID\": \"\",\n \"LogTraceIdKey\": \"\",\n \"MetricDuration\": 3,\n \"Name\": \"test1\",\n \"PayMode\": 0,\n \"PayModeEffective\": true,\n \"Region\": \"ap-guangzhou\",\n \"ResponseDurationWarningThreshold\": 500,\n \"SampleRate\": 100,\n \"ServiceCount\": 0,\n \"SlowRequestSavedThreshold\": 500,\n \"SpanDailyCounters\": 0,\n \"Status\": 1,\n \"StopReason\": 0,\n \"Tags\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"archerkang\"\n },\n {\n \"Key\": \"运营产品\",\n \"Value\": \"云监控产品\"\n },\n {\n \"Key\": \"运营部门\",\n \"Value\": \"/../../../../../../../../../../../../../../../../../../../../etc/./////.////.///.//./passwd\"\n }\n ],\n \"TotalCount\": 0,\n \"TraceDuration\": 7\n }\n ],\n \"RequestId\": \"1afaff9e-88c9-4949-9c84-fd5eae88a88a\"\n }\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AmountOfUsedStorage\": 100,\n \"AppId\": 251005942,\n \"BillingInstance\": 0,\n \"ClientCount\": 0,\n \"CountOfReportSpanPerDay\": 0,\n \"CreateUin\": \"1500000686\",\n \"CustomShowTags\": [],\n \"DashboardTopicID\": \"\",\n \"DefaultTSF\": 0,\n \"Description\": \"\",\n \"ErrRateThreshold\": 5,\n \"ErrorSample\": 1,\n \"Free\": 2,\n \"InstanceId\": \"apm-u6HNYVXhz\",\n \"IsDeleteAnyFileAnalysis\": 1,\n \"IsDeserializationAnalysis\": 1,\n \"IsDirectoryTraversalAnalysis\": 1,\n \"IsExpressionInjectionAnalysis\": 1,\n \"IsIncludeAnyFileAnalysis\": 1,\n \"IsInstrumentationVulnerabilityScan\": 1,\n \"IsJNDIInjectionAnalysis\": 1,\n \"IsJNIInjectionAnalysis\": 1,\n \"IsMemoryHijackingAnalysis\": 1,\n \"IsReadAnyFileAnalysis\": 1,\n \"IsRelatedDashboard\": 0,\n \"IsRelatedLog\": 0,\n \"IsRemoteCommandExecutionAnalysis\": 1,\n \"IsScriptEngineInjectionAnalysis\": 1,\n \"IsSqlInjectionAnalysis\": 1,\n \"IsTemplateEngineInjectionAnalysis\": 1,\n \"IsUploadAnyFileAnalysis\": 1,\n \"IsWebshellBackdoorAnalysis\": 1,\n \"LogIndexType\": 0,\n \"LogRegion\": \"\",\n \"LogSet\": \"\",\n \"LogSource\": \"\",\n \"LogTopicID\": \"\",\n \"LogTraceIdKey\": \"\",\n \"MetricDuration\": 3,\n \"Name\": \"test1\",\n \"PayMode\": 0,\n \"PayModeEffective\": true,\n \"Region\": \"ap-guangzhou\",\n \"ResponseDurationWarningThreshold\": 500,\n \"SampleRate\": 100,\n \"ServiceCount\": 0,\n \"SlowRequestSavedThreshold\": 500,\n \"SpanDailyCounters\": 0,\n \"Status\": 1,\n \"StopReason\": 0,\n \"Tags\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"archerkang\"\n },\n {\n \"Key\": \"运营产品\",\n \"Value\": \"云监控产品\"\n },\n {\n \"Key\": \"运营部门\",\n \"Value\": \"/../../../../../../../../../../../../../../../../../../../../etc/./////.////.///.//./passwd\"\n }\n ],\n \"TotalCount\": 0,\n \"TraceDuration\": 7\n }\n ],\n \"RequestId\": \"1afaff9e-88c9-4949-9c84-fd5eae88a88a\"\n }\n}",
|
32
32
|
"title": "获取 APM 业务系统列表"
|
33
33
|
}
|
34
34
|
],
|
@@ -4515,7 +4515,7 @@
|
|
4515
4515
|
{
|
4516
4516
|
"disabled": false,
|
4517
4517
|
"document": "源端路径",
|
4518
|
-
"example": "
|
4518
|
+
"example": "/home/output/",
|
4519
4519
|
"member": "string",
|
4520
4520
|
"name": "SourcePath",
|
4521
4521
|
"output_required": true,
|
@@ -4526,7 +4526,7 @@
|
|
4526
4526
|
{
|
4527
4527
|
"disabled": false,
|
4528
4528
|
"document": "目的端路径",
|
4529
|
-
"example": "/
|
4529
|
+
"example": "cos://kelvin-test-125176278734.cos.ap-nanjing.myqcloud.com/batch_test/",
|
4530
4530
|
"member": "string",
|
4531
4531
|
"name": "DestinationPath",
|
4532
4532
|
"output_required": true,
|