summaryrefslogtreecommitdiff
path: root/data/zh_cn/sas/2021-01-14
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/sas/2021-01-14
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/sas/2021-01-14')
-rw-r--r--data/zh_cn/sas/2021-01-14/api-docs.php2448
1 files changed, 597 insertions, 1851 deletions
diff --git a/data/zh_cn/sas/2021-01-14/api-docs.php b/data/zh_cn/sas/2021-01-14/api-docs.php
index e96acb5..e77a683 100644
--- a/data/zh_cn/sas/2021-01-14/api-docs.php
+++ b/data/zh_cn/sas/2021-01-14/api-docs.php
@@ -1,43 +1,18 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Sas',
- 'version' => '2021-01-14',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Sas', 'version' => '2021-01-14'],
'directories' => [
[
'id' => 195991,
'title' => '安全大屏',
'type' => 'directory',
- 'children' => [
- 'DescribeScreenOperateInfo',
- 'DescribeScreenAttackAnalysisData',
- 'DescribeScreenCloudHcRisk',
- 'DescribeScreenEmerRisk',
- 'DescribeScreenDataMap',
- 'CreateScreenSetting',
- 'DeleteScreenSetting',
- 'DescribeScreenVersionConfig',
- 'DescribeScreenUploadPicture',
- 'DescribeScreenTitles',
- 'DescribeScreenSummaryInfo',
- 'DescribeScreenSetting',
- 'DescribeScreenSecurityStatInfo',
- 'DescribeScreenScoreThread',
- 'DescribeScreenOssUploadInfo',
- 'DescribeScreenHostStatistics',
- 'DescribeScreenAlarmEventList',
- ],
+ 'children' => ['DescribeScreenOperateInfo', 'DescribeScreenAttackAnalysisData', 'DescribeScreenCloudHcRisk', 'DescribeScreenEmerRisk', 'DescribeScreenDataMap', 'CreateScreenSetting', 'DeleteScreenSetting', 'DescribeScreenVersionConfig', 'DescribeScreenUploadPicture', 'DescribeScreenTitles', 'DescribeScreenSummaryInfo', 'DescribeScreenSetting', 'DescribeScreenSecurityStatInfo', 'DescribeScreenScoreThread', 'DescribeScreenOssUploadInfo', 'DescribeScreenHostStatistics', 'DescribeScreenAlarmEventList'],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'ListGlobalUserConfig',
- 'GetFileDetectResultInner',
- ],
+ 'children' => ['ListGlobalUserConfig', 'GetFileDetectResultInner'],
],
],
'components' => [
@@ -46,14 +21,8 @@
'apis' => [
'DescribeScreenOperateInfo' => [
'summary' => '查看运营信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -63,34 +32,21 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171980',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间的时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1634725571000',
- ],
+ 'schema' => ['description' => '开始时间的时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1634725571000'],
],
],
'responses' => [
@@ -98,64 +54,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '23AD0BD2-8771-5647-819E-6xxxxxxxx',
- ],
- 'HealthCheckDealedCount' => [
- 'description' => '已处理基线风险项数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SecurityEventDealedCount' => [
- 'description' => '已处理告警数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'VulnerabilityDealedCount' => [
- 'description' => '已处理漏洞数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '23AD0BD2-8771-5647-819E-6xxxxxxxx'],
+ 'HealthCheckDealedCount' => ['description' => '已处理基线风险项数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SecurityEventDealedCount' => ['description' => '已处理告警数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'VulnerabilityDealedCount' => ['description' => '已处理漏洞数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'VulValueArray' => [
'description' => '统计时间点列表对应漏洞数量列表。',
'type' => 'array',
- 'items' => [
- 'description' => '漏洞数量。',
- 'type' => 'string',
- 'example' => '4',
- ],
+ 'items' => ['description' => '漏洞数量。', 'type' => 'string', 'example' => '4'],
],
'HealthCheckValueArray' => [
'description' => '统计时间点列表对应基线风险数量列表。',
'type' => 'array',
- 'items' => [
- 'description' => '基线风险数量。',
- 'type' => 'string',
- 'example' => '3',
- ],
+ 'items' => ['description' => '基线风险数量。', 'type' => 'string', 'example' => '3'],
],
'SuspEventValueArray' => [
'description' => '统计时间点列表对应告警数量列表。',
'type' => 'array',
- 'items' => [
- 'description' => '告警数量。',
- 'type' => 'string',
- 'example' => '2',
- ],
+ 'items' => ['description' => '告警数量。', 'type' => 'string', 'example' => '2'],
],
'DateArray' => [
'description' => '趋势图的统计时间点列表。',
'type' => 'array',
- 'items' => [
- 'description' => '趋势图的统计时间点。',
- 'type' => 'string',
- 'example' => '2024-08-05',
- ],
+ 'items' => ['description' => '趋势图的统计时间点。', 'type' => 'string', 'example' => '2024-08-05'],
],
],
],
@@ -163,157 +84,102 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23AD0BD2-8771-5647-819E-6xxxxxxxx\\",\\n \\"HealthCheckDealedCount\\": 1,\\n \\"SecurityEventDealedCount\\": 1,\\n \\"VulnerabilityDealedCount\\": 1,\\n \\"VulValueArray\\": [\\n \\"4\\"\\n ],\\n \\"HealthCheckValueArray\\": [\\n \\"3\\"\\n ],\\n \\"SuspEventValueArray\\": [\\n \\"2\\"\\n ],\\n \\"DateArray\\": [\\n \\"2024-08-05\\"\\n ]\\n}","type":"json"}]',
'title' => '查看运营信息',
],
'DescribeScreenAttackAnalysisData' => [
'summary' => '查询大屏攻击防御事件。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '攻击分析的详情。取值:'."\n"
- ."\n"
- .'- **TOTAL**:攻击次数'."\n"
- .'- **TREND**:攻击趋势'."\n"
- .'- **PIE_CHART**:攻击类型分布'."\n"
- .'- **SOURCE_TOP**:攻击来源TOP 5'."\n"
- .'- **CLIENT_TOP**:被攻击资产TOP 5'."\n"
- .'- **DETAILS**:攻击详情列表'."\n"
- ."\n"
- .'> 当Type取值为**DETAILS**时,分页参数为必填项。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'DETAILS',
- ],
+ 'schema' => ['description' => '攻击分析的详情。取值:'."\n"
+ ."\n"
+ .'- **TOTAL**:攻击次数'."\n"
+ .'- **TREND**:攻击趋势'."\n"
+ .'- **PIE_CHART**:攻击类型分布'."\n"
+ .'- **SOURCE_TOP**:攻击来源TOP 5'."\n"
+ .'- **CLIENT_TOP**:被攻击资产TOP 5'."\n"
+ .'- **DETAILS**:攻击详情列表'."\n"
+ ."\n"
+ .'> 当Type取值为**DETAILS**时,分页参数为必填项。', 'type' => 'string', 'required' => true, 'example' => 'DETAILS'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '攻击开始的时间戳,单位为秒。'."\n"
- .'> 开始时间只能为近40天。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1644027670',
- ],
+ 'schema' => ['description' => '攻击开始的时间戳,单位为秒。'."\n"
+ .'> 开始时间只能为近40天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1644027670'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '攻击结束的时间戳,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1668064495000',
- ],
+ 'schema' => ['description' => '攻击结束的时间戳,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1668064495000'],
],
[
'name' => 'Data',
'in' => 'query',
- 'schema' => [
- 'description' => '攻击事件的筛选条件。'."\n"
- .'> crack_type字段类型说明'."\n"
- .'> - 3:MySQL暴力破解'."\n"
- .'> - 4:FTP暴力破解'."\n"
- .'> - 5:SSH暴力破解'."\n"
- .'> - 6:RDP暴力破解'."\n"
- .'> - 9:SQL Server暴力破解'."\n"
- .'> - 101:Java Struts2攻击拦截'."\n"
- .'> - 102:Redis攻击拦截'."\n"
- .'> - 103:中国蚁剑WebShell通信'."\n"
- .'> - 104:中国菜刀WebShell通信'."\n"
- .'> - 133:XISE WebShell通信'."\n"
- .'> - sqli:SQL注入'."\n"
- .'> - codei:代码执行'."\n"
- .'> - xss:XSS攻击'."\n"
- .'> - lfi:本地文件包含'."\n"
- .'> - rfi:远程文件包含'."\n"
- .'> - webshell:脚本木马'."\n"
- .'> - upload:上传漏洞'."\n"
- .'> - path:路径遍历'."\n"
- .'> - bypass:越权访问'."\n"
- .'> - csrf:CSRF'."\n"
- .'> - crlf:CRLF'."\n"
- .'> - other:其他',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"crack_type":"9"}',
- ],
+ 'schema' => ['description' => '攻击事件的筛选条件。'."\n"
+ .'> crack_type字段类型说明'."\n"
+ .'> - 3:MySQL暴力破解'."\n"
+ .'> - 4:FTP暴力破解'."\n"
+ .'> - 5:SSH暴力破解'."\n"
+ .'> - 6:RDP暴力破解'."\n"
+ .'> - 9:SQL Server暴力破解'."\n"
+ .'> - 101:Java Struts2攻击拦截'."\n"
+ .'> - 102:Redis攻击拦截'."\n"
+ .'> - 103:中国蚁剑WebShell通信'."\n"
+ .'> - 104:中国菜刀WebShell通信'."\n"
+ .'> - 133:XISE WebShell通信'."\n"
+ .'> - sqli:SQL注入'."\n"
+ .'> - codei:代码执行'."\n"
+ .'> - xss:XSS攻击'."\n"
+ .'> - lfi:本地文件包含'."\n"
+ .'> - rfi:远程文件包含'."\n"
+ .'> - webshell:脚本木马'."\n"
+ .'> - upload:上传漏洞'."\n"
+ .'> - path:路径遍历'."\n"
+ .'> - bypass:越权访问'."\n"
+ .'> - csrf:CSRF'."\n"
+ .'> - crlf:CRLF'."\n"
+ .'> - other:其他', 'type' => 'string', 'required' => false, 'example' => '{"crack_type":"9"}'],
],
[
'name' => 'Base64',
'in' => 'query',
- 'schema' => [
- 'description' => '查询结果是否需要对**client_url**进行Base64编码。取值:'."\n"
- ."\n"
- .'- **true**:需要'."\n"
- .'- **false**:不需要',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '查询结果是否需要对**client_url**进行Base64编码。取值:'."\n"
+ ."\n"
+ .'- **true**:需要'."\n"
+ .'- **false**:不需要', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置从返回结果的第几页开始显示查询结果。起始值为**1**。'."\n"
- ."\n"
- .'> 当Type取值为**DETAILS**时,该参数为必填。'."\n"
- .'> 当Type取值不为**DETAILS**时,该参数不能填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设置从返回结果的第几页开始显示查询结果。起始值为**1**。'."\n"
+ ."\n"
+ .'> 当Type取值为**DETAILS**时,该参数为必填。'."\n"
+ .'> 当Type取值不为**DETAILS**时,该参数不能填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设置分页查询时,每页显示的攻击事件信息的数量。'."\n"
- .'> 当Type取值为**DETAILS**时,该参数为必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '设置分页查询时,每页显示的攻击事件信息的数量。'."\n"
+ .'> 当Type取值为**DETAILS**时,该参数为必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -321,139 +187,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Data' => [
- 'description' => '攻击事件列表。包含以下字段:'."\n"
- ."\n"
- .'- **client_url** :攻击请求URL'."\n"
- .'- **internetIp**:资产实例IP'."\n"
- .'- **instanceName**:资产实例名称'."\n"
- .'- **table_src**:数据来源'."\n"
- .'- **uuid**:资产实例的UUID'."\n"
- .'- **crack_method**:攻击请求方式'."\n"
- .'- **crack_hour**:攻击时间'."\n"
- .'- **crack_src\\_ip**:攻击方IP'."\n"
- .'- **instanceId**:实例ID'."\n"
- .'- **dst_port**:被攻击端口'."\n"
- .'- **client_ip**:被攻击IP'."\n"
- .'- **location**:攻击方地域'."\n"
- .'- **aliuid**:阿里云账号ID'."\n"
- .'- **crack_cnt**:攻击次数'."\n"
- .'- **crack_type**:攻击类型。取值如下:'."\n"
- .' - **113**:权限不当'."\n"
- .' - **112**:重定向攻击'."\n"
- .' - **upload**:上传漏洞'."\n"
- .' - **other**:其他'."\n"
- .' - **webshell**:脚本木马'."\n"
- .' - **201**:异常连接攻击'."\n"
- .' - **9**:SQLSERVER暴力破解'."\n"
- .' - **5**:SSH暴力破解'."\n"
- .' - **6**:RDP暴力破解'."\n"
- .' - **lfi**:本地文件包含'."\n"
- .' - **7**:代码执行攻击'."\n"
- .' - **sqli**:SQL注入'."\n"
- .' - **209**:Web攻击'."\n"
- .' - **31**:缓冲器溢出攻击'."\n"
- .' - **3**:MYSQL暴力破解'."\n"
- .' - **30**:点击劫持'."\n"
- .' - **4**:FTP暴力破解'."\n"
- .' - **bypass**:越权访问'."\n"
- .' - **33**:格式化字符串'."\n"
- .' - **deeplearning**:其他'."\n"
- .' - **32**:整数溢出攻击'."\n"
- .' - **203**:暴力破解'."\n"
- .' - **34**:条件竞争'."\n"
- .' - **rfi**:远程文件包含'."\n"
- .' - **0**:SQL注入攻击'."\n"
- .' - **212**:挖矿行为'."\n"
- .' - **213**:反弹Shell攻击'."\n"
- .' - **211**:蠕虫病毒请求'."\n"
- .' - **61**:超时攻击'."\n"
- .' - **20**:路径穿越攻击'."\n"
- .' - **xss**:XSS攻击'."\n"
- .' - **22**:越权访问攻击'."\n"
- .' - **21**:扫描攻击'."\n"
- .' - **24**:文件修改攻击'."\n"
- .' - **26**:文件删除攻击'."\n"
- .' - **25**:文件读取攻击'."\n"
- .' - **28**:CRLF注入攻击'."\n"
- .' - **27**:逻辑错误'."\n"
- .' - **29**:模板注入攻击'."\n"
- .' - **csrf**:CSRF'."\n"
- .' - **path**:路径遍历'."\n"
- .' - **crlf**:CRLF'."\n"
- .' - **102**:CSRF跨站请求伪造攻击'."\n"
- .' - **103**:SSRF服务器端请求伪造攻击'."\n"
- .' - **101**:XSS跨站脚本攻击'."\n"
- .' - **11**:文件包含攻击'."\n"
- .' - **10**:文件上传攻击'."\n"
- .' - **12**:上传漏洞'."\n"
- .' - **15**:未授权访问'."\n"
- .' - **14**:信息泄露攻击'."\n"
- .' - **17**:XML实体注入攻击'."\n"
- .' - **16**:不安全的配置'."\n"
- .' - **19**:LDAP注入攻击'."\n"
- .' - **18**:XPath注入攻击'."\n"
- .' - **codei**:代码执行',
- 'type' => 'string',
- 'example' => '[{\\"crack_hour\\":1662480000000,\\"crack_cnt\\":471},{\\"crack_hour\\":1662483600000,\\"crack_cnt\\":461},{\\"crack_hour\\":1662487200000,\\"crack_cnt\\":445},{\\"crack_hour\\":1662490800000,\\"crack_cnt\\":471},{\\"crack_hour\\":1662494400000,\\"crack_cnt\\":534},{\\"crack_hour\\":1662498000000,\\"crack_cnt\\":652},{\\"crack_hour\\":1662501600000,\\"crack_cnt\\":706},{\\"crack_hour\\":1662505200000,\\"crack_cnt\\":613},{\\"crack_hour\\":1662508800000,\\"crack_cnt\\":578},{\\"crack_hour\\":1662512400000,\\"crack_cnt\\":577},{\\"crack_hour\\":1662516000000,\\"crack_cnt\\":616},{\\"crack_hour\\":1662519600000,\\"crack_cnt\\":597},{\\"crack_hour\\":1662523200000,\\"crack_cnt\\":575},{\\"crack_hour\\":1662526800000,\\"crack_cnt\\":507}]',
- ],
- 'PageSize' => [
- 'description' => '分页查询时,每页显示的攻击事件信息的数量。默认值为10,表示每页显示10条攻击事件信息。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '7532B7EE-7CE7-5F4D-BF04-Bxxxxxxxx',
- ],
- 'Total' => [
- 'description' => '查询到的已发生的攻击事件的总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Page' => [
- 'description' => '当前页的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Data' => ['description' => '攻击事件列表。包含以下字段:'."\n"
+ ."\n"
+ .'- **client_url** :攻击请求URL'."\n"
+ .'- **internetIp**:资产实例IP'."\n"
+ .'- **instanceName**:资产实例名称'."\n"
+ .'- **table_src**:数据来源'."\n"
+ .'- **uuid**:资产实例的UUID'."\n"
+ .'- **crack_method**:攻击请求方式'."\n"
+ .'- **crack_hour**:攻击时间'."\n"
+ .'- **crack_src\\_ip**:攻击方IP'."\n"
+ .'- **instanceId**:实例ID'."\n"
+ .'- **dst_port**:被攻击端口'."\n"
+ .'- **client_ip**:被攻击IP'."\n"
+ .'- **location**:攻击方地域'."\n"
+ .'- **aliuid**:阿里云账号ID'."\n"
+ .'- **crack_cnt**:攻击次数'."\n"
+ .'- **crack_type**:攻击类型。取值如下:'."\n"
+ .' - **113**:权限不当'."\n"
+ .' - **112**:重定向攻击'."\n"
+ .' - **upload**:上传漏洞'."\n"
+ .' - **other**:其他'."\n"
+ .' - **webshell**:脚本木马'."\n"
+ .' - **201**:异常连接攻击'."\n"
+ .' - **9**:SQLSERVER暴力破解'."\n"
+ .' - **5**:SSH暴力破解'."\n"
+ .' - **6**:RDP暴力破解'."\n"
+ .' - **lfi**:本地文件包含'."\n"
+ .' - **7**:代码执行攻击'."\n"
+ .' - **sqli**:SQL注入'."\n"
+ .' - **209**:Web攻击'."\n"
+ .' - **31**:缓冲器溢出攻击'."\n"
+ .' - **3**:MYSQL暴力破解'."\n"
+ .' - **30**:点击劫持'."\n"
+ .' - **4**:FTP暴力破解'."\n"
+ .' - **bypass**:越权访问'."\n"
+ .' - **33**:格式化字符串'."\n"
+ .' - **deeplearning**:其他'."\n"
+ .' - **32**:整数溢出攻击'."\n"
+ .' - **203**:暴力破解'."\n"
+ .' - **34**:条件竞争'."\n"
+ .' - **rfi**:远程文件包含'."\n"
+ .' - **0**:SQL注入攻击'."\n"
+ .' - **212**:挖矿行为'."\n"
+ .' - **213**:反弹Shell攻击'."\n"
+ .' - **211**:蠕虫病毒请求'."\n"
+ .' - **61**:超时攻击'."\n"
+ .' - **20**:路径穿越攻击'."\n"
+ .' - **xss**:XSS攻击'."\n"
+ .' - **22**:越权访问攻击'."\n"
+ .' - **21**:扫描攻击'."\n"
+ .' - **24**:文件修改攻击'."\n"
+ .' - **26**:文件删除攻击'."\n"
+ .' - **25**:文件读取攻击'."\n"
+ .' - **28**:CRLF注入攻击'."\n"
+ .' - **27**:逻辑错误'."\n"
+ .' - **29**:模板注入攻击'."\n"
+ .' - **csrf**:CSRF'."\n"
+ .' - **path**:路径遍历'."\n"
+ .' - **crlf**:CRLF'."\n"
+ .' - **102**:CSRF跨站请求伪造攻击'."\n"
+ .' - **103**:SSRF服务器端请求伪造攻击'."\n"
+ .' - **101**:XSS跨站脚本攻击'."\n"
+ .' - **11**:文件包含攻击'."\n"
+ .' - **10**:文件上传攻击'."\n"
+ .' - **12**:上传漏洞'."\n"
+ .' - **15**:未授权访问'."\n"
+ .' - **14**:信息泄露攻击'."\n"
+ .' - **17**:XML实体注入攻击'."\n"
+ .' - **16**:不安全的配置'."\n"
+ .' - **19**:LDAP注入攻击'."\n"
+ .' - **18**:XPath注入攻击'."\n"
+ .' - **codei**:代码执行', 'type' => 'string', 'example' => '[{\\"crack_hour\\":1662480000000,\\"crack_cnt\\":471},{\\"crack_hour\\":1662483600000,\\"crack_cnt\\":461},{\\"crack_hour\\":1662487200000,\\"crack_cnt\\":445},{\\"crack_hour\\":1662490800000,\\"crack_cnt\\":471},{\\"crack_hour\\":1662494400000,\\"crack_cnt\\":534},{\\"crack_hour\\":1662498000000,\\"crack_cnt\\":652},{\\"crack_hour\\":1662501600000,\\"crack_cnt\\":706},{\\"crack_hour\\":1662505200000,\\"crack_cnt\\":613},{\\"crack_hour\\":1662508800000,\\"crack_cnt\\":578},{\\"crack_hour\\":1662512400000,\\"crack_cnt\\":577},{\\"crack_hour\\":1662516000000,\\"crack_cnt\\":616},{\\"crack_hour\\":1662519600000,\\"crack_cnt\\":597},{\\"crack_hour\\":1662523200000,\\"crack_cnt\\":575},{\\"crack_hour\\":1662526800000,\\"crack_cnt\\":507}]'],
+ 'PageSize' => ['description' => '分页查询时,每页显示的攻击事件信息的数量。默认值为10,表示每页显示10条攻击事件信息。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '7532B7EE-7CE7-5F4D-BF04-Bxxxxxxxx'],
+ 'Total' => ['description' => '查询到的已发生的攻击事件的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Page' => ['description' => '当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'A server error occurred.',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'A server error occurred.'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662480000000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":471},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662483600000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":461},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662487200000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":445},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662490800000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":471},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662494400000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":534},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662498000000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":652},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662501600000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":706},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662505200000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":613},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662508800000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":578},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662512400000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":577},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662516000000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":616},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662519600000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":597},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662523200000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":575},{\\\\\\\\\\\\\\"crack_hour\\\\\\\\\\\\\\":1662526800000,\\\\\\\\\\\\\\"crack_cnt\\\\\\\\\\\\\\":507}]\\",\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"7532B7EE-7CE7-5F4D-BF04-Bxxxxxxxx\\",\\n \\"Total\\": 11,\\n \\"Page\\": 1\\n}","type":"json"}]',
'title' => '查询大屏攻击防御事件',
],
'DescribeScreenCloudHcRisk' => [
'summary' => '查询云产品基线问题',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -463,9 +292,7 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171953',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -473,45 +300,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '0C8487EF-50C2-54BB-8634-10F8C35D****',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '0C8487EF-50C2-54BB-8634-10F8C35D****'],
'CloudHcRiskItems' => [
'description' => '检查项信息列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Pass' => [
- 'description' => '检查项的状态。取值:'."\n"
- ."\n"
- .'- **true**:通过检查,已开启或已配置'."\n"
- ."\n"
- .'- **false**:未通过检查,未开启或未配置',
- 'type' => 'boolean',
- ],
- 'CheckItem' => [
- 'description' => '检查项名称。',
- 'type' => 'string',
- 'example' => 'OSS-PublicReadOpenManifestFileWithoutEncryption',
- ],
- 'Level' => [
- 'description' => '检查项的风险等级。取值:'."\n"
- ."\n"
- .'- **HIGH**:高危'."\n"
- .'- **MEDIUM**:中危'."\n"
- .'- **LOW**:低危',
- 'type' => 'string',
- 'example' => 'HIGH',
- ],
- 'AffectCount' => [
- 'description' => '影响资产数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'Pass' => ['description' => '检查项的状态。取值:'."\n"
+ ."\n"
+ .'- **true**:通过检查,已开启或已配置'."\n"
+ ."\n"
+ .'- **false**:未通过检查,未开启或未配置', 'type' => 'boolean'],
+ 'CheckItem' => ['description' => '检查项名称。', 'type' => 'string', 'example' => 'OSS-PublicReadOpenManifestFileWithoutEncryption'],
+ 'Level' => ['description' => '检查项的风险等级。取值:'."\n"
+ ."\n"
+ .'- **HIGH**:高危'."\n"
+ .'- **MEDIUM**:中危'."\n"
+ .'- **LOW**:低危', 'type' => 'string', 'example' => 'HIGH'],
+ 'AffectCount' => ['description' => '影响资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
@@ -521,34 +328,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C8487EF-50C2-54BB-8634-10F8C35D****\\",\\n \\"CloudHcRiskItems\\": [\\n {\\n \\"Pass\\": true,\\n \\"CheckItem\\": \\"OSS-PublicReadOpenManifestFileWithoutEncryption\\",\\n \\"Level\\": \\"HIGH\\",\\n \\"AffectCount\\": 5\\n }\\n ]\\n}","type":"json"}]',
'title' => '安全大屏幕查看云平台最佳实践组件数据',
],
'DescribeScreenEmerRisk' => [
'summary' => '查询云产品应急漏洞风险。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -558,9 +351,7 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '171869',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -568,37 +359,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '23AD0BD2-8771-5647-819E-6xxxxxxxx',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '23AD0BD2-8771-5647-819E-6xxxxxxxx'],
'CloudHcRiskItems' => [
'description' => '应急漏洞信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'VulName' => [
- 'description' => '漏洞名称。',
- 'type' => 'string',
- 'example' => 'polkit pkexec 本地提权漏洞(CVE-2021-4034)',
- ],
- 'Level' => [
- 'description' => '漏洞等级。取值:'."\n"
- ."\n"
- .'- **ASAP**:高危'."\n"
- .'- **LATER**:中危'."\n"
- .'- **NNTF**:低危',
- 'type' => 'string',
- 'example' => 'ASAP',
- ],
- 'AffectCount' => [
- 'description' => '影响资产数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'VulName' => ['description' => '漏洞名称。', 'type' => 'string', 'example' => 'polkit pkexec 本地提权漏洞(CVE-2021-4034)'],
+ 'Level' => ['description' => '漏洞等级。取值:'."\n"
+ ."\n"
+ .'- **ASAP**:高危'."\n"
+ .'- **LATER**:中危'."\n"
+ .'- **NNTF**:低危', 'type' => 'string', 'example' => 'ASAP'],
+ 'AffectCount' => ['description' => '影响资产数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
],
],
],
@@ -608,43 +382,27 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23AD0BD2-8771-5647-819E-6xxxxxxxx\\",\\n \\"CloudHcRiskItems\\": [\\n {\\n \\"VulName\\": \\"polkit pkexec 本地提权漏洞(CVE-2021-4034)\\",\\n \\"Level\\": \\"ASAP\\",\\n \\"AffectCount\\": 3\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询云产品应急漏洞风险',
],
'DescribeScreenDataMap' => [
'summary' => '获取大屏可展示数据列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [],
'responses' => [
200 => [
@@ -652,41 +410,29 @@
'description' => '本次调用的相应数据对象。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '7532B7EE-7CE7-5F4D-BF04-XXXXXXXX',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '7532B7EE-7CE7-5F4D-BF04-XXXXXXXX'],
'SasScreenTypeList' => [
'description' => '大屏可展示数据类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TypeCode' => [
- 'description' => '数据类型代码。取值:'."\n"
- ."\n"
- .'- **ASSETS**:资产'."\n"
- .'- **VUL**:漏洞'."\n"
- .'- **HC**:基线'."\n"
- .'- **ALARM**:告警'."\n"
- .'- **SE_OP**:安全运营'."\n"
- .'- **BEST_PRA**:云平台最佳实践',
- 'type' => 'string',
- 'example' => 'ASSETS',
- ],
- 'Type' => [
- 'description' => '数据类型。取值:'."\n"
- ."\n"
- .'- **资产**'."\n"
- .'- **漏洞**'."\n"
- .'- **基线**'."\n"
- .'- **告警**'."\n"
- .'- **安全运营**'."\n"
- .'- **云平台最佳实践**',
- 'type' => 'string',
- 'example' => '资产',
- ],
+ 'TypeCode' => ['description' => '数据类型代码。取值:'."\n"
+ ."\n"
+ .'- **ASSETS**:资产'."\n"
+ .'- **VUL**:漏洞'."\n"
+ .'- **HC**:基线'."\n"
+ .'- **ALARM**:告警'."\n"
+ .'- **SE_OP**:安全运营'."\n"
+ .'- **BEST_PRA**:云平台最佳实践', 'type' => 'string', 'example' => 'ASSETS'],
+ 'Type' => ['description' => '数据类型。取值:'."\n"
+ ."\n"
+ .'- **资产**'."\n"
+ .'- **漏洞**'."\n"
+ .'- **基线**'."\n"
+ .'- **告警**'."\n"
+ .'- **安全运营**'."\n"
+ .'- **云平台最佳实践**', 'type' => 'string', 'example' => '资产'],
'TypeData' => [
'description' => '数据模型列表',
'type' => 'array',
@@ -694,45 +440,33 @@
'description' => '数据模型对象。',
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '数据代码。取值:'."\n"
- ."\n"
- .'- **ASSETS_ASSETS**:资产'."\n"
- .'- **VUL_VUL**:漏洞'."\n"
- .'- **HC_HC**:基线'."\n"
- .'- **ALARM_ALARM**:告警'."\n"
- .'- **SE_OP_SE_TREND**:安全态势'."\n"
- .'- **SE_OP_ATTACK_CLASS**:攻击类型'."\n"
- .'- **SE_OP_SE_OP**:安全运营'."\n"
- .'- **SE_OP_ATTACK_TOP5**:攻击来源 TOP5'."\n"
- .'- **SE_OP_FLOW_TREND**:流量趋势'."\n"
- .'- **SE_OP_ATTACK_TREND**:攻击趋势',
- 'type' => 'string',
- 'example' => 'VUL_VUL',
- ],
- 'Title' => [
- 'description' => '数据标题。取值:'."\n"
- ."\n"
- .'- **资产**'."\n"
- .'- **漏洞**'."\n"
- .'- **应急漏洞**'."\n"
- .'- **基线**'."\n"
- .'- **告警**'."\n"
- .'- **安全态势**'."\n"
- .'- **攻击类型**'."\n"
- .'- **安全运营**'."\n"
- .'- **攻击来源 TOP5**'."\n"
- .'- **流量趋势**'."\n"
- .'- **攻击趋势**'."\n"
- .'- **云平台最佳实**',
- 'type' => 'string',
- 'example' => '资产',
- ],
- 'Id' => [
- 'description' => '数据id。',
- 'type' => 'string',
- 'example' => '25',
- ],
+ 'Code' => ['description' => '数据代码。取值:'."\n"
+ ."\n"
+ .'- **ASSETS_ASSETS**:资产'."\n"
+ .'- **VUL_VUL**:漏洞'."\n"
+ .'- **HC_HC**:基线'."\n"
+ .'- **ALARM_ALARM**:告警'."\n"
+ .'- **SE_OP_SE_TREND**:安全态势'."\n"
+ .'- **SE_OP_ATTACK_CLASS**:攻击类型'."\n"
+ .'- **SE_OP_SE_OP**:安全运营'."\n"
+ .'- **SE_OP_ATTACK_TOP5**:攻击来源 TOP5'."\n"
+ .'- **SE_OP_FLOW_TREND**:流量趋势'."\n"
+ .'- **SE_OP_ATTACK_TREND**:攻击趋势', 'type' => 'string', 'example' => 'VUL_VUL'],
+ 'Title' => ['description' => '数据标题。取值:'."\n"
+ ."\n"
+ .'- **资产**'."\n"
+ .'- **漏洞**'."\n"
+ .'- **应急漏洞**'."\n"
+ .'- **基线**'."\n"
+ .'- **告警**'."\n"
+ .'- **安全态势**'."\n"
+ .'- **攻击类型**'."\n"
+ .'- **安全运营**'."\n"
+ .'- **攻击来源 TOP5**'."\n"
+ .'- **流量趋势**'."\n"
+ .'- **攻击趋势**'."\n"
+ .'- **云平台最佳实**', 'type' => 'string', 'example' => '资产'],
+ 'Id' => ['description' => '数据id。', 'type' => 'string', 'example' => '25'],
'Date' => [
'description' => '时间范围。',
'type' => 'array',
@@ -740,20 +474,12 @@
'description' => '时间范围对象。',
'type' => 'object',
'properties' => [
- 'Unit' => [
- 'description' => '时间单位。取值:'."\n"
- ."\n"
- .'- **second**'."\n"
- .'- **hour**'."\n"
- .'- **day**',
- 'type' => 'string',
- 'example' => 'second',
- ],
- 'Value' => [
- 'description' => '对应时间单位下的时间长度。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'Unit' => ['description' => '时间单位。取值:'."\n"
+ ."\n"
+ .'- **second**'."\n"
+ .'- **hour**'."\n"
+ .'- **day**', 'type' => 'string', 'example' => 'second'],
+ 'Value' => ['description' => '对应时间单位下的时间长度。', 'type' => 'string', 'example' => '1'],
],
],
],
@@ -769,34 +495,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7532B7EE-7CE7-5F4D-BF04-XXXXXXXX\\",\\n \\"SasScreenTypeList\\": [\\n {\\n \\"TypeCode\\": \\"ASSETS\\",\\n \\"Type\\": \\"资产\\",\\n \\"TypeData\\": [\\n {\\n \\"Code\\": \\"VUL_VUL\\",\\n \\"Title\\": \\"资产\\",\\n \\"Id\\": \\"25\\",\\n \\"Date\\": [\\n {\\n \\"Unit\\": \\"second\\",\\n \\"Value\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '获取大屏可展示数据列表',
],
'CreateScreenSetting' => [
'summary' => '创建大屏配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -806,89 +518,50 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '171935',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Title',
'in' => 'query',
- 'schema' => [
- 'description' => '标题文案。'."\n"
- ."\n"
- .'> 建议不超过5个字符',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '标题文案。'."\n"
+ ."\n"
+ .'> 建议不超过5个字符', 'type' => 'string', 'required' => true, 'example' => 'test'],
],
[
'name' => 'ScreenDataMap',
'in' => 'query',
- 'schema' => [
- 'description' => '大屏数据配置。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{"positionId":1,"componentId":3,"date":"7-day"},{"positionId":2,"componentId":1,"date":"0-second"},{"positionId":3,"componentId":8,"date":"15-day"},{"positionId":4,"componentId":11,"date":"15-day"},{"positionId":5,"componentId":23,"date":"24-hour"},{"positionId":6,"componentId":17,"date":"24-hour"},{"positionId":7,"componentId":13,"date":"24-hour"},{"positionId":8,"componentId":25,"date":"0-second"}]',
- ],
+ 'schema' => ['description' => '大屏数据配置。', 'type' => 'string', 'required' => true, 'example' => '[{"positionId":1,"componentId":3,"date":"7-day"},{"positionId":2,"componentId":1,"date":"0-second"},{"positionId":3,"componentId":8,"date":"15-day"},{"positionId":4,"componentId":11,"date":"15-day"},{"positionId":5,"componentId":23,"date":"24-hour"},{"positionId":6,"componentId":17,"date":"24-hour"},{"positionId":7,"componentId":13,"date":"24-hour"},{"positionId":8,"componentId":25,"date":"0-second"}]'],
],
[
'name' => 'LogoUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '大屏Logo地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://img.alicdn.com/tfs/xxxx.png',
- ],
+ 'schema' => ['description' => '大屏Logo地址。', 'type' => 'string', 'required' => true, 'example' => 'https://img.alicdn.com/tfs/xxxx.png'],
],
[
'name' => 'LogoPower',
'in' => 'query',
- 'schema' => [
- 'description' => '标题高亮装饰是否开启。取值:'."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '标题高亮装饰是否开启。取值:'."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否', 'type' => 'boolean', 'required' => true, 'example' => 'false'],
],
[
'name' => 'MonitorUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义监控URL。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://monitor.xxxxxxx',
- ],
+ 'schema' => ['description' => '自定义监控URL。', 'type' => 'string', 'required' => false, 'example' => 'https://monitor.xxxxxxx'],
],
[
'name' => 'ScreenDefault',
'in' => 'query',
- 'schema' => [
- 'description' => '默认大屏标识。取值:'."\n"
- .'- **0**:自定义大屏'."\n"
- .'- **1**:默认大屏',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '默认大屏标识。取值:'."\n"
+ .'- **0**:自定义大屏'."\n"
+ .'- **1**:默认大屏', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '大屏ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '大屏ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '123'],
],
],
'responses' => [
@@ -896,51 +569,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '大屏ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '898F7AA7-CECD-5EC7-AF4D-664C601B****',
- ],
+ 'Id' => ['description' => '大屏ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '898F7AA7-CECD-5EC7-AF4D-664C601B****'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Id\\": 123,\\n \\"RequestId\\": \\"898F7AA7-CECD-5EC7-AF4D-664C601B****\\"\\n}","type":"json"}]',
'title' => '创建大屏配置',
],
'DeleteScreenSetting' => [
'summary' => '删除大屏配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -950,23 +600,15 @@
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '171997',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '大屏ID。'."\n"
- .'> 调用[DescribeScreenTitles](~~DescribeScreenTitles~~)接口获取该参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '123',
- ],
+ 'schema' => ['description' => '大屏ID。'."\n"
+ .'> 调用[DescribeScreenTitles](~~DescribeScreenTitles~~)接口获取该参数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123'],
],
],
'responses' => [
@@ -974,45 +616,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'CE500770-42D3-442E-9DDD-156E0F9F****',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CE500770-42D3-442E-9DDD-156E0F9F****'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE500770-42D3-442E-9DDD-156E0F9F****\\"\\n}","type":"json"}]',
'title' => '删除大屏配置',
],
'DescribeScreenVersionConfig' => [
'summary' => '查询安全大屏版本配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1022,9 +646,7 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171756',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -1032,87 +654,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SasLog' => [
- 'description' => '是否已购买日志分析。取值:'."\n"
- .'- **0**:未购买'."\n"
- .'- **1**:已购买',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SasScreen' => [
- 'description' => '是否已购买安全大屏。取值:'."\n"
- .'- **0**:未购买'."\n"
- .'- **1**:已购买',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'AssetLevel' => [
- 'description' => '已购买的服务器授权数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'sas-b5***',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'CE500770-42D3-442E-9DDD-1XXXXXXX',
- ],
- 'Version' => [
- 'description' => '已购买的云安全中心版本。 取值: '."\n"
- .'- **1**:免费版 '."\n"
- .'- **3**:企业版'."\n"
- .'- **5**:高级版'."\n"
- .'- **6**:防病毒版 '."\n"
- .'- **7**:旗舰版 '."\n"
- .'- **8**:多版本 '."\n"
- .'- **10**:仅采购增值服务',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'ReleaseTime' => [
- 'description' => '云安全中心实例到期时间戳,单位为毫秒。'."\n"
- .'> 如果服务到期7天后您未进行续费,您的付费版实例将降级为免费版,您将无法继续使用付费版本的功能,您之前的云安全中心配置数据和历史告警数据(例如:DDoS告警等)将无法查看。此时,您只有通过重新购买来启用云安全中心付费版服务。更多信息请参见[购买云安全中心](~~42308~~)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625846400000',
- ],
- 'IsTrialVersion' => [
- 'description' => '当前云安全中心版本是否是试用版本。取值:'."\n"
- .'- **0**:非试用版本'."\n"
- .'- **1**:试用版本'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'SasLog' => ['description' => '是否已购买日志分析。取值:'."\n"
+ .'- **0**:未购买'."\n"
+ .'- **1**:已购买', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SasScreen' => ['description' => '是否已购买安全大屏。取值:'."\n"
+ .'- **0**:未购买'."\n"
+ .'- **1**:已购买', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'AssetLevel' => ['description' => '已购买的服务器授权数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'sas-b5***'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'CE500770-42D3-442E-9DDD-1XXXXXXX'],
+ 'Version' => ['description' => '已购买的云安全中心版本。 取值: '."\n"
+ .'- **1**:免费版 '."\n"
+ .'- **3**:企业版'."\n"
+ .'- **5**:高级版'."\n"
+ .'- **6**:防病毒版 '."\n"
+ .'- **7**:旗舰版 '."\n"
+ .'- **8**:多版本 '."\n"
+ .'- **10**:仅采购增值服务', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'ReleaseTime' => ['description' => '云安全中心实例到期时间戳,单位为毫秒。'."\n"
+ .'> 如果服务到期7天后您未进行续费,您的付费版实例将降级为免费版,您将无法继续使用付费版本的功能,您之前的云安全中心配置数据和历史告警数据(例如:DDoS告警等)将无法查看。此时,您只有通过重新购买来启用云安全中心付费版服务。更多信息请参见[购买云安全中心](~~42308~~)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625846400000'],
+ 'IsTrialVersion' => ['description' => '当前云安全中心版本是否是试用版本。取值:'."\n"
+ .'- **0**:非试用版本'."\n"
+ .'- **1**:试用版本'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SasLog\\": 1,\\n \\"SasScreen\\": 0,\\n \\"AssetLevel\\": 30,\\n \\"InstanceId\\": \\"sas-b5***\\",\\n \\"RequestId\\": \\"CE500770-42D3-442E-9DDD-1XXXXXXX\\",\\n \\"Version\\": 3,\\n \\"ReleaseTime\\": 1625846400000,\\n \\"IsTrialVersion\\": 0\\n}","type":"json"}]',
'title' => '查询安全大屏版本配置',
'responseParamsDescription' => '实际调用时,除上述表格中的返回参数外,还会返回以下参数。 '."\n"
@@ -1126,14 +702,8 @@
],
'DescribeScreenUploadPicture' => [
'summary' => '查询安全态势大屏图片资源地址。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1144,22 +714,15 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '172535',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'LogoUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '安全大屏logo图片的oss查询地址。'."\n"
- .'> 通过[DescribeScreenOssUploadInfo](~~DescribeScreenOssUploadInfo~~)接口获取,将host字段值和key字段值拼接。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://security-pic.oss-cn-hangzhou.aliyuncs.com/screenLogo/1766185894104675/c28bd4d2-c5c1-43f8-9ef5-de41d762xxxx',
- ],
+ 'schema' => ['description' => '安全大屏logo图片的oss查询地址。'."\n"
+ .'> 通过[DescribeScreenOssUploadInfo](~~DescribeScreenOssUploadInfo~~)接口获取,将host字段值和key字段值拼接。', 'type' => 'string', 'required' => true, 'example' => 'https://security-pic.oss-cn-hangzhou.aliyuncs.com/screenLogo/1766185894104675/c28bd4d2-c5c1-43f8-9ef5-de41d762xxxx'],
],
],
'responses' => [
@@ -1167,50 +730,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Url' => [
- 'description' => '图片资源地址。',
- 'type' => 'string',
- 'example' => 'http://security-pic.oss-cn-hangzhou.aliyuncs.com/screenLogo/1766185894104675/c28bd4d2-c5c1-43f8-9ef5-de41d76218eb?Expires=1723720214&OSSAccessKeyId=LTAI4G1mgPbjvGQuiV1Xxxxx&Signature=4o3xxxx',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'D65AADFC-1D20-5A6A-8F6A-9FA53C0Dxxxx',
- ],
+ 'Url' => ['description' => '图片资源地址。', 'type' => 'string', 'example' => 'http://security-pic.oss-cn-hangzhou.aliyuncs.com/screenLogo/1766185894104675/c28bd4d2-c5c1-43f8-9ef5-de41d76218eb?Expires=1723720214&OSSAccessKeyId=LTAI4G1mgPbjvGQuiV1Xxxxx&Signature=4o3xxxx'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'D65AADFC-1D20-5A6A-8F6A-9FA53C0Dxxxx'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Url\\": \\"http://security-pic.oss-cn-hangzhou.aliyuncs.com/screenLogo/1766185894104675/c28bd4d2-c5c1-43f8-9ef5-de41d76218eb?Expires=1723720214&OSSAccessKeyId=LTAI4G1mgPbjvGQuiV1Xxxxx&Signature=4o3xxxx\\",\\n \\"RequestId\\": \\"D65AADFC-1D20-5A6A-8F6A-9FA53C0Dxxxx\\"\\n}","type":"json"}]',
'title' => '查询上传之后的图片显示地址',
],
'DescribeScreenTitles' => [
'summary' => '获取大屏幕设置全部列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1220,9 +761,7 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '171930',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -1230,28 +769,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。'."\n",
- 'type' => 'string',
- 'example' => '09969D2C-4FAD-429E-BFBF-XXXXXXXXXXX',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。'."\n", 'type' => 'string', 'example' => '09969D2C-4FAD-429E-BFBF-XXXXXXXXXXX'],
'SasScreenSettingList' => [
'description' => '当前账号下的大屏列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ScreenTitle' => [
- 'description' => '当前大屏标题。',
- 'type' => 'string',
- 'example' => 'titlexxx',
- ],
- 'ScreenID' => [
- 'description' => '当前大屏id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3267',
- ],
+ 'ScreenTitle' => ['description' => '当前大屏标题。', 'type' => 'string', 'example' => 'titlexxx'],
+ 'ScreenID' => ['description' => '当前大屏id。', 'type' => 'integer', 'format' => 'int64', 'example' => '3267'],
],
],
],
@@ -1261,34 +787,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09969D2C-4FAD-429E-BFBF-XXXXXXXXXXX\\",\\n \\"SasScreenSettingList\\": [\\n {\\n \\"ScreenTitle\\": \\"titlexxx\\",\\n \\"ScreenID\\": 3267\\n }\\n ]\\n}","type":"json"}]',
'title' => '获取大屏幕设置全部列表',
],
'DescribeScreenSummaryInfo' => [
'summary' => '查询大屏统计信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1298,9 +810,7 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171871',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -1308,68 +818,35 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '23AD0BD2-8771-5647-819E-XXXXXXXX',
- ],
- 'AegisClientOfflineCount' => [
- 'description' => '未防护资产的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'AegisClientOnlineCount' => [
- 'description' => '已防护资产的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '127',
- ],
- 'SecurityScore' => [
- 'description' => '资产的安全分值。以下是分值区间和资产安全状态的对应关系:'."\n"
- ."\n"
- .'- 95~100:表示您的资产安全状态良好。'."\n"
- .'- 85~94:表示您的资产存在安全隐患,建议尽快加固安全防护体系。'."\n"
- .'- 70~84:表示您的资产存在较多安全隐患,建议及时加固安全防护体系。'."\n"
- .'- 69分以下:表示您的资产防御黑客入侵的能力很弱,需要尽快加固安全防护体系。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '23AD0BD2-8771-5647-819E-XXXXXXXX'],
+ 'AegisClientOfflineCount' => ['description' => '未防护资产的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'AegisClientOnlineCount' => ['description' => '已防护资产的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '127'],
+ 'SecurityScore' => ['description' => '资产的安全分值。以下是分值区间和资产安全状态的对应关系:'."\n"
+ ."\n"
+ .'- 95~100:表示您的资产安全状态良好。'."\n"
+ .'- 85~94:表示您的资产存在安全隐患,建议尽快加固安全防护体系。'."\n"
+ .'- 70~84:表示您的资产存在较多安全隐患,建议及时加固安全防护体系。'."\n"
+ .'- 69分以下:表示您的资产防御黑客入侵的能力很弱,需要尽快加固安全防护体系。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23AD0BD2-8771-5647-819E-XXXXXXXX\\",\\n \\"AegisClientOfflineCount\\": 12,\\n \\"AegisClientOnlineCount\\": 127,\\n \\"SecurityScore\\": 100\\n}","type":"json"}]',
'title' => '查询大屏统计信息',
],
'DescribeScreenSetting' => [
'summary' => '查询大屏配置',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1379,21 +856,14 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171876',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '大屏ID。'."\n"
- .'> 调用[DescribeScreenTitles](~~DescribeScreenTitles~~)接口获取该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '101786',
- ],
+ 'schema' => ['description' => '大屏ID。'."\n"
+ .'> 调用[DescribeScreenTitles](~~DescribeScreenTitles~~)接口获取该参数。', 'type' => 'string', 'required' => false, 'example' => '101786'],
],
],
'responses' => [
@@ -1401,153 +871,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ScreenId' => [
- 'description' => '当前大屏ID,和请求参数ID一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1004770',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'B9A68671-BD84-55CD-807A-XXXXXXXXX',
- ],
- 'ScreenDefault' => [
- 'description' => '是否是默认大屏。取值:'."\n"
- ."\n"
- .'- **1**:是'."\n"
- .'- **0**:否',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7849',
- ],
- 'LogoPower' => [
- 'description' => '大屏图版开关。取值:'."\n"
- ."\n"
- .'- **yes**:开'."\n"
- .'- **false**:关',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'LogoUrl' => [
- 'description' => '大屏Logo地址。',
- 'type' => 'string',
- 'example' => 'https://img.alicdn.XXXXXXXXXXX.jpg',
- ],
- 'Title' => [
- 'description' => '大屏标题。',
- 'type' => 'string',
- 'example' => 'Daily Report',
- ],
- 'ScreenDataMap' => [
- 'description' => '时间范围。',
- 'type' => 'string',
- 'example' => '[{\\"positionId\\":XX,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":X,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":X,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":,\\"date\\":\\"XXXX\\"}]',
- ],
- 'MonitorUrl' => [
- 'description' => '大屏业务监控URL地址。',
- 'type' => 'string',
- 'example' => 'https://XXX.monitor.XXXXcom',
- ],
+ 'ScreenId' => ['description' => '当前大屏ID,和请求参数ID一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '1004770'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'B9A68671-BD84-55CD-807A-XXXXXXXXX'],
+ 'ScreenDefault' => ['description' => '是否是默认大屏。取值:'."\n"
+ ."\n"
+ .'- **1**:是'."\n"
+ .'- **0**:否', 'type' => 'integer', 'format' => 'int32', 'example' => '7849'],
+ 'LogoPower' => ['description' => '大屏图版开关。取值:'."\n"
+ ."\n"
+ .'- **yes**:开'."\n"
+ .'- **false**:关', 'type' => 'boolean', 'example' => 'false'],
+ 'LogoUrl' => ['description' => '大屏Logo地址。', 'type' => 'string', 'example' => 'https://img.alicdn.XXXXXXXXXXX.jpg'],
+ 'Title' => ['description' => '大屏标题。', 'type' => 'string', 'example' => 'Daily Report'],
+ 'ScreenDataMap' => ['description' => '时间范围。', 'type' => 'string', 'example' => '[{\\"positionId\\":XX,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":X,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":X,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XX\\"},{\\"positionId\\":X,\\"componentId\\":XX,\\"date\\":\\"XXX\\"},{\\"positionId\\":X,\\"componentId\\":,\\"date\\":\\"XXXX\\"}]'],
+ 'MonitorUrl' => ['description' => '大屏业务监控URL地址。', 'type' => 'string', 'example' => 'https://XXX.monitor.XXXXcom'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScreenId\\": 1004770,\\n \\"RequestId\\": \\"B9A68671-BD84-55CD-807A-XXXXXXXXX\\",\\n \\"ScreenDefault\\": 7849,\\n \\"LogoPower\\": false,\\n \\"LogoUrl\\": \\"https://img.alicdn.XXXXXXXXXXX.jpg\\",\\n \\"Title\\": \\"Daily Report\\",\\n \\"ScreenDataMap\\": \\"[{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XXX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XXX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XXX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":XX,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XXX\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"positionId\\\\\\\\\\\\\\":X,\\\\\\\\\\\\\\"componentId\\\\\\\\\\\\\\":,\\\\\\\\\\\\\\"date\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"XXXX\\\\\\\\\\\\\\"}]\\",\\n \\"MonitorUrl\\": \\"https://XXX.monitor.XXXXcom\\"\\n}","type":"json"}]',
'title' => '查询大屏配置',
],
'DescribeScreenSecurityStatInfo' => [
'summary' => '查询已处理的风险。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'F8B6F758-BCD4-597A-8A2C-DA5A552C****',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'F8B6F758-BCD4-597A-8A2C-DA5A552C****'],
'SecurityEvent' => [
'description' => '已处理的告警数据的统计详情。',
'type' => 'object',
'properties' => [
- 'SuspiciousCount' => [
- 'description' => '紧急程度为可疑的安全告警总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'SeriousCount' => [
- 'description' => '紧急程度为紧急的安全告警总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RemindCount' => [
- 'description' => '紧急程度为提醒的安全告警总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalCount' => [
- 'description' => '总计次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
+ 'SuspiciousCount' => ['description' => '紧急程度为可疑的安全告警总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'SeriousCount' => ['description' => '紧急程度为紧急的安全告警总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RemindCount' => ['description' => '紧急程度为提醒的安全告警总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalCount' => ['description' => '总计次数', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
'ValueArray' => [
'description' => '各个统计时间点对应的已处理告警的个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的已处理告警的个数。',
- 'type' => 'string',
- 'example' => '444',
- ],
+ 'items' => ['description' => '各个统计时间点对应的已处理告警的个数。', 'type' => 'string', 'example' => '444'],
],
'RemindList' => [
'description' => '各个统计时间点发生的告警级别为**提醒**的告警统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点发生的告警级别为**提醒**的告警统计个数。',
- 'type' => 'string',
- 'example' => '5,',
- ],
+ 'items' => ['description' => '各个统计时间点发生的告警级别为**提醒**的告警统计个数。', 'type' => 'string', 'example' => '5,'],
],
'LevelsOn' => [
'description' => '告警参与统计的告警级别。取值:'."\n"
@@ -1555,41 +943,25 @@
.'- **suspicious**:可疑'."\n"
.'- **serious**:紧急',
'type' => 'array',
- 'items' => [
- 'description' => '待处理告警参与统计的告警级别。取值:'."\n"
- .'- **remind**:提醒'."\n"
- .'- **suspicious**:可疑'."\n"
- .'- **serious**:紧急',
- 'type' => 'string',
- 'example' => 'remind',
- ],
+ 'items' => ['description' => '待处理告警参与统计的告警级别。取值:'."\n"
+ .'- **remind**:提醒'."\n"
+ .'- **suspicious**:可疑'."\n"
+ .'- **serious**:紧急', 'type' => 'string', 'example' => 'remind'],
],
'DateArray' => [
'description' => '已处理告警趋势图的统计时间点。',
'type' => 'array',
- 'items' => [
- 'description' => '待处理告警趋势图的统计时间点。',
- 'type' => 'string',
- 'example' => '2020-01-08',
- ],
+ 'items' => ['description' => '待处理告警趋势图的统计时间点。', 'type' => 'string', 'example' => '2020-01-08'],
],
'SuspiciousList' => [
'description' => '各个统计时间点发生的告警级别为**可疑**的告警事件的统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点发生的告警级别为**可疑**的告警事件的统计个数。',
- 'type' => 'string',
- 'example' => '111,',
- ],
+ 'items' => ['description' => '各个统计时间点发生的告警级别为**可疑**的告警事件的统计个数。', 'type' => 'string', 'example' => '111,'],
],
'SeriousList' => [
'description' => '各个统计时间点发生的告警级别为**紧急**的告警事件的统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点发生的告警级别为**紧急**的告警事件的统计个数。',
- 'type' => 'string',
- 'example' => '111',
- ],
+ 'items' => ['description' => '各个统计时间点发生的告警级别为**紧急**的告警事件的统计个数。', 'type' => 'string', 'example' => '111'],
],
],
],
@@ -1597,29 +969,16 @@
'description' => '攻击次数统计详细信息。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1096',
- ],
+ 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1096'],
'DateArray' => [
'description' => '攻击次数趋势图的统计时间点。',
'type' => 'array',
- 'items' => [
- 'description' => '攻击次数趋势图的统计时间点。',
- 'type' => 'string',
- 'example' => '2020-01-04',
- ],
+ 'items' => ['description' => '攻击次数趋势图的统计时间点。', 'type' => 'string', 'example' => '2020-01-04'],
],
'ValueArray' => [
'description' => '各个统计时间点对应的攻击次数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的攻击次数。',
- 'type' => 'string',
- 'example' => '2620',
- ],
+ 'items' => ['description' => '各个统计时间点对应的攻击次数。', 'type' => 'string', 'example' => '2620'],
],
],
],
@@ -1627,38 +986,14 @@
'description' => '基线问题统计的详细信息。',
'type' => 'object',
'properties' => [
- 'HighCount' => [
- 'description' => '当天高危风险基线问题的个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'LowCount' => [
- 'description' => '当天低危风险基线问题的个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalCount' => [
- 'description' => '当天基线问题的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '32',
- ],
- 'MediumCount' => [
- 'description' => '当天中危风险基线问题的个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '21',
- ],
+ 'HighCount' => ['description' => '当天高危风险基线问题的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'LowCount' => ['description' => '当天低危风险基线问题的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalCount' => ['description' => '当天基线问题的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'],
+ 'MediumCount' => ['description' => '当天中危风险基线问题的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '21'],
'ValueArray' => [
'description' => '各个统计时间点对应的基线总数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的基线总数。',
- 'type' => 'string',
- 'example' => '31',
- ],
+ 'items' => ['description' => '各个统计时间点对应的基线总数。', 'type' => 'string', 'example' => '31'],
],
'LevelsOn' => [
'description' => '参与统计的基线的风险级别列表。取值:'."\n"
@@ -1666,50 +1001,30 @@
.'- **medium**:中危'."\n"
.'- **low**:低危',
'type' => 'array',
- 'items' => [
- 'description' => '参与统计的基线的风险级别列表。取值:'."\n"
- .'- **high**:高危'."\n"
- .'- **medium**:中危'."\n"
- .'- **low**:低危',
- 'type' => 'string',
- 'example' => 'high',
- ],
+ 'items' => ['description' => '参与统计的基线的风险级别列表。取值:'."\n"
+ .'- **high**:高危'."\n"
+ .'- **medium**:中危'."\n"
+ .'- **low**:低危', 'type' => 'string', 'example' => 'high'],
],
'LowList' => [
'description' => '各个统计时间点发生的低危风险基线问题的个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点发生的低危风险基线问题的个数。',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'items' => ['description' => '各个统计时间点发生的低危风险基线问题的个数。', 'type' => 'string', 'example' => '0'],
],
'MediumList' => [
'description' => '各个统计时间点发生的中危风险基线问题的个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点发生的中危风险基线问题的个数。',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'items' => ['description' => '各个统计时间点发生的中危风险基线问题的个数。', 'type' => 'string', 'example' => '0'],
],
'DateArray' => [
'description' => '基线问题趋势图的统计时间点。',
'type' => 'array',
- 'items' => [
- 'description' => '基线问题趋势图的统计时间点。',
- 'type' => 'string',
- 'example' => '2020-01-04',
- ],
+ 'items' => ['description' => '基线问题趋势图的统计时间点。', 'type' => 'string', 'example' => '2020-01-04'],
],
'HighList' => [
'description' => '各个统计时间点对应的高危风险基线的个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的高危风险基线的个数。',
- 'type' => 'string',
- 'example' => '11',
- ],
+ 'items' => ['description' => '各个统计时间点对应的高危风险基线的个数。', 'type' => 'string', 'example' => '11'],
],
],
],
@@ -1717,56 +1032,24 @@
'description' => '漏洞风险数。',
'type' => 'object',
'properties' => [
- 'NntfCount' => [
- 'description' => '当天待修复漏洞紧急程度为**低**的漏洞个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'LaterCount' => [
- 'description' => '当天待修复漏洞紧急程度为**中**的漏洞个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '275',
- ],
- 'TotalCount' => [
- 'description' => '当天待修复漏洞个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '384',
- ],
- 'AsapCount' => [
- 'description' => '当天待修复漏洞紧急程度为**高**的漏洞个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '109',
- ],
+ 'NntfCount' => ['description' => '当天待修复漏洞紧急程度为**低**的漏洞个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'LaterCount' => ['description' => '当天待修复漏洞紧急程度为**中**的漏洞个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '275'],
+ 'TotalCount' => ['description' => '当天待修复漏洞个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '384'],
+ 'AsapCount' => ['description' => '当天待修复漏洞紧急程度为**高**的漏洞个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '109'],
'NntfList' => [
'description' => '各个统计时间点对应的待修复漏洞紧急程度为**低**的统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的待修复漏洞紧急程度为**低**的统计个数。',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'items' => ['description' => '各个统计时间点对应的待修复漏洞紧急程度为**低**的统计个数。', 'type' => 'string', 'example' => '0'],
],
'AsapList' => [
'description' => '各个统计时间点对应的待修复漏洞紧急程度为**高**的统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的待修复漏洞紧急程度为**高**的统计个数。',
- 'type' => 'string',
- 'example' => '60',
- ],
+ 'items' => ['description' => '各个统计时间点对应的待修复漏洞紧急程度为**高**的统计个数。', 'type' => 'string', 'example' => '60'],
],
'ValueArray' => [
'description' => '各个统计时间点对应的待修复漏洞的个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的待修复漏洞的个数。',
- 'type' => 'string',
- 'example' => '384',
- ],
+ 'items' => ['description' => '各个统计时间点对应的待修复漏洞的个数。', 'type' => 'string', 'example' => '384'],
],
'LevelsOn' => [
'description' => '待修复漏洞参与统计的漏洞紧急程度。取值:'."\n"
@@ -1774,32 +1057,20 @@
.'- **later**:中'."\n"
.'- **nntf**:低',
'type' => 'array',
- 'items' => [
- 'description' => '待修复漏洞参与统计的漏洞紧急程度。取值:'."\n"
- .'- **asap**:高'."\n"
- .'- **later**:中'."\n"
- .'- **nntf**:低',
- 'type' => 'string',
- 'example' => 'later',
- ],
+ 'items' => ['description' => '待修复漏洞参与统计的漏洞紧急程度。取值:'."\n"
+ .'- **asap**:高'."\n"
+ .'- **later**:中'."\n"
+ .'- **nntf**:低', 'type' => 'string', 'example' => 'later'],
],
'LaterList' => [
'description' => '各个统计时间点对应的待修复漏洞紧急程度为**中**的统计个数。',
'type' => 'array',
- 'items' => [
- 'description' => '各个统计时间点对应的待修复漏洞紧急程度为**中**的统计个数。',
- 'type' => 'string',
- 'example' => '275',
- ],
+ 'items' => ['description' => '各个统计时间点对应的待修复漏洞紧急程度为**中**的统计个数。', 'type' => 'string', 'example' => '275'],
],
'DateArray' => [
'description' => '待修复漏洞趋势图的统计时间点。',
'type' => 'array',
- 'items' => [
- 'description' => '待修复漏洞趋势图的统计时间点。',
- 'type' => 'string',
- 'example' => '2020-01-04',
- ],
+ 'items' => ['description' => '待修复漏洞趋势图的统计时间点。', 'type' => 'string', 'example' => '2020-01-04'],
],
],
],
@@ -1809,34 +1080,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F8B6F758-BCD4-597A-8A2C-DA5A552C****\\",\\n \\"SecurityEvent\\": {\\n \\"SuspiciousCount\\": 10,\\n \\"SeriousCount\\": 2,\\n \\"RemindCount\\": 0,\\n \\"TotalCount\\": 8,\\n \\"ValueArray\\": [\\n \\"444\\"\\n ],\\n \\"RemindList\\": [\\n \\"5,\\"\\n ],\\n \\"LevelsOn\\": [\\n \\"remind\\"\\n ],\\n \\"DateArray\\": [\\n \\"2020-01-08\\"\\n ],\\n \\"SuspiciousList\\": [\\n \\"111,\\"\\n ],\\n \\"SeriousList\\": [\\n \\"111\\"\\n ]\\n },\\n \\"AttackEvent\\": {\\n \\"TotalCount\\": 1096,\\n \\"DateArray\\": [\\n \\"2020-01-04\\"\\n ],\\n \\"ValueArray\\": [\\n \\"2620\\"\\n ]\\n },\\n \\"HealthCheck\\": {\\n \\"HighCount\\": 10,\\n \\"LowCount\\": 0,\\n \\"TotalCount\\": 32,\\n \\"MediumCount\\": 21,\\n \\"ValueArray\\": [\\n \\"31\\"\\n ],\\n \\"LevelsOn\\": [\\n \\"high\\"\\n ],\\n \\"LowList\\": [\\n \\"0\\"\\n ],\\n \\"MediumList\\": [\\n \\"0\\"\\n ],\\n \\"DateArray\\": [\\n \\"2020-01-04\\"\\n ],\\n \\"HighList\\": [\\n \\"11\\"\\n ]\\n },\\n \\"Vulnerability\\": {\\n \\"NntfCount\\": 0,\\n \\"LaterCount\\": 275,\\n \\"TotalCount\\": 384,\\n \\"AsapCount\\": 109,\\n \\"NntfList\\": [\\n \\"0\\"\\n ],\\n \\"AsapList\\": [\\n \\"60\\"\\n ],\\n \\"ValueArray\\": [\\n \\"384\\"\\n ],\\n \\"LevelsOn\\": [\\n \\"later\\"\\n ],\\n \\"LaterList\\": [\\n \\"275\\"\\n ],\\n \\"DateArray\\": [\\n \\"2020-01-04\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询已处理的风险',
],
'DescribeScreenScoreThread' => [
'summary' => '查询安全大屏分数趋势。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1846,36 +1103,22 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171949',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间的时间戳。单位:毫秒。'."\n"
- ."\n"
- .'> 开始时间戳和结束时间戳不能超过**7**天。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1722840664501',
- ],
+ 'schema' => ['description' => '开始时间的时间戳。单位:毫秒。'."\n"
+ ."\n"
+ .'> 开始时间戳和结束时间戳不能超过**7**天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1722840664501'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间的时间戳。单位:毫秒。'."\n"
- ."\n"
- .'> 开始时间戳和结束时间戳相差不能超过**7**天。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1723445464501',
- ],
+ 'schema' => ['description' => '结束时间的时间戳。单位:毫秒。'."\n"
+ ."\n"
+ .'> 开始时间戳和结束时间戳相差不能超过**7**天。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1723445464501'],
],
],
'responses' => [
@@ -1883,11 +1126,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。'."\n",
- 'type' => 'string',
- 'example' => 'D03DD0FD-6041-5107-AC00-383E28F1****',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。'."\n", 'type' => 'string', 'example' => 'D03DD0FD-6041-5107-AC00-383E28F1****'],
'Data' => [
'description' => '返回数据。',
'type' => 'object',
@@ -1895,20 +1134,12 @@
'SocreThread' => [
'description' => '安全分分数。',
'type' => 'array',
- 'items' => [
- 'description' => '安全分分数。',
- 'type' => 'string',
- 'example' => '80',
- ],
+ 'items' => ['description' => '安全分分数。', 'type' => 'string', 'example' => '80'],
],
'SocreThreadDate' => [
'description' => '安全分趋势日期。',
'type' => 'array',
- 'items' => [
- 'description' => '安全分趋势日期。',
- 'type' => 'string',
- 'example' => '2024-07-01',
- ],
+ 'items' => ['description' => '安全分趋势日期。', 'type' => 'string', 'example' => '2024-07-01'],
],
],
],
@@ -1918,34 +1149,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D03DD0FD-6041-5107-AC00-383E28F1****\\",\\n \\"Data\\": {\\n \\"SocreThread\\": [\\n \\"80\\"\\n ],\\n \\"SocreThreadDate\\": [\\n \\"2024-07-01\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询安全大屏分数趋势',
],
'DescribeScreenOssUploadInfo' => [
'summary' => '查询大屏上传信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1957,9 +1174,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '171993',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -1967,81 +1182,34 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'OSS文件名称Key。',
- 'type' => 'string',
- 'example' => 'DegradePool_Offset_****',
- ],
- 'Signature' => [
- 'description' => 'OSS签名。',
- 'type' => 'string',
- 'example' => 'wBiwkhd5LGcLzijtc3FhI****',
- ],
- 'Host' => [
- 'description' => 'OSS域名。',
- 'type' => 'string',
- 'example' => 'https://oss-cipxxxxxxxxxliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '30CBF632-109F-596F-97F2-451C8B2A****',
- ],
- 'Policy' => [
- 'description' => 'OSS安全策略。',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNC0wOC0xNVQwOToxMTo1My40MDVaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJzY3JlZW5Mb2dvXC8xNzY2MTg1ODkxxxx',
- ],
- 'Expire' => [
- 'description' => 'OSS授权失效时间,时间戳格式。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1719919893',
- ],
- 'AccessId' => [
- 'description' => '文件存储位置的AccessKey。',
- 'type' => 'string',
- 'example' => 'LTAI5txxxxxxx',
- ],
- 'SecurityToken' => [
- 'description' => 'STS安全令牌。',
- 'type' => 'string',
- 'example' => '***',
- ],
+ 'Key' => ['description' => 'OSS文件名称Key。', 'type' => 'string', 'example' => 'DegradePool_Offset_****'],
+ 'Signature' => ['description' => 'OSS签名。', 'type' => 'string', 'example' => 'wBiwkhd5LGcLzijtc3FhI****'],
+ 'Host' => ['description' => 'OSS域名。', 'type' => 'string', 'example' => 'https://oss-cipxxxxxxxxxliyuncs.com'],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '30CBF632-109F-596F-97F2-451C8B2A****'],
+ 'Policy' => ['description' => 'OSS安全策略。', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNC0wOC0xNVQwOToxMTo1My40MDVaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJzY3JlZW5Mb2dvXC8xNzY2MTg1ODkxxxx'],
+ 'Expire' => ['description' => 'OSS授权失效时间,时间戳格式。', 'type' => 'integer', 'format' => 'int32', 'example' => '1719919893'],
+ 'AccessId' => ['description' => '文件存储位置的AccessKey。', 'type' => 'string', 'example' => 'LTAI5txxxxxxx'],
+ 'SecurityToken' => ['description' => 'STS安全令牌。', 'type' => 'string', 'example' => '***'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"DegradePool_Offset_****\\",\\n \\"Signature\\": \\"wBiwkhd5LGcLzijtc3FhI****\\",\\n \\"Host\\": \\"https://oss-cipxxxxxxxxxliyuncs.com\\",\\n \\"RequestId\\": \\"30CBF632-109F-596F-97F2-451C8B2A****\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNC0wOC0xNVQwOToxMTo1My40MDVaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJzY3JlZW5Mb2dvXC8xNzY2MTg1ODkxxxx\\",\\n \\"Expire\\": 1719919893,\\n \\"AccessId\\": \\"LTAI5txxxxxxx\\",\\n \\"SecurityToken\\": \\"***\\"\\n}","type":"json"}]',
'title' => '查询大屏上传信息',
],
'DescribeScreenHostStatistics' => [
'summary' => '查询大屏主机统计数据。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2051,9 +1219,7 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '171775',
- 'abilityTreeNodes' => [
- 'FEATUREsasBB3BJE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasBB3BJE'],
],
'parameters' => [],
'responses' => [
@@ -2061,11 +1227,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8'],
'Data' => [
'description' => '大屏主机统计数据。',
'type' => 'object',
@@ -2073,47 +1235,27 @@
'SafeCount' => [
'description' => '未发现风险资产数量。',
'type' => 'array',
- 'items' => [
- 'description' => '未发现风险资产数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'items' => ['description' => '未发现风险资产数量。', 'type' => 'string', 'example' => '10'],
],
'WeaknessMachineNames' => [
'description' => '存在基线风险的资产信息列表。',
'type' => 'array',
- 'items' => [
- 'description' => '存在基线风险的资产信息。',
- 'type' => 'string',
- 'example' => 'testmachinexxx|8.152.x.xx|172.31.xx.xxx',
- ],
+ 'items' => ['description' => '存在基线风险的资产信息。', 'type' => 'string', 'example' => 'testmachinexxx|8.152.x.xx|172.31.xx.xxx'],
],
'SuspEventMachineNames' => [
'description' => '存在安全告警的资产信息列表。',
'type' => 'array',
- 'items' => [
- 'description' => '存在安全告警的资产信息。',
- 'type' => 'string',
- 'example' => 'testmachinexxx|8.152.x.xx|172.31.xx.xxx',
- ],
+ 'items' => ['description' => '存在安全告警的资产信息。', 'type' => 'string', 'example' => 'testmachinexxx|8.152.x.xx|172.31.xx.xxx'],
],
'SuspEventUuids' => [
'description' => '存在安全告警的资产uuid列表。',
'type' => 'array',
- 'items' => [
- 'description' => '存在安全告警的资产uuid。',
- 'type' => 'string',
- 'example' => 'e16f5243-aa33-4506-84ab-xxxxxxx',
- ],
+ 'items' => ['description' => '存在安全告警的资产uuid。', 'type' => 'string', 'example' => 'e16f5243-aa33-4506-84ab-xxxxxxx'],
],
'WeaknessUuids' => [
'description' => '存在基线风险的资产uuid列表。',
'type' => 'array',
- 'items' => [
- 'description' => '存在基线风险的资产uuid。',
- 'type' => 'string',
- 'example' => 'e16f5243-aa33-4506-84ab-xxxxxxx',
- ],
+ 'items' => ['description' => '存在基线风险的资产uuid。', 'type' => 'string', 'example' => 'e16f5243-aa33-4506-84ab-xxxxxxx'],
],
],
],
@@ -2123,161 +1265,89 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8\\",\\n \\"Data\\": {\\n \\"SafeCount\\": [\\n \\"10\\"\\n ],\\n \\"WeaknessMachineNames\\": [\\n \\"testmachinexxx|8.152.x.xx|172.31.xx.xxx\\"\\n ],\\n \\"SuspEventMachineNames\\": [\\n \\"testmachinexxx|8.152.x.xx|172.31.xx.xxx\\"\\n ],\\n \\"SuspEventUuids\\": [\\n \\"e16f5243-aa33-4506-84ab-xxxxxxx\\"\\n ],\\n \\"WeaknessUuids\\": [\\n \\"e16f5243-aa33-4506-84ab-xxxxxxx\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询大屏主机统计数据',
],
'DescribeScreenAlarmEventList' => [
'summary' => '查询安全大屏告警事件。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。取值: '."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。取值: '."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Dealed',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的告警事件是否已处理。取值:'."\n"
- .'- **N**:未处理'."\n"
- .'- **Y**:已处理',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Y',
- ],
+ 'schema' => ['description' => '要查询的告警事件是否已处理。取值:'."\n"
+ .'- **N**:未处理'."\n"
+ .'- **Y**:已处理', 'type' => 'string', 'required' => false, 'example' => 'Y'],
],
[
'name' => 'From',
'in' => 'query',
- 'schema' => [
- 'description' => '请求来源标识,固定为**sas**,表示请求来源为云安全中心。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sas',
- ],
+ 'schema' => ['description' => '请求来源标识,固定为**sas**,表示请求来源为云安全中心。', 'type' => 'string', 'required' => true, 'example' => 'sas'],
],
[
'name' => 'Levels',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的告警事件处理的紧急程度,多个紧急程度之间使用半角逗号(,)分隔,紧急程度依次递减。取值:'."\n"
- .'- **serious**:紧急'."\n"
- .'- **suspicious**:可疑'."\n"
- .'- **remind**:提醒',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'serious',
- ],
+ 'schema' => ['description' => '要查询的告警事件处理的紧急程度,多个紧急程度之间使用半角逗号(,)分隔,紧急程度依次递减。取值:'."\n"
+ .'- **serious**:紧急'."\n"
+ .'- **suspicious**:可疑'."\n"
+ .'- **remind**:提醒', 'type' => 'string', 'required' => false, 'example' => 'serious'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的告警名称或资产信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '222.185.XX.XX',
- ],
+ 'schema' => ['description' => '要查询的告警名称或资产信息。', 'type' => 'string', 'required' => false, 'example' => '222.185.XX.XX'],
],
[
'name' => 'AlarmEventName',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的告警事件的告警名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DDoS木马',
- ],
+ 'schema' => ['description' => '要查询的告警事件的告警名称。', 'type' => 'string', 'required' => false, 'example' => 'DDoS木马'],
],
[
'name' => 'AlarmEventType',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的告警事件的类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '精准防御',
- ],
+ 'schema' => ['description' => '要查询的告警事件的类型。', 'type' => 'string', 'required' => false, 'example' => '精准防御'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时,显示的当前页的页码。起始值为1,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时,显示的当前页的页码。起始值为1,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时,每页显示的漏洞的数量。默认值为**10**,表示每页显示10条漏洞。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时,每页显示的漏洞的数量。默认值为**10**,表示每页显示10条漏洞。', 'type' => 'string', 'required' => true, 'example' => '20'],
],
[
'name' => 'TimeStart',
'in' => 'query',
- 'schema' => [
- 'description' => '最新发生时间起始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1687104000000',
- ],
+ 'schema' => ['description' => '最新发生时间起始时间。', 'type' => 'string', 'required' => false, 'example' => '1687104000000'],
],
[
'name' => 'TimeEnd',
'in' => 'query',
- 'schema' => [
- 'description' => '最新发生时间结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1683862286000',
- ],
+ 'schema' => ['description' => '最新发生时间结束时间。', 'type' => 'string', 'required' => false, 'example' => '1683862286000'],
],
],
'responses' => [
@@ -2285,39 +1355,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => '09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F'],
'PageInfo' => [
'description' => '分页信息。',
'type' => 'object',
'properties' => [
- 'CurrentPage' => [
- 'description' => '分页查询时,当前页的页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时,每页最多显示的数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Count' => [
- 'description' => '当前页显示的资产的条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'CurrentPage' => ['description' => '分页查询时,当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时,每页最多显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Count' => ['description' => '当前页显示的资产的条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
'SuspEvents' => [
@@ -2327,113 +1373,38 @@
'description' => '告警事件的详细信息。',
'type' => 'object',
'properties' => [
- 'Dealed' => [
- 'description' => '告警事件是否已处理。取值:'."\n"
- ."\n"
- .'- **true**:已处理'."\n"
- .'- **false**:待处理',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DataSource' => [
- 'description' => '告警事件的数据来源。',
- 'type' => 'string',
- 'example' => 'sas',
- ],
- 'InternetIp' => [
- 'description' => '受告警事件影响的资产实例的公网IP。',
- 'type' => 'string',
- 'example' => '123.21.XX.XX',
- ],
- 'SuspiciousEventCount' => [
- 'description' => '告警事件关联的告警事件的条数。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IntranetIp' => [
- 'description' => '关联实例的私网IP。'."\n",
- 'type' => 'string',
- 'example' => '100.100.XX.XX',
- ],
- 'AlarmUniqueInfo' => [
- 'description' => '告警事件的唯一标识ID。',
- 'type' => 'string',
- 'example' => '8df914418f4211fbf756efe7a6f4****',
- ],
- 'CanCancelFault' => [
- 'description' => '告警事件能否取消标记为误报。取值:'."\n"
- ."\n"
- .'- **true**:可以取消'."\n"
- .'- **false**:不可以取消',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EndTime' => [
- 'description' => '告警事件最新发生的时间戳。单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1543740301000',
- ],
- 'Uuid' => [
- 'description' => '告警事件关联的实例的唯一标识。'."\n",
- 'type' => 'string',
- 'example' => 'bf6b30d3-eea8-4924-9f0a-****',
- ],
- 'StartTime' => [
- 'description' => '告警事件的开始时间戳,单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1543740301000',
- ],
- 'CanBeDealOnLine' => [
- 'description' => '是否支持在线处理告警事件,例如隔离。取值包括:'."\n"
- ."\n"
- .'- **true**:支持在线处理'."\n"
- .'- **false**:不支持在线处理',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Description' => [
- 'description' => '告警事件的描述。',
- 'type' => 'string',
- 'example' => '{\'Type\': \'text\', \'Value\': u\'\\u5efa\\u8bae\\u8fdb\\u884c\\u79c1\\u7f51\\u767d\\u540d\\u5355\\u914d\\u7f6e\\uff0c\\u786e\\u4fdd\\u8bbf\\u95ee\\u5b89\\u5168\\u3002\'}',
- ],
- 'AlarmEventType' => [
- 'description' => '告警事件的类型。',
- 'type' => 'string',
- 'example' => '精准防御',
- ],
- 'InstanceName' => [
- 'description' => '受告警事件影响资产实例的名称。',
- 'type' => 'string',
- 'example' => 'fzerp-dev',
- ],
- 'SaleVersion' => [
- 'description' => '告警事件检测支持的产品售卖版本。取值包括:'."\n"
- .'- **0**:基础版本'."\n"
- .'- **1**:企业版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'AlarmEventName' => [
- 'description' => '告警事件的名称。',
- 'type' => 'string',
- 'example' => '疑似对外发起登录扫描活动',
- ],
- 'Solution' => [
- 'description' => '告警事件的处理方法。',
- 'type' => 'string',
- 'example' => '{\'Type\': \'text\', \'Value\': \'Enter NAS console - monitoring and auditing - log analysis - log management - new log dump to create a log recording service for the file system.\'}',
- ],
- 'Level' => [
- 'description' => '告警事件的危险等级。取值:'."\n"
- .'- **serious**:紧急'."\n"
- .'- **suspicious**:可疑'."\n"
- .'- **remind**:提醒',
- 'type' => 'string',
- 'example' => 'serious',
- ],
+ 'Dealed' => ['description' => '告警事件是否已处理。取值:'."\n"
+ ."\n"
+ .'- **true**:已处理'."\n"
+ .'- **false**:待处理', 'type' => 'boolean', 'example' => 'false'],
+ 'DataSource' => ['description' => '告警事件的数据来源。', 'type' => 'string', 'example' => 'sas'],
+ 'InternetIp' => ['description' => '受告警事件影响的资产实例的公网IP。', 'type' => 'string', 'example' => '123.21.XX.XX'],
+ 'SuspiciousEventCount' => ['description' => '告警事件关联的告警事件的条数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'IntranetIp' => ['description' => '关联实例的私网IP。'."\n", 'type' => 'string', 'example' => '100.100.XX.XX'],
+ 'AlarmUniqueInfo' => ['description' => '告警事件的唯一标识ID。', 'type' => 'string', 'example' => '8df914418f4211fbf756efe7a6f4****'],
+ 'CanCancelFault' => ['description' => '告警事件能否取消标记为误报。取值:'."\n"
+ ."\n"
+ .'- **true**:可以取消'."\n"
+ .'- **false**:不可以取消', 'type' => 'boolean', 'example' => 'false'],
+ 'EndTime' => ['description' => '告警事件最新发生的时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1543740301000'],
+ 'Uuid' => ['description' => '告警事件关联的实例的唯一标识。'."\n", 'type' => 'string', 'example' => 'bf6b30d3-eea8-4924-9f0a-****'],
+ 'StartTime' => ['description' => '告警事件的开始时间戳,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1543740301000'],
+ 'CanBeDealOnLine' => ['description' => '是否支持在线处理告警事件,例如隔离。取值包括:'."\n"
+ ."\n"
+ .'- **true**:支持在线处理'."\n"
+ .'- **false**:不支持在线处理', 'type' => 'boolean', 'example' => 'true'],
+ 'Description' => ['description' => '告警事件的描述。', 'type' => 'string', 'example' => '{\'Type\': \'text\', \'Value\': u\'\\u5efa\\u8bae\\u8fdb\\u884c\\u79c1\\u7f51\\u767d\\u540d\\u5355\\u914d\\u7f6e\\uff0c\\u786e\\u4fdd\\u8bbf\\u95ee\\u5b89\\u5168\\u3002\'}'],
+ 'AlarmEventType' => ['description' => '告警事件的类型。', 'type' => 'string', 'example' => '精准防御'],
+ 'InstanceName' => ['description' => '受告警事件影响资产实例的名称。', 'type' => 'string', 'example' => 'fzerp-dev'],
+ 'SaleVersion' => ['description' => '告警事件检测支持的产品售卖版本。取值包括:'."\n"
+ .'- **0**:基础版本'."\n"
+ .'- **1**:企业版本', 'type' => 'string', 'example' => '1'],
+ 'AlarmEventName' => ['description' => '告警事件的名称。', 'type' => 'string', 'example' => '疑似对外发起登录扫描活动'],
+ 'Solution' => ['description' => '告警事件的处理方法。', 'type' => 'string', 'example' => '{\'Type\': \'text\', \'Value\': \'Enter NAS console - monitoring and auditing - log analysis - log management - new log dump to create a log recording service for the file system.\'}'],
+ 'Level' => ['description' => '告警事件的危险等级。取值:'."\n"
+ .'- **serious**:紧急'."\n"
+ .'- **suspicious**:可疑'."\n"
+ .'- **remind**:提醒', 'type' => 'string', 'example' => 'serious'],
],
],
],
@@ -2443,34 +1414,20 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 100,\\n \\"Count\\": 2\\n },\\n \\"SuspEvents\\": [\\n {\\n \\"Dealed\\": false,\\n \\"DataSource\\": \\"sas\\",\\n \\"InternetIp\\": \\"123.21.XX.XX\\",\\n \\"SuspiciousEventCount\\": 1,\\n \\"IntranetIp\\": \\"100.100.XX.XX\\",\\n \\"AlarmUniqueInfo\\": \\"8df914418f4211fbf756efe7a6f4****\\",\\n \\"CanCancelFault\\": false,\\n \\"EndTime\\": 1543740301000,\\n \\"Uuid\\": \\"bf6b30d3-eea8-4924-9f0a-****\\",\\n \\"StartTime\\": 1543740301000,\\n \\"CanBeDealOnLine\\": true,\\n \\"Description\\": \\"{\'Type\': \'text\', \'Value\': u\'\\\\\\\\u5efa\\\\\\\\u8bae\\\\\\\\u8fdb\\\\\\\\u884c\\\\\\\\u79c1\\\\\\\\u7f51\\\\\\\\u767d\\\\\\\\u540d\\\\\\\\u5355\\\\\\\\u914d\\\\\\\\u7f6e\\\\\\\\uff0c\\\\\\\\u786e\\\\\\\\u4fdd\\\\\\\\u8bbf\\\\\\\\u95ee\\\\\\\\u5b89\\\\\\\\u5168\\\\\\\\u3002\'}\\",\\n \\"AlarmEventType\\": \\"精准防御\\",\\n \\"InstanceName\\": \\"fzerp-dev\\",\\n \\"SaleVersion\\": \\"1\\",\\n \\"AlarmEventName\\": \\"疑似对外发起登录扫描活动\\",\\n \\"Solution\\": \\"{\'Type\': \'text\', \'Value\': \'Enter NAS console - monitoring and auditing - log analysis - log management - new log dump to create a log recording service for the file system.\'}\\",\\n \\"Level\\": \\"serious\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询安全大屏告警事件',
],
'ListGlobalUserConfig' => [
'summary' => '查询功能模块开关。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2481,9 +1438,7 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '169084',
- 'abilityTreeNodes' => [
- 'FEATUREsasGC725T',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasGC725T'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -2494,12 +1449,7 @@
'schema' => [
'description' => '模块列表。',
'type' => 'array',
- 'items' => [
- 'description' => '模块名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ransomware_breaking',
- ],
+ 'items' => ['description' => '模块名称。', 'type' => 'string', 'required' => false, 'example' => 'ransomware_breaking'],
'required' => false,
],
],
@@ -2518,42 +1468,22 @@
'description' => '功能模块开关。',
'type' => 'object',
'properties' => [
- 'ModuleName' => [
- 'title' => '模块名称',
- 'description' => '功能模块名称。',
- 'type' => 'string',
- 'example' => 'ransomware_breaking',
- ],
- 'GlobalConfigSwitch' => [
- 'title' => '是否已经配置',
- 'description' => '是否已经配置。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ModuleName' => ['title' => '模块名称', 'description' => '功能模块名称。', 'type' => 'string', 'example' => 'ransomware_breaking'],
+ 'GlobalConfigSwitch' => ['title' => '是否已经配置', 'description' => '是否已经配置。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
- 'RequestId' => [
- 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。',
- 'type' => 'string',
- 'example' => 'D81DD78E-E006-5C65-A171-C8CB09XXXXX',
- ],
+ 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'D81DD78E-E006-5C65-A171-C8CB09XXXXX'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ModuleName\\": \\"ransomware_breaking\\",\\n \\"GlobalConfigSwitch\\": true\\n }\\n ],\\n \\"RequestId\\": \\"D81DD78E-E006-5C65-A171-C8CB09XXXXX\\"\\n}","type":"json"}]',
@@ -2561,14 +1491,8 @@
],
'GetFileDetectResultInner' => [
'summary' => '获取文件检测结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2580,20 +1504,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsasNPORLE',
- ],
+ 'abilityTreeNodes' => ['FEATUREsasNPORLE'],
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '访问源的IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.X.X',
- ],
+ 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.168.X.X'],
],
[
'name' => 'HashKeyList',
@@ -2602,12 +1519,7 @@
'schema' => [
'description' => '文件标识列表。最多传入100个元素。',
'type' => 'array',
- 'items' => [
- 'description' => '文件标识列表。最多传入100个元素。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '8d73f3293ec7b168f213d427fb******',
- ],
+ 'items' => ['description' => '文件标识列表。最多传入100个元素。', 'type' => 'string', 'required' => false, 'example' => '8d73f3293ec7b168f213d427fb******'],
'required' => true,
'maxItems' => 200,
],
@@ -2615,26 +1527,14 @@
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '需要检测的文件类型。取值:'."\n"
- ."\n"
- .'- **0**:不确定的文件类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '需要检测的文件类型。取值:'."\n"
+ ."\n"
+ .'- **0**:不确定的文件类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'description' => '文件的风险等级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '文件的风险等级。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
'name' => 'DnaHashKeyList',
@@ -2643,12 +1543,7 @@
'schema' => [
'description' => '微泛化哈希标识列表。',
'type' => 'array',
- 'items' => [
- 'description' => '微泛化哈希标识列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '013EC082AB246203B1AOBD1C281D5B3D73B2FO5C62E8D263CEA3687EB5DCBF16******',
- ],
+ 'items' => ['description' => '微泛化哈希标识列表。', 'type' => 'string', 'required' => false, 'example' => '013EC082AB246203B1AOBD1C281D5B3D73B2FO5C62E8D263CEA3687EB5DCBF16******'],
'required' => false,
'maxItems' => 200,
],
@@ -2659,11 +1554,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '阿里云为该请求生成的唯一标识符。',
- 'type' => 'string',
- 'example' => '69BFFCDE-37D6-5A49-A8BC-BB03AC83****',
- ],
+ 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '69BFFCDE-37D6-5A49-A8BC-BB03AC83****'],
'ResultList' => [
'description' => '结果列表。',
'type' => 'array',
@@ -2671,75 +1562,41 @@
'description' => '结果列表。',
'type' => 'object',
'properties' => [
- 'HashKey' => [
- 'description' => '文件标识。',
- 'type' => 'string',
- 'example' => '0a212417e65c26ff133cfff28f6c****',
- ],
- 'Result' => [
- 'description' => '文件检测结果。取值:'."\n"
- ."\n"
- .'- **0**:安全文件'."\n"
- .'- **1**:可疑文件'."\n"
- .'- **3**:检测中,请等待'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Score' => [
- 'description' => '文件检测分数。分数区间及危险等级的对应关系如下:'."\n"
- ."\n"
- .'- 0~60:安全'."\n"
- .'- 61~70:风险'."\n"
- .'- 71~80:可疑'."\n"
- .'- 81~100:恶意'."\n"
- ."\n"
- .'><notice>分数越高,文件越可疑。></notice>',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'VirusType' => [
- 'description' => '病毒类型。',
- 'type' => 'string',
- 'example' => 'WebShell',
- ],
- 'Code' => [
- 'description' => '结果代码,**200**表示成功,若为别的值则表示失败,调用方可根据此字段判断失败原因。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误码的详细信息。',
- 'type' => 'string',
- 'example' => 'successful',
- ],
- 'Ext' => [
- 'description' => '检测结果扩展信息。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "HighLight":'."\n"
- .' ['."\n"
- .' ['."\n"
- .' 23245,'."\n"
- .' 23212'."\n"
- .' ]'."\n"
- .' ],'."\n"
- .' "FileLabel":'."\n"
- .' ['."\n"
- .' "PE32",'."\n"
- .' "Zip",'."\n"
- .' "SFX",'."\n"
- .' "encrypted"'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'ExpireTime' => [
- 'description' => '到期时间。',
- 'type' => 'string',
- 'example' => '2025-02-10T16:00:00Z',
- ],
+ 'HashKey' => ['description' => '文件标识。', 'type' => 'string', 'example' => '0a212417e65c26ff133cfff28f6c****'],
+ 'Result' => ['description' => '文件检测结果。取值:'."\n"
+ ."\n"
+ .'- **0**:安全文件'."\n"
+ .'- **1**:可疑文件'."\n"
+ .'- **3**:检测中,请等待'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Score' => ['description' => '文件检测分数。分数区间及危险等级的对应关系如下:'."\n"
+ ."\n"
+ .'- 0~60:安全'."\n"
+ .'- 61~70:风险'."\n"
+ .'- 71~80:可疑'."\n"
+ .'- 81~100:恶意'."\n"
+ ."\n"
+ .'><notice>分数越高,文件越可疑。></notice>', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'VirusType' => ['description' => '病毒类型。', 'type' => 'string', 'example' => 'WebShell'],
+ 'Code' => ['description' => '结果代码,**200**表示成功,若为别的值则表示失败,调用方可根据此字段判断失败原因。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误码的详细信息。', 'type' => 'string', 'example' => 'successful'],
+ 'Ext' => ['description' => '检测结果扩展信息。', 'type' => 'string', 'example' => '{'."\n"
+ .' "HighLight":'."\n"
+ .' ['."\n"
+ .' ['."\n"
+ .' 23245,'."\n"
+ .' 23212'."\n"
+ .' ]'."\n"
+ .' ],'."\n"
+ .' "FileLabel":'."\n"
+ .' ['."\n"
+ .' "PE32",'."\n"
+ .' "Zip",'."\n"
+ .' "SFX",'."\n"
+ .' "encrypted"'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'ExpireTime' => ['description' => '到期时间。', 'type' => 'string', 'example' => '2025-02-10T16:00:00Z'],
],
],
],
@@ -2749,34 +1606,16 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'RequestTooFrequently',
- 'errorMessage' => 'Request too frequently, please try again later',
- ],
- [
- 'errorCode' => 'GetResultFail',
- 'errorMessage' => 'Get result fail, found no detect record for this file or result has been expired',
- ],
- [
- 'errorCode' => 'InvalidApiDetectType',
- 'errorMessage' => 'Unsupported Api Detect Type.',
- ],
+ ['errorCode' => 'RequestTooFrequently', 'errorMessage' => 'Request too frequently, please try again later'],
+ ['errorCode' => 'GetResultFail', 'errorMessage' => 'Get result fail, found no detect record for this file or result has been expired'],
+ ['errorCode' => 'InvalidApiDetectType', 'errorMessage' => 'Unsupported Api Detect Type.'],
],
403 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'caller has no permission',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'caller has no permission'],
],
500 => [
- [
- 'errorCode' => 'ServerError',
- 'errorMessage' => 'ServerError',
- ],
- [
- 'errorCode' => 'SystemBusy',
- 'errorMessage' => 'System busy, please try again later.',
- ],
+ ['errorCode' => 'ServerError', 'errorMessage' => 'ServerError'],
+ ['errorCode' => 'SystemBusy', 'errorMessage' => 'System busy, please try again later.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69BFFCDE-37D6-5A49-A8BC-BB03AC83****\\",\\n \\"ResultList\\": [\\n {\\n \\"HashKey\\": \\"0a212417e65c26ff133cfff28f6c****\\",\\n \\"Result\\": 0,\\n \\"Score\\": 100,\\n \\"VirusType\\": \\"WebShell\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Ext\\": \\"{\\\\n \\\\\\"HighLight\\\\\\":\\\\n [\\\\n [\\\\n 23245,\\\\n 23212\\\\n ]\\\\n ],\\\\n \\\\\\"FileLabel\\\\\\":\\\\n [\\\\n \\\\\\"PE32\\\\\\",\\\\n \\\\\\"Zip\\\\\\",\\\\n \\\\\\"SFX\\\\\\",\\\\n \\\\\\"encrypted\\\\\\"\\\\n ]\\\\n}\\",\\n \\"ExpireTime\\": \\"2025-02-10T16:00:00Z\\"\\n }\\n ]\\n}","type":"json"}]',
@@ -2784,129 +1623,36 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com ',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com ',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'tds.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com '],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com '],
+ ['regionId' => 'ap-southeast-6', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'endpoint' => 'tds.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'tds.cn-shanghai.aliyuncs.com'],
],
];