diff options
Diffstat (limited to 'data/zh_cn/mssp/2016-12-28/api-docs.php')
| -rw-r--r-- | data/zh_cn/mssp/2016-12-28/api-docs.php | 6568 |
1 files changed, 2177 insertions, 4391 deletions
diff --git a/data/zh_cn/mssp/2016-12-28/api-docs.php b/data/zh_cn/mssp/2016-12-28/api-docs.php index 769f99d..00868f8 100644 --- a/data/zh_cn/mssp/2016-12-28/api-docs.php +++ b/data/zh_cn/mssp/2016-12-28/api-docs.php @@ -1,164 +1,90 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'mssp', - 'version' => '2016-12-28', - ], + 'info' => ['style' => 'RPC', 'product' => 'mssp', 'version' => '2016-12-28'], 'directories' => [ - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'CreateServiceLinkedRole', - 'DescribeServiceLinkedRole', - 'PageServiceCustomer', - 'GetSuspPageSummary', - 'GetAlarmDetailById', - 'GetVulListById', - 'GetDetailById', - 'GetVulPageSummary', - 'GetDocumentSummary', - 'GetSafetyCover', - 'GetAttackedAssetDeal', - 'GetWorkTaskSummary', - 'GetSuspEventSummary', - 'GetVulSummary', - 'GetRecentDocument', - 'GetBaselineSummary', - 'GetDocumentPage', - 'GetDocumentDownloadUrl', - 'GetSuspEventPage', - 'GetVulItemPage', - 'GetUserStatus', - 'CreateServiceWorkOrder', - 'GetConsoleScore', - 'GetSowList', - 'DisposeWorkTask', - 'DisposeServiceWorkOrder', - 'SendCustomEvent', - 'DeleteDjbhReport', - 'ConfirmDjbhReport', - ], - ], + 'ConfirmDjbhReport', 'CreateServiceLinkedRole', 'CreateServiceWorkOrder', 'DeleteDjbhReport', 'DescribeServiceLinkedRole', 'DisposeServiceWorkOrder', 'DisposeWorkTask', 'GetAlarmDetailById', 'GetAttackedAssetDeal', 'GetBaselineSummary', 'GetConsoleScore', 'GetDetailById', 'GetDocumentDownloadUrl', 'GetDocumentPage', 'GetDocumentSummary', 'GetRecentDocument', 'GetSafetyCover', 'GetSowList', 'GetSuspEventPage', 'GetSuspEventSummary', + 'GetSuspPageSummary', 'GetUserStatus', 'GetVulItemPage', 'GetVulListById', 'GetVulPageSummary', 'GetVulSummary', 'GetWorkTaskSummary', 'PageServiceCustomer', 'SendCustomEvent', ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateServiceLinkedRole' => [ - 'summary' => '创建服务关联角色。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ConfirmDjbhReport' => [ + 'summary' => '确认查收等保测评报告。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '83729', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeNodes' => ['FEATUREsos6B7B1Q'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'name' => 'Id', + 'in' => 'formData', + 'schema' => ['description' => '报告主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '24563'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '592B80F0-7674-56A4-9027-8A0A9ACDBD56', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'Successful!'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'string', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"592B80F0-7674-56A4-9027-8A0A9ACDBD56\\"\\n}","type":"json"}]', - 'title' => '创建服务关联角色', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', + 'title' => '确认查收等保测评报告', ], - 'DescribeServiceLinkedRole' => [ - 'summary' => '查询服务关联角色。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateServiceLinkedRole' => [ + 'summary' => '创建服务关联角色。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '83735', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '83729', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -166,141 +92,176 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityRoleGrant' => [ - 'description' => '是否有服务关联角色权限:'."\n" - .'-true:有。'."\n" - .'-false:无。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '02F8BBF3-2D61-5982-8911-EEB387BE3AF8', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '592B80F0-7674-56A4-9027-8A0A9ACDBD56'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EntityRoleGrant\\": true,\\n \\"RequestId\\": \\"02F8BBF3-2D61-5982-8911-EEB387BE3AF8\\"\\n}","type":"json"}]', - 'title' => '查询服务关联角色', - ], - 'PageServiceCustomer' => [ - 'summary' => '服务客户信息查询。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建服务关联角色', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-mss:CreateServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"592B80F0-7674-56A4-9027-8A0A9ACDBD56\\"\\n}","type":"json"}]', + ], + 'CreateServiceWorkOrder' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '173423', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '216184', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'WorkOrderName', + 'in' => 'formData', + 'schema' => ['title' => '工单名称', 'description' => '工单名称。', 'type' => 'string', 'required' => true, 'example' => '安全月报交付任务'], + ], + [ + 'name' => 'WorkOrderType', 'in' => 'formData', 'schema' => [ - 'description' => '查询结果的页码,默认为1。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '工单类型', + 'description' => '工单类型。', + 'type' => 'string', 'required' => true, - 'example' => '1', + 'enumValueTitles' => [ + 'YEAR_MEETING' => '年度会议', 'SYSTEM_VULNERABILITY_SCAN' => '扫描器漏洞扫描', 'RISK_BRIEFING' => '风险讲解会', 'SUMMARY_REPORT' => '总结报告', 'DING_TALK_CUSTOMER' => '客户钉钉咨询', 'MONTH_REPORT' => '月报', 'YEAR_REPORT' => '年度报告', 'OTHER_REPORTS' => '其他报告', 'PLATFORM_VULNERABILITY_MONITOR' => '漏洞巡检监控', 'PROJECT_PLAN' => '项目计划', + 'PROJECT_SUMMARY_MEETING' => '项目总结会', 'SYSTEM_SECURITY_ACCESS' => '安全评估', 'PROJECT_QUARTERLY_MEETING' => '项目季度会', 'LARGE_SCREEN' => '安全大屏', 'USER_SURVEY' => '用户调研', 'CUSTOMER_VIEW' => '客户回访', 'MANUAL' => '人工', 'RISK_NOTIFY' => '风险提醒', 'QUARTERLY_REPORT' => '季报', 'YUNDUN_VULNERABILITY_SCAN' => '云安全中心漏洞扫描', + 'PROJECT_LAUNCH_MEETING' => '项目启动会', + ], + 'example' => 'MONTH_REPORT', ], ], [ - 'name' => 'PageSize', + 'name' => 'WorkOrderSource', + 'in' => 'formData', + 'schema' => ['title' => '工单来源', 'description' => '工单来源。', 'type' => 'string', 'required' => true, 'example' => '工单迁移'], + ], + [ + 'name' => 'WorkOrderStatus', 'in' => 'formData', 'schema' => [ - 'description' => '每页记录条数。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '工单状态', + 'description' => '工单状态。', + 'type' => 'string', 'required' => true, - 'example' => '10', + 'enumValueTitles' => ['UNPROCESSED' => '待处理', 'PROCESSING' => '处理中', 'BACK' => '已退回', 'PROCESSED' => '处理完成', 'INVALID' => '误报', 'IGNORED' => '已忽略'], + 'example' => 'UNPROCESSED', ], ], [ + 'name' => 'CustomerId', + 'in' => 'formData', + 'schema' => ['title' => '客户ID', 'description' => '客户ID。', 'type' => 'string', 'required' => true, 'example' => '1477832102462645'], + ], + [ 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'description' => '开始时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1710641101000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1734788109000'], ], [ - 'name' => 'EndTime', + 'name' => 'Operator', 'in' => 'formData', - 'schema' => [ - 'description' => '结束时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1710641101123', - ], + 'schema' => ['title' => '操作人', 'description' => '操作人。', 'type' => 'string', 'required' => true, 'example' => '426556'], ], [ - 'name' => 'AuthStatus', + 'name' => 'OperateType', + 'in' => 'formData', + 'schema' => ['title' => '操作类型', 'description' => '操作类型。', 'type' => 'string', 'required' => true, 'example' => 'CREATE'], + ], + [ + 'name' => 'OperateRemark', + 'in' => 'formData', + 'schema' => ['title' => '操作备注', 'description' => '操作备注。', 'type' => 'string', 'required' => true, 'example' => '新建'], + ], + [ + 'name' => 'WorkOrderDetail', + 'in' => 'formData', + 'schema' => ['title' => '工单详情', 'description' => '工单详情。', 'type' => 'string', 'required' => true, 'example' => '{"questionDetail":"测试工单","answerDetail":""}'], + ], + [ + 'name' => 'DurationDay', + 'in' => 'formData', + 'schema' => ['title' => '持续天数', 'description' => '持续天数。', 'type' => 'string', 'required' => true, 'example' => '5'], + ], + [ + 'name' => 'IsAttachment', 'in' => 'formData', 'schema' => [ - 'description' => '授权状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '授权', - 9 => '未授权', - ], - 'example' => '1', + 'title' => '附件要求', + 'description' => '附件要求。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Y' => '是', 'N' => '否'], + 'example' => 'Y', ], ], [ - 'name' => 'MonitorAuthStatus', + 'name' => 'IsWorkOrderNotify', 'in' => 'formData', 'schema' => [ - 'description' => '云安全-告警授权状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '授权', - 9 => '未授权', - ], - 'example' => '1', + 'title' => '是否需要提醒', + 'description' => '是否需要提醒。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Y' => '是', 'N' => '否'], + 'example' => 'Y', ], ], [ - 'name' => 'CmAuthStatus', + 'name' => 'NotifyDay', + 'in' => 'formData', + 'schema' => ['title' => '提前提醒天数', 'description' => '提前提醒天数。', 'type' => 'string', 'required' => false, 'example' => '5'], + ], + [ + 'name' => 'Creator', + 'in' => 'formData', + 'schema' => ['title' => '创建人', 'description' => '创建人。', 'type' => 'string', 'required' => true, 'example' => '426556'], + ], + [ + 'name' => 'NotifyId', + 'in' => 'formData', + 'schema' => ['title' => '通知ID', 'description' => '通知ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'IsMilestone', 'in' => 'formData', 'schema' => [ - 'description' => '云监控-告警授权状态。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '是否里程碑。', + 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '未授权', - '授权', - ], - 'example' => '1', + 'enumValueTitles' => ['Y' => '是', 'N' => '否'], + 'example' => 'Y', ], ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], ], 'responses' => [ 200 => [ @@ -309,187 +270,83 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'PageInfo' => [ - 'description' => '分页信息。', + 'Data' => [ + 'description' => '接口返回数据。', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '分页查询时,当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页,每页数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], - ], - 'Data' => [ - 'description' => '数据查询结果。', - 'type' => 'array', - 'items' => [ - 'description' => '查询结果对象。', - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'description' => '客户ID。', - 'type' => 'string', - 'example' => '1667751131382856', - ], - 'Aliuid' => [ - 'description' => '客户UID。', - 'type' => 'string', - 'example' => '1667751131382856', - ], - 'Name' => [ - 'description' => '客户名称。', - 'type' => 'string', - 'example' => '中国工程院', - ], - 'OwnId' => [ - 'description' => '负责人名称。', - 'type' => 'string', - 'example' => '常温', - ], - 'Level' => [ - 'description' => '客户等级。', - 'type' => 'string', - 'enumValueTitles' => [ - 'GC1' => 'GC1', - 'GC3' => 'GC3', - 'GC2' => 'GC2', - 'GC5' => 'GC5', - 'GC4' => 'GC4', - 'GC7' => 'GC7', - 'GC6' => 'GC6', - ], - 'example' => 'GC1', - ], - 'Version' => [ - 'description' => '版本信息。', - 'type' => 'string', - 'example' => '企业版', - ], - 'AuthStatus' => [ - 'description' => '授权状态。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '已授权', - 9 => '未授权', - ], - 'example' => '1', - ], - 'MonitorAuthStatus' => [ - 'description' => '云安全-告警授权状态。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '已授权', - 9 => '未授权', - ], - 'example' => '1', - ], - 'CmAuthStatus' => [ - 'description' => '云监控-告警授权状态。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '未授权', - '已授权', - ], - 'example' => '0', - ], - 'StartTime' => [ - 'description' => '开始时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1710123149000', - ], - 'EndTime' => [ - 'description' => '结束时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1710123149222', - ], - ], + 'Id' => ['title' => '主键', 'description' => '主键。', 'type' => 'integer', 'format' => 'int64', 'example' => '1978941'], + 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1734788109000'], + 'WorkOrderName' => ['title' => '工单名称', 'description' => '工单名称。', 'type' => 'string', 'example' => '安全月报交付任务'], + 'WorkOrderType' => ['title' => '工单名称', 'description' => '工单类型。', 'type' => 'string', 'example' => 'MONTH_REPORT'], + 'WorkOrderSource' => ['title' => '工单来源', 'description' => '工单来源。', 'type' => 'string', 'example' => '工单迁移'], + 'CustomerId' => ['title' => '客户ID', 'description' => '客户ID。', 'type' => 'string', 'example' => '1477832102462645'], + 'StartTime' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1734788109000'], + 'EndTime' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1734788109000'], + 'CompleteTime' => ['title' => '完成时间', 'description' => '完成时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1734788109000'], + 'WorkOrderStatus' => ['title' => '工单状态', 'description' => '工单状态。', 'type' => 'string', 'example' => 'UNPROCESSED'], + 'OwnerId' => ['title' => '负责人', 'description' => '负责人。', 'type' => 'string', 'example' => '426556'], + 'WorkOrderDetail' => ['title' => '工单详情', 'description' => '工单详情。', 'type' => 'string', 'example' => '{"questionDetail":"测试工单","answerDetail":""}'."\n"], + 'Creator' => ['title' => '创建人', 'description' => '创建人。', 'type' => 'string', 'example' => '426556'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '808A307F-9513-5099-AAA5-98D4EF199140', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => 'System error or openapi error', - ], - 'Message' => [ - 'description' => '返回信息。当请求成功时,返回成功信息;当请求失败时,返回失败原因。', - 'type' => 'string', - 'example' => 'OK', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '请求返回状态。'."\n" - .'- true:成功。'."\n" - .'- false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '7DC44321-7AAE-51CD-8E5F-CEB968569042'], + 'Code' => ['description' => '接口状态码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + ."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"Data\\": [\\n {\\n \\"UserId\\": \\"1667751131382856\\",\\n \\"Aliuid\\": \\"1667751131382856\\",\\n \\"Name\\": \\"中国工程院\\",\\n \\"OwnId\\": \\"常温\\",\\n \\"Level\\": \\"GC1\\",\\n \\"Version\\": \\"企业版\\",\\n \\"AuthStatus\\": 1,\\n \\"MonitorAuthStatus\\": 1,\\n \\"CmAuthStatus\\": 0,\\n \\"StartTime\\": 1710123149000,\\n \\"EndTime\\": 1710123149222\\n }\\n ],\\n \\"RequestId\\": \\"808A307F-9513-5099-AAA5-98D4EF199140\\",\\n \\"Code\\": \\"System error or openapi error\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '服务客户信息查询', - ], - 'GetSuspPageSummary' => [ - 'summary' => '告警页统计。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '创建服务工单', + 'summary' => '创建服务工单。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-mss:CreateServiceWorkOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1978941,\\n \\"CreateTime\\": 1734788109000,\\n \\"WorkOrderName\\": \\"安全月报交付任务\\",\\n \\"WorkOrderType\\": \\"MONTH_REPORT\\",\\n \\"WorkOrderSource\\": \\"工单迁移\\",\\n \\"CustomerId\\": \\"1477832102462645\\",\\n \\"StartTime\\": 1734788109000,\\n \\"EndTime\\": 1734788109000,\\n \\"CompleteTime\\": 1734788109000,\\n \\"WorkOrderStatus\\": \\"UNPROCESSED\\",\\n \\"OwnerId\\": \\"426556\\",\\n \\"WorkOrderDetail\\": \\"{\\\\\\"questionDetail\\\\\\":\\\\\\"测试工单\\\\\\",\\\\\\"answerDetail\\\\\\":\\\\\\"\\\\\\"}\\\\n\\",\\n \\"Creator\\": \\"426556\\"\\n },\\n \\"RequestId\\": \\"7DC44321-7AAE-51CD-8E5F-CEB968569042\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteDjbhReport' => [ + 'summary' => '删除等保测评报告。', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '180003', - 'abilityTreeNodes' => [ - 'FEATUREsos0FVTHS', - ], + 'abilityTreeNodes' => ['FEATUREsos6B7B1Q'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => ['description' => '报告主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '26579'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ @@ -497,464 +354,203 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '接口返回数据。', - 'type' => 'object', - 'properties' => [ - 'WaitHandleCount' => [ - 'title' => '未处理数量', - 'description' => '未处理数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'HandingCount' => [ - 'title' => '处理中的数量', - 'description' => '处理中的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'CompletedCount' => [ - 'title' => '处理完成的数量', - 'description' => '处理完成的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '总数量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'HighCount' => [ - 'title' => '高风险数量', - 'description' => '高风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'MediumCount' => [ - 'title' => '中风险数量', - 'description' => '中风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LowCount' => [ - 'title' => '低风险数量', - 'description' => '低风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '86786E4C-6416-55CF-9AB6-5E275B68801D'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'successful'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'Successful!'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'string', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 10,\\n \\"HandingCount\\": 10,\\n \\"CompletedCount\\": 10,\\n \\"TotalCount\\": 30,\\n \\"HighCount\\": 10,\\n \\"MediumCount\\": 10,\\n \\"LowCount\\": 10\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '告警页统计', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86786E4C-6416-55CF-9AB6-5E275B68801D\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', + 'title' => '删除等保测评报告', ], - 'GetAlarmDetailById' => [ - 'summary' => '告警详情查询。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeServiceLinkedRole' => [ + 'summary' => '查询服务关联角色。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '179907', - 'abilityTreeNodes' => [ - 'FEATUREsos0FVTHS', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '83735', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'title' => '主键id', - 'description' => '主键id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '20077761', - ], + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '接口返回数据。', - 'type' => 'object', - 'properties' => [ - 'EventDetails' => [ - 'title' => '事件详情信息', - 'description' => '事件详情信息。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'NameDisplay' => [ - 'title' => '告警事件显示名称', - 'description' => '告警事件显示名称。', - 'type' => 'string', - 'example' => 'Login with unusual location', - ], - 'ValueDisplay' => [ - 'title' => '告警事件发生路径', - 'description' => '告警事件发生路径。', - 'type' => 'string', - 'example' => '/etc/crontab', - ], - 'Type' => [ - 'title' => '告警事件类型', - 'description' => '告警事件类型。', - 'type' => 'string', - 'example' => 'text', - ], - 'Value' => [ - 'title' => '告警事件发生路径', - 'description' => '告警事件发生路径。', - 'type' => 'string', - 'example' => '/etc/crontab', - ], - ], - ], - ], - 'Desc' => [ - 'title' => '描述', - 'description' => '描述。', - 'type' => 'string', - 'example' => 'webshell', - ], - 'TacticDisplayName' => [ - 'title' => 'ATT&CK的战术名称。', - 'description' => 'ATT&CK的战术名称。', - 'type' => 'string', - 'example' => 'Malicious scripts-Malicious script code execution', - ], - 'AlarmEventTypeDisplay' => [ - 'title' => '告警事件类型', - 'description' => '告警事件类型。', - 'type' => 'string', - 'example' => 'Login with unusual location', - ], - 'ContainHwMode' => [ - 'title' => '重保模式', - 'description' => '重保模式是否开启 true是,false未开启。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AlarmId' => [ - 'title' => '告警id', - 'description' => '告警id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '202427220', - ], - 'AlarmSource' => [ - 'title' => '告警来源', - 'description' => '告警来源。', - 'type' => 'string', - 'example' => 'SUSP_EVENT', - ], - 'AlarmName' => [ - 'title' => '告警名称', - 'description' => '告警名称。', - 'type' => 'string', - 'example' => '负载均衡可挂载服务器数量告警', - ], - 'AlarmTime' => [ - 'title' => '最新告警时间', - 'description' => '最新告警时间。', - 'type' => 'string', - 'example' => '2018-09-26 01:51:01', - ], - 'DealTime' => [ - 'title' => '告警处理时间', - 'description' => '告警处理时间。', - 'type' => 'string', - 'example' => '2018-09-26 01:51:01', - ], - 'Status' => [ - 'title' => '处理状态', - 'description' => '处理状态。', - 'type' => 'string', - 'example' => '要查询的告警事件状态。取值:'."\n" - ."\n" - .'0:全部'."\n" - .'1:待处理'."\n" - .'2:已忽略'."\n" - .'4:已确认'."\n" - .'8:已标记为误报'."\n" - .'16:处理中'."\n" - .'32:处理完毕'."\n" - .'64:已经过期'."\n" - .'128:已经删除'."\n" - .'512:自动拦截中'."\n" - .'513:自动拦截完毕', - ], - 'OwnerId' => [ - 'title' => '负责人', - 'description' => '负责人。', - 'type' => 'string', - 'example' => '324546', - ], - 'Remark' => [ - 'title' => '处置方式', - 'description' => '处置方式。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'InstanceName' => [ - 'title' => '受影响资产', - 'description' => '受影响资产。', - 'type' => 'string', - 'example' => 'nginx', - ], - 'EventLevel' => [ - 'title' => '告警等级', - 'description' => '告警等级。', - 'type' => 'string', - 'example' => 'suspicious', - ], - 'OccurrenceTime' => [ - 'title' => '首次发生时间', - 'description' => '首次发生时间。', - 'type' => 'string', - 'example' => '2018-09-26 01:51:01', - ], - 'InternetIp' => [ - 'title' => '公网ip', - 'description' => '公网ip。', - 'type' => 'string', - 'example' => '47.116.126.79', - ], - 'IntranetIp' => [ - 'title' => '内网ip', - 'description' => '内网ip。', - 'type' => 'string', - 'example' => '172.19.195.176', - ], - 'Id' => [ - 'title' => '工单主键id', - 'description' => '工单主键id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9772', - ], - 'AlarmEventType' => [ - 'title' => '告警事件类型', - 'description' => '告警事件类型。', - 'type' => 'string', - 'example' => 'Unusual Logon', - ], - 'AnalysisResult' => [ - 'title' => '分析过程', - 'description' => '分析过程。', - 'type' => 'string', - 'example' => '[{"value":"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。","key":"结论"},{"value":"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。","key":"处置建议"}]', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '5C1B0668-442C-57AE-9668-D894B0B012EB', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '操作是否成功:'."\n" - ."\n" - .'- true:成功。'."\n" - .'- false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'EntityRoleGrant' => ['description' => '是否有服务关联角色权限:'."\n" + .'-true:有。'."\n" + .'-false:无。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '02F8BBF3-2D61-5982-8911-EEB387BE3AF8'], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"EventDetails\\": [\\n {\\n \\"NameDisplay\\": \\"Login with unusual location\\",\\n \\"ValueDisplay\\": \\"/etc/crontab\\",\\n \\"Type\\": \\"text\\",\\n \\"Value\\": \\"/etc/crontab\\"\\n }\\n ],\\n \\"Desc\\": \\"webshell\\",\\n \\"TacticDisplayName\\": \\"Malicious scripts-Malicious script code execution\\",\\n \\"AlarmEventTypeDisplay\\": \\"Login with unusual location\\",\\n \\"ContainHwMode\\": false,\\n \\"AlarmId\\": 202427220,\\n \\"AlarmSource\\": \\"SUSP_EVENT\\",\\n \\"AlarmName\\": \\"负载均衡可挂载服务器数量告警\\",\\n \\"AlarmTime\\": \\"2018-09-26 01:51:01\\",\\n \\"DealTime\\": \\"2018-09-26 01:51:01\\",\\n \\"Status\\": \\"要查询的告警事件状态。取值:\\\\n\\\\n0:全部\\\\n1:待处理\\\\n2:已忽略\\\\n4:已确认\\\\n8:已标记为误报\\\\n16:处理中\\\\n32:处理完毕\\\\n64:已经过期\\\\n128:已经删除\\\\n512:自动拦截中\\\\n513:自动拦截完毕\\",\\n \\"OwnerId\\": \\"324546\\",\\n \\"Remark\\": \\"192.168.XX.XX\\",\\n \\"InstanceName\\": \\"nginx\\",\\n \\"EventLevel\\": \\"suspicious\\",\\n \\"OccurrenceTime\\": \\"2018-09-26 01:51:01\\",\\n \\"InternetIp\\": \\"47.116.126.79\\",\\n \\"IntranetIp\\": \\"172.19.195.176\\",\\n \\"Id\\": 9772,\\n \\"AlarmEventType\\": \\"Unusual Logon\\",\\n \\"AnalysisResult\\": \\"[{\\\\\\"value\\\\\\":\\\\\\"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"结论\\\\\\"},{\\\\\\"value\\\\\\":\\\\\\"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"处置建议\\\\\\"}]\\"\\n },\\n \\"RequestId\\": \\"5C1B0668-442C-57AE-9668-D894B0B012EB\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '告警详情查询', - ], - 'GetVulListById' => [ - 'summary' => '查询已处理详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询服务关联角色', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:DescribeServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EntityRoleGrant\\": true,\\n \\"RequestId\\": \\"02F8BBF3-2D61-5982-8911-EEB387BE3AF8\\"\\n}","type":"json"}]', + ], + 'DisposeServiceWorkOrder' => [ + 'summary' => '处理服务工单。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '179781', - 'abilityTreeNodes' => [ - 'FEATUREsosYT8XCW', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226218', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '工单ID', 'description' => '工单ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '23172'], ], [ - 'name' => 'PageSize', + 'name' => 'WorkOrderName', + 'in' => 'formData', + 'schema' => ['title' => '工单名称', 'description' => '工单名称。', 'type' => 'string', 'required' => true, 'example' => '安全产品配置问题与超量提醒'], + ], + [ + 'name' => 'WorkOrderStatus', 'in' => 'formData', 'schema' => [ - 'title' => '每页大小', - 'description' => '每页大小', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '工单状态', + 'description' => '工单状态。', + 'type' => 'string', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['UNPROCESSED' => '待处理', 'PROCESSING' => '处理中', 'BACK' => '已退回', 'PROCESSED' => '处理完成', 'INVALID' => '误报', 'IGNORED' => '已忽略'], + 'example' => 'PROCESSED', ], ], [ - 'name' => 'Id', + 'name' => 'Operator', 'in' => 'formData', - 'schema' => [ - 'title' => '主键id', - 'description' => '主键id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4209205', - ], + 'schema' => ['title' => '操作人', 'description' => '操作人。', 'type' => 'string', 'required' => true, 'example' => '396120'], ], [ - 'name' => 'Dealed', + 'name' => 'OperateType', 'in' => 'formData', 'schema' => [ - 'title' => '是否已处理;y:已处理;n:未处理', - 'description' => '是否已处理;y:已处理;n:未处理', + 'title' => '处理类型', + 'description' => '处理类型。', 'type' => 'string', - 'required' => false, - 'example' => 'n', + 'required' => true, + 'enumValueTitles' => ['SECURITY_CONSULTATION_ANSWERS' => '安全咨询-回答', 'CREATE' => '新建', 'FIELD_CHANGE' => '字段变更', 'UPGRADE' => '升级', 'PROCESSED' => '处理完成', 'BACK' => '退回', 'FORWARD' => '转交', 'DELAY' => '延期', 'START_PROCESSING' => '开始处理'], + 'example' => 'PROCESSED', ], ], [ - 'name' => 'Necessity', + 'name' => 'OperateRemark', 'in' => 'formData', - 'schema' => [ - 'title' => '风险等级', - 'description' => '风险等级', - 'type' => 'string', - 'required' => false, - 'example' => 'asap,later,nntf', - ], + 'schema' => ['title' => '操作备注', 'description' => '操作备注。', 'type' => 'string', 'required' => true, 'example' => '处理完成'], ], [ - 'name' => 'Remark', + 'name' => 'ForwardOwnerId', + 'in' => 'formData', + 'schema' => ['title' => '转交人', 'description' => '转交人。', 'type' => 'string', 'required' => false, 'example' => '405639'], + ], + [ + 'name' => 'UpgradeOwnerId', + 'in' => 'formData', + 'schema' => ['title' => '升级人', 'description' => '升级人。', 'type' => 'string', 'required' => false, 'example' => '336333'], + ], + [ + 'name' => 'IsAttachment', 'in' => 'formData', 'schema' => [ - 'title' => '要查询漏洞的资产信息,可以设置为资产名称、公网IP或私网IP。', - 'description' => '要查询漏洞的资产信息,可以设置为资产名称、公网IP或私网IP。', + 'title' => '附件要求', + 'description' => '附件要求。', 'type' => 'string', 'required' => false, - 'example' => 'production_nat_cn-hangzhou_zone_105', + 'enumValueTitles' => ['Y' => '是', 'N' => '否'], + 'example' => 'Y', ], ], [ - 'name' => 'Uuids', + 'name' => 'IsWorkOrderNotify', 'in' => 'formData', 'schema' => [ - 'title' => '要查询漏洞的服务器的UUID,多个UUID之间使用半角逗号(,)分隔', - 'description' => '要查询漏洞的服务器的UUID,多个UUID之间使用半角逗号(,)分隔', + 'title' => '工单提醒', + 'description' => '工单提醒。', 'type' => 'string', 'required' => false, - 'example' => '3615b908-995a-4edb-bc85-1981b4e94ba0,9c52cf9a-d8ba-4e31-ae06-500b879ee4e6,4b7de3cf-c4ac-42fc-8804-35070493dc29,f3c01525-0777-4c97-88d9-bec11afd4a6a,a80bd516-c4f3-4c27-a169-c8abfaf9e89e', + 'enumValueTitles' => ['Y' => '是', 'N' => '否'], + 'example' => 'Y', ], ], + [ + 'name' => 'AttachmentName', + 'in' => 'formData', + 'schema' => ['title' => '附件名称', 'description' => '附件名称。', 'type' => 'string', 'required' => false, 'example' => 'bbaa133c-0ac2-489f-9fc8-39f91c2e770c_20230301-20240403-服务工单列表.xlsx'], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1733788109000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1734788109000'], + ], + [ + 'name' => 'NotifyId', + 'in' => 'formData', + 'schema' => ['title' => '通知ID', 'description' => '通知ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'WorkOrderDetail', + 'in' => 'formData', + 'schema' => ['title' => '工单详情', 'description' => '工单详情。', 'type' => 'string', 'required' => false, 'example' => '{"questionDetail":"测试工单","answerDetail":""}'], + ], ], 'responses' => [ 200 => [ @@ -963,242 +559,100 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'PageInfo' => [ - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '返回数据每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询结果的总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], - ], - 'Data' => [ - 'description' => '接口返回数据。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Necessity' => [ - 'title' => '漏洞修复必要性等级', - 'description' => '漏洞修复必要性等级', - 'type' => 'string', - 'example' => 'later,asap,nntf', - ], - 'RepairTs' => [ - 'title' => '漏洞修复时间戳', - 'description' => '漏洞修复时间戳', - 'type' => 'string', - 'example' => '1541207563000', - ], - 'Uuid' => [ - 'title' => '资产实例的UUID。', - 'description' => '资产实例的UUID。', - 'type' => 'string', - 'example' => 'hdm_5cf2eaf263c021b354877943f181956d', - ], - 'Status' => [ - 'title' => '漏洞状态', - 'description' => '漏洞状态:'."\n" - .'1:未修复'."\n" - .'2:修复失败'."\n" - .'3:回滚失败'."\n" - .'4:修复中'."\n" - .'5:回滚中'."\n" - .'6:验证中'."\n" - .'7:修复成功'."\n" - .'8:修复成功待重启'."\n" - .'9:回滚成功'."\n" - .'10:已忽略'."\n" - .'11:回滚成功待重启'."\n" - .'12:漏洞不存在'."\n" - .'20:已失效', - 'type' => 'string', - 'example' => '1', - ], - 'InternetIp' => [ - 'title' => '资产公网IP', - 'description' => '资产公网IP', - 'type' => 'string', - 'example' => '39.101.73.28', - ], - 'Tag' => [ - 'title' => '漏洞标签', - 'description' => '漏洞标签', - 'type' => 'string', - 'example' => 'Restart Required', - ], - 'Name' => [ - 'title' => '漏洞名称', - 'description' => '漏洞名称', - 'type' => 'string', - 'example' => 'SCA:ACSV-2020-111301', - ], - 'Related' => [ - 'title' => '漏洞关联的CVE列表,有多个取值时用半角逗号(,)分隔', - 'description' => '漏洞关联的CVE列表,有多个取值时用半角逗号(,)分隔', - 'type' => 'string', - 'example' => 'CVE-2020-13935', - ], - 'IntranetIp' => [ - 'title' => '资产私网IP', - 'description' => '资产私网IP', - 'type' => 'string', - 'example' => '172.22.216.17', - ], - 'LastTs' => [ - 'title' => '最后发现漏洞的时间戳', - 'description' => '最后发现漏洞的时间戳', - 'type' => 'string', - 'example' => '1620404763000', - ], - 'FirstTs' => [ - 'title' => '首次发现漏洞的时间戳', - 'description' => '首次发现漏洞的时间戳', - 'type' => 'string', - 'example' => '1620404763000', - ], - 'AliasName' => [ - 'title' => '漏洞别名', - 'description' => '漏洞别名', - 'type' => 'string', - 'example' => 'Tomcat websocket 拒绝服务漏洞利用代码披露(CVE-2020-13935)', - ], - 'InstanceName' => [ - 'title' => '资产实例名称', - 'description' => '资产实例名称', - 'type' => 'string', - 'example' => '凌星-CentOS', - ], - 'RepairCmd' => [ - 'title' => '修复命令', - 'description' => '修复命令', - 'type' => 'string', - 'example' => '*** update python-perf', - ], - 'EffectMsgDTOS' => [ - 'title' => '影响说明', - 'description' => '影响说明', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'SoftName' => [ - 'title' => '软件名称', - 'description' => '软件名称', - 'type' => 'string', - 'example' => 'python-perf 3.10.0', - ], - 'MatchList' => [ - 'title' => '命中', - 'description' => '命中', - 'type' => 'string', - 'example' => 'fastjson(jar) extendField.safemode equals false', - ], - 'Path' => [ - 'title' => '路径', - 'description' => '路径', - 'type' => 'string', - 'example' => '/uat6/qry/enquiry/policy/yrtPolicyList', - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'D38B3D2F-67FD-57FF-87D1-C431D2C70F76', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'ED520610-6231-5D80-BADD-A8CDC7BBC809'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"Data\\": [\\n {\\n \\"Necessity\\": \\"later,asap,nntf\\",\\n \\"RepairTs\\": \\"1541207563000\\",\\n \\"Uuid\\": \\"hdm_5cf2eaf263c021b354877943f181956d\\",\\n \\"Status\\": \\"1\\",\\n \\"InternetIp\\": \\"39.101.73.28\\",\\n \\"Tag\\": \\"Restart Required\\",\\n \\"Name\\": \\"SCA:ACSV-2020-111301\\",\\n \\"Related\\": \\"CVE-2020-13935\\",\\n \\"IntranetIp\\": \\"172.22.216.17\\",\\n \\"LastTs\\": \\"1620404763000\\",\\n \\"FirstTs\\": \\"1620404763000\\",\\n \\"AliasName\\": \\"Tomcat websocket 拒绝服务漏洞利用代码披露(CVE-2020-13935)\\",\\n \\"InstanceName\\": \\"凌星-CentOS\\",\\n \\"RepairCmd\\": \\"*** update python-perf\\",\\n \\"EffectMsgDTOS\\": [\\n {\\n \\"SoftName\\": \\"python-perf 3.10.0\\",\\n \\"MatchList\\": \\"fastjson(jar) extendField.safemode equals false\\",\\n \\"Path\\": \\"/uat6/qry/enquiry/policy/yrtPolicyList\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"D38B3D2F-67FD-57FF-87D1-C431D2C70F76\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '查询已处理详情', - ], - 'GetDetailById' => [ - 'summary' => '查询风险详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED520610-6231-5D80-BADD-A8CDC7BBC809\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '处理服务工单', + ], + 'DisposeWorkTask' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179782', - 'abilityTreeNodes' => [ - 'FEATUREsosYT8XCW', - ], + 'abilityTreeCode' => '247511', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'Operator', + 'in' => 'formData', + 'schema' => ['description' => '操作人。', 'type' => 'string', 'required' => true, 'example' => 'WB01089929'], + ], + [ + 'name' => 'TaskIds', + 'in' => 'formData', + 'schema' => ['description' => '工单ID,多个以都好分隔。', 'type' => 'string', 'required' => true, 'example' => '10310'], + ], + [ + 'name' => 'Status', 'in' => 'formData', 'schema' => [ - 'title' => '主键id', - 'description' => '主键id。', + 'description' => '工单状态。', 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => true, - 'example' => '22', + 'enumValueTitles' => [1 => '待处理', '处理中', '处理完成', '误报', '已忽略', '审核中', '已审核', '发送中-待审批', '已发送', '撤回中-待审批', '已撤回', '发送失败-审批拒绝', '撤回失败-审批拒绝', '退回', '控制台已加白', '客户侧已加白', '发送-流程终止', '撤回-流程终止'], + 'example' => '8', ], ], + [ + 'name' => 'OptRemark', + 'in' => 'formData', + 'schema' => ['description' => '操作备注。', 'type' => 'string', 'required' => true, 'example' => '处理完成'], + ], + [ + 'name' => 'WorkTaskAnalysisResults', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['type' => 'integer', 'format' => 'int64', 'example' => '1445078'], + 'AnalysisResult' => ['type' => 'string', 'example' => '您好, 根据您提供的告警详情,xxx'], + ], + ], + ], + ], + [ + 'name' => 'SyncSasDeal', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + [ + 'name' => 'SyncWafApisecDeal', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + [ + 'name' => 'SyncSasSiemEventDeal', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], ], 'responses' => [ 200 => [ @@ -1207,94 +661,43 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '数据查询结果。', - 'type' => 'object', - 'properties' => [ - 'VulDetails' => [ - 'title' => '漏洞详情', - 'description' => '漏洞详情。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'CveId' => [ - 'title' => 'CVE编号', - 'description' => 'CVE编号。', - 'type' => 'string', - 'example' => 'CVE-2022-21291', - ], - 'CvssScore' => [ - 'title' => '该漏洞在阿里云漏洞库中的CVSS评分', - 'description' => '该漏洞在阿里云漏洞库中的CVSS评分。', - 'type' => 'string', - 'example' => '10.0', - ], - 'Title' => [ - 'title' => '漏洞公告的标题', - 'description' => '漏洞公告的标题。', - 'type' => 'string', - 'example' => 'Chanjet T-Plus SetupAccount/Upload. Aspx file upload vulnerability(CNVD-2022-60632)', - ], - 'FixSuggestion' => [ - 'title' => '处理建议', - 'description' => '处理建议。', - 'type' => 'string', - 'example' => 'https://avd.aliyun.com/detail/CVE-2022-21291', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'DAB46EC5-3746-59C4-B6D2-469F442EC73F', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => '404', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。取值:'."\n" - .'- **true**:表示调用成功。'."\n" - .'- **false**:表示调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '86786E4C-6416-55CF-9AB6-5E275B68801D'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'Success.'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"VulDetails\\": [\\n {\\n \\"CveId\\": \\"CVE-2022-21291\\",\\n \\"CvssScore\\": \\"10.0\\",\\n \\"Title\\": \\"Chanjet T-Plus SetupAccount/Upload. Aspx file upload vulnerability(CNVD-2022-60632)\\",\\n \\"FixSuggestion\\": \\"https://avd.aliyun.com/detail/CVE-2022-21291\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DAB46EC5-3746-59C4-B6D2-469F442EC73F\\",\\n \\"Code\\": \\"404\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '查询风险详情', - ], - 'GetVulPageSummary' => [ - 'summary' => '告警页统计。', - 'methods' => [ - 'get', - 'post', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '处理告警工单', + 'summary' => '处理告警工单。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-mss:DisposeWorkTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86786E4C-6416-55CF-9AB6-5E275B68801D\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetAlarmDetailById' => [ + 'summary' => '告警详情查询。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1303,17 +706,17 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '180002', - 'abilityTreeNodes' => [ - 'FEATUREsosYT8XCW', + 'operationType' => 'get', + 'abilityTreeCode' => '179907', + 'abilityTreeNodes' => ['FEATUREsos0FVTHS'], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => ['title' => '主键id', 'description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '20077761'], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -1322,110 +725,90 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '数据查询结果。', + 'description' => '接口返回数据。', 'type' => 'object', 'properties' => [ - 'WaitHandleCount' => [ - 'title' => '未处理数量', - 'description' => '未处理数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'HandingCount' => [ - 'title' => '处理中的数量', - 'description' => '处理中的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'CompletedCount' => [ - 'title' => '处理完成的数量', - 'description' => '处理完成的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1990', - ], - 'TotalCount' => [ - 'title' => '总数量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - 'HighCount' => [ - 'title' => '高风险数量', - 'description' => '高风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], - 'MediumCount' => [ - 'title' => '中风险数量', - 'description' => '中风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], - 'LowCount' => [ - 'title' => '低风险数量', - 'description' => '低风险数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + 'EventDetails' => [ + 'title' => '事件详情信息', + 'description' => '事件详情信息。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'NameDisplay' => ['title' => '告警事件显示名称', 'description' => '告警事件显示名称。', 'type' => 'string', 'example' => 'Login with unusual location'], + 'ValueDisplay' => ['title' => '告警事件发生路径', 'description' => '告警事件发生路径。', 'type' => 'string', 'example' => '/etc/crontab'], + 'Type' => ['title' => '告警事件类型', 'description' => '告警事件类型。', 'type' => 'string', 'example' => 'text'], + 'Value' => ['title' => '告警事件发生路径', 'description' => '告警事件发生路径。', 'type' => 'string', 'example' => '/etc/crontab'], + ], + ], ], + 'Desc' => ['title' => '描述', 'description' => '描述。', 'type' => 'string', 'example' => 'webshell'], + 'TacticDisplayName' => ['title' => 'ATT&CK的战术名称。', 'description' => 'ATT&CK的战术名称。', 'type' => 'string', 'example' => 'Malicious scripts-Malicious script code execution'], + 'AlarmEventTypeDisplay' => ['title' => '告警事件类型', 'description' => '告警事件类型。', 'type' => 'string', 'example' => 'Login with unusual location'], + 'ContainHwMode' => ['title' => '重保模式', 'description' => '重保模式是否开启 true是,false未开启。', 'type' => 'boolean', 'example' => 'false'], + 'AlarmId' => ['title' => '告警id', 'description' => '告警id。', 'type' => 'integer', 'format' => 'int64', 'example' => '202427220'], + 'AlarmSource' => ['title' => '告警来源', 'description' => '告警来源。', 'type' => 'string', 'example' => 'SUSP_EVENT'], + 'AlarmName' => ['title' => '告警名称', 'description' => '告警名称。', 'type' => 'string', 'example' => '负载均衡可挂载服务器数量告警'], + 'AlarmTime' => ['title' => '最新告警时间', 'description' => '最新告警时间。', 'type' => 'string', 'example' => '2018-09-26 01:51:01'], + 'DealTime' => ['title' => '告警处理时间', 'description' => '告警处理时间。', 'type' => 'string', 'example' => '2018-09-26 01:51:01'], + 'Status' => ['title' => '处理状态', 'description' => '处理状态。', 'type' => 'string', 'example' => '要查询的告警事件状态。取值:'."\n" + ."\n" + .'0:全部'."\n" + .'1:待处理'."\n" + .'2:已忽略'."\n" + .'4:已确认'."\n" + .'8:已标记为误报'."\n" + .'16:处理中'."\n" + .'32:处理完毕'."\n" + .'64:已经过期'."\n" + .'128:已经删除'."\n" + .'512:自动拦截中'."\n" + .'513:自动拦截完毕'], + 'OwnerId' => ['title' => '负责人', 'description' => '负责人。', 'type' => 'string', 'example' => '324546'], + 'Remark' => ['title' => '处置方式', 'description' => '处置方式。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'InstanceName' => ['title' => '受影响资产', 'description' => '受影响资产。', 'type' => 'string', 'example' => 'nginx'], + 'EventLevel' => ['title' => '告警等级', 'description' => '告警等级。', 'type' => 'string', 'example' => 'suspicious'], + 'OccurrenceTime' => ['title' => '首次发生时间', 'description' => '首次发生时间。', 'type' => 'string', 'example' => '2018-09-26 01:51:01'], + 'InternetIp' => ['title' => '公网ip', 'description' => '公网ip。', 'type' => 'string', 'example' => '47.116.126.79'], + 'IntranetIp' => ['title' => '内网ip', 'description' => '内网ip。', 'type' => 'string', 'example' => '172.19.195.176'], + 'Id' => ['title' => '工单主键id', 'description' => '工单主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '9772'], + 'AlarmEventType' => ['title' => '告警事件类型', 'description' => '告警事件类型。', 'type' => 'string', 'example' => 'Unusual Logon'], + 'AnalysisResult' => ['title' => '分析过程', 'description' => '分析过程。', 'type' => 'string', 'example' => '[{"value":"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。","key":"结论"},{"value":"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。","key":"处置建议"}]'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'A3A575C8-80F9-5F04-AA24-CCAC246884A3', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'operation success', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '5C1B0668-442C-57AE-9668-D894B0B012EB'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '操作是否成功:'."\n" + ."\n" + .'- true:成功。'."\n" + .'- false:失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '告警详情查询', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetAlarmDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 4,\\n \\"HandingCount\\": 6,\\n \\"CompletedCount\\": 1990,\\n \\"TotalCount\\": 2000,\\n \\"HighCount\\": 500,\\n \\"MediumCount\\": 500,\\n \\"LowCount\\": 1000\\n },\\n \\"RequestId\\": \\"A3A575C8-80F9-5F04-AA24-CCAC246884A3\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"operation success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '告警页统计', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"EventDetails\\": [\\n {\\n \\"NameDisplay\\": \\"Login with unusual location\\",\\n \\"ValueDisplay\\": \\"/etc/crontab\\",\\n \\"Type\\": \\"text\\",\\n \\"Value\\": \\"/etc/crontab\\"\\n }\\n ],\\n \\"Desc\\": \\"webshell\\",\\n \\"TacticDisplayName\\": \\"Malicious scripts-Malicious script code execution\\",\\n \\"AlarmEventTypeDisplay\\": \\"Login with unusual location\\",\\n \\"ContainHwMode\\": false,\\n \\"AlarmId\\": 202427220,\\n \\"AlarmSource\\": \\"SUSP_EVENT\\",\\n \\"AlarmName\\": \\"负载均衡可挂载服务器数量告警\\",\\n \\"AlarmTime\\": \\"2018-09-26 01:51:01\\",\\n \\"DealTime\\": \\"2018-09-26 01:51:01\\",\\n \\"Status\\": \\"要查询的告警事件状态。取值:\\\\n\\\\n0:全部\\\\n1:待处理\\\\n2:已忽略\\\\n4:已确认\\\\n8:已标记为误报\\\\n16:处理中\\\\n32:处理完毕\\\\n64:已经过期\\\\n128:已经删除\\\\n512:自动拦截中\\\\n513:自动拦截完毕\\",\\n \\"OwnerId\\": \\"324546\\",\\n \\"Remark\\": \\"192.168.XX.XX\\",\\n \\"InstanceName\\": \\"nginx\\",\\n \\"EventLevel\\": \\"suspicious\\",\\n \\"OccurrenceTime\\": \\"2018-09-26 01:51:01\\",\\n \\"InternetIp\\": \\"47.116.126.79\\",\\n \\"IntranetIp\\": \\"172.19.195.176\\",\\n \\"Id\\": 9772,\\n \\"AlarmEventType\\": \\"Unusual Logon\\",\\n \\"AnalysisResult\\": \\"[{\\\\\\"value\\\\\\":\\\\\\"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"结论\\\\\\"},{\\\\\\"value\\\\\\":\\\\\\"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"处置建议\\\\\\"}]\\"\\n },\\n \\"RequestId\\": \\"5C1B0668-442C-57AE-9668-D894B0B012EB\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetDocumentSummary' => [ - 'summary' => '服务报告首页统计项获取。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAttackedAssetDeal' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1437,31 +820,39 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179771', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '179684', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ReportType', + 'name' => 'DateType', 'in' => 'formData', 'schema' => [ - 'title' => '服务报告类型', - 'description' => '服务报告类型。', + 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', + 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '安全服务', - '应急响应', - '风险评估', - '漏洞扫描', - '等保测评', - ], - 'example' => '1', + 'required' => true, + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近一个月', 'halfYear' => '最近半年', 'customize' => '自定义'], + 'example' => 'month', ], ], + [ + 'name' => 'StartDate', + 'in' => 'formData', + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732268720000'], + ], + [ + 'name' => 'EndDate', + 'in' => 'formData', + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732268720000'], + ], + [ + 'name' => 'SuspEventSource', + 'in' => 'formData', + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '暂时无需传参,有问题请联系管理员'], + ], ], 'responses' => [ 200 => [ @@ -1474,69 +865,57 @@ 'description' => '数据查询结果。', 'type' => 'object', 'properties' => [ - 'Frequency' => [ - 'title' => '次数', - 'description' => '服务次数或者天数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'DocumentCount' => [ - 'title' => '份数', - 'description' => '份数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'EcsTrendList' => [ + 'title' => '被攻击资产收敛趋势集合', + 'description' => '被攻击资产收敛趋势集合。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '时间节点', 'description' => '时间节点。', 'type' => 'string', 'example' => '202312或20231205'], + 'DealCount' => ['title' => '处理的数量', 'description' => '处理的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'FindCount' => ['title' => '发现的数量', 'description' => '发现的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '暂时无值,有疑问请联系管理员'], + ], + ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '7903F2DE-D9EE-5D16-8A08-E9223E54B281', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否成功调用。取值:'."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'example' => 'True', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '1E74F11C-B4A8-5774-962C-02003BA8504E'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '查询是否成功。<br />'."\n" + .'**枚举值:**'."\n" + .'* true:成功。'."\n" + .'* false:失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Frequency\\": 10,\\n \\"DocumentCount\\": 10\\n },\\n \\"RequestId\\": \\"7903F2DE-D9EE-5D16-8A08-E9223E54B281\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '服务报告首页统计项获取', - ], - 'GetSafetyCover' => [ - 'summary' => '得到安全防护覆盖度。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '被攻击资产收敛趋势', + 'summary' => '被攻击资产收敛趋势。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetAttackedAssetDeal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"EcsTrendList\\": [\\n {\\n \\"Date\\": \\"202312或20231205\\",\\n \\"DealCount\\": 2,\\n \\"FindCount\\": 0\\n }\\n ]\\n },\\n \\"RequestId\\": \\"1E74F11C-B4A8-5774-962C-02003BA8504E\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetBaselineSummary' => [ + 'summary' => '合规风险收敛趋势。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1548,10 +927,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179686', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '179683', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -1564,43 +941,24 @@ 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], 'example' => 'month', ], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732255620000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732268720000', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该接口不用传', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂未使用,有问题请联系管理员'], ], ], 'responses' => [ @@ -1611,181 +969,54 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '数据查询结果。', + 'description' => '接口返回数据。', 'type' => 'object', 'properties' => [ - 'WafProtection' => [ - 'title' => 'WAF防护覆盖', - 'description' => 'WAF防护覆盖。', - 'type' => 'object', - 'properties' => [ - 'ProtectionCount' => [ - 'title' => '防护的数量', - 'description' => '防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'NoProtectionCount' => [ - 'title' => '未防护的数量', - 'description' => '未防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalCount' => [ - 'title' => '总数量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ProtectionRate' => [ - 'title' => '防护率', - 'description' => '防护率。', - 'type' => 'string', - 'example' => '50.00', - ], - 'ProtectionGrowthRate' => [ - 'title' => '防护率同比', - 'description' => '防护率同比。', - 'type' => 'string', - 'example' => '35.00', - ], - ], - ], - 'EcsProtection' => [ - 'title' => 'ECS防护覆盖', - 'description' => 'ECS防护覆盖。', - 'type' => 'object', - 'properties' => [ - 'ProtectionCount' => [ - 'title' => '防护的数量', - 'description' => '防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'NoProtectionCount' => [ - 'title' => '未防护的数量', - 'description' => '未防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalCount' => [ - 'title' => '总数量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ProtectionRate' => [ - 'title' => '防护率', - 'description' => '防护率。', - 'type' => 'string', - 'example' => '50.00', - ], - 'ProtectionGrowthRate' => [ - 'title' => '防护率同比', - 'description' => '防护率同比。', - 'type' => 'string', - 'example' => '35.00', - ], - ], - ], - 'CfwProtection' => [ - 'title' => 'CFW防护覆盖', - 'description' => 'CFW防护覆盖。', - 'type' => 'object', - 'properties' => [ - 'ProtectionCount' => [ - 'title' => '防护的数量', - 'description' => '防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'NoProtectionCount' => [ - 'title' => '未防护的数量', - 'description' => '未防护的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalCount' => [ - 'title' => '总数量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ProtectionRate' => [ - 'title' => '防护率', - 'description' => '防护率。', - 'type' => 'string', - 'example' => '50.00', - ], - 'ProtectionGrowthRate' => [ - 'title' => '防护率同比', - 'description' => '防护率同比。', - 'type' => 'string', - 'example' => '35.00', + 'TrendDTOList' => [ + 'description' => '基线统计数据集合。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '时间节点', 'description' => '时间节点。', 'type' => 'string', 'example' => '202408或者20240801'], + 'DealCount' => ['title' => '处理的数量', 'description' => '处理的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FindCount' => ['title' => '发现的数量', 'description' => '发现的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], ], ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '564f8bb9-df3c-42a0-877a-b35d48f66603', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => '404', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'system error', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功:'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。'."\n", - 'type' => 'boolean', - 'example' => 'True', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '67D61738-5E38-5164-947A-34E3850D493A'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '操作是否成功。取值:true:成功。false:失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '合规风险收敛趋势', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetBaselineSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WafProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n },\\n \\"EcsProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n },\\n \\"CfwProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n }\\n },\\n \\"RequestId\\": \\"564f8bb9-df3c-42a0-877a-b35d48f66603\\",\\n \\"Code\\": \\"404\\",\\n \\"Message\\": \\"system error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '得到安全防护覆盖度', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TrendDTOList\\": [\\n {\\n \\"Date\\": \\"202408或者20240801\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 12\\n }\\n ]\\n },\\n \\"RequestId\\": \\"67D61738-5E38-5164-947A-34E3850D493A\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetAttackedAssetDeal' => [ - 'summary' => '被攻击资产收敛趋势。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetConsoleScore' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1797,12 +1028,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179684', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '215083', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ @@ -1810,54 +1037,108 @@ 'in' => 'formData', 'schema' => [ 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', + 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选,为空代表最近7天。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近一个月', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], 'example' => 'month', ], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732268720000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732268720000', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ 'name' => 'SuspEventSource', 'in' => 'formData', + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂未使用,有问题请联系管理员'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '暂时无需传参,有问题请联系管理员', + 'title' => 'Schema of Response', + 'description' => '请求响应。', + 'type' => 'object', + 'properties' => [ + 'Data' => ['description' => '接口返回数据。', 'type' => 'any', 'example' => '{'."\n" + .' "score": "94.00",'."\n" + .' "consoleScoreTrendDTOS": ['."\n" + .' {'."\n" + .' "date": "20241009",'."\n" + .' "score": "100.0"'."\n" + .' }'."\n" + .' ],'."\n" + .' "cyclicYearOverYear": "-6.00",'."\n" + .' "recordDate": "20241209",'."\n" + .' "weeklyYearOverYear": "1.62",'."\n" + .' "aboveWholeNetworkUserRatio": "6.25",'."\n" + .' "aliUid": "1601097845544644",'."\n" + .' "detailJson": "[{\\"detailDTO\\":[{\\"count\\":0,\\"itemName\\":\\"应用漏洞POC验证\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"未授权访问漏洞(公网暴露)\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"后台弱口令漏洞(公网暴露)\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"文件上传漏洞(公网暴露)\\",\\"mark\\":\\"1\\"}],\\"markRate\\":\\"0.5\\",\\"markType\\":\\"vul\\"},{\\"detailDTO\\":[{\\"count\\":12,\\"itemName\\":\\"WAF3.0回源配置不正确\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"AK泄露检查未开启\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"DNAT管理端口开放\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"高危端口暴露\\",\\"mark\\":\\"0.5\\"}],\\"markRate\\":\\"0.5\\",\\"markType\\":\\"risk\\"}]"'."\n" + .'}'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'D0937B0F-9180-5F70-B6ED-0BA22591627F'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'Success'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '操作是否成功。true表示成功,false表示失败。', 'type' => 'boolean', 'example' => 'true'], + ], + ], + ], + ], + 'errorCodes' => [ + 401 => [ + ['errorCode' => 'ConsoleScoreEmpty', 'errorMessage' => 'get score data is empty.', 'description' => ''], + ], + ], + 'title' => '获取控制台分数', + 'summary' => '获取控制台分数。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetConsoleScore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\n \\\\\\"score\\\\\\": \\\\\\"94.00\\\\\\",\\\\n \\\\\\"consoleScoreTrendDTOS\\\\\\": [\\\\n {\\\\n \\\\\\"date\\\\\\": \\\\\\"20241009\\\\\\",\\\\n \\\\\\"score\\\\\\": \\\\\\"100.0\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"cyclicYearOverYear\\\\\\": \\\\\\"-6.00\\\\\\",\\\\n \\\\\\"recordDate\\\\\\": \\\\\\"20241209\\\\\\",\\\\n \\\\\\"weeklyYearOverYear\\\\\\": \\\\\\"1.62\\\\\\",\\\\n \\\\\\"aboveWholeNetworkUserRatio\\\\\\": \\\\\\"6.25\\\\\\",\\\\n \\\\\\"aliUid\\\\\\": \\\\\\"1601097845544644\\\\\\",\\\\n \\\\\\"detailJson\\\\\\": \\\\\\"[{\\\\\\\\\\\\\\"detailDTO\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"应用漏洞POC验证\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"未授权访问漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"后台弱口令漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"文件上传漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"markRate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"markType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vul\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"detailDTO\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":12,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"WAF3.0回源配置不正确\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AK泄露检查未开启\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DNAT管理端口开放\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"高危端口暴露\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"markRate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"markType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"risk\\\\\\\\\\\\\\"}]\\\\\\"\\\\n}\\",\\n \\"RequestId\\": \\"D0937B0F-9180-5F70-B6ED-0BA22591627F\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetDetailById' => [ + 'summary' => '查询风险详情。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179782', + 'abilityTreeNodes' => ['FEATUREsosYT8XCW'], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => ['title' => '主键id', 'description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '22'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ @@ -1869,90 +1150,55 @@ 'description' => '数据查询结果。', 'type' => 'object', 'properties' => [ - 'EcsTrendList' => [ - 'title' => '被攻击资产收敛趋势集合', - 'description' => '被攻击资产收敛趋势集合。', + 'VulDetails' => [ + 'title' => '漏洞详情', + 'description' => '漏洞详情。', 'type' => 'array', 'items' => [ 'description' => '数据对象。', 'type' => 'object', 'properties' => [ - 'Date' => [ - 'title' => '时间节点', - 'description' => '时间节点。', - 'type' => 'string', - 'example' => '202312或20231205', - ], - 'DealCount' => [ - 'title' => '处理的数量', - 'description' => '处理的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'FindCount' => [ - 'title' => '发现的数量', - 'description' => '发现的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '暂时无值,有疑问请联系管理员', - ], + 'CveId' => ['title' => 'CVE编号', 'description' => 'CVE编号。', 'type' => 'string', 'example' => 'CVE-2022-21291'], + 'CvssScore' => ['title' => '该漏洞在阿里云漏洞库中的CVSS评分', 'description' => '该漏洞在阿里云漏洞库中的CVSS评分。', 'type' => 'string', 'example' => '10.0'], + 'Title' => ['title' => '漏洞公告的标题', 'description' => '漏洞公告的标题。', 'type' => 'string', 'example' => 'Chanjet T-Plus SetupAccount/Upload. Aspx file upload vulnerability(CNVD-2022-60632)'], + 'FixSuggestion' => ['title' => '处理建议', 'description' => '处理建议。', 'type' => 'string', 'example' => 'https://avd.aliyun.com/detail/CVE-2022-21291'], ], ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '1E74F11C-B4A8-5774-962C-02003BA8504E', - ], - 'Code' => [ - 'description' => '接口返回码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '查询是否成功。<br />'."\n" - .'**枚举值:**'."\n" - .'* true:成功。'."\n" - .'* false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'DAB46EC5-3746-59C4-B6D2-469F442EC73F'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '404'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。取值:'."\n" + .'- **true**:表示调用成功。'."\n" + .'- **false**:表示调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询风险详情', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"EcsTrendList\\": [\\n {\\n \\"Date\\": \\"202312或20231205\\",\\n \\"DealCount\\": 2,\\n \\"FindCount\\": 0\\n }\\n ]\\n },\\n \\"RequestId\\": \\"1E74F11C-B4A8-5774-962C-02003BA8504E\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '被攻击资产收敛趋势', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"VulDetails\\": [\\n {\\n \\"CveId\\": \\"CVE-2022-21291\\",\\n \\"CvssScore\\": \\"10.0\\",\\n \\"Title\\": \\"Chanjet T-Plus SetupAccount/Upload. Aspx file upload vulnerability(CNVD-2022-60632)\\",\\n \\"FixSuggestion\\": \\"https://avd.aliyun.com/detail/CVE-2022-21291\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DAB46EC5-3746-59C4-B6D2-469F442EC73F\\",\\n \\"Code\\": \\"404\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetWorkTaskSummary' => [ - 'summary' => '得到首行工单的统计项。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDocumentDownloadUrl' => [ + 'summary' => '服务报告单个下载。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1964,65 +1210,32 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179659', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '185959', + 'abilityTreeNodes' => ['FEATUREsosOEHKXE'], 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DateType', - 'in' => 'formData', - 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], - 'example' => 'month', - ], - ], - [ - 'name' => 'StartDate', + 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], + 'schema' => ['description' => '文档管理ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '175815'], ], [ - 'name' => 'EndDate', + 'name' => 'ReportType', 'in' => 'formData', 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', + 'description' => '报告类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [1 => '安全服务', '应急响应', '风险评估', '漏洞扫描', '等保测评', 'SOS等保测评'], + 'example' => '1', ], ], [ - 'name' => 'SuspEventSource', + 'name' => 'FileKey', 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该字段暂时未用,有问题请联系管理员', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -2032,189 +1245,98 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '接口返回数据。', - 'type' => 'object', - 'properties' => [ - 'WorkTaskCount' => [ - 'title' => '服务响应次数', - 'description' => '服务响应次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'WorkTaskGrowthRate' => [ - 'title' => '服务响应次数同比增长', - 'description' => '服务响应次数同比增长。', - 'type' => 'string', - 'example' => '20', - ], - 'DealAverageDuration' => [ - 'title' => '平均响应时效(分钟)', - 'description' => '平均响应时效(分钟)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '60', - ], - 'DealAverageDurationGrowthRate' => [ - 'title' => '平均响应时效同比增长', - 'description' => '平均响应时效同比增长。', - 'type' => 'string', - 'example' => '20', - ], - 'WorkTaskDealRate' => [ - 'title' => '问题闭环率', - 'description' => '问题闭环率。', - 'type' => 'string', - 'example' => '90', - ], - 'WorkTaskDealRateGrowthRate' => [ - 'title' => '问题闭环率同比', - 'description' => '问题闭环率同比。', - 'type' => 'string', - 'example' => '20', - ], - 'DealWorkTaskCount' => [ - 'title' => '响应工单次数', - 'description' => '响应工单次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'DealWorkTaskCountRate' => [ - 'title' => '响应工单次数同比', - 'description' => '响应工单次数同比。', - 'type' => 'string', - 'example' => '20', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F', - ], - 'Code' => [ - 'description' => '响应码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'Successful!', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Data' => ['description' => 'OSS文件访问地址。', 'type' => 'string', 'example' => 'https://oos-cn.ctyunapi.cn/example-bucket/test/1.jpg'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'C7BE80B4-7692-54FA-AB22-2A7DF08C4754'], + 'Code' => ['description' => '接口状态码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功:'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '服务报告单个下载', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentDownloadUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WorkTaskCount\\": 10,\\n \\"WorkTaskGrowthRate\\": \\"20\\",\\n \\"DealAverageDuration\\": 60,\\n \\"DealAverageDurationGrowthRate\\": \\"20\\",\\n \\"WorkTaskDealRate\\": \\"90\\",\\n \\"WorkTaskDealRateGrowthRate\\": \\"20\\",\\n \\"DealWorkTaskCount\\": 100,\\n \\"DealWorkTaskCountRate\\": \\"20\\"\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '得到首行工单的统计项', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oos-cn.ctyunapi.cn/example-bucket/test/1.jpg\\",\\n \\"RequestId\\": \\"C7BE80B4-7692-54FA-AB22-2A7DF08C4754\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetSuspEventSummary' => [ - 'summary' => '得到告警的统计项。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDocumentPage' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179681', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '185960', + 'abilityTreeNodes' => ['FEATUREsosOEHKXE'], 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'DateType', + 'name' => 'CurrentPage', + 'in' => 'formData', + 'schema' => ['title' => '当前页', 'description' => '当前页。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'], + ], + [ + 'name' => 'ReportType', 'in' => 'formData', 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', + 'title' => '文档类型', + 'description' => '报告类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], - 'example' => 'month', + 'enumValueTitles' => [1 => '安全服务', '应急响应', '风险评估', '漏洞扫描', '等保测评'], + 'example' => '1', ], ], [ - 'name' => 'StartDate', + 'name' => 'DocumentName', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], + 'schema' => ['title' => '文档名称', 'description' => '文档名称。', 'type' => 'string', 'required' => false, 'example' => '季度报告'], ], [ - 'name' => 'EndDate', + 'name' => 'DeliveredBy', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', - ], + 'schema' => ['title' => '交付人', 'description' => '交付人。', 'type' => 'string', 'required' => false, 'example' => '张三'], ], [ - 'name' => 'SuspEventSource', + 'name' => 'DocumentType', 'in' => 'formData', 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', + 'title' => '报告类型', + 'description' => '文档类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'SYSTEM_SECURITY_EVENT' => '云安全中心告警旧数据源', - 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', - 'SUSP_EVENT' => '云安全中心', - 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', - 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件', - ], - 'example' => 'SUSP_EVENT', + 'enumValueTitles' => ['日报', '周报', '月报', '季度总结报告', '年度总结报告', '服务总结报告', '应急响应报告', '漏扫扫描报告', '风险评估报告', '其他报告', '会议报告', 15 => '等保测评报告'], + 'example' => '0', ], ], ], @@ -2225,225 +1347,70 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '接口返回数据。', + 'PageInfo' => [ + 'description' => '分页信息。', 'type' => 'object', 'properties' => [ - 'SuspEventDealSummaryDTO' => [ - 'title' => '告警处理概况', - 'description' => '告警处理概况。', - 'type' => 'object', - 'properties' => [ - 'WaitHandleCount' => [ - 'title' => '未处理告警数量', - 'description' => '未处理告警数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'HandingCount' => [ - 'title' => '处理中', - 'description' => '处理中。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'CompletedCount' => [ - 'title' => '处理完成', - 'description' => '处理完成。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '总告警数', - 'description' => '总告警数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '35', - ], - 'HandingRate' => [ - 'title' => '告警处置率', - 'description' => '告警处置率。', - 'type' => 'string', - 'example' => '90', - ], - 'TotalGrowthRate' => [ - 'title' => '告警同比', - 'description' => '告警同比。', - 'type' => 'string', - 'example' => '10', - ], - ], - ], - 'SuspEventTrendDTO' => [ - 'title' => '告警响应趋势', - 'description' => '告警响应趋势。', - 'type' => 'object', - 'properties' => [ - 'TrendList' => [ - 'title' => '告警的趋势', - 'description' => '告警的趋势。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '时间节点', - 'description' => '时间节点。', - 'type' => 'string', - 'example' => '202405或者20240501', - ], - 'DealCount' => [ - 'title' => '处理的数量', - 'description' => '处理的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FindCount' => [ - 'title' => '发现的数量', - 'description' => '发现的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - ], - ], - ], - ], - ], - 'SuspEventTopDTO' => [ - 'title' => '处置告警前TOP 10', - 'description' => '处置告警前TOP 10。', - 'type' => 'object', - 'properties' => [ - 'SuspEventList' => [ - 'title' => '处置告警前TOP 10', - 'description' => '处置告警前TOP 10。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'EventName' => [ - 'title' => '告警名称', - 'description' => '告警名称。', - 'type' => 'string', - 'example' => '主动外连风险 IP', - ], - 'TaskCount' => [ - 'title' => '数量', - 'description' => '数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - ], - ], - ], - ], - ], - 'NetworkAttackTrendDTO' => [ - 'title' => '网络攻击趋势', - 'description' => '网络攻击趋势。', - 'type' => 'object', - 'properties' => [ - 'TrendList' => [ - 'title' => '各攻击项趋势节点集合', - 'description' => '各攻击项趋势节点集合。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '日期', - 'description' => '日期。', - 'type' => 'string', - 'example' => '202409或20240901', - ], - 'DdosCount' => [ - 'title' => 'DDOS数量', - 'description' => 'DDOS数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'WafCount' => [ - 'title' => 'WAF数量', - 'description' => 'WAF数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'EipCount' => [ - 'title' => 'EIP数量', - 'description' => 'EIP数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'CurrentPage' => ['description' => '分页查询时,当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '返回数据每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询到的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3149'], + ], + ], + 'Data' => [ + 'description' => '响应数据。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '文档主键id', 'description' => '文档主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '346409'], + 'DocumentType' => ['title' => '服务报告类型', 'description' => '服务报告类型。', 'type' => 'string', 'example' => '3'], + 'DeliveredBy' => ['title' => '交付人', 'description' => '交付人。', 'type' => 'string', 'example' => '张三'], + 'UploadTime' => ['title' => '报告生成时间', 'description' => '报告生成时间。', 'type' => 'string', 'example' => '2023-03-21 17:26:34'], + 'DocumentName' => ['title' => '报告名称', 'description' => '报告名称。', 'type' => 'string', 'example' => '季度报告'], + 'ReportStatus' => [ + 'description' => '报告状态。', + 'type' => 'string', + 'enumValueTitles' => ['userConfirmed' => '已归档', 'uploaded' => '用户待查收'], + 'example' => 'uploaded', ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '9B2DAE9B-B901-5818-AFEF-E5637D938280', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'Successful!', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- true:调用成功。'."\n" - ."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '04DAD7B4-E1DA-5C2C-8E5C-A1EDC880CF60'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '表示是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '服务报告查询', + 'summary' => '服务报告查询。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"SuspEventDealSummaryDTO\\": {\\n \\"WaitHandleCount\\": 10,\\n \\"HandingCount\\": 5,\\n \\"CompletedCount\\": 20,\\n \\"TotalCount\\": 35,\\n \\"HandingRate\\": \\"90\\",\\n \\"TotalGrowthRate\\": \\"10\\"\\n },\\n \\"SuspEventTrendDTO\\": {\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202405或者20240501\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 15\\n }\\n ]\\n },\\n \\"SuspEventTopDTO\\": {\\n \\"SuspEventList\\": [\\n {\\n \\"EventName\\": \\"主动外连风险 IP\\",\\n \\"TaskCount\\": 7\\n }\\n ]\\n },\\n \\"NetworkAttackTrendDTO\\": {\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202409或20240901\\",\\n \\"DdosCount\\": 10,\\n \\"WafCount\\": 10,\\n \\"EipCount\\": 10\\n }\\n ]\\n }\\n },\\n \\"RequestId\\": \\"9B2DAE9B-B901-5818-AFEF-E5637D938280\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '得到告警的统计项', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3149\\n },\\n \\"Data\\": [\\n {\\n \\"Id\\": 346409,\\n \\"DocumentType\\": \\"3\\",\\n \\"DeliveredBy\\": \\"张三\\",\\n \\"UploadTime\\": \\"2023-03-21 17:26:34\\",\\n \\"DocumentName\\": \\"季度报告\\",\\n \\"ReportStatus\\": \\"uploaded\\"\\n }\\n ],\\n \\"RequestId\\": \\"04DAD7B4-E1DA-5C2C-8E5C-A1EDC880CF60\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetVulSummary' => [ - 'summary' => '得到风险的统计项。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDocumentSummary' => [ + 'summary' => '服务报告首页统计项获取。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2455,64 +1422,21 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179685', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], - 'autoTest' => true, + 'abilityTreeCode' => '179771', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DateType', - 'in' => 'formData', - 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], - 'example' => 'month', - ], - ], - [ - 'name' => 'StartDate', - 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], - ], - [ - 'name' => 'EndDate', - 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', - ], - ], - [ - 'name' => 'SuspEventSource', + 'name' => 'ReportType', 'in' => 'formData', 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', + 'title' => '服务报告类型', + 'description' => '服务报告类型。', 'type' => 'string', 'required' => false, - 'example' => '该字段暂未使用,有问题请联系管理员', + 'enumValueTitles' => [1 => '安全服务', '应急响应', '风险评估', '漏洞扫描', '等保测评'], + 'example' => '1', ], ], ], @@ -2524,112 +1448,44 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '接口返回数据。', + 'description' => '数据查询结果。', 'type' => 'object', 'properties' => [ - 'WaitHandleCount' => [ - 'title' => '未处理数量', - 'description' => '未处理数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'CompletedCount' => [ - 'title' => '处理完成', - 'description' => '处理完成。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'DealRate' => [ - 'title' => '风险收敛率', - 'description' => '风险收敛率。', - 'type' => 'string', - 'example' => '50', - ], - 'TrendList' => [ - 'title' => '发现漏洞趋势节点集合', - 'description' => '发现漏洞趋势节点集合。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '时间节点', - 'description' => '时间节点。', - 'type' => 'string', - 'example' => '202407或者20240701', - ], - 'DealCount' => [ - 'title' => '处理的数量', - 'description' => '处理的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FindCount' => [ - 'title' => '发现的数量', - 'description' => '发现的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - ], - ], - ], + 'Frequency' => ['title' => '次数', 'description' => '服务次数或者天数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'DocumentCount' => ['title' => '份数', 'description' => '份数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'system error', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '7903F2DE-D9EE-5D16-8A08-E9223E54B281'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', 'type' => 'boolean', 'example' => 'True'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '服务报告首页统计项获取', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 5,\\n \\"CompletedCount\\": 10,\\n \\"DealRate\\": \\"50\\",\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202407或者20240701\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 15\\n }\\n ]\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"system error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '得到风险的统计项', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Frequency\\": 10,\\n \\"DocumentCount\\": 10\\n },\\n \\"RequestId\\": \\"7903F2DE-D9EE-5D16-8A08-E9223E54B281\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetRecentDocument' => [ - 'summary' => '得到最近上传的服务报告。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2642,9 +1498,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '179682', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2652,48 +1506,22 @@ [ 'name' => 'DateType', 'in' => 'formData', - 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', - 'type' => 'string', - 'required' => true, - 'example' => '该字段暂未使用,有问题请联系管理员', - ], + 'schema' => ['title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, 'example' => '该字段暂未使用,有问题请联系管理员'], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1724788109000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1724788109000'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1734788109000', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1734788109000'], ], [ 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该字段暂未使用,有问题请联系管理员', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂未使用,有问题请联系管理员'], ], ], 'responses' => [ @@ -2710,78 +1538,46 @@ 'description' => '数据对象。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '文档名称', - 'description' => '文档名称', - 'type' => 'string', - 'example' => '文档名称测试', - ], - 'Id' => [ - 'title' => 'id', - 'description' => '主键id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '360491', - ], - 'UploadTime' => [ - 'title' => '上传时间', - 'description' => '上传时间。', - 'type' => 'string', - 'example' => '2023-03-20 14:30:38', - ], + 'Name' => ['title' => '文档名称', 'description' => '文档名称', 'type' => 'string', 'example' => '文档名称测试'], + 'Id' => ['title' => 'id', 'description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '360491'], + 'UploadTime' => ['title' => '上传时间', 'description' => '上传时间。', 'type' => 'string', 'example' => '2023-03-20 14:30:38'], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '4916FA8D-F294-518D-B373-8B59D63CAB19', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '响应信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '4916FA8D-F294-518D-B373-8B59D63CAB19'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '响应信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '得到最近上传的服务报告', + 'summary' => '得到最近上传的服务报告。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetRecentDocument', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"文档名称测试\\",\\n \\"Id\\": 360491,\\n \\"UploadTime\\": \\"2023-03-20 14:30:38\\"\\n }\\n ],\\n \\"RequestId\\": \\"4916FA8D-F294-518D-B373-8B59D63CAB19\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '得到最近上传的服务报告', ], - 'GetBaselineSummary' => [ - 'summary' => '合规风险收敛趋势。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSafetyCover' => [ + 'summary' => '得到安全防护覆盖度。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2793,10 +1589,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179683', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '179686', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2804,54 +1598,22 @@ [ 'name' => 'DateType', 'in' => 'formData', - 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], - 'example' => 'month', - ], + 'schema' => ['title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, 'example' => 'month'], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732255620000'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732268720000'], ], [ 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该字段暂未使用,有问题请联系管理员', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该接口不用传'], ], ], 'responses' => [ @@ -2862,196 +1624,119 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '接口返回数据。', + 'description' => '数据查询结果。', 'type' => 'object', 'properties' => [ - 'TrendDTOList' => [ - 'description' => '基线统计数据集合。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '时间节点', - 'description' => '时间节点。', - 'type' => 'string', - 'example' => '202408或者20240801', - ], - 'DealCount' => [ - 'title' => '处理的数量', - 'description' => '处理的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FindCount' => [ - 'title' => '发现的数量', - 'description' => '发现的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - ], + 'WafProtection' => [ + 'title' => 'WAF防护覆盖', + 'description' => 'WAF防护覆盖。', + 'type' => 'object', + 'properties' => [ + 'ProtectionCount' => ['title' => '防护的数量', 'description' => '防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'NoProtectionCount' => ['title' => '未防护的数量', 'description' => '未防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ProtectionRate' => ['title' => '防护率', 'description' => '防护率。', 'type' => 'string', 'example' => '50.00'], + 'ProtectionGrowthRate' => ['title' => '防护率同比', 'description' => '防护率同比。', 'type' => 'string', 'example' => '35.00'], + ], + ], + 'EcsProtection' => [ + 'title' => 'ECS防护覆盖', + 'description' => 'ECS防护覆盖。', + 'type' => 'object', + 'properties' => [ + 'ProtectionCount' => ['title' => '防护的数量', 'description' => '防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'NoProtectionCount' => ['title' => '未防护的数量', 'description' => '未防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ProtectionRate' => ['title' => '防护率', 'description' => '防护率。', 'type' => 'string', 'example' => '50.00'], + 'ProtectionGrowthRate' => ['title' => '防护率同比', 'description' => '防护率同比。', 'type' => 'string', 'example' => '35.00'], + ], + ], + 'CfwProtection' => [ + 'title' => 'CFW防护覆盖', + 'description' => 'CFW防护覆盖。', + 'type' => 'object', + 'properties' => [ + 'ProtectionCount' => ['title' => '防护的数量', 'description' => '防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'NoProtectionCount' => ['title' => '未防护的数量', 'description' => '未防护的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ProtectionRate' => ['title' => '防护率', 'description' => '防护率。', 'type' => 'string', 'example' => '50.00'], + 'ProtectionGrowthRate' => ['title' => '防护率同比', 'description' => '防护率同比。', 'type' => 'string', 'example' => '35.00'], ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '67D61738-5E38-5164-947A-34E3850D493A', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '操作是否成功。取值:true:成功。false:失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '564f8bb9-df3c-42a0-877a-b35d48f66603'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '404'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'system error'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功:'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。'."\n", 'type' => 'boolean', 'example' => 'True'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '得到安全防护覆盖度', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSafetyCover', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TrendDTOList\\": [\\n {\\n \\"Date\\": \\"202408或者20240801\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 12\\n }\\n ]\\n },\\n \\"RequestId\\": \\"67D61738-5E38-5164-947A-34E3850D493A\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '合规风险收敛趋势', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WafProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n },\\n \\"EcsProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n },\\n \\"CfwProtection\\": {\\n \\"ProtectionCount\\": 5,\\n \\"NoProtectionCount\\": 5,\\n \\"TotalCount\\": 10,\\n \\"ProtectionRate\\": \\"50.00\\",\\n \\"ProtectionGrowthRate\\": \\"35.00\\"\\n }\\n },\\n \\"RequestId\\": \\"564f8bb9-df3c-42a0-877a-b35d48f66603\\",\\n \\"Code\\": \\"404\\",\\n \\"Message\\": \\"system error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetDocumentPage' => [ - 'summary' => '服务报告查询。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSowList' => [ + 'summary' => '获取SOW列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '185960', - 'abilityTreeNodes' => [ - 'FEATUREsosOEHKXE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '212416', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ - 'name' => 'CurrentPage', - 'in' => 'formData', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'title' => '每页大小', - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '20', - ], - ], - [ - 'name' => 'ReportType', + 'name' => 'DateType', 'in' => 'formData', 'schema' => [ - 'title' => '文档类型', - 'description' => '报告类型。', + 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', + 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 1 => '安全服务', - '应急响应', - '风险评估', - '漏洞扫描', - '等保测评', - ], - 'example' => '1', + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], + 'example' => 'month', ], ], [ - 'name' => 'DocumentName', + 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '文档名称', - 'description' => '文档名称。', - 'type' => 'string', - 'required' => false, - 'example' => '季度报告', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ - 'name' => 'DeliveredBy', + 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '交付人', - 'description' => '交付人。', - 'type' => 'string', - 'required' => false, - 'example' => '张三', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ - 'name' => 'DocumentType', + 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '报告类型', - 'description' => '文档类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '日报', - '周报', - '月报', - '季度总结报告', - '年度总结报告', - '服务总结报告', - '应急响应报告', - '漏扫扫描报告', - '风险评估报告', - '其他报告', - '会议报告', - 15 => '等保测评报告', - ], - 'example' => '0', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂未使用,有问题请联系管理员'], ], ], 'responses' => [ @@ -3061,249 +1746,60 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'PageInfo' => [ - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '分页查询时,当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '返回数据每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询到的数据总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3149', - ], - ], - ], 'Data' => [ - 'description' => '响应数据。', + 'description' => '接口返回数据。', 'type' => 'array', 'items' => [ 'description' => '数据对象。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '文档主键id', - 'description' => '文档主键id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '346409', - ], - 'DocumentType' => [ - 'title' => '服务报告类型', - 'description' => '服务报告类型。', - 'type' => 'string', - 'example' => '3', - ], - 'DeliveredBy' => [ - 'title' => '交付人', - 'description' => '交付人。', - 'type' => 'string', - 'example' => '张三', - ], - 'UploadTime' => [ - 'title' => '报告生成时间', - 'description' => '报告生成时间。', - 'type' => 'string', - 'example' => '2023-03-21 17:26:34', - ], - 'DocumentName' => [ - 'title' => '报告名称', - 'description' => '报告名称。', - 'type' => 'string', - 'example' => '季度报告', - ], - 'ReportStatus' => [ - 'description' => '报告状态。', + 'TaskTypeName' => ['title' => '任务类型', 'description' => '任务类型。', 'type' => 'string', 'example' => '安全风险评估'], + 'StartTime' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'string', 'example' => '2023-03-24 16:51:26'], + 'CompleteTime' => ['title' => '完成时间', 'description' => '完成时间。', 'type' => 'string', 'example' => '2024-03-28 16:19:35'], + 'Progress' => [ + 'title' => '进展', + 'description' => '进展。', 'type' => 'string', - 'enumValueTitles' => [ - 'userConfirmed' => '已归档', - 'uploaded' => '用户待查收', - ], - 'example' => 'uploaded', + 'enumValueTitles' => ['COMPLETED' => '已完成', 'IN_PROCESS' => '进行中', 'IN_PREPARATION' => '准备中'], + 'example' => 'IN_PREPARATION', ], + 'RecordCount' => ['title' => '记录数', 'description' => '记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '173'], + 'WorkOrderName' => ['title' => '工单名称', 'description' => '工单名称。', 'type' => 'string', 'example' => '安全产品配置问题与超量提醒'], + 'OperateRemark' => ['title' => '操作备注', 'description' => '操作备注。', 'type' => 'string', 'example' => '新建'], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '04DAD7B4-E1DA-5C2C-8E5C-A1EDC880CF60', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '表示是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3149\\n },\\n \\"Data\\": [\\n {\\n \\"Id\\": 346409,\\n \\"DocumentType\\": \\"3\\",\\n \\"DeliveredBy\\": \\"张三\\",\\n \\"UploadTime\\": \\"2023-03-21 17:26:34\\",\\n \\"DocumentName\\": \\"季度报告\\",\\n \\"ReportStatus\\": \\"uploaded\\"\\n }\\n ],\\n \\"RequestId\\": \\"04DAD7B4-E1DA-5C2C-8E5C-A1EDC880CF60\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '服务报告查询', - ], - 'GetDocumentDownloadUrl' => [ - 'summary' => '服务报告单个下载。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '185959', - 'abilityTreeNodes' => [ - 'FEATUREsosOEHKXE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'description' => '文档管理ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '175815', - ], - ], - [ - 'name' => 'ReportType', - 'in' => 'formData', - 'schema' => [ - 'description' => '报告类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '安全服务', - '应急响应', - '风险评估', - '漏洞扫描', - '等保测评', - 'SOS等保测评', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'FA8883BC-CB18-5E28-A113-8249917CA05E'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'Success'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], - 'example' => '1', - ], - ], - [ - 'name' => 'FileKey', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求响应。', - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => 'OSS文件访问地址。', - 'type' => 'string', - 'example' => 'https://oos-cn.ctyunapi.cn/example-bucket/test/1.jpg', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'C7BE80B4-7692-54FA-AB22-2A7DF08C4754', - ], - 'Code' => [ - 'description' => '接口状态码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功:'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'title' => '获取SOW列表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"https://oos-cn.ctyunapi.cn/example-bucket/test/1.jpg\\",\\n \\"RequestId\\": \\"C7BE80B4-7692-54FA-AB22-2A7DF08C4754\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '服务报告单个下载', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TaskTypeName\\": \\"安全风险评估\\",\\n \\"StartTime\\": \\"2023-03-24 16:51:26\\",\\n \\"CompleteTime\\": \\"2024-03-28 16:19:35\\",\\n \\"Progress\\": \\"IN_PREPARATION\\",\\n \\"RecordCount\\": 173,\\n \\"WorkOrderName\\": \\"安全产品配置问题与超量提醒\\",\\n \\"OperateRemark\\": \\"新建\\"\\n }\\n ],\\n \\"RequestId\\": \\"FA8883BC-CB18-5E28-A113-8249917CA05E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetSuspEventPage' => [ - 'summary' => '告警处置查询。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3316,9 +1812,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '185961', - 'abilityTreeNodes' => [ - 'FEATUREsos0FVTHS', - ], + 'abilityTreeNodes' => ['FEATUREsos0FVTHS'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3326,26 +1820,12 @@ [ 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'title' => '当前页页码', - 'description' => '当前页页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['title' => '当前页页码', 'description' => '当前页页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'title' => '每页大小', - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'Source', @@ -3355,13 +1835,7 @@ 'description' => '告警来源。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'SYSTEM_SECURITY_EVENT' => '云安全中心告警旧数据源', - 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', - 'SUSP_EVENT' => '云安全中心', - 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', - 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件', - ], + 'enumValueTitles' => ['SYSTEM_SECURITY_EVENT' => '云安全中心告警旧数据源', 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', 'SUSP_EVENT' => '云安全中心', 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件'], 'example' => 'SUSP_EVENT', ], ], @@ -3374,41 +1848,19 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '待处理', - '处理中', - '处理完成', - '误报', - '已忽略', - 15 => '控制台已加白', - '客户侧已加白', - ], + 'enumValueTitles' => [1 => '待处理', '处理中', '处理完成', '误报', '已忽略', 15 => '控制台已加白', '客户侧已加白'], 'example' => '1', ], ], [ 'name' => 'AlarmStartTime', 'in' => 'formData', - 'schema' => [ - 'title' => '告警开始时间', - 'description' => '告警开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1722515522000', - ], + 'schema' => ['title' => '告警开始时间', 'description' => '告警开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1722515522000'], ], [ 'name' => 'AlarmEndTime', 'in' => 'formData', - 'schema' => [ - 'title' => '告警结束时间', - 'description' => '告警结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1732515522000', - ], + 'schema' => ['title' => '告警结束时间', 'description' => '告警结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1732515522000'], ], ], 'responses' => [ @@ -3422,24 +1874,9 @@ 'description' => '分页信息。', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '分页查询时,当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '返回数据每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'CurrentPage' => ['description' => '分页查询时,当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '返回数据每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], 'Data' => [ @@ -3449,280 +1886,121 @@ 'description' => '数据对象。', 'type' => 'object', 'properties' => [ - 'AlarmId' => [ - 'title' => '告警id', - 'description' => '告警id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5b1eeebe4f22daa2b177298234214fa3', - ], - 'AlarmSource' => [ - 'title' => '告警来源', - 'description' => '告警来源。', - 'type' => 'string', - 'example' => 'SUSP_EVENT', - ], - 'AlarmName' => [ - 'title' => '告警名称', - 'description' => '告警名称。', - 'type' => 'string', - 'example' => 'Web服务漏洞利用', - ], - 'AlarmTime' => [ - 'title' => '最新告警时间', - 'description' => '最新告警时间。', - 'type' => 'string', - 'example' => '1722515522000'."\n", - ], - 'DealTime' => [ - 'title' => '告警处理时间', - 'description' => '告警处理时间。', - 'type' => 'string', - 'example' => '1732515522000'."\n", - ], + 'AlarmId' => ['title' => '告警id', 'description' => '告警id。', 'type' => 'integer', 'format' => 'int64', 'example' => '5b1eeebe4f22daa2b177298234214fa3'], + 'AlarmSource' => ['title' => '告警来源', 'description' => '告警来源。', 'type' => 'string', 'example' => 'SUSP_EVENT'], + 'AlarmName' => ['title' => '告警名称', 'description' => '告警名称。', 'type' => 'string', 'example' => 'Web服务漏洞利用'], + 'AlarmTime' => ['title' => '最新告警时间', 'description' => '最新告警时间。', 'type' => 'string', 'example' => '1722515522000'."\n"], + 'DealTime' => ['title' => '告警处理时间', 'description' => '告警处理时间。', 'type' => 'string', 'example' => '1732515522000'."\n"], 'Status' => [ 'title' => '处理状态', 'description' => '处理状态。', 'type' => 'string', - 'enumValueTitles' => [ - 1 => '未处理', - '处理中', - '已处理', - '已处理', - '已处理', - 15 => '已处理', - '已处理', - ], + 'enumValueTitles' => [1 => '未处理', '处理中', '已处理', '已处理', '已处理', 15 => '已处理', '已处理'], 'example' => '未处理', ], - 'OwnerId' => [ - 'title' => '负责人', - 'description' => '负责人。', - 'type' => 'string', - 'example' => '张三', - ], - 'Remark' => [ - 'title' => '处置方式', - 'description' => '处置方式。', - 'type' => 'string', - 'example' => '处理完成', - ], - 'InstanceName' => [ - 'title' => '受影响资产', - 'description' => '受影响资产。', - 'type' => 'string', - 'example' => 'shells-azhou', - ], + 'OwnerId' => ['title' => '负责人', 'description' => '负责人。', 'type' => 'string', 'example' => '张三'], + 'Remark' => ['title' => '处置方式', 'description' => '处置方式。', 'type' => 'string', 'example' => '处理完成'], + 'InstanceName' => ['title' => '受影响资产', 'description' => '受影响资产。', 'type' => 'string', 'example' => 'shells-azhou'], 'EventLevel' => [ 'title' => '告警等级', 'description' => '告警等级。', 'type' => 'string', - 'enumValueTitles' => [ - 'serious' => '紧急', - 'suspicious' => '可疑', - 'remind' => '提醒', - ], + 'enumValueTitles' => ['serious' => '紧急', 'suspicious' => '可疑', 'remind' => '提醒'], 'example' => 'suspicious', ], - 'OccurrenceTime' => [ - 'title' => '首次发生时间', - 'description' => '首次发生时间。', - 'type' => 'string', - 'example' => '该字段暂未使用,有问题请联系管理员', - ], - 'InternetIp' => [ - 'title' => '公网ip', - 'description' => '公网ip。', - 'type' => 'string', - 'example' => '47.99.188.31', - ], - 'IntranetIp' => [ - 'title' => '内网ip', - 'description' => '内网ip。', - 'type' => 'string', - 'example' => '172.16.109.130', - ], - 'Id' => [ - 'title' => '工单主键id', - 'description' => '工单主键id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '9947', - ], - 'AlarmEventType' => [ - 'title' => '告警事件类型', - 'description' => '告警事件类型。', - 'type' => 'string', - 'example' => '精准防御', - ], - 'AnalysisResult' => [ - 'title' => '分析过程', - 'description' => '分析过程。', - 'type' => 'string', - 'example' => '[{"value":"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。","key":"结论"},{"value":"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。","key":"处置建议"}]', - ], + 'OccurrenceTime' => ['title' => '首次发生时间', 'description' => '首次发生时间。', 'type' => 'string', 'example' => '该字段暂未使用,有问题请联系管理员'], + 'InternetIp' => ['title' => '公网ip', 'description' => '公网ip。', 'type' => 'string', 'example' => '47.99.188.31'], + 'IntranetIp' => ['title' => '内网ip', 'description' => '内网ip。', 'type' => 'string', 'example' => '172.16.109.130'], + 'Id' => ['title' => '工单主键id', 'description' => '工单主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '9947'], + 'AlarmEventType' => ['title' => '告警事件类型', 'description' => '告警事件类型。', 'type' => 'string', 'example' => '精准防御'], + 'AnalysisResult' => ['title' => '分析过程', 'description' => '分析过程。', 'type' => 'string', 'example' => '[{"value":"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。","key":"结论"},{"value":"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。","key":"处置建议"}]'], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'AFA6F7B7-7C4B-58BB-B8FB-E0FFA4483561', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'system error', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- **true**:调用成功。'."\n" - ."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'AFA6F7B7-7C4B-58BB-B8FB-E0FFA4483561'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'system error'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- **true**:调用成功。'."\n" + ."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '告警处置查询', + 'summary' => '告警处置查询。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspEventPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"Data\\": [\\n {\\n \\"AlarmId\\": 0,\\n \\"AlarmSource\\": \\"SUSP_EVENT\\",\\n \\"AlarmName\\": \\"Web服务漏洞利用\\",\\n \\"AlarmTime\\": \\"1722515522000\\\\n\\",\\n \\"DealTime\\": \\"1732515522000\\\\n\\",\\n \\"Status\\": \\"未处理\\",\\n \\"OwnerId\\": \\"张三\\",\\n \\"Remark\\": \\"处理完成\\",\\n \\"InstanceName\\": \\"shells-azhou\\",\\n \\"EventLevel\\": \\"suspicious\\",\\n \\"OccurrenceTime\\": \\"该字段暂未使用,有问题请联系管理员\\",\\n \\"InternetIp\\": \\"47.99.188.31\\",\\n \\"IntranetIp\\": \\"172.16.109.130\\",\\n \\"Id\\": 9947,\\n \\"AlarmEventType\\": \\"精准防御\\",\\n \\"AnalysisResult\\": \\"[{\\\\\\"value\\\\\\":\\\\\\"服务器可能已被黑客攻击,存在恶意进程在运行。 分析过程:告警显示,服务端存在一个名为”dns.exe”的进程在访问”polling.burpcollaborator.net”,这是一个被黑名单列出的恶意域名。在正常情况下,”dns.exe”不应该单独存在于系统的路径下,并且也不应该访问这类恶意域名。因此,这个进程可能是黑客留下的恶意进程。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"结论\\\\\\"},{\\\\\\"value\\\\\\":\\\\\\"尽快对服务器进行全面扫描,清除恶意进程。同时,联系网络安全专家进行深入调查,以确定是否有其他潜在的安全威胁。\\\\\\",\\\\\\"key\\\\\\":\\\\\\"处置建议\\\\\\"}]\\"\\n }\\n ],\\n \\"RequestId\\": \\"AFA6F7B7-7C4B-58BB-B8FB-E0FFA4483561\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"system error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '告警处置查询', ], - 'GetVulItemPage' => [ - 'summary' => '风险查询。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSuspEventSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '185958', - 'abilityTreeNodes' => [ - 'FEATUREsosYT8XCW', - ], + 'abilityTreeCode' => '179681', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CurrentPage', - 'in' => 'formData', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '返回数据每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'ScanType', + 'name' => 'DateType', 'in' => 'formData', 'schema' => [ - 'title' => '漏洞类型', - 'description' => '漏洞类型。', + 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', + 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'sca' => '软件成分分析', - 'app' => '应用漏洞', - 'cve' => 'Linux漏洞', - 'cms' => 'WebCMS漏洞', - 'sys' => 'Windows漏洞', - 'emg' => '应急漏洞', - ], - 'example' => 'sca', + 'required' => true, + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], + 'example' => 'month', ], ], [ - 'name' => 'Level', + 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '风险等级', - 'description' => '风险等级。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'nntf' => '低', - 'later' => '中', - 'asap' => '高', - ], - 'example' => 'later', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ - 'name' => 'Dealed', - 'in' => 'formData', - 'schema' => [ - 'title' => '处理状态 y:已处理;n:未处理;h:处理中', - 'description' => '处理状态 y:已处理;n:未处理;h:处理中。', - 'type' => 'string', - 'required' => false, - 'example' => 'n', - ], - ], - [ - 'name' => 'Name', + 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '漏洞名称', - 'description' => '漏洞名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'oval:com.redhat.rhsa:def:20183665', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ - 'name' => 'AliasName', + 'name' => 'SuspEventSource', 'in' => 'formData', 'schema' => [ - 'title' => '漏洞别名', - 'description' => '漏洞别名。', + 'title' => '告警事件来源', + 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, - 'example' => 'RHSA-2018:3665-Important: NetworkManager security update', + 'enumValueTitles' => ['SYSTEM_SECURITY_EVENT' => '云安全中心告警旧数据源', 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', 'SUSP_EVENT' => '云安全中心', 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件'], + 'example' => 'SUSP_EVENT', ], ], ], @@ -3733,200 +2011,193 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'PageInfo' => [ - 'description' => '分页信息。', + 'Data' => [ + 'description' => '接口返回数据。', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '分页查询时,当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'SuspEventDealSummaryDTO' => [ + 'title' => '告警处理概况', + 'description' => '告警处理概况。', + 'type' => 'object', + 'properties' => [ + 'WaitHandleCount' => ['title' => '未处理告警数量', 'description' => '未处理告警数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'HandingCount' => ['title' => '处理中', 'description' => '处理中。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'CompletedCount' => ['title' => '处理完成', 'description' => '处理完成。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'TotalCount' => ['title' => '总告警数', 'description' => '总告警数。', 'type' => 'integer', 'format' => 'int64', 'example' => '35'], + 'HandingRate' => ['title' => '告警处置率', 'description' => '告警处置率。', 'type' => 'string', 'example' => '90'], + 'TotalGrowthRate' => ['title' => '告警同比', 'description' => '告警同比。', 'type' => 'string', 'example' => '10'], + ], ], - 'PageSize' => [ - 'description' => '返回数据每页显示的数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'SuspEventTrendDTO' => [ + 'title' => '告警响应趋势', + 'description' => '告警响应趋势。', + 'type' => 'object', + 'properties' => [ + 'TrendList' => [ + 'title' => '告警的趋势', + 'description' => '告警的趋势。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '时间节点', 'description' => '时间节点。', 'type' => 'string', 'example' => '202405或者20240501'], + 'DealCount' => ['title' => '处理的数量', 'description' => '处理的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FindCount' => ['title' => '发现的数量', 'description' => '发现的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'], + ], + ], + ], + ], ], - 'TotalCount' => [ - 'description' => '查询结果的总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '163', + 'SuspEventTopDTO' => [ + 'title' => '处置告警前TOP 10', + 'description' => '处置告警前TOP 10。', + 'type' => 'object', + 'properties' => [ + 'SuspEventList' => [ + 'title' => '处置告警前TOP 10', + 'description' => '处置告警前TOP 10。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'EventName' => ['title' => '告警名称', 'description' => '告警名称。', 'type' => 'string', 'example' => '主动外连风险 IP'], + 'TaskCount' => ['title' => '数量', 'description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + ], + ], + ], + ], + ], + 'NetworkAttackTrendDTO' => [ + 'title' => '网络攻击趋势', + 'description' => '网络攻击趋势。', + 'type' => 'object', + 'properties' => [ + 'TrendList' => [ + 'title' => '各攻击项趋势节点集合', + 'description' => '各攻击项趋势节点集合。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '日期', 'description' => '日期。', 'type' => 'string', 'example' => '202409或20240901'], + 'DdosCount' => ['title' => 'DDOS数量', 'description' => 'DDOS数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'WafCount' => ['title' => 'WAF数量', 'description' => 'WAF数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'EipCount' => ['title' => 'EIP数量', 'description' => 'EIP数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], + ], + ], ], ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '9B2DAE9B-B901-5818-AFEF-E5637D938280'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'Successful!'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- true:调用成功。'."\n" + ."\n" + .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '得到告警的统计项', + 'summary' => '得到告警的统计项。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspEventSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"SuspEventDealSummaryDTO\\": {\\n \\"WaitHandleCount\\": 10,\\n \\"HandingCount\\": 5,\\n \\"CompletedCount\\": 20,\\n \\"TotalCount\\": 35,\\n \\"HandingRate\\": \\"90\\",\\n \\"TotalGrowthRate\\": \\"10\\"\\n },\\n \\"SuspEventTrendDTO\\": {\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202405或者20240501\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 15\\n }\\n ]\\n },\\n \\"SuspEventTopDTO\\": {\\n \\"SuspEventList\\": [\\n {\\n \\"EventName\\": \\"主动外连风险 IP\\",\\n \\"TaskCount\\": 7\\n }\\n ]\\n },\\n \\"NetworkAttackTrendDTO\\": {\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202409或20240901\\",\\n \\"DdosCount\\": 10,\\n \\"WafCount\\": 10,\\n \\"EipCount\\": 10\\n }\\n ]\\n }\\n },\\n \\"RequestId\\": \\"9B2DAE9B-B901-5818-AFEF-E5637D938280\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetSuspPageSummary' => [ + 'summary' => '告警页统计。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '180003', + 'abilityTreeNodes' => ['FEATUREsos0FVTHS'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '请求响应。', + 'type' => 'object', + 'properties' => [ 'Data' => [ 'description' => '接口返回数据。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '主键id', - 'description' => '主键id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '353845', - ], - 'CustomerId' => [ - 'title' => '用户id', - 'description' => '用户id。', - 'type' => 'string', - 'example' => '1940494487193744', - ], - 'AliasName' => [ - 'title' => '漏洞别名。', - 'description' => '漏洞别名。', - 'type' => 'string', - 'example' => 'RHSA-2024:4620: libndp 安全更新', - ], - 'AsapCount' => [ - 'title' => '修复优先级为高的漏洞的数量。', - 'description' => '修复优先级为高的漏洞的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '74', - ], - 'FindTime' => [ - 'title' => '漏洞最后发现的时间戳', - 'description' => '漏洞最后发现的时间戳。', - 'type' => 'string', - 'example' => '2023-04-23 14:47:34', - ], - 'HandledCount' => [ - 'title' => '已处理的漏洞数量。', - 'description' => '已处理的漏洞数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'LaterCount' => [ - 'title' => '修复优先级为中的漏洞的数量。', - 'description' => '修复优先级为中的漏洞的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Name' => [ - 'title' => '漏洞名称。', - 'description' => '漏洞名称。', - 'type' => 'string', - 'example' => 'oval:com.redhat.rhsa:def:20205002', - ], - 'NntfCount' => [ - 'title' => '修复优先级为低的漏洞的数量。', - 'description' => '修复优先级为低的漏洞的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'Tags' => [ - 'title' => '标签', - 'description' => '标签。', - 'type' => 'string', - 'example' => 'Elevation of Privilege', - ], - 'TotalFixCount' => [ - 'title' => '已修复漏洞的总数量。', - 'description' => '已修复漏洞的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'ScanType' => [ - 'title' => '漏洞类型。取值:', - 'description' => '漏洞类型。', - 'type' => 'string', - 'example' => 'sca', - ], - 'Level' => [ - 'title' => '风险等级', - 'description' => '风险等级。', - 'type' => 'string', - 'example' => 'later', - ], - 'Dealed' => [ - 'title' => '处理状态', - 'description' => '处理状态。', - 'type' => 'string', - 'example' => 'y', - ], - 'Related' => [ - 'title' => 'cve编号', - 'description' => 'cve编号。', - 'type' => 'string', - 'example' => 'CVE-2019-20907', - ], - 'RelatedCveCount' => [ - 'title' => '关联的cve编号的数量', - 'description' => '关联的cve编号的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'CveUrlPrefix' => [ - 'title' => 'cve修复建议地址前缀', - 'description' => 'cve修复建议地址前缀。', - 'type' => 'string', - 'example' => 'https://avd.aliyun.com/detail/', - ], - ], + 'type' => 'object', + 'properties' => [ + 'WaitHandleCount' => ['title' => '未处理数量', 'description' => '未处理数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'HandingCount' => ['title' => '处理中的数量', 'description' => '处理中的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CompletedCount' => ['title' => '处理完成的数量', 'description' => '处理完成的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'HighCount' => ['title' => '高风险数量', 'description' => '高风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'MediumCount' => ['title' => '中风险数量', 'description' => '中风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'LowCount' => ['title' => '低风险数量', 'description' => '低风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求响应。', - 'type' => 'string', - 'required' => true, - 'example' => '02F8BBF3-2D61-5982-8911-EEB387BE3AF8', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'true:调用成功。'."\n" - .'false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'SUCCESS'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '告警页统计', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspPageSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 163\\n },\\n \\"Data\\": [\\n {\\n \\"Id\\": 353845,\\n \\"CustomerId\\": \\"1940494487193744\\",\\n \\"AliasName\\": \\"RHSA-2024:4620: libndp 安全更新\\",\\n \\"AsapCount\\": 74,\\n \\"FindTime\\": \\"2023-04-23 14:47:34\\",\\n \\"HandledCount\\": 20,\\n \\"LaterCount\\": 10,\\n \\"Name\\": \\"oval:com.redhat.rhsa:def:20205002\\",\\n \\"NntfCount\\": 8,\\n \\"Tags\\": \\"Elevation of Privilege\\",\\n \\"TotalFixCount\\": 50,\\n \\"ScanType\\": \\"sca\\",\\n \\"Level\\": \\"later\\",\\n \\"Dealed\\": \\"y\\",\\n \\"Related\\": \\"CVE-2019-20907\\",\\n \\"RelatedCveCount\\": 20,\\n \\"CveUrlPrefix\\": \\"https://avd.aliyun.com/detail/\\"\\n }\\n ],\\n \\"RequestId\\": \\"02F8BBF3-2D61-5982-8911-EEB387BE3AF8\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '风险查询', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 10,\\n \\"HandingCount\\": 10,\\n \\"CompletedCount\\": 10,\\n \\"TotalCount\\": 30,\\n \\"HighCount\\": 10,\\n \\"MediumCount\\": 10,\\n \\"LowCount\\": 10\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], 'GetUserStatus' => [ - 'summary' => '查询用户开通状态。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3939,9 +2210,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '191425', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3960,361 +2229,251 @@ 'Status' => [ 'description' => '状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'NotEnabled' => '未启用', - 'FirstLogin' => '首次登录', - 'Enabled' => '启用', - ], + 'enumValueTitles' => ['NotEnabled' => '未启用', 'FirstLogin' => '首次登录', 'Enabled' => '启用'], 'example' => 'FirstLogin', ], 'Version' => [ 'title' => '版本', 'description' => '版本。', 'type' => 'string', - 'enumValueTitles' => [ - 'qiye' => 'MDR企业版', - 'huhang' => 'MDR护航版', - 'saszhjia' => '云安全中心专家版', - 'mdrjichu' => 'MDR基础版', - 'cfwtuoguan' => 'CFW托管版', - 'mdrgaoji' => 'MDR高级版', - 'waftuoguan' => 'WAF托管版', - 'base' => '基础版', - ], + 'enumValueTitles' => ['qiye' => 'MDR企业版', 'huhang' => 'MDR护航版', 'saszhjia' => '云安全中心专家版', 'mdrjichu' => 'MDR基础版', 'cfwtuoguan' => 'CFW托管版', 'mdrgaoji' => 'MDR高级版', 'waftuoguan' => 'WAF托管版', 'base' => '基础版'], 'example' => 'mdrjichu', ], - 'EndDate' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '2023-09-28 00:00:00', - ], - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => '726cec3c-4887-4354-8c21-c0ad12e10fc2', - ], - 'StartDate' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-09-20 00:00:00', - ], + 'EndDate' => ['description' => '结束时间。', 'type' => 'string', 'example' => '2023-09-28 00:00:00'], + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => '726cec3c-4887-4354-8c21-c0ad12e10fc2'], + 'StartDate' => ['description' => '开始时间。', 'type' => 'string', 'example' => '2023-09-20 00:00:00'], 'CustomerType' => [ 'description' => '用户类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'official' => '正式客户', - 'trial' => '试用客户', - ], + 'enumValueTitles' => ['official' => '正式客户', 'trial' => '试用客户'], 'example' => 'official', ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'D8DBD769-613E-5E6B-A9FD-B622375B152D', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'SUCCESS', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '表示是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'D8DBD769-613E-5E6B-A9FD-B622375B152D'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'SUCCESS'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '表示是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询用户开通状态', + 'summary' => '查询用户开通状态。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetUserStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Status\\": \\"FirstLogin\\",\\n \\"Version\\": \\"mdrjichu\\",\\n \\"EndDate\\": \\"2023-09-28 00:00:00\\",\\n \\"InstanceId\\": \\"726cec3c-4887-4354-8c21-c0ad12e10fc2\\",\\n \\"StartDate\\": \\"2023-09-20 00:00:00\\",\\n \\"CustomerType\\": \\"official\\"\\n },\\n \\"RequestId\\": \\"D8DBD769-613E-5E6B-A9FD-B622375B152D\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '查询用户开通状态', ], - 'CreateServiceWorkOrder' => [ - 'summary' => '创建服务工单。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetVulItemPage' => [ + 'summary' => '风险查询。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '216184', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '185958', + 'abilityTreeNodes' => ['FEATUREsosYT8XCW'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'WorkOrderName', + 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'title' => '工单名称', - 'description' => '工单名称。', - 'type' => 'string', - 'required' => true, - 'example' => '安全月报交付任务', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'WorkOrderType', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'title' => '工单类型', - 'description' => '工单类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'YEAR_MEETING' => '年度会议', - 'SYSTEM_VULNERABILITY_SCAN' => '扫描器漏洞扫描', - 'RISK_BRIEFING' => '风险讲解会', - 'SUMMARY_REPORT' => '总结报告', - 'DING_TALK_CUSTOMER' => '客户钉钉咨询', - 'MONTH_REPORT' => '月报', - 'YEAR_REPORT' => '年度报告', - 'OTHER_REPORTS' => '其他报告', - 'PLATFORM_VULNERABILITY_MONITOR' => '漏洞巡检监控', - 'PROJECT_PLAN' => '项目计划', - 'PROJECT_SUMMARY_MEETING' => '项目总结会', - 'SYSTEM_SECURITY_ACCESS' => '安全评估', - 'PROJECT_QUARTERLY_MEETING' => '项目季度会', - 'LARGE_SCREEN' => '安全大屏', - 'USER_SURVEY' => '用户调研', - 'CUSTOMER_VIEW' => '客户回访', - 'MANUAL' => '人工', - 'RISK_NOTIFY' => '风险提醒', - 'QUARTERLY_REPORT' => '季报', - 'YUNDUN_VULNERABILITY_SCAN' => '云安全中心漏洞扫描', - 'PROJECT_LAUNCH_MEETING' => '项目启动会', - ], - 'example' => 'MONTH_REPORT', - ], + 'schema' => ['description' => '返回数据每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ - 'name' => 'WorkOrderSource', + 'name' => 'ScanType', 'in' => 'formData', 'schema' => [ - 'title' => '工单来源', - 'description' => '工单来源。', + 'title' => '漏洞类型', + 'description' => '漏洞类型。', 'type' => 'string', - 'required' => true, - 'example' => '工单迁移', + 'required' => false, + 'enumValueTitles' => ['sca' => '软件成分分析', 'app' => '应用漏洞', 'cve' => 'Linux漏洞', 'cms' => 'WebCMS漏洞', 'sys' => 'Windows漏洞', 'emg' => '应急漏洞'], + 'example' => 'sca', ], ], [ - 'name' => 'WorkOrderStatus', + 'name' => 'Level', 'in' => 'formData', 'schema' => [ - 'title' => '工单状态', - 'description' => '工单状态。', + 'title' => '风险等级', + 'description' => '风险等级。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'UNPROCESSED' => '待处理', - 'PROCESSING' => '处理中', - 'BACK' => '已退回', - 'PROCESSED' => '处理完成', - 'INVALID' => '误报', - 'IGNORED' => '已忽略', - ], - 'example' => 'UNPROCESSED', + 'required' => false, + 'enumValueTitles' => ['nntf' => '低', 'later' => '中', 'asap' => '高'], + 'example' => 'later', ], ], [ - 'name' => 'CustomerId', + 'name' => 'Dealed', 'in' => 'formData', - 'schema' => [ - 'title' => '客户ID', - 'description' => '客户ID。', - 'type' => 'string', - 'required' => true, - 'example' => '1477832102462645', - ], + 'schema' => ['title' => '处理状态 y:已处理;n:未处理;h:处理中', 'description' => '处理状态 y:已处理;n:未处理;h:处理中。', 'type' => 'string', 'required' => false, 'example' => 'n'], ], [ - 'name' => 'StartTime', - 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1734788109000', - ], - ], - [ - 'name' => 'Operator', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'title' => '操作人', - 'description' => '操作人。', - 'type' => 'string', - 'required' => true, - 'example' => '426556', - ], + 'schema' => ['title' => '漏洞名称', 'description' => '漏洞名称。', 'type' => 'string', 'required' => false, 'example' => 'oval:com.redhat.rhsa:def:20183665'], ], [ - 'name' => 'OperateType', + 'name' => 'AliasName', 'in' => 'formData', - 'schema' => [ - 'title' => '操作类型', - 'description' => '操作类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'CREATE', - ], + 'schema' => ['title' => '漏洞别名', 'description' => '漏洞别名。', 'type' => 'string', 'required' => false, 'example' => 'RHSA-2018:3665-Important: NetworkManager security update'], ], - [ - 'name' => 'OperateRemark', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '操作备注', - 'description' => '操作备注。', - 'type' => 'string', - 'required' => true, - 'example' => '新建', + 'title' => 'Schema of Response', + 'description' => '请求响应。', + 'type' => 'object', + 'properties' => [ + 'PageInfo' => [ + 'description' => '分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '分页查询时,当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '返回数据每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询结果的总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '163'], + ], + ], + 'Data' => [ + 'description' => '接口返回数据。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '主键id', 'description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '353845'], + 'CustomerId' => ['title' => '用户id', 'description' => '用户id。', 'type' => 'string', 'example' => '1940494487193744'], + 'AliasName' => ['title' => '漏洞别名。', 'description' => '漏洞别名。', 'type' => 'string', 'example' => 'RHSA-2024:4620: libndp 安全更新'], + 'AsapCount' => ['title' => '修复优先级为高的漏洞的数量。', 'description' => '修复优先级为高的漏洞的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '74'], + 'FindTime' => ['title' => '漏洞最后发现的时间戳', 'description' => '漏洞最后发现的时间戳。', 'type' => 'string', 'example' => '2023-04-23 14:47:34'], + 'HandledCount' => ['title' => '已处理的漏洞数量。', 'description' => '已处理的漏洞数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'LaterCount' => ['title' => '修复优先级为中的漏洞的数量。', 'description' => '修复优先级为中的漏洞的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Name' => ['title' => '漏洞名称。', 'description' => '漏洞名称。', 'type' => 'string', 'example' => 'oval:com.redhat.rhsa:def:20205002'], + 'NntfCount' => ['title' => '修复优先级为低的漏洞的数量。', 'description' => '修复优先级为低的漏洞的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'Tags' => ['title' => '标签', 'description' => '标签。', 'type' => 'string', 'example' => 'Elevation of Privilege'], + 'TotalFixCount' => ['title' => '已修复漏洞的总数量。', 'description' => '已修复漏洞的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], + 'ScanType' => ['title' => '漏洞类型。取值:', 'description' => '漏洞类型。', 'type' => 'string', 'example' => 'sca'], + 'Level' => ['title' => '风险等级', 'description' => '风险等级。', 'type' => 'string', 'example' => 'later'], + 'Dealed' => ['title' => '处理状态', 'description' => '处理状态。', 'type' => 'string', 'example' => 'y'], + 'Related' => ['title' => 'cve编号', 'description' => 'cve编号。', 'type' => 'string', 'example' => 'CVE-2019-20907'], + 'RelatedCveCount' => ['title' => '关联的cve编号的数量', 'description' => '关联的cve编号的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'CveUrlPrefix' => ['title' => 'cve修复建议地址前缀', 'description' => 'cve修复建议地址前缀。', 'type' => 'string', 'example' => 'https://avd.aliyun.com/detail/'], + ], + ], + ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求响应。', 'type' => 'string', 'required' => true, 'example' => '02F8BBF3-2D61-5982-8911-EEB387BE3AF8'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'true:调用成功。'."\n" + .'false:调用失败。', 'type' => 'boolean', 'example' => 'true'], + ], ], ], - [ - 'name' => 'WorkOrderDetail', - 'in' => 'formData', - 'schema' => [ - 'title' => '工单详情', - 'description' => '工单详情。', - 'type' => 'string', - 'required' => true, - 'example' => '{"questionDetail":"测试工单","answerDetail":""}', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '风险查询', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulItemPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 163\\n },\\n \\"Data\\": [\\n {\\n \\"Id\\": 353845,\\n \\"CustomerId\\": \\"1940494487193744\\",\\n \\"AliasName\\": \\"RHSA-2024:4620: libndp 安全更新\\",\\n \\"AsapCount\\": 74,\\n \\"FindTime\\": \\"2023-04-23 14:47:34\\",\\n \\"HandledCount\\": 20,\\n \\"LaterCount\\": 10,\\n \\"Name\\": \\"oval:com.redhat.rhsa:def:20205002\\",\\n \\"NntfCount\\": 8,\\n \\"Tags\\": \\"Elevation of Privilege\\",\\n \\"TotalFixCount\\": 50,\\n \\"ScanType\\": \\"sca\\",\\n \\"Level\\": \\"later\\",\\n \\"Dealed\\": \\"y\\",\\n \\"Related\\": \\"CVE-2019-20907\\",\\n \\"RelatedCveCount\\": 20,\\n \\"CveUrlPrefix\\": \\"https://avd.aliyun.com/detail/\\"\\n }\\n ],\\n \\"RequestId\\": \\"02F8BBF3-2D61-5982-8911-EEB387BE3AF8\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetVulListById' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DurationDay', - 'in' => 'formData', - 'schema' => [ - 'title' => '持续天数', - 'description' => '持续天数。', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '179781', + 'abilityTreeNodes' => ['FEATUREsosYT8XCW'], + ], + 'parameters' => [ [ - 'name' => 'IsAttachment', + 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'title' => '附件要求', - 'description' => '附件要求。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Y' => '是', - 'N' => '否', - ], - 'example' => 'Y', - ], + 'schema' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'IsWorkOrderNotify', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'title' => '是否需要提醒', - 'description' => '是否需要提醒。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Y' => '是', - 'N' => '否', - ], - 'example' => 'Y', - ], + 'schema' => ['title' => '每页大小', 'description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'NotifyDay', + 'name' => 'Id', 'in' => 'formData', - 'schema' => [ - 'title' => '提前提醒天数', - 'description' => '提前提醒天数。', - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['title' => '主键id', 'description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4209205'], ], [ - 'name' => 'Creator', + 'name' => 'Dealed', 'in' => 'formData', - 'schema' => [ - 'title' => '创建人', - 'description' => '创建人。', - 'type' => 'string', - 'required' => true, - 'example' => '426556', - ], + 'schema' => ['title' => '是否已处理;y:已处理;n:未处理', 'description' => '是否已处理;y:已处理;n:未处理', 'type' => 'string', 'required' => false, 'example' => 'n'], ], [ - 'name' => 'NotifyId', + 'name' => 'Necessity', 'in' => 'formData', - 'schema' => [ - 'title' => '通知ID', - 'description' => '通知ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '风险等级', 'description' => '风险等级', 'type' => 'string', 'required' => false, 'example' => 'asap,later,nntf'], ], [ - 'name' => 'IsMilestone', + 'name' => 'Remark', 'in' => 'formData', - 'schema' => [ - 'description' => '是否里程碑。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Y' => '是', - 'N' => '否', - ], - 'example' => 'Y', - ], + 'schema' => ['title' => '要查询漏洞的资产信息,可以设置为资产名称、公网IP或私网IP。', 'description' => '要查询漏洞的资产信息,可以设置为资产名称、公网IP或私网IP。', 'type' => 'string', 'required' => false, 'example' => 'production_nat_cn-hangzhou_zone_105'], ], [ - 'name' => 'Priority', + 'name' => 'Uuids', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['title' => '要查询漏洞的服务器的UUID,多个UUID之间使用半角逗号(,)分隔', 'description' => '要查询漏洞的服务器的UUID,多个UUID之间使用半角逗号(,)分隔', 'type' => 'string', 'required' => false, 'example' => '3615b908-995a-4edb-bc85-1981b4e94ba0,9c52cf9a-d8ba-4e31-ae06-500b879ee4e6,4b7de3cf-c4ac-42fc-8804-35070493dc29,f3c01525-0777-4c97-88d9-bec11afd4a6a,a80bd516-c4f3-4c27-a169-c8abfaf9e89e'], ], ], 'responses' => [ @@ -4324,214 +2483,115 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '接口返回数据。', + 'PageInfo' => [ + 'description' => '分页信息。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '主键', - 'description' => '主键。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1978941', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734788109000', - ], - 'WorkOrderName' => [ - 'title' => '工单名称', - 'description' => '工单名称。', - 'type' => 'string', - 'example' => '安全月报交付任务', - ], - 'WorkOrderType' => [ - 'title' => '工单名称', - 'description' => '工单类型。', - 'type' => 'string', - 'example' => 'MONTH_REPORT', - ], - 'WorkOrderSource' => [ - 'title' => '工单来源', - 'description' => '工单来源。', - 'type' => 'string', - 'example' => '工单迁移', - ], - 'CustomerId' => [ - 'title' => '客户ID', - 'description' => '客户ID。', - 'type' => 'string', - 'example' => '1477832102462645', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734788109000', - ], - 'EndTime' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734788109000', - ], - 'CompleteTime' => [ - 'title' => '完成时间', - 'description' => '完成时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734788109000', - ], - 'WorkOrderStatus' => [ - 'title' => '工单状态', - 'description' => '工单状态。', - 'type' => 'string', - 'example' => 'UNPROCESSED', - ], - 'OwnerId' => [ - 'title' => '负责人', - 'description' => '负责人。', - 'type' => 'string', - 'example' => '426556', - ], - 'WorkOrderDetail' => [ - 'title' => '工单详情', - 'description' => '工单详情。', - 'type' => 'string', - 'example' => '{"questionDetail":"测试工单","answerDetail":""}'."\n", - ], - 'Creator' => [ - 'title' => '创建人', - 'description' => '创建人。', - 'type' => 'string', - 'example' => '426556', - ], + 'CurrentPage' => ['description' => '当前页页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '返回数据每页显示的数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询结果的总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '7DC44321-7AAE-51CD-8E5F-CEB968569042', - ], - 'Code' => [ - 'description' => '接口状态码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- **true**:调用成功。'."\n" - ."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', + 'Data' => [ + 'description' => '接口返回数据。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Necessity' => ['title' => '漏洞修复必要性等级', 'description' => '漏洞修复必要性等级', 'type' => 'string', 'example' => 'later,asap,nntf'], + 'RepairTs' => ['title' => '漏洞修复时间戳', 'description' => '漏洞修复时间戳', 'type' => 'string', 'example' => '1541207563000'], + 'Uuid' => ['title' => '资产实例的UUID。', 'description' => '资产实例的UUID。', 'type' => 'string', 'example' => 'hdm_5cf2eaf263c021b354877943f181956d'], + 'Status' => ['title' => '漏洞状态', 'description' => '漏洞状态:'."\n" + .'1:未修复'."\n" + .'2:修复失败'."\n" + .'3:回滚失败'."\n" + .'4:修复中'."\n" + .'5:回滚中'."\n" + .'6:验证中'."\n" + .'7:修复成功'."\n" + .'8:修复成功待重启'."\n" + .'9:回滚成功'."\n" + .'10:已忽略'."\n" + .'11:回滚成功待重启'."\n" + .'12:漏洞不存在'."\n" + .'20:已失效', 'type' => 'string', 'example' => '1'], + 'InternetIp' => ['title' => '资产公网IP', 'description' => '资产公网IP', 'type' => 'string', 'example' => '39.101.73.28'], + 'Tag' => ['title' => '漏洞标签', 'description' => '漏洞标签', 'type' => 'string', 'example' => 'Restart Required'], + 'Name' => ['title' => '漏洞名称', 'description' => '漏洞名称', 'type' => 'string', 'example' => 'SCA:ACSV-2020-111301'], + 'Related' => ['title' => '漏洞关联的CVE列表,有多个取值时用半角逗号(,)分隔', 'description' => '漏洞关联的CVE列表,有多个取值时用半角逗号(,)分隔', 'type' => 'string', 'example' => 'CVE-2020-13935'], + 'IntranetIp' => ['title' => '资产私网IP', 'description' => '资产私网IP', 'type' => 'string', 'example' => '172.22.216.17'], + 'LastTs' => ['title' => '最后发现漏洞的时间戳', 'description' => '最后发现漏洞的时间戳', 'type' => 'string', 'example' => '1620404763000'], + 'FirstTs' => ['title' => '首次发现漏洞的时间戳', 'description' => '首次发现漏洞的时间戳', 'type' => 'string', 'example' => '1620404763000'], + 'AliasName' => ['title' => '漏洞别名', 'description' => '漏洞别名', 'type' => 'string', 'example' => 'Tomcat websocket 拒绝服务漏洞利用代码披露(CVE-2020-13935)'], + 'InstanceName' => ['title' => '资产实例名称', 'description' => '资产实例名称', 'type' => 'string', 'example' => '凌星-CentOS'], + 'RepairCmd' => ['title' => '修复命令', 'description' => '修复命令', 'type' => 'string', 'example' => '*** update python-perf'], + 'EffectMsgDTOS' => [ + 'title' => '影响说明', + 'description' => '影响说明', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'SoftName' => ['title' => '软件名称', 'description' => '软件名称', 'type' => 'string', 'example' => 'python-perf 3.10.0'], + 'MatchList' => ['title' => '命中', 'description' => '命中', 'type' => 'string', 'example' => 'fastjson(jar) extendField.safemode equals false'], + 'Path' => ['title' => '路径', 'description' => '路径', 'type' => 'string', 'example' => '/uat6/qry/enquiry/policy/yrtPolicyList'], + ], + ], + ], + ], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'D38B3D2F-67FD-57FF-87D1-C431D2C70F76'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否成功调用。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1978941,\\n \\"CreateTime\\": 1734788109000,\\n \\"WorkOrderName\\": \\"安全月报交付任务\\",\\n \\"WorkOrderType\\": \\"MONTH_REPORT\\",\\n \\"WorkOrderSource\\": \\"工单迁移\\",\\n \\"CustomerId\\": \\"1477832102462645\\",\\n \\"StartTime\\": 1734788109000,\\n \\"EndTime\\": 1734788109000,\\n \\"CompleteTime\\": 1734788109000,\\n \\"WorkOrderStatus\\": \\"UNPROCESSED\\",\\n \\"OwnerId\\": \\"426556\\",\\n \\"WorkOrderDetail\\": \\"{\\\\\\"questionDetail\\\\\\":\\\\\\"测试工单\\\\\\",\\\\\\"answerDetail\\\\\\":\\\\\\"\\\\\\"}\\\\n\\",\\n \\"Creator\\": \\"426556\\"\\n },\\n \\"RequestId\\": \\"7DC44321-7AAE-51CD-8E5F-CEB968569042\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '创建服务工单', - ], - 'GetConsoleScore' => [ - 'summary' => '获取控制台分数。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询已处理详情', + 'summary' => '查询已处理详情。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulListById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"Data\\": [\\n {\\n \\"Necessity\\": \\"later,asap,nntf\\",\\n \\"RepairTs\\": \\"1541207563000\\",\\n \\"Uuid\\": \\"hdm_5cf2eaf263c021b354877943f181956d\\",\\n \\"Status\\": \\"1\\",\\n \\"InternetIp\\": \\"39.101.73.28\\",\\n \\"Tag\\": \\"Restart Required\\",\\n \\"Name\\": \\"SCA:ACSV-2020-111301\\",\\n \\"Related\\": \\"CVE-2020-13935\\",\\n \\"IntranetIp\\": \\"172.22.216.17\\",\\n \\"LastTs\\": \\"1620404763000\\",\\n \\"FirstTs\\": \\"1620404763000\\",\\n \\"AliasName\\": \\"Tomcat websocket 拒绝服务漏洞利用代码披露(CVE-2020-13935)\\",\\n \\"InstanceName\\": \\"凌星-CentOS\\",\\n \\"RepairCmd\\": \\"*** update python-perf\\",\\n \\"EffectMsgDTOS\\": [\\n {\\n \\"SoftName\\": \\"python-perf 3.10.0\\",\\n \\"MatchList\\": \\"fastjson(jar) extendField.safemode equals false\\",\\n \\"Path\\": \\"/uat6/qry/enquiry/policy/yrtPolicyList\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"D38B3D2F-67FD-57FF-87D1-C431D2C70F76\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetVulPageSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '215083', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], - ], - 'parameters' => [ - [ - 'name' => 'DateType', - 'in' => 'formData', - 'schema' => [ - 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', - 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选,为空代表最近7天。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], - 'example' => 'month', - ], - ], - [ - 'name' => 'StartDate', - 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], - ], - [ - 'name' => 'EndDate', - 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', - ], - ], - [ - 'name' => 'SuspEventSource', - 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该字段暂未使用,有问题请联系管理员', - ], - ], + 'abilityTreeCode' => '180002', + 'abilityTreeNodes' => ['FEATUREsosYT8XCW'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -4540,77 +2600,51 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '接口返回数据。', - 'type' => 'any', - 'example' => '{'."\n" - .' "score": "94.00",'."\n" - .' "consoleScoreTrendDTOS": ['."\n" - .' {'."\n" - .' "date": "20241009",'."\n" - .' "score": "100.0"'."\n" - .' }'."\n" - .' ],'."\n" - .' "cyclicYearOverYear": "-6.00",'."\n" - .' "recordDate": "20241209",'."\n" - .' "weeklyYearOverYear": "1.62",'."\n" - .' "aboveWholeNetworkUserRatio": "6.25",'."\n" - .' "aliUid": "1601097845544644",'."\n" - .' "detailJson": "[{\\"detailDTO\\":[{\\"count\\":0,\\"itemName\\":\\"应用漏洞POC验证\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"未授权访问漏洞(公网暴露)\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"后台弱口令漏洞(公网暴露)\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"文件上传漏洞(公网暴露)\\",\\"mark\\":\\"1\\"}],\\"markRate\\":\\"0.5\\",\\"markType\\":\\"vul\\"},{\\"detailDTO\\":[{\\"count\\":12,\\"itemName\\":\\"WAF3.0回源配置不正确\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"AK泄露检查未开启\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"DNAT管理端口开放\\",\\"mark\\":\\"1\\"},{\\"count\\":0,\\"itemName\\":\\"高危端口暴露\\",\\"mark\\":\\"0.5\\"}],\\"markRate\\":\\"0.5\\",\\"markType\\":\\"risk\\"}]"'."\n" - .'}', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'D0937B0F-9180-5F70-B6ED-0BA22591627F', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '操作是否成功。true表示成功,false表示失败。', - 'type' => 'boolean', - 'example' => 'true', + 'description' => '数据查询结果。', + 'type' => 'object', + 'properties' => [ + 'WaitHandleCount' => ['title' => '未处理数量', 'description' => '未处理数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'HandingCount' => ['title' => '处理中的数量', 'description' => '处理中的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'CompletedCount' => ['title' => '处理完成的数量', 'description' => '处理完成的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1990'], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'], + 'HighCount' => ['title' => '高风险数量', 'description' => '高风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'], + 'MediumCount' => ['title' => '中风险数量', 'description' => '中风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'], + 'LowCount' => ['title' => '低风险数量', 'description' => '低风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'A3A575C8-80F9-5F04-AA24-CCAC246884A3'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'operation success'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'errorCodes' => [ - 401 => [ - [ - 'errorCode' => 'ConsoleScoreEmpty', - 'errorMessage' => 'get score data is empty.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '告警页统计', + 'summary' => '告警页统计。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulPageSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\n \\\\\\"score\\\\\\": \\\\\\"94.00\\\\\\",\\\\n \\\\\\"consoleScoreTrendDTOS\\\\\\": [\\\\n {\\\\n \\\\\\"date\\\\\\": \\\\\\"20241009\\\\\\",\\\\n \\\\\\"score\\\\\\": \\\\\\"100.0\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"cyclicYearOverYear\\\\\\": \\\\\\"-6.00\\\\\\",\\\\n \\\\\\"recordDate\\\\\\": \\\\\\"20241209\\\\\\",\\\\n \\\\\\"weeklyYearOverYear\\\\\\": \\\\\\"1.62\\\\\\",\\\\n \\\\\\"aboveWholeNetworkUserRatio\\\\\\": \\\\\\"6.25\\\\\\",\\\\n \\\\\\"aliUid\\\\\\": \\\\\\"1601097845544644\\\\\\",\\\\n \\\\\\"detailJson\\\\\\": \\\\\\"[{\\\\\\\\\\\\\\"detailDTO\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"应用漏洞POC验证\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"未授权访问漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"后台弱口令漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"文件上传漏洞(公网暴露)\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"markRate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"markType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vul\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"detailDTO\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":12,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"WAF3.0回源配置不正确\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AK泄露检查未开启\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DNAT管理端口开放\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"itemName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"高危端口暴露\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mark\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"markRate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0.5\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"markType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"risk\\\\\\\\\\\\\\"}]\\\\\\"\\\\n}\\",\\n \\"RequestId\\": \\"D0937B0F-9180-5F70-B6ED-0BA22591627F\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '获取控制台分数', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 4,\\n \\"HandingCount\\": 6,\\n \\"CompletedCount\\": 1990,\\n \\"TotalCount\\": 2000,\\n \\"HighCount\\": 500,\\n \\"MediumCount\\": 500,\\n \\"LowCount\\": 1000\\n },\\n \\"RequestId\\": \\"A3A575C8-80F9-5F04-AA24-CCAC246884A3\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"operation success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'GetSowList' => [ - 'summary' => '获取SOW列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetVulSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4619,11 +2653,13 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '212416', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179685', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ @@ -4634,49 +2670,24 @@ 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'oneYear' => '最近一年', - 'month' => '最近30天', - 'halfYear' => '最近半年', - 'customize' => '自定义', - ], + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], 'example' => 'month', ], ], [ 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1729478485000', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1732156885986', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '告警事件来源', - 'description' => '告警事件来源。', - 'type' => 'string', - 'required' => false, - 'example' => '该字段暂未使用,有问题请联系管理员', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂未使用,有问题请联系管理员'], ], ], 'responses' => [ @@ -4688,256 +2699,104 @@ 'properties' => [ 'Data' => [ 'description' => '接口返回数据。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'TaskTypeName' => [ - 'title' => '任务类型', - 'description' => '任务类型。', - 'type' => 'string', - 'example' => '安全风险评估', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => '开始时间。', - 'type' => 'string', - 'example' => '2023-03-24 16:51:26', - ], - 'CompleteTime' => [ - 'title' => '完成时间', - 'description' => '完成时间。', - 'type' => 'string', - 'example' => '2024-03-28 16:19:35', - ], - 'Progress' => [ - 'title' => '进展', - 'description' => '进展。', - 'type' => 'string', - 'enumValueTitles' => [ - 'COMPLETED' => '已完成', - 'IN_PROCESS' => '进行中', - 'IN_PREPARATION' => '准备中', + 'type' => 'object', + 'properties' => [ + 'WaitHandleCount' => ['title' => '未处理数量', 'description' => '未处理数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'CompletedCount' => ['title' => '处理完成', 'description' => '处理完成。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'DealRate' => ['title' => '风险收敛率', 'description' => '风险收敛率。', 'type' => 'string', 'example' => '50'], + 'TrendList' => [ + 'title' => '发现漏洞趋势节点集合', + 'description' => '发现漏洞趋势节点集合。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'Date' => ['title' => '时间节点', 'description' => '时间节点。', 'type' => 'string', 'example' => '202407或者20240701'], + 'DealCount' => ['title' => '处理的数量', 'description' => '处理的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FindCount' => ['title' => '发现的数量', 'description' => '发现的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'], ], - 'example' => 'IN_PREPARATION', - ], - 'RecordCount' => [ - 'title' => '记录数', - 'description' => '记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '173', - ], - 'WorkOrderName' => [ - 'title' => '工单名称', - 'description' => '工单名称。', - 'type' => 'string', - 'example' => '安全产品配置问题与超量提醒', - ], - 'OperateRemark' => [ - 'title' => '操作备注', - 'description' => '操作备注。', - 'type' => 'string', - 'example' => '新建', ], ], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'FA8883BC-CB18-5E28-A113-8249917CA05E', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'system error'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TaskTypeName\\": \\"安全风险评估\\",\\n \\"StartTime\\": \\"2023-03-24 16:51:26\\",\\n \\"CompleteTime\\": \\"2024-03-28 16:19:35\\",\\n \\"Progress\\": \\"IN_PREPARATION\\",\\n \\"RecordCount\\": 173,\\n \\"WorkOrderName\\": \\"安全产品配置问题与超量提醒\\",\\n \\"OperateRemark\\": \\"新建\\"\\n }\\n ],\\n \\"RequestId\\": \\"FA8883BC-CB18-5E28-A113-8249917CA05E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '获取SOW列表', - ], - 'DisposeWorkTask' => [ - 'summary' => '处理告警工单。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '得到风险的统计项', + 'summary' => '得到风险的统计项。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WaitHandleCount\\": 5,\\n \\"CompletedCount\\": 10,\\n \\"DealRate\\": \\"50\\",\\n \\"TrendList\\": [\\n {\\n \\"Date\\": \\"202407或者20240701\\",\\n \\"DealCount\\": 10,\\n \\"FindCount\\": 15\\n }\\n ]\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"system error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetWorkTaskSummary' => [ + 'summary' => '得到首行工单的统计项。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247511', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '179659', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Operator', - 'in' => 'formData', - 'schema' => [ - 'description' => '操作人。', - 'type' => 'string', - 'required' => true, - 'example' => 'WB01089929', - ], - ], - [ - 'name' => 'TaskIds', - 'in' => 'formData', - 'schema' => [ - 'description' => '工单ID,多个以都好分隔。', - 'type' => 'string', - 'required' => true, - 'example' => '10310', - ], - ], - [ - 'name' => 'Status', - 'in' => 'formData', - 'schema' => [ - 'description' => '工单状态。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'enumValueTitles' => [ - 1 => '待处理', - '处理中', - '处理完成', - '误报', - '已忽略', - '审核中', - '已审核', - '发送中-待审批', - '已发送', - '撤回中-待审批', - '已撤回', - '发送失败-审批拒绝', - '撤回失败-审批拒绝', - '退回', - '控制台已加白', - '客户侧已加白', - '发送-流程终止', - '撤回-流程终止', - ], - 'example' => '8', - ], - ], - [ - 'name' => 'OptRemark', + 'name' => 'DateType', 'in' => 'formData', 'schema' => [ - 'description' => '操作备注。', + 'title' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选', + 'description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'required' => true, - 'example' => '处理完成', - ], - ], - [ - 'name' => 'WorkTaskAnalysisResults', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '告警ai分析结果', - 'description' => '告警ai分析结果', - 'type' => 'array', - 'items' => [ - 'title' => 'ai分析结果数据', - 'description' => 'ai分析结果数据', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '工单ID', - 'description' => '工单ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1445078', - ], - 'AnalysisResult' => [ - 'title' => 'ai分析结果', - 'description' => 'ai分析结果', - 'type' => 'string', - 'required' => false, - 'example' => '您好, 根据您提供的告警详情,xxx', - ], - ], - 'required' => false, - ], - 'required' => false, + 'enumValueTitles' => ['oneYear' => '最近一年', 'month' => '最近30天', 'halfYear' => '最近半年', 'customize' => '自定义'], + 'example' => 'month', ], ], [ - 'name' => 'SyncSasDeal', + 'name' => 'StartDate', 'in' => 'formData', - 'schema' => [ - 'title' => '同步云安全中心我已手动处理', - 'description' => '同步云安全中心我已手动处理', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '开始时间', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729478485000'], ], [ - 'name' => 'SyncWafApisecDeal', + 'name' => 'EndDate', 'in' => 'formData', - 'schema' => [ - 'title' => '同步waf已确认', - 'description' => '同步waf已确认', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '结束时间', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1732156885986'], ], [ - 'name' => 'SyncSasSiemEventDeal', + 'name' => 'SuspEventSource', 'in' => 'formData', - 'schema' => [ - 'title' => '同步cloudsiem已确认', - 'description' => '同步cloudsiem已确认', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '告警事件来源', 'description' => '告警事件来源。', 'type' => 'string', 'required' => false, 'example' => '该字段暂时未用,有问题请联系管理员'], ], ], 'responses' => [ @@ -4947,267 +2806,122 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '86786E4C-6416-55CF-9AB6-5E275B68801D', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'Success.', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', + 'Data' => [ + 'description' => '接口返回数据。', + 'type' => 'object', + 'properties' => [ + 'WorkTaskCount' => ['title' => '服务响应次数', 'description' => '服务响应次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'WorkTaskGrowthRate' => ['title' => '服务响应次数同比增长', 'description' => '服务响应次数同比增长。', 'type' => 'string', 'example' => '20'], + 'DealAverageDuration' => ['title' => '平均响应时效(分钟)', 'description' => '平均响应时效(分钟)。', 'type' => 'integer', 'format' => 'int64', 'example' => '60'], + 'DealAverageDurationGrowthRate' => ['title' => '平均响应时效同比增长', 'description' => '平均响应时效同比增长。', 'type' => 'string', 'example' => '20'], + 'WorkTaskDealRate' => ['title' => '问题闭环率', 'description' => '问题闭环率。', 'type' => 'string', 'example' => '90'], + 'WorkTaskDealRateGrowthRate' => ['title' => '问题闭环率同比', 'description' => '问题闭环率同比。', 'type' => 'string', 'example' => '20'], + 'DealWorkTaskCount' => ['title' => '响应工单次数', 'description' => '响应工单次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'DealWorkTaskCountRate' => ['title' => '响应工单次数同比', 'description' => '响应工单次数同比。', 'type' => 'string', 'example' => '20'], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F'], + 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '返回结果的提示信息。', 'type' => 'string', 'example' => 'Successful!'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '得到首行工单的统计项', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetWorkTaskSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86786E4C-6416-55CF-9AB6-5E275B68801D\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '处理告警工单', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"WorkTaskCount\\": 10,\\n \\"WorkTaskGrowthRate\\": \\"20\\",\\n \\"DealAverageDuration\\": 60,\\n \\"DealAverageDurationGrowthRate\\": \\"20\\",\\n \\"WorkTaskDealRate\\": \\"90\\",\\n \\"WorkTaskDealRateGrowthRate\\": \\"20\\",\\n \\"DealWorkTaskCount\\": 100,\\n \\"DealWorkTaskCountRate\\": \\"20\\"\\n },\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', ], - 'DisposeServiceWorkOrder' => [ - 'summary' => '处理服务工单。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'PageServiceCustomer' => [ + 'summary' => '服务客户信息查询。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226218', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeCode' => '173423', + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'title' => '工单ID', - 'description' => '工单ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '23172', - ], - ], - [ - 'name' => 'WorkOrderName', - 'in' => 'formData', - 'schema' => [ - 'title' => '工单名称', - 'description' => '工单名称。', - 'type' => 'string', - 'required' => true, - 'example' => '安全产品配置问题与超量提醒', - ], - ], - [ - 'name' => 'WorkOrderStatus', - 'in' => 'formData', - 'schema' => [ - 'title' => '工单状态', - 'description' => '工单状态。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'UNPROCESSED' => '待处理', - 'PROCESSING' => '处理中', - 'BACK' => '已退回', - 'PROCESSED' => '处理完成', - 'INVALID' => '误报', - 'IGNORED' => '已忽略', - ], - 'example' => 'PROCESSED', - ], - ], - [ - 'name' => 'Operator', - 'in' => 'formData', - 'schema' => [ - 'title' => '操作人', - 'description' => '操作人。', - 'type' => 'string', - 'required' => true, - 'example' => '396120', - ], - ], - [ - 'name' => 'OperateType', - 'in' => 'formData', - 'schema' => [ - 'title' => '处理类型', - 'description' => '处理类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'SECURITY_CONSULTATION_ANSWERS' => '安全咨询-回答', - 'CREATE' => '新建', - 'FIELD_CHANGE' => '字段变更', - 'UPGRADE' => '升级', - 'PROCESSED' => '处理完成', - 'BACK' => '退回', - 'FORWARD' => '转交', - 'DELAY' => '延期', - 'START_PROCESSING' => '开始处理', - ], - 'example' => 'PROCESSED', - ], - ], - [ - 'name' => 'OperateRemark', - 'in' => 'formData', - 'schema' => [ - 'title' => '操作备注', - 'description' => '操作备注。', - 'type' => 'string', - 'required' => true, - 'example' => '处理完成', - ], - ], - [ - 'name' => 'ForwardOwnerId', - 'in' => 'formData', - 'schema' => [ - 'title' => '转交人', - 'description' => '转交人。', - 'type' => 'string', - 'required' => false, - 'example' => '405639', - ], - ], - [ - 'name' => 'UpgradeOwnerId', + 'name' => 'CurrentPage', 'in' => 'formData', - 'schema' => [ - 'title' => '升级人', - 'description' => '升级人。', - 'type' => 'string', - 'required' => false, - 'example' => '336333', - ], + 'schema' => ['description' => '查询结果的页码,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'IsAttachment', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'title' => '附件要求', - 'description' => '附件要求。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Y' => '是', - 'N' => '否', - ], - 'example' => 'Y', - ], + 'schema' => ['description' => '每页记录条数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ - 'name' => 'IsWorkOrderNotify', + 'name' => 'StartTime', 'in' => 'formData', - 'schema' => [ - 'title' => '工单提醒', - 'description' => '工单提醒。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Y' => '是', - 'N' => '否', - ], - 'example' => 'Y', - ], + 'schema' => ['description' => '开始时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1710641101000'], ], [ - 'name' => 'AttachmentName', + 'name' => 'EndTime', 'in' => 'formData', - 'schema' => [ - 'title' => '附件名称', - 'description' => '附件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'bbaa133c-0ac2-489f-9fc8-39f91c2e770c_20230301-20240403-服务工单列表.xlsx', - ], + 'schema' => ['description' => '结束时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1710641101123'], ], [ - 'name' => 'StartTime', + 'name' => 'AuthStatus', 'in' => 'formData', 'schema' => [ - 'title' => '开始时间', - 'description' => '开始时间。', + 'description' => '授权状态。', 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => false, - 'example' => '1733788109000', + 'enumValueTitles' => [1 => '授权', 9 => '未授权'], + 'example' => '1', ], ], [ - 'name' => 'EndTime', + 'name' => 'MonitorAuthStatus', 'in' => 'formData', 'schema' => [ - 'title' => '结束时间', - 'description' => '结束时间。', + 'description' => '云安全-告警授权状态。', 'type' => 'integer', - 'format' => 'int64', + 'format' => 'int32', 'required' => false, - 'example' => '1734788109000', + 'enumValueTitles' => [1 => '授权', 9 => '未授权'], + 'example' => '1', ], ], [ - 'name' => 'NotifyId', + 'name' => 'CmAuthStatus', 'in' => 'formData', 'schema' => [ - 'title' => '通知ID', - 'description' => '通知ID。', + 'description' => '云监控-告警授权状态。', 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'WorkOrderDetail', - 'in' => 'formData', - 'schema' => [ - 'title' => '工单详情', - 'description' => '工单详情。', - 'type' => 'string', + 'format' => 'int32', 'required' => false, - 'example' => '{"questionDetail":"测试工单","answerDetail":""}', + 'enumValueTitles' => ['未授权', '授权'], + 'example' => '1', ], ], ], @@ -5218,56 +2932,77 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ED520610-6231-5D80-BADD-A8CDC7BBC809', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'PageInfo' => [ + 'description' => '分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '分页查询时,当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分页,每页数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + ], ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', + 'Data' => [ + 'description' => '数据查询结果。', + 'type' => 'array', + 'items' => [ + 'description' => '查询结果对象。', + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => '客户ID。', 'type' => 'string', 'example' => '1667751131382856'], + 'Aliuid' => ['description' => '客户UID。', 'type' => 'string', 'example' => '1667751131382856'], + 'Name' => ['description' => '客户名称。', 'type' => 'string', 'example' => '中国工程院'], + 'OwnId' => ['description' => '负责人名称。', 'type' => 'string', 'example' => '常温'], + 'Level' => [ + 'description' => '客户等级。', + 'type' => 'string', + 'enumValueTitles' => ['GC1' => 'GC1', 'GC3' => 'GC3', 'GC2' => 'GC2', 'GC5' => 'GC5', 'GC4' => 'GC4', 'GC7' => 'GC7', 'GC6' => 'GC6'], + 'example' => 'GC1', + ], + 'Version' => ['description' => '版本信息。', 'type' => 'string', 'example' => '企业版'], + 'AuthStatus' => [ + 'description' => '授权状态。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [1 => '已授权', 9 => '未授权'], + 'example' => '1', + ], + 'MonitorAuthStatus' => [ + 'description' => '云安全-告警授权状态。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [1 => '已授权', 9 => '未授权'], + 'example' => '1', + ], + 'CmAuthStatus' => [ + 'description' => '云监控-告警授权状态。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['未授权', '已授权'], + 'example' => '0', + ], + 'StartTime' => ['description' => '开始时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710123149000'], + 'EndTime' => ['description' => '结束时间。格式为Unix时间戳,即从1970年1月1日开始所经过的毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710123149222'], + ], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '808A307F-9513-5099-AAA5-98D4EF199140'], + 'Code' => ['description' => '接口返回码。', 'type' => 'string', 'example' => 'System error or openapi error'], + 'Message' => ['description' => '返回信息。当请求成功时,返回成功信息;当请求失败时,返回失败原因。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '请求返回状态。'."\n" + .'- true:成功。'."\n" + .'- false:失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED520610-6231-5D80-BADD-A8CDC7BBC809\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '处理服务工单', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100\\n },\\n \\"Data\\": [\\n {\\n \\"UserId\\": \\"1667751131382856\\",\\n \\"Aliuid\\": \\"1667751131382856\\",\\n \\"Name\\": \\"中国工程院\\",\\n \\"OwnId\\": \\"常温\\",\\n \\"Level\\": \\"GC1\\",\\n \\"Version\\": \\"企业版\\",\\n \\"AuthStatus\\": 1,\\n \\"MonitorAuthStatus\\": 1,\\n \\"CmAuthStatus\\": 0,\\n \\"StartTime\\": 1710123149000,\\n \\"EndTime\\": 1710123149222\\n }\\n ],\\n \\"RequestId\\": \\"808A307F-9513-5099-AAA5-98D4EF199140\\",\\n \\"Code\\": \\"System error or openapi error\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '服务客户信息查询', ], 'SendCustomEvent' => [ 'summary' => '发送自定义告警事件。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5280,60 +3015,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '247510', - 'abilityTreeNodes' => [ - 'FEATUREsos0PY09L', - ], + 'abilityTreeNodes' => ['FEATUREsos0PY09L'], ], 'parameters' => [ [ 'name' => 'CustomerId', 'in' => 'formData', - 'schema' => [ - 'description' => '用户id。', - 'type' => 'string', - 'required' => true, - 'example' => '1214484929940219', - ], + 'schema' => ['description' => '用户id。', 'type' => 'string', 'required' => true, 'example' => '1214484929940219'], ], [ 'name' => 'DataSource', 'in' => 'formData', - 'schema' => [ - 'description' => '数据来源。', - 'type' => 'string', - 'required' => false, - 'example' => 'aegis_suspicious_event', - ], + 'schema' => ['description' => '数据来源。', 'type' => 'string', 'required' => false, 'example' => 'aegis_suspicious_event'], ], [ 'name' => 'EventDescription', 'in' => 'formData', - 'schema' => [ - 'description' => '事件详情。', - 'type' => 'string', - 'required' => false, - 'example' => '疑似病毒木马启动运行。', - ], + 'schema' => ['description' => '事件详情。', 'type' => 'string', 'required' => false, 'example' => '疑似病毒木马启动运行。'], ], [ 'name' => 'EventDetails', 'in' => 'formData', - 'schema' => [ - 'description' => '告警事件详情。', - 'type' => 'string', - 'required' => false, - 'example' => '[{"name":"提示","type":"text","value":"在您的系统上发现可疑进程启动行为,通常与病毒木马或入侵事件相关"},{"name":"ATT&CK攻击阶段","type":"text","value":"代码执行"},{"name":"恶意行为","type":"text","value":"可疑的漏洞利用代码执行"},{"name":"规则类型","type":"text","value":"进程启动"},{"name":"规则引擎","type":"text","value":"精准攻击识别引擎"},{"name":"处置动作","type":"text","value":"阻断行为"},{"name":"进程路径","type":"text","value":"/usr/bin/python3.9"},{"name":"命令行","type":"text","value":"python3 /root/poc/python/cve-2018-15473.py --username root --port 22"},{"name":"父进程路径","type":"text","value":"/bin/gunkit"},{"name":"父进程命令行","type":"text","value":"gunkit serve-grpc --addr unix:///data/gunkit-grpc.sock"},{"name":"进程ID","type":"text","value":"22714"},{"name":"父进程ID","type":"text","value":"2986"},{"name":"描述","type":"text","value":"主动防御检测到可疑进程启动行为,这类可疑进程通常存在于特殊的系统目录,或通过后缀伪装成文档/音频/图片等文件诱导用户运行,该异常行为已被成功拦截"},{"name":"处置建议","type":"text","value":"请您及时排查是否是正常的业务操作,如果您觉得此次拦截是非预期的,那您可以在主动防御 - 恶意行为防御页面中,关闭“可疑进程启动“规则集或者将受影响机器从管理主机中移除"},{"name":"父进程关系","type":"processChain","value":"1:::/usr/lib/systemd/systemd --switched-root --system --deserialize 22 &&& 2939:::/usr/local/bin/containerd-shim-runc-v2 -namespace moby -id 270f164903b47d4e219b410b8d11d9079a7ad1bac8133aea604598300d3b03d5 -address /run/containerd/containerd.sock &&& 2962:::/usr/bin/python3 /usr/bin/supervisord -n &&& 2986:::gunkit serve-grpc --addr unix:///data/gunkit-grpc.sock"}]', - ], + 'schema' => ['description' => '告警事件详情。', 'type' => 'string', 'required' => false, 'example' => '[{"name":"提示","type":"text","value":"在您的系统上发现可疑进程启动行为,通常与病毒木马或入侵事件相关"},{"name":"ATT&CK攻击阶段","type":"text","value":"代码执行"},{"name":"恶意行为","type":"text","value":"可疑的漏洞利用代码执行"},{"name":"规则类型","type":"text","value":"进程启动"},{"name":"规则引擎","type":"text","value":"精准攻击识别引擎"},{"name":"处置动作","type":"text","value":"阻断行为"},{"name":"进程路径","type":"text","value":"/usr/bin/python3.9"},{"name":"命令行","type":"text","value":"python3 /root/poc/python/cve-2018-15473.py --username root --port 22"},{"name":"父进程路径","type":"text","value":"/bin/gunkit"},{"name":"父进程命令行","type":"text","value":"gunkit serve-grpc --addr unix:///data/gunkit-grpc.sock"},{"name":"进程ID","type":"text","value":"22714"},{"name":"父进程ID","type":"text","value":"2986"},{"name":"描述","type":"text","value":"主动防御检测到可疑进程启动行为,这类可疑进程通常存在于特殊的系统目录,或通过后缀伪装成文档/音频/图片等文件诱导用户运行,该异常行为已被成功拦截"},{"name":"处置建议","type":"text","value":"请您及时排查是否是正常的业务操作,如果您觉得此次拦截是非预期的,那您可以在主动防御 - 恶意行为防御页面中,关闭“可疑进程启动“规则集或者将受影响机器从管理主机中移除"},{"name":"父进程关系","type":"processChain","value":"1:::/usr/lib/systemd/systemd --switched-root --system --deserialize 22 &&& 2939:::/usr/local/bin/containerd-shim-runc-v2 -namespace moby -id 270f164903b47d4e219b410b8d11d9079a7ad1bac8133aea604598300d3b03d5 -address /run/containerd/containerd.sock &&& 2962:::/usr/bin/python3 /usr/bin/supervisord -n &&& 2986:::gunkit serve-grpc --addr unix:///data/gunkit-grpc.sock"}]'], ], [ 'name' => 'EventName', 'in' => 'formData', - 'schema' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'required' => true, - 'example' => '客户端离线', - ], + 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => true, 'example' => '客户端离线'], ], [ 'name' => 'EventType', @@ -5343,34 +3051,9 @@ 'type' => 'string', 'required' => true, 'enumValueTitles' => [ - 'SUMMARY_REPORT' => '总结报告', - 'MONTH_REPORT' => '月报', - 'SYSTEM_EVENT' => '系统事件', - 'OTHER_REPORTS' => '其他报告', - 'PLATFORM_VULNERABILITY_MONITOR' => '漏洞巡检监控', - 'PROJECT_SUMMARY_MEETING' => '项目总结会', - 'CUSTOM_EVENT' => '自定义事件', - 'SLS_LOG_SUSP_EVENT' => '云安全中心-LOG', - 'CUSTOMER_VIEW' => '客户回访', - 'MANUAL' => '人工', - 'RISK_NOTIFY' => '风险提醒', - 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件', - 'PROJECT_LAUNCH_MEETING' => '项目启动会', - 'SYSTEM_VULNERABILITY_SCAN' => '扫描器漏洞扫描', - 'RISK_BRIEFING' => '风险讲解会', - 'DING_TALK_CUSTOMER' => '客户钉钉咨询', - 'SUSP_CUSTOM_SAS' => 'MDR_SAS事件', - 'SYSTEM_SECURITY_EVENT' => '安全事件', - 'SYSTEM_SECURITY_ACCESS' => '安全评估', - 'SYSTEM_PROJECT_DELIVERY' => '项目交付', - 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', - 'SUSP_EVENT' => '云安全中心-SUSP_EVENT', - 'PROJECT_QUARTERLY_MEETING' => '项目季度会', - 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', - 'SUSP_CUSTOM_OTHER' => 'MDR_其他事件', - 'QUARTERLY_REPORT' => '季报', - 'SUSP_CUSTOM_EVENT' => '自定义事件', - 'YUNDUN_VULNERABILITY_SCAN' => '云安全中心漏洞扫描', + 'SUMMARY_REPORT' => '总结报告', 'MONTH_REPORT' => '月报', 'SYSTEM_EVENT' => '系统事件', 'OTHER_REPORTS' => '其他报告', 'PLATFORM_VULNERABILITY_MONITOR' => '漏洞巡检监控', 'PROJECT_SUMMARY_MEETING' => '项目总结会', 'CUSTOM_EVENT' => '自定义事件', 'SLS_LOG_SUSP_EVENT' => '云安全中心-LOG', 'CUSTOMER_VIEW' => '客户回访', 'MANUAL' => '人工', + 'RISK_NOTIFY' => '风险提醒', 'SUSP_CUSTOM_CFW' => 'MDR_CFW事件', 'PROJECT_LAUNCH_MEETING' => '项目启动会', 'SYSTEM_VULNERABILITY_SCAN' => '扫描器漏洞扫描', 'RISK_BRIEFING' => '风险讲解会', 'DING_TALK_CUSTOMER' => '客户钉钉咨询', 'SUSP_CUSTOM_SAS' => 'MDR_SAS事件', 'SYSTEM_SECURITY_EVENT' => '安全事件', 'SYSTEM_SECURITY_ACCESS' => '安全评估', 'SYSTEM_PROJECT_DELIVERY' => '项目交付', + 'SUSP_CUSTOM_WAF' => 'MDR_WAF事件', 'SUSP_EVENT' => '云安全中心-SUSP_EVENT', 'PROJECT_QUARTERLY_MEETING' => '项目季度会', 'SUSP_CUSTOM_DDOS' => 'MDR_DDOS事件', 'SUSP_CUSTOM_OTHER' => 'MDR_其他事件', 'QUARTERLY_REPORT' => '季报', 'SUSP_CUSTOM_EVENT' => '自定义事件', 'YUNDUN_VULNERABILITY_SCAN' => '云安全中心漏洞扫描', ], 'example' => 'SUSP_CUSTOM_CFW', ], @@ -5378,54 +3061,27 @@ [ 'name' => 'OccurrenceTime', 'in' => 'formData', - 'schema' => [ - 'description' => '告警事件首次发生的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1724956996000', - ], + 'schema' => ['description' => '告警事件首次发生的时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724956996000'], ], [ 'name' => 'FindTime', 'in' => 'formData', - 'schema' => [ - 'description' => '告警发现时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1734788109000', - ], + 'schema' => ['description' => '告警发现时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1734788109000'], ], [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'description' => '实例id。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-uf60h3ns25bzq9eyf8ps', - ], + 'schema' => ['description' => '实例id。', 'type' => 'string', 'required' => false, 'example' => 'i-uf60h3ns25bzq9eyf8ps'], ], [ 'name' => 'InstanceName', 'in' => 'formData', - 'schema' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => '猫吉-售卖-MDR扫描器集群1', - ], + 'schema' => ['description' => '实例名称。', 'type' => 'string', 'required' => false, 'example' => '猫吉-售卖-MDR扫描器集群1'], ], [ 'name' => 'IsSend', 'in' => 'formData', - 'schema' => [ - 'description' => '是否发送。', - 'type' => 'string', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '是否发送。', 'type' => 'string', 'required' => true, 'example' => '0'], ], [ 'name' => 'Level', @@ -5434,53 +3090,29 @@ 'description' => '事件等级。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'serious' => '紧急', - 'suspicious' => '可疑', - 'remind' => '提醒', - ], + 'enumValueTitles' => ['serious' => '紧急', 'suspicious' => '可疑', 'remind' => '提醒'], 'example' => 'serious', ], ], [ 'name' => 'Product', 'in' => 'formData', - 'schema' => [ - 'description' => '产品名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'CloudSecCenter', - ], + 'schema' => ['description' => '产品名称。', 'type' => 'string', 'required' => false, 'example' => 'CloudSecCenter'], ], [ 'name' => 'UniqueId', 'in' => 'formData', - 'schema' => [ - 'description' => '唯一ID。', - 'type' => 'string', - 'required' => true, - 'example' => '68888f02-98f2-492b-a2b2-5b13295755b7', - ], + 'schema' => ['description' => '唯一ID。', 'type' => 'string', 'required' => true, 'example' => '68888f02-98f2-492b-a2b2-5b13295755b7'], ], [ 'name' => 'Uuid', 'in' => 'formData', - 'schema' => [ - 'description' => 'UUID。', - 'type' => 'string', - 'required' => false, - 'example' => '93B6CDAB-7D2E-33D2-9EBA-25D561A2E95F', - ], + 'schema' => ['description' => 'UUID。', 'type' => 'string', 'required' => false, 'example' => '93B6CDAB-7D2E-33D2-9EBA-25D561A2E95F'], ], [ 'name' => 'EventMarkdown', 'in' => 'formData', - 'schema' => [ - 'description' => 'markdown 格式详情', - 'type' => 'string', - 'required' => false, - 'example' => 'None', - ], + 'schema' => ['description' => 'markdown 格式详情', 'type' => 'string', 'required' => false, 'example' => 'None'], ], ], 'responses' => [ @@ -5494,89 +3126,25 @@ 'description' => '接口返回数据。', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '工单Id', - 'description' => '工单Id。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1914348', - ], - 'WorkTaskName' => [ - 'title' => '工单名称', - 'description' => '工单名称。', - 'type' => 'string', - 'example' => '22端口禁止任意IP访问 ', - ], - 'EventId' => [ - 'title' => '告警ID', - 'description' => '告警ID。', - 'type' => 'string', - 'example' => 'c0dc71d1-8a1d-4043-9767-f6c420e34901-81bd', - ], - 'EventType' => [ - 'title' => '告警类型', - 'description' => '告警类型。', - 'type' => 'string', - 'example' => 'SUSP_CUSTOM_WAF', - ], - 'CustomerId' => [ - 'title' => '服务uid', - 'description' => '服务uid。', - 'type' => 'string', - 'example' => '1601097845544644', - ], - 'CustomerName' => [ - 'title' => '客户名称', - 'description' => '客户名称。', - 'type' => 'string', - 'example' => '天津瑞鹏昇科技发展有限公司', - ], - 'OwnerId' => [ - 'title' => '负责人', - 'description' => '负责人。', - 'type' => 'string', - 'example' => '352675', - ], - 'OwnerName' => [ - 'title' => '负责人名称', - 'description' => '负责人名称。', - 'type' => 'string', - 'example' => '乐牙', - ], + 'Id' => ['title' => '工单Id', 'description' => '工单Id。', 'type' => 'integer', 'format' => 'int64', 'example' => '1914348'], + 'WorkTaskName' => ['title' => '工单名称', 'description' => '工单名称。', 'type' => 'string', 'example' => '22端口禁止任意IP访问 '], + 'EventId' => ['title' => '告警ID', 'description' => '告警ID。', 'type' => 'string', 'example' => 'c0dc71d1-8a1d-4043-9767-f6c420e34901-81bd'], + 'EventType' => ['title' => '告警类型', 'description' => '告警类型。', 'type' => 'string', 'example' => 'SUSP_CUSTOM_WAF'], + 'CustomerId' => ['title' => '服务uid', 'description' => '服务uid。', 'type' => 'string', 'example' => '1601097845544644'], + 'CustomerName' => ['title' => '客户名称', 'description' => '客户名称。', 'type' => 'string', 'example' => '天津瑞鹏昇科技发展有限公司'], + 'OwnerId' => ['title' => '负责人', 'description' => '负责人。', 'type' => 'string', 'example' => '352675'], + 'OwnerName' => ['title' => '负责人名称', 'description' => '负责人名称。', 'type' => 'string', 'example' => '乐牙'], ], ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => '606EB377-155D-5AEB-AC4F-F013444A4C45', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回信息。当请求成功时,返回成功信息;当请求失败时,返回失败原因。', - 'type' => 'string', - 'example' => 'successful', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - ."\n" - .'- true:调用成功。'."\n" - ."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => '606EB377-155D-5AEB-AC4F-F013444A4C45'], + 'Code' => ['description' => '接口响应码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。当请求成功时,返回成功信息;当请求失败时,返回失败原因。', 'type' => 'string', 'example' => 'successful'], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Success' => ['description' => '是否调用成功。'."\n" + ."\n" + .'- true:调用成功。'."\n" + ."\n" + .'- false:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -5588,179 +3156,397 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1914348,\\n \\"WorkTaskName\\": \\"22端口禁止任意IP访问 \\",\\n \\"EventId\\": \\"c0dc71d1-8a1d-4043-9767-f6c420e34901-81bd\\",\\n \\"EventType\\": \\"SUSP_CUSTOM_WAF\\",\\n \\"CustomerId\\": \\"1601097845544644\\",\\n \\"CustomerName\\": \\"天津瑞鹏昇科技发展有限公司\\",\\n \\"OwnerId\\": \\"352675\\",\\n \\"OwnerName\\": \\"乐牙\\"\\n },\\n \\"RequestId\\": \\"606EB377-155D-5AEB-AC4F-F013444A4C45\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => '发送自定义告警事件', ], - 'DeleteDjbhReport' => [ - 'summary' => '删除等保测评报告。', - 'path' => '', - 'methods' => [ - 'post', + ], + 'endpoints' => [ + ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'mssp.aliyuncs.com', 'endpoint' => 'mssp.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [], + 'changeSet' => [], + 'ram' => [ + 'productCode' => 'Mssp', + 'productName' => '安全管家', + 'ramCodes' => ['yundun-mss'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateServiceWorkOrder', + 'description' => '创建服务工单', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-mss:CreateServiceWorkOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDetailById', + 'description' => '查询风险详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'GetVulItemPage', + 'description' => '风险查询', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulItemPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DisposeWorkTask', + 'description' => '处理告警工单', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-mss:DisposeWorkTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'GetVulPageSummary', + 'description' => '告警页统计', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulPageSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDocumentDownloadUrl', + 'description' => '服务报告单个下载', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentDownloadUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateServiceLinkedRole', + 'description' => '创建服务关联角色', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-mss:CreateServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteDjbhReport', + 'description' => '删除等保测评报告', 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsos6B7B1Q', + 'ramAction' => [ + 'action' => 'yundun-mss:DeleteDjbhReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'description' => '报告主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '26579', + [ + 'apiName' => 'GetVulSummary', + 'description' => '得到风险的统计项', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求响应。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '86786E4C-6416-55CF-9AB6-5E275B68801D', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'successful', - ], - 'Message' => [ - 'description' => '返回结果的提示信息。', - 'type' => 'string', - 'example' => 'Successful!', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'string', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'GetWorkTaskSummary', + 'description' => '得到首行工单的统计项', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetWorkTaskSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetSuspEventPage', + 'description' => '告警处置查询', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspEventPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86786E4C-6416-55CF-9AB6-5E275B68801D\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', - 'title' => '删除等保测评报告', - ], - 'ConfirmDjbhReport' => [ - 'summary' => '确认查收等保测评报告。', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetUserStatus', + 'description' => '查询用户开通状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetUserStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ConfirmDjbhReport', + 'description' => '确认查收等保测评报告', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-mss:ConfirmDjbhReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetSowList', + 'description' => '获取SOW列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSowList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeServiceLinkedRole', + 'description' => '查询服务关联角色', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:DescribeServiceLinkedRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PageServiceCustomer', + 'description' => '服务客户信息查询', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:PageServiceCustomer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSafetyCover', + 'description' => '得到安全防护覆盖度', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSafetyCover', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'SendCustomEvent', + 'description' => '发送自定义告警事件', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-mss:SendCustomEvent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDocumentSummary', + 'description' => '服务报告首页统计项获取', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetConsoleScore', + 'description' => '获取控制台分数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetConsoleScore', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSuspPageSummary', + 'description' => '告警页统计', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspPageSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetBaselineSummary', + 'description' => '合规风险收敛趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetBaselineSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAttackedAssetDeal', + 'description' => '被攻击资产收敛趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetAttackedAssetDeal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVulListById', + 'description' => '查询已处理详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetVulListById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DisposeServiceWorkOrder', + 'description' => '处理服务工单', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsos6B7B1Q', + 'ramAction' => [ + 'action' => 'yundun-mss:DisposeServiceWorkOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'description' => '报告主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '24563', + [ + 'apiName' => 'GetSuspEventSummary', + 'description' => '得到告警的统计项', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetSuspEventSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求响应。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'EF801DD1-D934-51B3-92D4-776CE17B184F', - ], - 'Code' => [ - 'description' => '接口响应码。', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'Successful!', - ], - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否调用成功。'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'string', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'GetAlarmDetailById', + 'description' => '告警详情查询', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetAlarmDetailById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetDocumentPage', + 'description' => '服务报告查询', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-mss:GetDocumentPage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRecentDocument', + 'description' => '得到最近上传的服务报告', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-mss:GetRecentDocument', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Mssp', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EF801DD1-D934-51B3-92D4-776CE17B184F\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Successful!\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]', - 'title' => '确认查收等保测评报告', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'public', - 'endpoint' => 'mssp.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
