diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/cloud-siem/2024-12-12/api-docs.php | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/cloud-siem/2024-12-12/api-docs.php')
| -rw-r--r-- | data/en_us/cloud-siem/2024-12-12/api-docs.php | 14182 |
1 files changed, 14182 insertions, 0 deletions
diff --git a/data/en_us/cloud-siem/2024-12-12/api-docs.php b/data/en_us/cloud-siem/2024-12-12/api-docs.php new file mode 100644 index 0000000..6fc871a --- /dev/null +++ b/data/en_us/cloud-siem/2024-12-12/api-docs.php @@ -0,0 +1,14182 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'cloud-siem', + 'version' => '2024-12-12', + ], + 'directories' => [ + [ + 'id' => 332850, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetUserConfig', + ], + ], + [ + 'id' => 332852, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CheckUpgradeItem', + 'ExecuteUpgrade', + 'ListUpgradeItems', + ], + ], + [ + 'id' => 332856, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'UpdateDataStorage', + 'UpdateDataStorageTtl', + 'UpdateDataStorageDelivery', + 'ResetDataStorage', + 'GetDataStorage', + ], + ], + [ + 'id' => 332862, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDataSource', + 'UpdateDataSource', + 'RefreshDataSource', + 'DeleteDataSource', + 'ListDataSources', + 'UpdateDataSourceTemplate', + 'ListDataSourceTemplates', + 'CreateLogStore', + 'DeleteLogStore', + 'ValidateLogStore', + 'ListLogRegions', + 'ListLogProjects', + 'ListLogStores', + 'GetLogTicket', + ], + ], + [ + 'id' => 332881, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateProduct', + 'UpdateProduct', + 'DeleteProduct', + 'ListProducts', + 'CreateVendor', + 'UpdateVendor', + 'DeleteVendor', + 'ListVendors', + 'CreateDataIngestion', + 'EnableDataIngestion', + 'DisableDataIngestion', + 'UpdateDataIngestion', + 'DeleteDataIngestion', + 'GetDataBatchIngestion', + 'UpdateDataBatchIngestion', + 'ListDataIngestions', + 'UpdateDataIngestionTemplate', + 'ListDataIngestionTemplates', + 'ListTrafficStatistics', + 'ExecuteLogQuery', + ], + ], + [ + 'id' => 332906, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateNormalizationRule', + 'UpdateNormalizationRule', + 'DeleteNormalizationRule', + 'ValidateNormalizationRule', + 'GetNormalizationRule', + 'GetNormalizationSchema', + 'GetNormalizationRuleVersion', + 'DeleteNormalizationRuleVersion', + 'SetDefaultNormalizationRuleVersion', + 'ListNormalizationRuleVersions', + 'ListNormalizationRules', + 'ListNormalizationFields', + 'ListNormalizationCategories', + 'ListNormalizationRuleCapacities', + 'ListNormalizationSchemas', + ], + ], + [ + 'id' => 332922, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDataSet', + 'UpdateDataSet', + 'DeleteDataSet', + 'ListDataSets', + 'UpdateDataSetRecord', + 'DeleteDataSetRecord', + 'ListDataSetRecords', + ], + ], + [ + 'id' => 332930, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDetectionRule', + 'UpdateDetectionRule', + 'DeleteDetectionRule', + 'ListDetectionRules', + 'GetDetectionStatistic', + ], + ], + [ + 'id' => 332936, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetIncident', + 'ListIncidents', + ], + ], + [ + 'id' => 332939, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateExportTask', + 'GetExportTask', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'UpdateNormalizationSchema', + 'CreateNormalizationSchema', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetUserConfig' => [ + 'summary' => '获取用户配置信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '173326*******', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'User' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CtdrVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + 'DataStorageVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pending', + ], + 'UpgradeStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + 'UpgradeCtdrVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'v2', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"User\\": {\\n \\"CtdrVersion\\": \\"v2\\",\\n \\"DataStorageVersion\\": \\"pending\\",\\n \\"UpgradeStatus\\": \\"v2\\",\\n \\"UpgradeCtdrVersion\\": \\"v2\\"\\n }\\n}","type":"json"}]', + ], + 'CheckUpgradeItem' => [ + 'summary' => '检查升级项', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'UpgradeItemId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dispose_task_upgrade', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'UpgradeItem' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UpgradeItemId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'incident_upgrade', + ], + 'CheckStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'CheckResult' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"UpgradeItem\\": {\\n \\"UpgradeItemId\\": \\"incident_upgrade\\",\\n \\"CheckStatus\\": \\"success\\",\\n \\"CheckResult\\": \\"OK\\"\\n }\\n}","type":"json"}]', + ], + 'ExecuteUpgrade' => [ + 'summary' => '执行升级', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '173326*******。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListUpgradeItems' => [ + 'summary' => '获取升级项列表', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'UpgradeItems' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UpgradeItemId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'data_storage_2_upgrade', + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"UpgradeItems\\": [\\n {\\n \\"UpgradeItemId\\": \\"data_storage_2_upgrade\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'UpdateDataStorage' => [ + 'summary' => '获取日志管理页面里用户数据存储的详情。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasRXJ9SY', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataStorageRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shanghai', + ], + ], + [ + 'name' => 'DeliveryStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enable', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResponse', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EA7FC160-8D86-5ABE-A08A-7962FDC1****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA7FC160-8D86-5ABE-A08A-7962FDC1****\\"\\n}","type":"json"}]', + ], + 'UpdateDataStorageTtl' => [ + 'summary' => '更新数据存储中日志的数据保存天数。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasRXJ9SY', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'network-activity', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'LogStoreTtl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '180', + ], + ], + [ + 'name' => 'LogStoreHotTtl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '180', + ], + ], + [ + 'name' => 'LogStoreColdTtl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResponse', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'D92E4FCF-4584-5E50-9C02-26B79A9C****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D92E4FCF-4584-5E50-9C02-26B79A9C****\\"\\n}","type":"json"}]', + ], + 'UpdateDataStorageDelivery' => [ + 'summary' => '操作日志投递.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasRXJ9SY', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'LogCode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'aegis-log-login', + ], + ], + [ + 'name' => 'LogDeliveryStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enable', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResponse', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6D7FBF4A-5B95-5760-8B5A-BF8983D4****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D7FBF4A-5B95-5760-8B5A-BF8983D4****\\"\\n}","type":"json"}]', + ], + 'ResetDataStorage' => [ + 'summary' => '数据存储的清空操作,该动作会删除已有的数据,重新初始化物理存储。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasRXJ9SY', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResponse', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'GetDataStorage' => [ + 'summary' => '获取日志管理页面里用户数据存储的详情。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasRXJ9SY', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'DataResponse<DataStorageBean>', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataStorageRegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-shanghai', + ], + 'DataStorageTotalCapacity' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'DataStorageUsedCapacity' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '100.0', + ], + 'LogProject' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun-cloudsiem-data-171835723111****-cn-shanghai', + ], + 'SasLogStores' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LogName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Process Snapshot', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sas-security-log', + ], + 'LogDeliveryStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enable', + ], + 'LogStoreTtl' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '180', + ], + 'LogDeliveryUpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-07-16T15:10:29', + ], + 'LogDeliveryPermission' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'deny', + ], + 'LogDeliveryGroup' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'host', + ], + 'LogSearchConditions' => [ + 'title' => 'JSON Array ["key":"product_code", "value":"ctdr"]', + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"__topic__\\":\\"sas-net-block\\"}]', + ], + 'LogCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sas-net-block', + ], + 'LogStoreExisted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'NormalizationLogStores' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vulnerability-activity', + ], + 'LogStoreTtl' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '180', + ], + ], + ], + ], + 'NormalizationLogViews' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Security Category', + ], + 'ActivityName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'API security risk log', + ], + 'LogViewName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'risk_activity', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'risk-activity', + ], + 'DetectionRuleReferenceCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'DetectionRuleReferenceProductIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'azure_active_directory', + ], + ], + 'LogSearchConditions' => [ + 'title' => 'JSON Array ["key":"product_code", "value":"ctdr"]', + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"SCHEMA\\":\\"AZURE_ACTIVE_DIRECTORY_AUDIT_ACTIVITY\\"}]', + ], + 'LogViewExisted' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'ColdStorageUsedCapacity' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '100.0', + ], + 'DataStorageUsedCapacityDetail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"purchasedHotStorageCapacity\\":1000,\\"usedHotStorageCapacity\\":4.2,\\"usedHotStorageCapacityDetail\\":{\\"ap-southeast-1\\":4.2,\\"cn-shenzhen\\":0.0,\\"cn-shanghai\\":0.0}}', + ], + 'DataStorageRegionPermission' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'deny', + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '81FB0DEA-52C1-55A0-8631-8E1B9A9D****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DataStorageRegionId\\": \\"cn-shanghai\\",\\n \\"DataStorageTotalCapacity\\": 100,\\n \\"DataStorageUsedCapacity\\": 100,\\n \\"LogProject\\": \\"aliyun-cloudsiem-data-171835723111****-cn-shanghai\\",\\n \\"SasLogStores\\": [\\n {\\n \\"LogName\\": \\"Process Snapshot\\",\\n \\"LogStoreName\\": \\"sas-security-log\\",\\n \\"LogDeliveryStatus\\": \\"enable\\",\\n \\"LogStoreTtl\\": 180,\\n \\"LogDeliveryUpdateTime\\": \\"2025-07-16T15:10:29\\",\\n \\"LogDeliveryPermission\\": \\"deny\\",\\n \\"LogDeliveryGroup\\": \\"host\\",\\n \\"LogSearchConditions\\": \\"[{\\\\\\\\\\\\\\"__topic__\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sas-net-block\\\\\\\\\\\\\\"}]\\",\\n \\"LogCode\\": \\"sas-net-block\\",\\n \\"LogStoreExisted\\": true\\n }\\n ],\\n \\"NormalizationLogStores\\": [\\n {\\n \\"LogStoreName\\": \\"vulnerability-activity\\",\\n \\"LogStoreTtl\\": 180\\n }\\n ],\\n \\"NormalizationLogViews\\": [\\n {\\n \\"CategoryName\\": \\"Security Category\\",\\n \\"ActivityName\\": \\"API security risk log\\",\\n \\"LogViewName\\": \\"risk_activity\\",\\n \\"LogStoreName\\": \\"risk-activity\\",\\n \\"DetectionRuleReferenceCount\\": 3,\\n \\"DetectionRuleReferenceProductIds\\": [\\n \\"azure_active_directory\\"\\n ],\\n \\"LogSearchConditions\\": \\"[{\\\\\\\\\\\\\\"SCHEMA\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AZURE_ACTIVE_DIRECTORY_AUDIT_ACTIVITY\\\\\\\\\\\\\\"}]\\",\\n \\"LogViewExisted\\": true\\n }\\n ],\\n \\"ColdStorageUsedCapacity\\": 100,\\n \\"DataStorageUsedCapacityDetail\\": \\"{\\\\\\\\\\\\\\"purchasedHotStorageCapacity\\\\\\\\\\\\\\":1000,\\\\\\\\\\\\\\"usedHotStorageCapacity\\\\\\\\\\\\\\":4.2,\\\\\\\\\\\\\\"usedHotStorageCapacityDetail\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"ap-southeast-1\\\\\\\\\\\\\\":4.2,\\\\\\\\\\\\\\"cn-shenzhen\\\\\\\\\\\\\\":0.0,\\\\\\\\\\\\\\"cn-shanghai\\\\\\\\\\\\\\":0.0}}\\",\\n \\"DataStorageRegionPermission\\": \\"deny\\"\\n },\\n \\"RequestId\\": \\"81FB0DEA-52C1-55A0-8631-8E1B9A9D****\\"\\n}","type":"json"}]', + ], + 'CreateDataSource' => [ + 'summary' => '创建数据源', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataSourceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AD_LOG。', + ], + ], + [ + 'name' => 'DataSourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset。', + ], + ], + [ + 'name' => 'DataSourceFrom', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'center。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mde_raw。', + ], + ], + [ + 'name' => 'DataSourceStores', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'LogRegionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + 'LogProjectName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'actiontrail_management-events。', + ], + 'DataSourceStoreStatus' => [ + 'type' => 'string', + ], + 'DataSourceStoreId' => [ + 'type' => 'string', + ], + 'DataSourceStoreFrom' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'DataSourceTemplateId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DataSourceIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'DataSourceRecognizer', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DataSourceRecognizeEnabled', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'DataSourceReferences', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Order', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ds-jl67vixpe1scwysgyu3x。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataSourceId\\": \\"ds-jl67vixpe1scwysgyu3x\\"\\n}","type":"json"}]', + ], + 'UpdateDataSource' => [ + 'summary' => '更新数据源', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataSourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ds-014frtpy28m5ct2eoyo1。', + ], + ], + [ + 'name' => 'DataSourceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ActiontrailLog。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataSourceStores', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LogRegionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + 'LogProjectName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-rds-sqlaudit。', + ], + 'DataSourceStoreFrom' => [ + 'type' => 'string', + ], + 'DataSourceStoreId' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'DataSourceRecognizeEnabled', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'DataSourceFrom', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'OrderField', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-rds-sqlaudit。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'RefreshDataSource' => [ + 'summary' => '刷新数据源', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'DataSourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ds-jl67vixpe1scwysgyu3x', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\"\\n}","type":"json"}]', + ], + 'DeleteDataSource' => [ + 'summary' => '删除数据源', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataSourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ds-txejfbrh94k5cx58a4qh。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListDataSources' => [ + 'summary' => '获取厂商列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataSourceIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_waf_alert_log_173326*******,alibaba_cloud_waf_flow_log_173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DataSourceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_waf_alert_log。', + ], + ], + [ + 'name' => 'DataSourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'custom。', + ], + ], + [ + 'name' => 'LogUserIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'audit-activity。', + ], + ], + [ + 'name' => 'DataSourceTemplateIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_account_snapshot_log_173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'OrderField', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'UpdateTime。', + ], + ], + [ + 'name' => 'Order', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'desc。', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1。', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + [ + 'name' => 'DataSourceFrom', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'center。', + ], + ], + [ + 'name' => 'DataSourceStoreStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'DataSourceStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataSources' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'DataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ds-scpfegri73oyoknbc90c。', + ], + 'DataSourceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AD_LOG。', + ], + 'DataSourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'custom。', + ], + 'LogUserId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '173326*******。', + ], + 'LogRegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou。', + ], + 'LogProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + 'DataSourceFrom' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'center。', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'audit-activity。', + ], + 'DataSourceTemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot_log_173326*******。'."\n", + ], + 'DataSourceStores' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataSourceStoreId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'di_xxxx_source_1。', + ], + 'DataSourceStoreStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normal。', + 'title' => '日志存储状态码', + ], + 'DataSourceStoreFrom' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'center。', + ], + 'LogRegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou。', + ], + 'LogProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + 'LogStoreName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'audit-activity。', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'CheckTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DataSourceStoreStatusCode' => [ + 'title' => '日志存储状态码', + 'type' => 'string', + 'example' => 'LogStoreNotExist', + ], + ], + ], + ], + 'DataSourceRecognizer' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot。', + ], + 'DataSourceRecognizeEnabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'DataSourceReferences' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataIngestionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot_log_173326*******。', + ], + ], + ], + ], + 'DataSourceStatus' => [ + 'type' => 'string', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2。', + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataSources\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"DataSourceId\\": \\"ds-scpfegri73oyoknbc90c\\",\\n \\"DataSourceName\\": \\"AD_LOG\\",\\n \\"DataSourceType\\": \\"custom\\",\\n \\"LogUserId\\": 0,\\n \\"LogRegionId\\": \\"cn-hangzhou\\",\\n \\"LogProjectName\\": \\"aliyun-cloudsiem-data-173326*******-cn-hangzhou\\",\\n \\"DataSourceFrom\\": \\"center\\",\\n \\"LogStoreName\\": \\"audit-activity\\",\\n \\"DataSourceTemplateId\\": \\"alibaba_cloud_sas_account_snapshot_log_173326*******\\",\\n \\"DataSourceStores\\": [\\n {\\n \\"DataSourceStoreId\\": \\"di_xxxx_source_1\\",\\n \\"DataSourceStoreStatus\\": \\"normal\\",\\n \\"DataSourceStoreFrom\\": \\"center\\",\\n \\"LogRegionId\\": \\"cn-hangzhou\\",\\n \\"LogProjectName\\": \\"aliyun-cloudsiem-data-173326*******-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"audit-activity\\",\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"CheckTime\\": 1733269771123,\\n \\"DataSourceStoreStatusCode\\": \\"LogStoreNotExist\\"\\n }\\n ],\\n \\"DataSourceRecognizer\\": \\"alibaba_cloud_sas_account_snapshot\\",\\n \\"DataSourceRecognizeEnabled\\": true,\\n \\"DataSourceReferences\\": [\\n {\\n \\"DataIngestionId\\": \\"alibaba_cloud_sas_account_snapshot_log_173326*******\\"\\n }\\n ],\\n \\"DataSourceStatus\\": \\"unconfigured\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 2,\\n \\"TotalPage\\": 1,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'UpdateDataSourceTemplate' => [ + 'summary' => '修改数据源模板', + 'path' => '', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DataSourceTemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。'."\n", + ], + ], + [ + 'name' => 'DataSourceTemplateName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。'."\n", + ], + ], + [ + 'name' => 'LogUserIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'LogRegionIds', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectPattern', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******。', + ], + ], + [ + 'name' => 'LogStorePattern', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'audit-activity。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'AutoScanNew', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled。', + ], + ], + [ + 'name' => 'DataSourceRecognizeEnabled', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListDataSourceTemplates' => [ + 'summary' => '查询数据源模板', + 'path' => '', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'DataSourceTemplateIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。', + ], + 'required' => false, + 'minItems' => 0, + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1。', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataSourceTemplates' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'DataSourceTemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。', + ], + 'DataSourceTemplateName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。', + ], + 'LogProjectPattern' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun-cloudsiem-data-173326*******。', + ], + 'LogRegionIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou。', + ], + ], + 'LogStorePattern' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'audit-activity。', + ], + 'LogUserIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '173326*******。', + ], + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2025-01-08 10:28:31', + ], + 'DataSourceFrom' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'custom。', + ], + 'AutoScanNew' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled。', + ], + 'DataSourceRecognizer' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_actiontrail_event_ingestion。', + ], + 'DataSourceRecognizeEnabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1。', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataSourceTemplates\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"DataSourceTemplateId\\": \\"alibaba_cloud_actiontrail_event_ingestion\\",\\n \\"DataSourceTemplateName\\": \\"alibaba_cloud_actiontrail_event_ingestion\\",\\n \\"LogProjectPattern\\": \\"aliyun-cloudsiem-data-173326*******\\",\\n \\"LogRegionIds\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"LogStorePattern\\": \\"audit-activity\\",\\n \\"LogUserIds\\": [\\n \\"173326*******\\"\\n ],\\n \\"UpdateTime\\": 1733269771123,\\n \\"DataSourceFrom\\": \\"custom\\",\\n \\"AutoScanNew\\": \\"enabled\\",\\n \\"DataSourceRecognizer\\": \\"alibaba_cloud_actiontrail_event_ingestion\\",\\n \\"DataSourceRecognizeEnabled\\": true\\n }\\n ],\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\"\\n}","type":"json"}]', + ], + 'CreateLogStore' => [ + 'summary' => '创建LogStore', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-channel-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'logstoreqykug。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DeleteLogStore' => [ + 'summary' => '删除LogStore', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rds-logstore。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ValidateLogStore' => [ + 'summary' => '校验LogStore', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ssglauncher-log。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListLogRegions' => [ + 'summary' => '获取所有的区域', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'LogRegions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou。', + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"LogRegions\\": [\\n \\"cn-hangzhou\\"\\n ]\\n}","type":"json"}]', + ], + 'ListLogProjects' => [ + 'summary' => '获取日志Project列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'LogProjects' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun-cloudsiem-channel-173326*******-cn-beijing。', + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"LogProjects\\": [\\n \\"aliyun-cloudsiem-channel-173326*******-cn-beijing\\"\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'ListLogStores' => [ + 'summary' => '获取日志store列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aliyun-cloudsiem-data-173326*******-cn-hangzhou。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'LogStores' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'wadaaaa。', + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"LogStores\\": [\\n \\"wadaaaa\\"\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'GetLogTicket' => [ + 'summary' => '查看LogStore', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '173326*******。', + ], + 'LogTicket' => [ + 'description' => '', + 'type' => 'string', + 'example' => '*******。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"173326*******\\",\\n \\"LogTicket\\": \\"*******\\"\\n}","type":"json"}]', + ], + 'CreateProduct' => [ + 'summary' => '创建产品', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + [ + 'name' => 'ProductName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\"\\n}","type":"json"}]', + ], + 'UpdateProduct' => [ + 'summary' => '更新产品品', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1733269771123。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'ProductName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DeleteProduct' => [ + 'summary' => '删除产品', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListProducts' => [ + 'summary' => '获取产品列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******', + ], + ], + [ + 'name' => 'ProductIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ProductName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'sas', + ], + ], + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vd-qlsw5eocx94w9', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'Products' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas', + ], + 'ProductAlias' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas', + ], + 'ProductName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sas', + ], + 'ProductType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'preset', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vd-qlsw5eocx94w9', + ], + 'VendorName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '111', + ], + 'DataIngestionStatus' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'enabled', + ], + 'TotalDataIngestionCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'EnabledDataIngestionCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'AllowAddDataIngestion' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AbnormalDataIngestionCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'ActiveTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"Products\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"ProductId\\": \\"alibaba_cloud_sas\\",\\n \\"ProductAlias\\": \\"alibaba_cloud_sas\\",\\n \\"ProductName\\": \\"sas\\",\\n \\"ProductType\\": \\"preset\\",\\n \\"VendorId\\": \\"vd-qlsw5eocx94w9\\",\\n \\"VendorName\\": \\"111\\",\\n \\"DataIngestionStatus\\": true,\\n \\"TotalDataIngestionCount\\": 10,\\n \\"EnabledDataIngestionCount\\": 1,\\n \\"AllowAddDataIngestion\\": true,\\n \\"AbnormalDataIngestionCount\\": 2,\\n \\"ActiveTime\\": 1733269771123\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'CreateVendor' => [ + 'summary' => '创建厂商', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vd-qlsw5eocx94w9。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"VendorId\\": \\"vd-qlsw5eocx94w9\\"\\n}","type":"json"}]', + ], + 'UpdateVendor' => [ + 'summary' => '更新厂商', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。'."\n", + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vd-qlsw5eocx94w9。', + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DeleteVendor' => [ + 'summary' => '删除厂商', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vd-qlsw5eocx94w9。', + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListVendors' => [ + 'summary' => '获取厂商列表', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。'."\n", + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en。'."\n", + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。'."\n", + ], + ], + [ + 'name' => 'VendorIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vd-qlsw5eocx94w9。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'VendorName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '111。', + ], + ], + [ + 'name' => 'VendorType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。'."\n", + ], + 'Vendors' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vd-qlsw5eocx94w9。', + ], + 'VendorName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '111。', + ], + 'VendorType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'preset。', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'minimum' => '0', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"Vendors\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"VendorId\\": \\"vd-qlsw5eocx94w9\\",\\n \\"VendorName\\": \\"111\\",\\n \\"VendorType\\": \\"preset\\"\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'CreateDataIngestion' => [ + 'summary' => '创建数据源', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'realtime。', + ], + ], + [ + 'name' => 'DataSourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ds-3g6lyf4eonngyohaq7tr。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-hdmady54piigkjfv17yp。', + ], + ], + [ + 'name' => 'DataSourceEditable', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'DataIngestionStateCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CapacityCount', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'StreamJobId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DataIngestionType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ScanDataSourceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'UpdateTime', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'NormalizationRuleEditable', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataIngestionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'di-yxtm3l2rwa7fr5uvxtc7。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataIngestionId\\": \\"di-yxtm3l2rwa7fr5uvxtc7\\"\\n}","type":"json"}]', + ], + 'EnableDataIngestion' => [ + 'summary' => '启动数据接入', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_netstat_ingestion_173326*******。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DisableDataIngestion' => [ + 'summary' => '停止数据接入', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_netstat_ingestion_173326*******。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'UpdateDataIngestion' => [ + 'summary' => '更新数据接入信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion_173326*******。', + ], + ], + [ + 'name' => 'DataIngestionMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'realtime。', + ], + ], + [ + 'name' => 'DataSourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_log_173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_rule。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DeleteDataIngestion' => [ + 'summary' => '删除数据接入', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_netstat_ingestion_173326*******。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'GetDataBatchIngestion' => [ + 'summary' => '获取数据批量接入', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataBatchIngestion' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataBatchIngestionStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pending。', + ], + 'DataBatchIngestionSetTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1733269771123。', + ], + 'DataBatchIngestionEffectTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' '."\n" + .'1733269771123。', + ], + 'LogUserIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '173326*******。', + ], + ], + 'AutoScanNew' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled。', + ], + 'DataIngestions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataIngestionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_process_ingestion_173326*******。', + ], + 'DataIngestionStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled。', + ], + 'DataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_process_log_173326*******。', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud。', + ], + ], + ], + ], + 'RecommendDataIngestionIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_process_log_173326*******。', + ], + ], + 'ApsaraDataIngestionIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_process_log_173326*******。'."\n", + ], + ], + 'DataSourceRecognizeEnabled' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'DataBatchIngestionMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'full。', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataBatchIngestion\\": {\\n \\"DataBatchIngestionStatus\\": \\"pending\\",\\n \\"DataBatchIngestionSetTime\\": \\"1733269771123\\",\\n \\"DataBatchIngestionEffectTime\\": \\"1733269771123\\",\\n \\"LogUserIds\\": [\\n \\"173326*******\\"\\n ],\\n \\"AutoScanNew\\": \\"enabled\\",\\n \\"DataIngestions\\": [\\n {\\n \\"DataIngestionId\\": \\"alibaba_cloud_sas_process_ingestion_173326*******\\",\\n \\"DataIngestionStatus\\": \\"enabled\\",\\n \\"DataSourceId\\": \\"alibaba_cloud_sas_process_log_173326*******\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\",\\n \\"VendorId\\": \\"alibaba_cloud\\"\\n }\\n ],\\n \\"RecommendDataIngestionIds\\": [\\n \\"alibaba_cloud_sas_process_log_173326*******\\"\\n ],\\n \\"ApsaraDataIngestionIds\\": [\\n \\"alibaba_cloud_sas_process_log_173326*******\\"\\n ],\\n \\"DataSourceRecognizeEnabled\\": true,\\n \\"DataBatchIngestionMode\\": \\"full\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateDataBatchIngestion' => [ + 'summary' => '更新数据批量接入', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'AutoScanNew', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled。', + ], + ], + [ + 'name' => 'DataIngestionIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion_173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DataSourceRecognizeEnabled', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true。', + ], + ], + [ + 'name' => 'DataBatchIngestionMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'full。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListDataIngestions' => [ + 'summary' => '获取数据接入任务列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_netstat_ingestion_173326*******。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DataIngestionStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'DataIngestionTemplateIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_netstat_ingestion。', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataIngestions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'DataIngestionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_netstat_ingestion_173326*******。', + ], + 'DataIngestionType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'preset。', + ], + 'DataIngestionMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'realtime。', + ], + 'DataIngestionStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled。', + ], + 'DataIngestionState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ingested。', + ], + 'DataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ds-scpfegri73oyoknbc90c。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-0aywiqdtaqdvwac7xkbjsf3a。', + ], + 'StreamJobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '73a78aa245e3b1299d6ceed093de7bd8。', + ], + 'CapacityCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3。', + ], + 'DataSourceEditable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'NormalizationRuleEditable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'DataIngestionModeEditable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'DataIngestionTemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_netstat_ingestion。', + ], + 'RealtimeDataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ds-scpfegri73oyoknbc90c。', + ], + 'ScanDataSourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ds-scpfegri73oyoknbc90c。', + ], + 'DataIngestionStateCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'UserUnauthorized。', + ], + 'ActiveTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataIngestions\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"DataIngestionId\\": \\"alibaba_cloud_sas_netstat_ingestion_173326*******\\",\\n \\"DataIngestionType\\": \\"preset\\",\\n \\"DataIngestionMode\\": \\"realtime\\",\\n \\"DataIngestionStatus\\": \\"enabled\\",\\n \\"DataIngestionState\\": \\"ingested\\",\\n \\"DataSourceId\\": \\"ds-scpfegri73oyoknbc90c\\",\\n \\"NormalizationRuleId\\": \\"nr-0aywiqdtaqdvwac7xkbjsf3a\\",\\n \\"StreamJobId\\": \\"73a78aa245e3b1299d6ceed093de7bd8\\",\\n \\"CapacityCount\\": 3,\\n \\"DataSourceEditable\\": true,\\n \\"NormalizationRuleEditable\\": true,\\n \\"DataIngestionModeEditable\\": true,\\n \\"DataIngestionTemplateId\\": \\"alibaba_cloud_sas_netstat_ingestion\\",\\n \\"RealtimeDataSourceId\\": \\"ds-scpfegri73oyoknbc90c\\",\\n \\"ScanDataSourceId\\": \\"ds-scpfegri73oyoknbc90c\\",\\n \\"DataIngestionStateCode\\": \\"UserUnauthorized\\",\\n \\"ActiveTime\\": 1733269771123\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateDataIngestionTemplate' => [ + 'summary' => '更新接入模板', + 'path' => '', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DataIngestionTemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion_173326*******。'."\n", + ], + ], + [ + 'name' => 'DataIngestionTemplateName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_ingestion_173326*******。'."\n", + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_actiontrail_event_rule。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'DataIngestionStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListDataIngestionTemplates' => [ + 'summary' => '查询接入模板', + 'path' => '', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'DataSourceTemplateIds', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas_account_snapshot_log_173326*******。', + ], + ], + [ + 'name' => 'DataIngestionTemplateStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'running。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1。', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'DataIngestionTemplates' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'DataIngestionStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled。', + ], + 'DataIngestionTemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot_log。', + ], + 'DataIngestionTemplateName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot_log。', + ], + 'DataSourceTemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas_account_snapshot_log_173326*******。'."\n", + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_actiontrail_event_rule。', + ], + 'NormalizationRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_ke1RN。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '173326*******。', + ], + 'CapacityCount' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3。', + ], + 'DataIngestionMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'realtime。', + ], + 'DataIngestionTemplateStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'running。', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1。', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10。', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"DataIngestionTemplates\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"DataIngestionStatus\\": \\"enabled\\",\\n \\"DataIngestionTemplateId\\": \\"alibaba_cloud_sas_account_snapshot_log\\",\\n \\"DataIngestionTemplateName\\": \\"alibaba_cloud_sas_account_snapshot_log\\",\\n \\"DataSourceTemplateId\\": \\"alibaba_cloud_sas_account_snapshot_log_173326*******\\",\\n \\"NormalizationRuleId\\": \\"alibaba_cloud_actiontrail_event_rule\\",\\n \\"NormalizationRuleName\\": \\"normalization_rule_ke1RN\\",\\n \\"UpdateTime\\": 0,\\n \\"CapacityCount\\": \\"3\\",\\n \\"DataIngestionMode\\": \\"realtime\\",\\n \\"DataIngestionTemplateStatus\\": \\"running\\"\\n }\\n ],\\n \\"PageNumber\\": \\"1\\",\\n \\"PageSize\\": \\"10\\"\\n}","type":"json"}]', + ], + 'ListTrafficStatistics' => [ + 'summary' => '获取接入流量统计', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'TrafficStatisticPeriod', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '30。', + ], + ], + [ + 'name' => 'TrafficStatisticPeriodType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'day。', + ], + ], + [ + 'name' => 'TrafficStatisticType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Region。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'TrafficType', + 'in' => 'formData', + 'schema' => [ + 'title' => '日志流量类型:'."\n" + .'- "commonLogTraffic":通用日志流量 (默认)'."\n" + .'- "agentAnalysisLogTraffic":AI智能分析日志流量', + 'type' => 'string', + 'example' => 'agentAnalysisLogTraffic', + 'default' => 'commonLogTraffic', + ], + ], + [ + 'name' => 'RegionTag', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1。', + ], + ], + [ + 'name' => 'LogUserIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'TrafficStatistics' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TrafficStatisticTarget' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'all。', + ], + 'TrafficStatisticData' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TrafficStatisticTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20250815。', + ], + 'TrafficStatisticValue' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '1.699814。', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"TrafficStatistics\\": [\\n {\\n \\"TrafficStatisticTarget\\": \\"all\\",\\n \\"TrafficStatisticData\\": [\\n {\\n \\"TrafficStatisticTime\\": 20250815,\\n \\"TrafficStatisticValue\\": 1.699814\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ExecuteLogQuery' => [ + 'summary' => '查看LogStore', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'LogRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'LogProjectName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'slsaudit-center-173326*******-cn-hangzhou', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'huawei-cn-cfw', + ], + ], + [ + 'name' => 'LogQuery', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*', + ], + ], + [ + 'name' => 'ExtendContentPacked', + 'in' => 'formData', + 'schema' => [ + 'title' => '用于标识否将非标准字段打包到扩展字段extend_content,取值:'."\n" + .'- "enabled" :启用打包'."\n" + .'- "disabled" :不启用打包'."\n" + .'默认:"disabled"', + 'description' => '', + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'title' => '如果启用打包,则需要指定NormalizationSchemaId', + 'description' => '', + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1733269771123。', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1733269771123。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'QueryResult' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'any', + 'example' => '[]。', + ], + 'example' => '[]。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"QueryResult\\": [\\n \\"[]\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateNormalizationRule' => [ + 'summary' => '创建标准化规则', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'normalization_rule_Z57np。', + ], + ], + [ + 'name' => 'NormalizationRuleDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'normalization_rule_Z57np。', + ], + ], + [ + 'name' => 'NormalizationRuleFormat', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SPL。', + ], + ], + [ + 'name' => 'NormalizationRuleExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY。', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP_ACTIVITY。', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'NormalizationRuleMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'both。', + ], + ], + [ + 'name' => 'ExtendContentPacked', + 'in' => 'formData', + 'schema' => [ + 'title' => '用于标识否将非标准字段打包到扩展字段extend_content,取值:'."\n" + .' - "enabled" :启用打包'."\n" + .' - "disabled" :不启用打包'."\n" + .' 默认:"disabled"', + 'description' => '', + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NormalizationRuleType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'OrderField', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'NormalizationRuleVersion', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'NormalizationRuleIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'ExtendFieldStoreMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '扩展字段存储模式,可选项:flat、pack、reject。', + 'type' => 'string', + 'example' => 'flat', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\"\\n}","type":"json"}]', + ], + 'UpdateNormalizationRule' => [ + 'summary' => '更新标准化规则', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + [ + 'name' => 'NormalizationRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'normalization_rule_Z57np。', + ], + ], + [ + 'name' => 'NormalizationRuleDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'normalization_rule_Z57np。', + ], + ], + [ + 'name' => 'NormalizationRuleFormat', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SPL。', + ], + ], + [ + 'name' => 'NormalizationRuleExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP_ACTIVITY。', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'NormalizationRuleMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'both。', + ], + ], + [ + 'name' => 'ExtendContentPacked', + 'in' => 'formData', + 'schema' => [ + 'title' => '用于标识否将非标准字段打包到扩展字段extend_content,取值:'."\n" + .'- "enabled" :启用打包'."\n" + .'- "disabled" :不启用打包'."\n" + .'默认:"disabled"', + 'description' => '', + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'OrderField', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'NormalizationRuleType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'NormalizationRuleIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'ExtendFieldStoreMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '扩展字段存储模式,可选项:flat、pack、reject。', + 'type' => 'string', + 'example' => 'flat', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY。', + 'title' => '所属标准化类目', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'DeleteNormalizationRule' => [ + 'summary' => '删除标准化规则', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ValidateNormalizationRule' => [ + 'summary' => '校验规则和数据', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'Data', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '123456。', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY。', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP_ACTIVITY。', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'title' => '厂商ID。', + 'type' => 'string', + 'example' => 'alibaba_cloud', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品ID。', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas', + ], + ], + [ + 'name' => 'ExtendFieldStoreMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '扩展字段存储模式,取值:flat、pack、reject。', + 'type' => 'string', + 'example' => 'flat', + ], + ], + [ + 'name' => 'NormalizationRuleMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化规则模式。取值:both、realtime', + 'type' => 'string', + 'example' => 'realtime', + ], + ], + [ + 'name' => 'LogSample', + 'in' => 'formData', + 'schema' => [ + 'title' => '日志样例,JSON格式。', + 'type' => 'string', + 'example' => '{"aaa":"bbb","xxx":"yyy"}', + ], + ], + [ + 'name' => 'NormalizationRuleExpression', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化规则表达式。', + 'type' => 'string', + 'example' => '*', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'ValidateResult' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'host。', + ], + 'FieldValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ze。', + ], + 'NormalizationFieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'host。', + ], + 'NormalizationFieldRequired' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'Result' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success。', + ], + 'NormalizationFieldType' => [ + 'title' => '标准字段类型,支持text、long、double、json四种类型。', + 'type' => 'string', + 'example' => 'text', + ], + 'NormalizationFieldFrom' => [ + 'title' => '标准字段来源,preset-内置,custom-自定义。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationFieldReserved' => [ + 'title' => '是否是系统内置的标准字段名。', + 'type' => 'boolean', + ], + 'NormalizationFieldValidationStatus' => [ + 'title' => '标准字段校验状态,取值:pass、fail。', + 'type' => 'string', + 'example' => 'pass', + ], + 'NormalizationFieldValidationReason' => [ + 'title' => '标准字段校验失败原因。', + 'type' => 'string', + 'example' => 'OperationDenied.TheValueIsRequired', + ], + 'LogFieldName' => [ + 'title' => '日志字段名。', + 'type' => 'string', + 'example' => 'aaa', + ], + 'LogFieldValue' => [ + 'title' => '日志字段值。', + 'type' => 'string', + 'example' => 'bbb', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"ValidateResult\\": [\\n {\\n \\"FieldName\\": \\"host\\",\\n \\"FieldValue\\": \\"ze\\",\\n \\"NormalizationFieldName\\": \\"host\\",\\n \\"NormalizationFieldRequired\\": true,\\n \\"Result\\": 1,\\n \\"Message\\": \\"success\\",\\n \\"NormalizationFieldType\\": \\"text\\",\\n \\"NormalizationFieldFrom\\": \\"preset\\",\\n \\"NormalizationFieldReserved\\": true,\\n \\"NormalizationFieldValidationStatus\\": \\"pass\\",\\n \\"NormalizationFieldValidationReason\\": \\"OperationDenied.TheValueIsRequired\\",\\n \\"LogFieldName\\": \\"aaa\\",\\n \\"LogFieldValue\\": \\"bbb\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetNormalizationRule' => [ + 'summary' => '获取标准化规则', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRule' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'NormalizationRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'predefined。', + ], + 'NormalizationRuleFormat' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SPL。', + ], + 'NormalizationRuleDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'integer', + 'example' => 'V1。', + 'format' => 'int32', + ], + 'NormalizationRuleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + 'NormalizationRuleStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'started。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud。', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + 'NormalizationRuleMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'both。', + ], + 'ExtendContentPacked' => [ + 'type' => 'string', + ], + 'OrderField' => [ + 'type' => 'string', + ], + 'NormalizationRuleIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ExtendFieldStoreMode' => [ + 'title' => '扩展字段存储模式,flat-原样接入,reject-不接入,pack-打包到extend_content字段。', + 'type' => 'string', + 'example' => 'flat', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRule\\": {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\",\\n \\"NormalizationRuleName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleType\\": \\"predefined\\",\\n \\"NormalizationRuleFormat\\": \\"SPL\\",\\n \\"NormalizationRuleDescription\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleVersion\\": 0,\\n \\"NormalizationRuleExpression\\": \\"* | pack-fields -include=\'[\\\\\\\\s\\\\\\\\S]+\' as extend_content\\",\\n \\"NormalizationRuleStatus\\": \\"started\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"VendorId\\": \\"alibaba_cloud\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\",\\n \\"NormalizationRuleMode\\": \\"both\\",\\n \\"ExtendContentPacked\\": \\"enabled\\",\\n \\"OrderField\\": \\"GmtModified\\",\\n \\"NormalizationRuleIds\\": [\\n \\"nr-z0b2ssjteut85uoh9nzp\\"\\n ],\\n \\"ExtendFieldStoreMode\\": \\"flat\\"\\n }\\n}","type":"json"}]', + ], + 'GetNormalizationSchema' => [ + 'summary' => '获取Schema信息以及字段', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationSchemaType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'log。', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP_ACTIVITY。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationSchema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'NormalizationSchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationFields' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cloud_user。', + 'title' => '标准字段名。', + ], + 'NormalizationFieldType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'varchar。', + 'title' => '标准字段类型,支持text、long、double、json四种类型。', + ], + 'NormalizationFieldRequired' => [ + 'title' => '是否为必填字段', + 'type' => 'boolean', + ], + 'NormalizationFieldDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cloud_user。', + 'title' => '标准字段描述。', + ], + 'NormalizationFieldExample' => [ + 'description' => '', + 'type' => 'string', + 'example' => '173326*******。', + 'title' => '标准字段示例。', + ], + 'NormalizationFieldReserved' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + 'title' => '是否是系统内置的标准字段名。', + ], + 'NormalizationFieldFrom' => [ + 'title' => '标准字段来源,preset-内置,custom-自定义。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => '标准字段是否分词。', + 'type' => 'boolean', + ], + 'NormalizationFieldJsonIndexAll' => [ + 'title' => 'json类型的标准字段是否针对所有key建立索引。', + 'type' => 'boolean', + ], + 'NormalizationFieldJsonKeys' => [ + 'title' => 'json类型的标准字段key列表。', + 'type' => 'array', + 'items' => [ + 'title' => 'json类型的标准字段key。', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => 'json类型的标准字段key名称。', + 'type' => 'string', + 'example' => 'cloud_code', + ], + 'NormalizationFieldType' => [ + 'title' => 'json类型的标准字段key类型。', + 'type' => 'string', + 'example' => 'varchar', + ], + 'NormalizationFieldRequired' => [ + 'title' => 'json类型的标准字段key是否必填。', + 'type' => 'boolean', + ], + 'NormalizationFieldDescription' => [ + 'title' => 'json类型的标准字段key描述。', + 'type' => 'string', + 'example' => '云code,枚举值:\\n<br>● alibaba_cloud\\n<br>● huawei_cloud\\n<br>● tencent_cloud', + ], + 'NormalizationFieldExample' => [ + 'title' => 'json类型的标准字段key示例。', + 'type' => 'string', + 'example' => 'alibaba_cloud', + ], + 'NormalizationFieldFrom' => [ + 'title' => 'json类型的标准字段key来源。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => 'json类型的标准字段key是否分词。', + 'type' => 'boolean', + ], + 'NormalizationFieldReserved' => [ + 'title' => '是否是系统内置的标准字段名。', + 'type' => 'boolean', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + ], + ], + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'NormalizationFieldRequirement' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + ], + ], + ], + 'TargetLogStore' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'network-activity。', + 'title' => '日志服务 LogStore。', + ], + 'TargetStoreView' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'network_activity。', + 'title' => '日志服务 StoreView。', + ], + 'NormalizationSchemaType' => [ + 'title' => '标准结构类型,preset-预定义,custom-自定义', + 'type' => 'string', + 'example' => 'preset', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + 'NormalizationSchemaReferences' => [ + 'title' => '标准化结构引用列表。', + 'type' => 'array', + 'items' => [ + 'title' => '标准化结构引用。', + 'type' => 'object', + 'properties' => [ + 'NormalizationRuleId' => [ + 'title' => '标准化规则ID。', + 'type' => 'string', + 'example' => 'alibaba_cloud_cfw_flow_rule', + ], + ], + ], + ], + 'NormalizationSchemaFrom' => [ + 'title' => '标准化结构来源:preset-预定义,custom-自定义。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationSchemaDescription' => [ + 'title' => '标准化结构描述。', + 'type' => 'string', + 'example' => '网络五元组日志', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationSchema\\": {\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"NormalizationSchemaName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationFields\\": [\\n {\\n \\"NormalizationFieldName\\": \\"cloud_user\\",\\n \\"NormalizationFieldType\\": \\"varchar\\",\\n \\"NormalizationFieldRequired\\": true,\\n \\"NormalizationFieldDescription\\": \\"cloud_user\\",\\n \\"NormalizationFieldExample\\": \\"173326*******\\",\\n \\"NormalizationFieldReserved\\": true,\\n \\"NormalizationFieldFrom\\": \\"preset\\",\\n \\"NormalizationFieldTokenize\\": true,\\n \\"NormalizationFieldJsonIndexAll\\": true,\\n \\"NormalizationFieldJsonKeys\\": [\\n {\\n \\"NormalizationFieldName\\": \\"cloud_code\\",\\n \\"NormalizationFieldType\\": \\"varchar\\",\\n \\"NormalizationFieldRequired\\": true,\\n \\"NormalizationFieldDescription\\": \\"云code,枚举值:\\\\\\\\n<br>● alibaba_cloud\\\\\\\\n<br>● huawei_cloud\\\\\\\\n<br>● tencent_cloud\\",\\n \\"NormalizationFieldExample\\": \\"alibaba_cloud\\",\\n \\"NormalizationFieldFrom\\": \\"preset\\",\\n \\"NormalizationFieldTokenize\\": true,\\n \\"NormalizationFieldReserved\\": true,\\n \\"CreateTime\\": 1736386610000,\\n \\"UpdateTime\\": 1736386610000\\n }\\n ],\\n \\"CreateTime\\": 1736386610000,\\n \\"UpdateTime\\": 1736386610000,\\n \\"NormalizationFieldRequirement\\": true\\n }\\n ],\\n \\"TargetLogStore\\": \\"network-activity\\",\\n \\"TargetStoreView\\": \\"network_activity\\",\\n \\"NormalizationSchemaType\\": \\"log\\",\\n \\"UpdateTime\\": 1733269771123,\\n \\"CreateTime\\": 1733269771123,\\n \\"NormalizationSchemaReferences\\": [\\n {\\n \\"NormalizationRuleId\\": \\"alibaba_cloud_cfw_flow_rule\\"\\n }\\n ],\\n \\"NormalizationSchemaFrom\\": \\"preset\\",\\n \\"NormalizationSchemaDescription\\": \\"网络五元组日志\\"\\n }\\n}","type":"json"}]', + ], + 'GetNormalizationRuleVersion' => [ + 'summary' => '获取标准化规则指定版本信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + [ + 'name' => 'NormalizationRuleVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'NormalizationRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'predefined。', + ], + 'NormalizationRuleFormat' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SPL。', + ], + 'NormalizationRuleDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'integer', + 'example' => 'V1。', + 'format' => 'int32', + ], + 'NormalizationRuleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + 'NormalizationRuleStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'started。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud。', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + 'NormalizationRuleVersionName' => [ + 'type' => 'string', + ], + 'RegionId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRuleVersion\\": {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\",\\n \\"NormalizationRuleName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleType\\": \\"predefined\\",\\n \\"NormalizationRuleFormat\\": \\"SPL\\",\\n \\"NormalizationRuleDescription\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleVersion\\": 0,\\n \\"NormalizationRuleExpression\\": \\"* | pack-fields -include=\'[\\\\\\\\s\\\\\\\\S]+\' as extend_content\\",\\n \\"NormalizationRuleStatus\\": \\"started\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"VendorId\\": \\"alibaba_cloud\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\",\\n \\"NormalizationRuleVersionName\\": \\"v1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n}","type":"json"}]', + ], + 'DeleteNormalizationRuleVersion' => [ + 'summary' => '删除标准化规则版本', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + [ + 'name' => 'NormalizationRuleVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'SetDefaultNormalizationRuleVersion' => [ + 'summary' => '设置标准化规则默认版本', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'V1。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'NormalizationRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'predefined。', + ], + 'NormalizationRuleFormat' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SPL。', + ], + 'NormalizationRuleDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'integer', + 'example' => 'V1。', + 'format' => 'int32', + ], + 'NormalizationRuleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + 'NormalizationRuleStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'started。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud。', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRuleVersion\\": {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\",\\n \\"NormalizationRuleName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleType\\": \\"predefined\\",\\n \\"NormalizationRuleFormat\\": \\"SPL\\",\\n \\"NormalizationRuleDescription\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleVersion\\": 0,\\n \\"NormalizationRuleExpression\\": \\"* | pack-fields -include=\'[\\\\\\\\s\\\\\\\\S]+\' as extend_content\\",\\n \\"NormalizationRuleStatus\\": \\"started\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"VendorId\\": \\"alibaba_cloud\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\"\\n }\\n}","type":"json"}]', + ], + 'ListNormalizationRuleVersions' => [ + 'summary' => '获取标准化规则版本列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRuleVersions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'integer', + 'example' => 'V1。', + 'format' => 'int32', + ], + 'NormalizationRuleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRuleVersions\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\",\\n \\"NormalizationRuleVersion\\": 0,\\n \\"NormalizationRuleExpression\\": \\"* | pack-fields -include=\'[\\\\\\\\s\\\\\\\\S]+\' as extend_content\\"\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'ListNormalizationRules' => [ + 'summary' => '获取标准化规则列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'required' => false, + ], + ], + [ + 'name' => 'NormalizationRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'normalization_rule_Z57np。', + ], + ], + [ + 'name' => 'NormalizationRuleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'predefined。', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY。', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP_ACTIVITY。', + ], + ], + [ + 'name' => 'VendorId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud。', + ], + ], + [ + 'name' => 'ProductId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alibaba_cloud_sas。', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3。', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10。', + ], + ], + [ + 'name' => 'OrderField', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'UpdateTime。', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'desc。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123。', + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'NormalizationRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'predefined。', + ], + 'NormalizationRuleFormat' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SPL。', + ], + 'NormalizationRuleDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationRuleVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'V1。', + ], + 'NormalizationRuleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '* | pack-fields -include=\'[\\s\\S]+\' as extend_content。', + ], + 'NormalizationRuleStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'started。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'VendorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud。', + ], + 'ProductId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_sas。', + ], + 'NormalizationRuleReferences' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DataIngestionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alibaba_cloud_bot_flow_ingestion_173326*******。', + ], + ], + ], + ], + 'NormalizationRuleMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'both。', + ], + 'ExtendContentPacked' => [ + 'type' => 'string', + ], + 'ExtendFieldStoreMode' => [ + 'title' => '扩展字段存储模式,flat-原样接入,reject-不接入,pack-打包到extend_content字段。', + 'type' => 'string', + 'example' => 'flat', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5。', + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRules\\": [\\n {\\n \\"CreateTime\\": 1733269771123,\\n \\"UpdateTime\\": 1733269771123,\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\",\\n \\"NormalizationRuleName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleType\\": \\"predefined\\",\\n \\"NormalizationRuleFormat\\": \\"SPL\\",\\n \\"NormalizationRuleDescription\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationRuleVersion\\": \\"V1\\",\\n \\"NormalizationRuleExpression\\": \\"* | pack-fields -include=\'[\\\\\\\\s\\\\\\\\S]+\' as extend_content\\",\\n \\"NormalizationRuleStatus\\": \\"started\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"VendorId\\": \\"alibaba_cloud\\",\\n \\"ProductId\\": \\"alibaba_cloud_sas\\",\\n \\"NormalizationRuleReferences\\": [\\n {\\n \\"DataIngestionId\\": \\"alibaba_cloud_bot_flow_ingestion_173326*******\\"\\n }\\n ],\\n \\"NormalizationRuleMode\\": \\"both\\",\\n \\"ExtendContentPacked\\": \\"enabled\\",\\n \\"ExtendFieldStoreMode\\": \\"flat\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 2,\\n \\"TotalCount\\": 5,\\n \\"TotalPage\\": 1,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'ListNormalizationFields' => [ + 'summary' => '获取标准化日志所有字段', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'category。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationFields' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cloud_user。', + ], + 'NormalizationFieldType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'varchar。', + ], + 'NormalizationFieldRequired' => [ + 'title' => '标准字段key是否必填。', + 'type' => 'boolean', + ], + 'NormalizationFieldDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cloud_user。', + ], + 'NormalizationFieldExample' => [ + 'description' => '', + 'type' => 'string', + 'example' => '173326*******。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_SESSION_ACTIVITY。', + ], + 'NormalizationFieldReserved' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + 'NormalizationFieldFrom' => [ + 'title' => 'json类型的标准字段key来源。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => '标准字段是否分词。', + 'type' => 'boolean', + ], + 'NormalizationFieldJsonIndexAll' => [ + 'title' => 'json类型的标准字段是否针对所有key建立索引。', + 'type' => 'boolean', + ], + 'NormalizationFieldJsonKeys' => [ + 'title' => 'json类型的标准字段key列表。', + 'type' => 'array', + 'items' => [ + 'title' => 'json类型的标准字段key。', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => 'json类型的标准字段key名称。', + 'type' => 'string', + 'example' => 'alert_name', + ], + 'NormalizationFieldType' => [ + 'title' => 'json类型的标准字段key类型。', + 'type' => 'string', + 'example' => 'text', + ], + 'NormalizationFieldRequired' => [ + 'title' => 'json类型的标准字段key是否必填。', + 'type' => 'boolean', + ], + 'NormalizationFieldDescription' => [ + 'title' => 'json类型的标准字段key描述。', + 'type' => 'string', + 'example' => '告警等级', + ], + 'NormalizationFieldExample' => [ + 'title' => 'json类型的标准字段key示例。', + 'type' => 'string', + 'example' => '枚举值:1、2、3、4、5', + ], + 'NormalizationFieldFrom' => [ + 'title' => 'json类型的标准字段key来源。', + 'type' => 'string', + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => 'json类型的标准字段key是否分词。', + 'type' => 'boolean', + ], + 'NormalizationFieldReserved' => [ + 'title' => '是否是系统内置的标准字段key。', + 'type' => 'boolean', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + ], + ], + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'NormalizationFieldRequirement' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true。', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationFields\\": [\\n {\\n \\"NormalizationFieldName\\": \\"cloud_user\\",\\n \\"NormalizationFieldType\\": \\"varchar\\",\\n \\"NormalizationFieldRequired\\": true,\\n \\"NormalizationFieldDescription\\": \\"cloud_user\\",\\n \\"NormalizationFieldExample\\": \\"173326*******\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaId\\": \\"NETWORK_SESSION_ACTIVITY\\",\\n \\"NormalizationFieldReserved\\": true,\\n \\"NormalizationFieldFrom\\": \\"preset\\",\\n \\"NormalizationFieldTokenize\\": true,\\n \\"NormalizationFieldJsonIndexAll\\": true,\\n \\"NormalizationFieldJsonKeys\\": [\\n {\\n \\"NormalizationFieldName\\": \\"alert_level\\",\\n \\"NormalizationFieldType\\": \\"text\\",\\n \\"NormalizationFieldRequired\\": true,\\n \\"NormalizationFieldDescription\\": \\"alert_level\\",\\n \\"NormalizationFieldExample\\": \\"1\\",\\n \\"NormalizationFieldFrom\\": \\"preset\\",\\n \\"NormalizationFieldTokenize\\": true,\\n \\"NormalizationFieldReserved\\": true,\\n \\"CreateTime\\": 1736386610000,\\n \\"UpdateTime\\": 1736386610000\\n }\\n ],\\n \\"CreateTime\\": 1736386610000,\\n \\"UpdateTime\\": 1736386610000,\\n \\"NormalizationFieldRequirement\\": true\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'ListNormalizationCategories' => [ + 'summary' => '获取标准化目录', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationCategoryType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'entity。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationCategories' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'COMMON_CATEGORY。', + ], + 'NormalizationCategoryName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'COMMON_CATEGORY。', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationCategories\\": [\\n {\\n \\"NormalizationCategoryId\\": \\"COMMON_CATEGORY\\",\\n \\"NormalizationCategoryName\\": \\"COMMON_CATEGORY\\"\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'ListNormalizationRuleCapacities' => [ + 'summary' => '获取规则的安全能力', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + [ + 'name' => 'NormalizationRuleIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationRuleCapacities' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CapacityType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'detection_preset_rule。', + ], + 'Capacities' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_SESSION_ACTIVITY。', + ], + ], + 'NormalizationRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nr-z0b2ssjteut85uoh9nzp。', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1。', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3。', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationRuleCapacities\\": [\\n {\\n \\"CapacityType\\": \\"detection_preset_rule\\",\\n \\"Capacities\\": [\\n \\"NETWORK_SESSION_ACTIVITY\\"\\n ],\\n \\"NormalizationRuleId\\": \\"nr-z0b2ssjteut85uoh9nzp\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 57,\\n \\"TotalPage\\": 3,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'ListNormalizationSchemas' => [ + 'summary' => '获取标准化类目', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou。', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh。', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '173326*******。', + ], + ], + [ + 'name' => 'NormalizationSchemaType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'entity。', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY。', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '50。', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****。', + ], + 'NormalizationSchemas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'HTTP_ACTIVITY。', + ], + 'NormalizationSchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalization_rule_Z57np。', + ], + 'NormalizationCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY。', + ], + 'NormalizationSchemaTargetLogStore' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'network-activity。', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736386610000', + ], + 'NormalizationSchemaDescription' => [ + 'title' => '标准结构描述。', + 'type' => 'string', + 'example' => '网络五元组日志', + ], + 'NormalizationSchemaFrom' => [ + 'title' => '标准化结构来源:preset-预定义,custom-自定义。', + 'type' => 'string', + 'example' => 'preset', + ], + 'TargetLogStore' => [ + 'title' => '日志服务 LogStore。', + 'type' => 'string', + 'example' => 'network-activity', + ], + 'TargetStoreView' => [ + 'title' => '日志服务 StoreView。', + 'type' => 'string', + 'example' => 'network-activity', + ], + ], + ], + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50。', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****。', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57。', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"NormalizationSchemas\\": [\\n {\\n \\"NormalizationSchemaId\\": \\"HTTP_ACTIVITY\\",\\n \\"NormalizationSchemaName\\": \\"normalization_rule_Z57np\\",\\n \\"NormalizationCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"NormalizationSchemaTargetLogStore\\": \\"network-activity\\",\\n \\"CreateTime\\": 1736386610000,\\n \\"UpdateTime\\": 1736386610000,\\n \\"NormalizationSchemaDescription\\": \\"Network flow log\\",\\n \\"NormalizationSchemaFrom\\": \\"preset\\",\\n \\"TargetLogStore\\": \\"network-activity\\",\\n \\"TargetStoreView\\": \\"network-activity\\"\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\",\\n \\"TotalCount\\": 57\\n}","type":"json"}]', + ], + 'CreateDataSet' => [ + 'summary' => '创建数据集', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'lmftest', + 'maxLength' => 100, + ], + ], + [ + 'name' => 'DataSetDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lmftest contains ip list', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'DataSetFieldKeyName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ip', + ], + ], + [ + 'name' => 'DataSetFileName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cloudsiem-dataset/1358117679873357_17433*****.csv', + ], + ], + [ + 'name' => 'IpWhitelistRecognizers', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IpWhitelistRecognizerType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'waf_back_source_ip', + ], + 'AutoRecognizeStatus' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled', + ], + 'RecognizeScope' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'current_account', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'DataSetStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'DataSetType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + 'DataSetRecordStatistic' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NewDataSetRecordCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'DataSetId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dataset-qt0n8246gs9nackg****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\",\\n \\"DataSetRecordStatistic\\": {\\n \\"NewDataSetRecordCount\\": 6,\\n \\"DataSetId\\": \\"dataset-qt0n8246gs9nackg****\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateDataSet' => [ + 'summary' => '更新数据集', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dataset-10iy8mbifnb4gniv****', + ], + ], + [ + 'name' => 'DataSetDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lmftest desc', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'IpWhitelistRecognizers', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'IpWhitelistRecognizerType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cdn_back_source_ip', + ], + 'AutoRecognizeStatus' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled', + ], + 'RecognizeScope' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'current_account', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'DataSetName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DataSetFileName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DataSetStatus', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DE7E77A9-BFAD-5EAA-9B48-A96760E9DF0B', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE7E77A9-BFAD-5EAA-9B48-A96760E9DF0B\\"\\n}","type":"json"}]', + ], + 'DeleteDataSet' => [ + 'summary' => '删除数据集', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dataset-10iy8mbifnb4gniv****', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\"\\n}","type":"json"}]', + ], + 'ListDataSets' => [ + 'summary' => '获取数据集列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dataset-qt0n8246gs9nackg****', + ], + ], + [ + 'name' => 'DataSetName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lmftest', + ], + ], + [ + 'name' => 'DataSetStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'required' => false, + 'example' => '0', + 'format' => 'int32', + ], + ], + [ + 'name' => 'OrderFieldName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'GmtCreate', + ], + ], + [ + 'name' => 'OrderDirection', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'asc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'DataSetIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["dataset-1lz4nf2x08mklchy****"]', + ], + 'required' => false, + 'maxItems' => 50, + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + [ + 'name' => 'DataSetType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'custom', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '157CFBB5-B56F-566F-8991-B3C51799****', + ], + 'DataSets' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1713787368000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1713787368000', + ], + 'DataSetId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dataset-t8ha6p7k61rmniqw****', + ], + 'DataSetName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'lmftest', + ], + 'DataSetDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'lmftest desc', + ], + 'DataSetFieldNames' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["ip","region"]', + ], + 'DataSetFieldKeyName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ip', + ], + 'DataSetFileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cloudsiem-dataset/1358117679873357_174338773****.csv', + ], + 'DataSetStatus' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'DataSetReferences' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DataSetId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dataset-nhcrmjpx1zsorlaq****', + ], + 'DataSetReferenceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'playbook', + ], + 'DataSetReferenceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '456232', + ], + 'DataSetReferenceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'playbook_name', + ], + ], + ], + ], + 'DataSetType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'preset', + ], + 'IpWhitelistRecognizers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IpWhitelistRecognizerType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'waf_back_source_ip', + ], + 'AutoRecognizeStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled', + ], + 'RecognizeScope' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'current_account', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1713787368000', + ], + ], + ], + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"157CFBB5-B56F-566F-8991-B3C51799****\\",\\n \\"DataSets\\": [\\n {\\n \\"CreateTime\\": 1713787368000,\\n \\"UpdateTime\\": 1713787368000,\\n \\"DataSetId\\": \\"dataset-t8ha6p7k61rmniqw****\\",\\n \\"DataSetName\\": \\"lmftest\\",\\n \\"DataSetDescription\\": \\"lmftest desc\\",\\n \\"DataSetFieldNames\\": \\"[\\\\\\"ip\\\\\\",\\\\\\"region\\\\\\"]\\",\\n \\"DataSetFieldKeyName\\": \\"ip\\",\\n \\"DataSetFileName\\": \\"cloudsiem-dataset/1358117679873357_174338773****.csv\\",\\n \\"DataSetStatus\\": 1,\\n \\"DataSetReferences\\": [\\n {\\n \\"DataSetId\\": \\"dataset-nhcrmjpx1zsorlaq****\\",\\n \\"DataSetReferenceType\\": \\"playbook\\",\\n \\"DataSetReferenceId\\": \\"456232\\",\\n \\"DataSetReferenceName\\": \\"playbook_name\\"\\n }\\n ],\\n \\"DataSetType\\": \\"preset\\",\\n \\"IpWhitelistRecognizers\\": [\\n {\\n \\"IpWhitelistRecognizerType\\": \\"waf_back_source_ip\\",\\n \\"AutoRecognizeStatus\\": \\"enabled\\",\\n \\"RecognizeScope\\": \\"current_account\\",\\n \\"UpdateTime\\": 1713787368000\\n }\\n ]\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 57,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'UpdateDataSetRecord' => [ + 'summary' => '更新数据集记录', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dataset-10iy8mbifnb4gniv****', + ], + ], + [ + 'name' => 'DataSetRecords', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{\\"ip\\":\\"1.1.1.1\\",\\"userid\\":\\"1234\\",\\"name\\":\\"a12401\\"},'."\n" + .' {\\"ip\\":\\"2.2.2.2\\",\\"userid\\":\\"33333\\",\\"name\\":\\"a12401\\"}]', + ], + ], + [ + 'name' => 'DataSetFileName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cloudsiem-dataset/1358117679873357_174338773****.csv', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + 'DataSetRecordStatistic' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NewDataSetRecordCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + 'UpdateDataSetRecordCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\",\\n \\"DataSetRecordStatistic\\": {\\n \\"NewDataSetRecordCount\\": 12,\\n \\"UpdateDataSetRecordCount\\": 4\\n }\\n}","type":"json"}]', + ], + 'DeleteDataSetRecord' => [ + 'summary' => '删除数据集记录', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dataset-10iy8mbifnb4gniv****', + ], + ], + [ + 'name' => 'DataSetRecordIds', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '[1,2,3,4]', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'ListDataSetRecords' => [ + 'summary' => '获取数据集记录列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DataSetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dataset-nhcrmjpx1zsorlaq****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + 'DataSetRecords' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1658974643000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1658974643000', + ], + 'DataSetId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dataset-t8ha6p7k61rmniqw****', + ], + 'DataSetName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'lmftest', + ], + 'DataSetRecordId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '124566', + ], + 'DataSetRecordValues' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"ip":"10.0.*.*/8","region":"shanghai"}', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\",\\n \\"DataSetRecords\\": [\\n {\\n \\"CreateTime\\": 1658974643000,\\n \\"UpdateTime\\": 1658974643000,\\n \\"DataSetId\\": \\"dataset-t8ha6p7k61rmniqw****\\",\\n \\"DataSetName\\": \\"lmftest\\",\\n \\"DataSetRecordId\\": \\"124566\\",\\n \\"DataSetRecordValues\\": \\"{\\\\\\"ip\\\\\\":\\\\\\"10.0.*.*/8\\\\\\",\\\\\\"region\\\\\\":\\\\\\"shanghai\\\\\\"}\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 57,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'CreateDetectionRule' => [ + 'summary' => '创建检测规则', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DetectionRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dr-ha1i09ob3zmqrs85****', + 'maxLength' => 100, + ], + ], + [ + 'name' => 'DetectionRuleDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-123', + 'maxLength' => 2000, + ], + ], + [ + 'name' => 'DetectionRuleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'custom', + 'enum' => [ + 'custom', + ], + ], + ], + [ + 'name' => 'DetectionRuleStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'AlertType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'WebShell', + ], + ], + [ + 'name' => 'AlertLevel', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1', + 'enum' => [ + '1', + '2', + '3', + '4', + '5', + ], + ], + ], + [ + 'name' => 'AlertTacticId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TA0042', + ], + ], + [ + 'name' => 'AlertAttCk', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Discovery', + ], + ], + [ + 'name' => 'DetectionExpressionType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'sql' => 'sql', + 'playbook' => 'playbook', + ], + 'example' => 'sql', + 'enum' => [ + 'sql', + 'graphical', + 'playbook', + ], + ], + ], + [ + 'name' => 'DetectionExpressionContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*|set session mode=scan;SELECT * FROM log'."\n" + .'WHERE schema = \'PROCESS_START_ACTIVITY\''."\n" + .'AND ('."\n" + .' proc_path LIKE \'%/groups\''."\n" + .' OR ('."\n" + .' ('."\n" + .' proc_path LIKE \'%/cat\''."\n" + .' OR proc_path LIKE \'%/head\''."\n" + .' OR proc_path LIKE \'%/tail\''."\n" + .' OR proc_path LIKE \'%/more\''."\n" + .' )'."\n" + .' AND cmdline LIKE \'%/etc/group%\''."\n" + .' )'."\n" + .')'."\n", + ], + ], + [ + 'name' => 'LogCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY', + ], + ], + [ + 'name' => 'LogSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'API_RISK_ACTIVITY', + ], + ], + [ + 'name' => 'AlertSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ALERT_ACTIVITY', + ], + ], + [ + 'name' => 'ScheduleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'fixed_rate', + 'enum' => [ + 'fixed_rate', + 'cron', + ], + ], + ], + [ + 'name' => 'ScheduleExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0/5 * * * *', + ], + ], + [ + 'name' => 'ScheduleMaxRetries', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ScheduleBeginTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1733269771123', + ], + ], + [ + 'name' => 'ScheduleWindow', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5m', + ], + ], + [ + 'name' => 'ScheduleMaxTimeout', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + ], + ], + [ + 'name' => 'AlertThresholdPeriod', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5m', + ], + ], + [ + 'name' => 'AlertThresholdCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AlertThresholdGroup', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alert_type,ip', + ], + ], + [ + 'name' => 'IncidentAggregationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'window', + ], + ], + [ + 'name' => 'IncidentAggregationExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5m', + ], + ], + [ + 'name' => 'PlaybookUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'system_aliyun_clb_process_book', + ], + ], + [ + 'name' => 'PlaybookParameters', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "ip": {'."\n" + .' "ip": "124.23.*.*"'."\n" + .' }'."\n" + .'}', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'EntityMappings', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{\\"NormalizationSchemaId\\":\\"host\\",\\"NormalizationFieldMappings\\":[{\\"NormalizationFieldName\\":\\"uuid\\",\\"MappingFieldName\\":\\"host\\",\\"NormalizationFieldType\\":\\"varchar\\"}]}]', + ], + ], + [ + 'name' => 'DetectionRuleTemplateId', + 'in' => 'formData', + 'schema' => [ + 'title' => '检测规则模板ID。', + 'type' => 'string', + 'example' => 'cfw-out-ip_aegis-netstat', + ], + ], + [ + 'name' => 'DetectionRuleTemplateVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '检测规则模板版本。', + 'type' => 'string', + 'example' => 'v1.0.0', + ], + ], + [ + 'name' => 'AlertName', + 'in' => 'formData', + 'schema' => [ + 'title' => '告警名称,支持使用$$引用查询输出字段', + 'type' => 'string', + ], + ], + [ + 'name' => 'AlertDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '告警描述,支持使用$$引用查询输出字段', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5CC09D0C-1CD7-54BD-A853-DCB2D945****', + ], + 'DetectionRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-ha1i09ob3zmqrs85****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CC09D0C-1CD7-54BD-A853-DCB2D945****\\",\\n \\"DetectionRuleId\\": \\"dr-ha1i09ob3zmqrs85****\\"\\n}","type":"json"}]', + ], + 'UpdateDetectionRule' => [ + 'summary' => '更新检测规则', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DetectionRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'jndi-attack-success_http_dns', + ], + ], + [ + 'name' => 'DetectionRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CTDR Port Scan Behavior', + 'maxLength' => 100, + ], + ], + [ + 'name' => 'DetectionRuleDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Check the enumeration behavior of local system groups. An attacker may attempt to find the Local Systems group and its permission settings.', + 'maxLength' => 2000, + ], + ], + [ + 'name' => 'DetectionRuleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'custom', + 'enum' => [ + 'custom', + 'preset', + 'custom_template', + ], + ], + ], + [ + 'name' => 'DetectionRuleStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled', + 'enum' => [ + 'disabled', + 'enabled', + 'testing', + ], + ], + ], + [ + 'name' => 'AlertType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'siem_rule_type_alert_storm', + ], + ], + [ + 'name' => 'AlertLevel', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'AlertTacticId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TA0042', + ], + ], + [ + 'name' => 'AlertAttCk', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Discovery', + ], + ], + [ + 'name' => 'DetectionExpressionType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'sql', + ], + ], + [ + 'name' => 'DetectionExpressionContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*|set session mode=scan;SELECT * FROM log'."\n" + .'WHERE schema = \'PROCESS_START_ACTIVITY\''."\n" + .'AND ('."\n" + .' proc_path LIKE \'%/groups\''."\n" + .' OR ('."\n" + .' ('."\n" + .' proc_path LIKE \'%/cat\''."\n" + .' OR proc_path LIKE \'%/head\''."\n" + .' OR proc_path LIKE \'%/tail\''."\n" + .' OR proc_path LIKE \'%/more\''."\n" + .' )'."\n" + .' AND cmdline LIKE \'%/etc/group%\''."\n" + .' )'."\n" + .')', + ], + ], + [ + 'name' => 'LogCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY', + ], + ], + [ + 'name' => 'LogSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'API_RISK_ACTIVITY', + ], + ], + [ + 'name' => 'AlertSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ALERT_ACTIVITY', + ], + ], + [ + 'name' => 'ScheduleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'fixed_rate', + ], + ], + [ + 'name' => 'ScheduleExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1h', + ], + ], + [ + 'name' => 'ScheduleMaxRetries', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ScheduleBeginTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1733269771123', + ], + ], + [ + 'name' => 'ScheduleWindow', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5m', + ], + ], + [ + 'name' => 'ScheduleMaxTimeout', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + ], + ], + [ + 'name' => 'AlertThresholdPeriod', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '5m', + ], + ], + [ + 'name' => 'AlertThresholdCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AlertThresholdGroup', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'alert_type,ip', + ], + ], + [ + 'name' => 'IncidentAggregationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'window', + ], + ], + [ + 'name' => 'IncidentAggregationExpression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '60m', + ], + ], + [ + 'name' => 'PlaybookParameters', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "ip": {'."\n" + .' "ip": "124.23.*.*"'."\n" + .' }'."\n" + .'}', + ], + ], + [ + 'name' => 'PlaybookUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '31568394-7a86-487c-b8ec-b3f42b59****', + ], + ], + [ + 'name' => 'EntityMappings', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{\\"NormalizationSchemaId\\":\\"host\\",\\"NormalizationFieldMappings\\":[{\\"NormalizationFieldName\\":\\"uuid\\",\\"MappingFieldName\\":\\"host\\",\\"NormalizationFieldType\\":\\"varchar\\"}]}]', + ], + ], + [ + 'name' => 'AlertName', + 'in' => 'formData', + 'schema' => [ + 'title' => '告警名称,支持使用$$引用查询输出字段', + 'type' => 'string', + ], + ], + [ + 'name' => 'AlertDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '告警描述,支持使用$$引用查询输出字段', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B88A2D41-87B8-537E-A7D3-3416A39F****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B88A2D41-87B8-537E-A7D3-3416A39F****\\"\\n}","type":"json"}]', + ], + 'DeleteDetectionRule' => [ + 'summary' => '删除检测规则', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DetectionRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dr-53np4nguf5jmh1vc****', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\"\\n}","type":"json"}]', + ], + 'ListDetectionRules' => [ + 'summary' => '获取检测规则列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'DetectionRuleName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Detect Discovery Behavior for Local Systems Groups', + ], + ], + [ + 'name' => 'DetectionRuleId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-ppa85gfw69tgwkys****', + ], + ], + [ + 'name' => 'DetectionRuleIds', + 'in' => 'formData', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-ppa85gfw69tgwkys****'."\n", + ], + 'required' => false, + ], + ], + [ + 'name' => 'DetectionRuleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + ], + [ + 'name' => 'DetectionRuleStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'enabled', + ], + ], + [ + 'name' => 'AlertType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'siem_rule_type_alert_storm', + ], + ], + [ + 'name' => 'AlertLevel', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'AlertTacticId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TA0042', + ], + ], + [ + 'name' => 'AlertAttCk', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Discovery', + ], + ], + [ + 'name' => 'IncidentAggregationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'graph_compute', + ], + ], + [ + 'name' => 'LogCategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'NETWORK_CATEGORY', + ], + ], + [ + 'name' => 'LogSchemaId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'API_RISK_ACTIVITY', + ], + ], + [ + 'name' => 'DetectionExpressionType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'playbook', + ], + ], + [ + 'name' => 'OrderFieldName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'GmtModified', + ], + ], + [ + 'name' => 'OrderDirection', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'asc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '100', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '508DCFFD-4508-54BF-A8A0-E97A0FA6****', + ], + 'DetectionRules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2023-03-21 13:47:01', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2023-04-16 10:51:00', + ], + 'DetectionRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'jndi-attack-success_http_netstat', + ], + 'DetectionRuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Detect Discovery Behavior for Local Systems Groups'."\n", + ], + 'DetectionRuleDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Check the enumeration behavior of local system groups. An attacker may attempt to find the Local Systems group and its permission settings.', + ], + 'DetectionRuleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'custom', + ], + 'DetectionRuleStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'enabled', + ], + 'DetectionExpressionType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'playbook', + ], + 'DetectionExpressionContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '*|set session mode=scan;SELECT * FROM log'."\n" + .'WHERE schema = \'PROCESS_START_ACTIVITY\''."\n" + .'AND ('."\n" + .' proc_path LIKE \'%/groups\''."\n" + .' OR ('."\n" + .' ('."\n" + .' proc_path LIKE \'%/cat\''."\n" + .' OR proc_path LIKE \'%/head\''."\n" + .' OR proc_path LIKE \'%/tail\''."\n" + .' OR proc_path LIKE \'%/more\''."\n" + .' )'."\n" + .' AND cmdline LIKE \'%/etc/group%\''."\n" + .' )'."\n" + .')', + ], + 'LogCategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NETWORK_CATEGORY', + ], + 'LogSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'API_RISK_ACTIVITY', + ], + 'AlertSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ALERT_ACTIVITY', + ], + 'ScheduleType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'fixed_rate', + ], + 'ScheduleExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5m', + ], + 'ScheduleMaxRetries' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ScheduleBeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1733269771123', + ], + 'ScheduleWindow' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5m', + ], + 'ScheduleMaxTimeout' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'AlertType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'WebShell', + ], + 'AlertLevel' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'AlertTacticId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TA0042', + ], + 'AlertAttCk' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Discovery', + ], + 'AlertThresholdPeriod' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5m', + ], + 'AlertThresholdCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'AlertThresholdGroup' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'alert_type,ip', + ], + 'IncidentAggregationType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'passthrough', + ], + 'IncidentAggregationExpression' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5m', + ], + 'PlaybookUuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dde983ed-eb56-45ea-ac2e-3b12b2a9****', + ], + 'PlaybookParameters' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "ip": {'."\n" + .' "ip": "124.23.*.*"'."\n" + .' }'."\n" + .'}', + ], + 'Playbook' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Flow' => [ + 'description' => '', + 'type' => 'string', + 'example' => '['."\n" + .' {'."\n" + .' "id": "EndEvent_1fqpq4h",'."\n" + .' "zIndex": 1,'."\n" + .' "data": {'."\n" + .' "nodeType": "endEvent",'."\n" + .' "appType": "basic",'."\n" + .' "valueData": {'."\n" + ."\n" + .' },'."\n" + .' "icon": "icon-radio-off-full"'."\n" + .' },'."\n" + .' "position": {'."\n" + .' "x": 1369,'."\n" + .' "y": 174'."\n" + .' }'."\n" + .' }'."\n" + .']', + ], + 'Config' => [ + 'description' => '', + 'type' => 'string', + 'example' => '['."\n" + .' {'."\n" + .' "name": "expireDay",'."\n" + .' "dataType": "Integer",'."\n" + .' "required": true,'."\n" + .' "isArray": false,'."\n" + .' "example": "7",'."\n" + .' "description": "desc",'."\n" + .' "typeName": "Integer",'."\n" + .' "dataClass": "normal",'."\n" + .' "stanchDefaultValue": "7"'."\n" + .' }'."\n" + .']', + ], + ], + ], + 'EntityMappings' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ip', + ], + 'NormalizationFieldMappings' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'src_ip', + ], + 'MappingFieldName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ip', + ], + 'NormalizationFieldType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vachar', + ], + ], + ], + ], + ], + ], + ], + 'AlertName' => [ + 'type' => 'string', + ], + 'AlertDescription' => [ + 'type' => 'string', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"508DCFFD-4508-54BF-A8A0-E97A0FA6****\\",\\n \\"DetectionRules\\": [\\n {\\n \\"CreateTime\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"DetectionRuleId\\": \\"jndi-attack-success_http_netstat\\",\\n \\"DetectionRuleName\\": \\"Detect Discovery Behavior for Local Systems Groups\\\\n\\",\\n \\"DetectionRuleDescription\\": \\"Check the enumeration behavior of local system groups. An attacker may attempt to find the Local Systems group and its permission settings.\\",\\n \\"DetectionRuleType\\": \\"custom\\",\\n \\"DetectionRuleStatus\\": \\"enabled\\",\\n \\"DetectionExpressionType\\": \\"playbook\\",\\n \\"DetectionExpressionContent\\": \\"*|set session mode=scan;SELECT * FROM log\\\\nWHERE schema = \'PROCESS_START_ACTIVITY\'\\\\nAND (\\\\n proc_path LIKE \'%/groups\'\\\\n OR (\\\\n (\\\\n proc_path LIKE \'%/cat\'\\\\n OR proc_path LIKE \'%/head\'\\\\n OR proc_path LIKE \'%/tail\'\\\\n OR proc_path LIKE \'%/more\'\\\\n )\\\\n AND cmdline LIKE \'%/etc/group%\'\\\\n )\\\\n)\\",\\n \\"LogCategoryId\\": \\"NETWORK_CATEGORY\\",\\n \\"LogSchemaId\\": \\"API_RISK_ACTIVITY\\",\\n \\"AlertSchemaId\\": \\"ALERT_ACTIVITY\\",\\n \\"ScheduleType\\": \\"fixed_rate\\",\\n \\"ScheduleExpression\\": \\"5m\\",\\n \\"ScheduleMaxRetries\\": 1,\\n \\"ScheduleBeginTime\\": 1733269771123,\\n \\"ScheduleWindow\\": \\"5m\\",\\n \\"ScheduleMaxTimeout\\": 60,\\n \\"AlertType\\": \\"WebShell\\",\\n \\"AlertLevel\\": \\"1\\",\\n \\"AlertTacticId\\": \\"TA0042\\",\\n \\"AlertAttCk\\": \\"Discovery\\",\\n \\"AlertThresholdPeriod\\": \\"5m\\",\\n \\"AlertThresholdCount\\": 10,\\n \\"AlertThresholdGroup\\": \\"alert_type,ip\\",\\n \\"IncidentAggregationType\\": \\"passthrough\\",\\n \\"IncidentAggregationExpression\\": \\"5m\\",\\n \\"PlaybookUuid\\": \\"dde983ed-eb56-45ea-ac2e-3b12b2a9****\\",\\n \\"PlaybookParameters\\": \\"{\\\\n \\\\\\"ip\\\\\\": {\\\\n \\\\\\"ip\\\\\\": \\\\\\"124.23.*.*\\\\\\"\\\\n }\\\\n}\\",\\n \\"Playbook\\": {\\n \\"Flow\\": \\"[\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"EndEvent_1fqpq4h\\\\\\",\\\\n \\\\\\"zIndex\\\\\\": 1,\\\\n \\\\\\"data\\\\\\": {\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"endEvent\\\\\\",\\\\n \\\\\\"appType\\\\\\": \\\\\\"basic\\\\\\",\\\\n \\\\\\"valueData\\\\\\": {\\\\n\\\\n },\\\\n \\\\\\"icon\\\\\\": \\\\\\"icon-radio-off-full\\\\\\"\\\\n },\\\\n \\\\\\"position\\\\\\": {\\\\n \\\\\\"x\\\\\\": 1369,\\\\n \\\\\\"y\\\\\\": 174\\\\n }\\\\n }\\\\n]\\",\\n \\"Config\\": \\"[\\\\n {\\\\n \\\\\\"name\\\\\\": \\\\\\"expireDay\\\\\\",\\\\n \\\\\\"dataType\\\\\\": \\\\\\"Integer\\\\\\",\\\\n \\\\\\"required\\\\\\": true,\\\\n \\\\\\"isArray\\\\\\": false,\\\\n \\\\\\"example\\\\\\": \\\\\\"7\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"desc\\\\\\",\\\\n \\\\\\"typeName\\\\\\": \\\\\\"Integer\\\\\\",\\\\n \\\\\\"dataClass\\\\\\": \\\\\\"normal\\\\\\",\\\\n \\\\\\"stanchDefaultValue\\\\\\": \\\\\\"7\\\\\\"\\\\n }\\\\n]\\"\\n },\\n \\"EntityMappings\\": [\\n {\\n \\"NormalizationSchemaId\\": \\"ip\\",\\n \\"NormalizationFieldMappings\\": [\\n {\\n \\"NormalizationFieldName\\": \\"src_ip\\",\\n \\"MappingFieldName\\": \\"ip\\",\\n \\"NormalizationFieldType\\": \\"vachar\\"\\n }\\n ]\\n }\\n ],\\n \\"AlertName\\": \\"Detected high-frequency multi-type network attacks from $src_ip$\\",\\n \\"AlertDescription\\": \\"Alert from: $product_code$, detected network attack from $src_ip$, affected assets include: $dst_ip$\\"\\n }\\n ],\\n \\"PageNumber\\": 2,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 6,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'GetDetectionStatistic' => [ + 'summary' => '更新检测规则', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6FB890AC-90B2-5EEA-845B-F7C86FB2****', + ], + 'DetectionStatistic' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DetectionRuleOnlineCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'DetectionRuleTestCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'DetectionRuleTemplateCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'GraphComputeRuleCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + 'WindowRuleCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'PassthroughRuleCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FB890AC-90B2-5EEA-845B-F7C86FB2****\\",\\n \\"DetectionStatistic\\": {\\n \\"DetectionRuleOnlineCount\\": 10,\\n \\"DetectionRuleTestCount\\": 5,\\n \\"DetectionRuleTemplateCount\\": 20,\\n \\"GraphComputeRuleCount\\": 12,\\n \\"WindowRuleCount\\": 6,\\n \\"PassthroughRuleCount\\": 2\\n }\\n}","type":"json"}]', + ], + 'GetIncident' => [ + 'summary' => '获取事件列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'IncidentUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '85ea4241-798f-4684-a876-65d4f0c3****', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + 'Incident' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1757386075000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1757386075000', + ], + 'IncidentUuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '85ea4241-798f-4684-a876-65d4f0c3****', + ], + 'Owner' => [ + 'title' => '事件责任人', + 'type' => 'string', + 'example' => '1234567890xxxxxx', + ], + 'IncidentDescription' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Forti incident desc', + ], + 'IncidentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Forti', + ], + 'ThreatLevel' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2', + ], + 'IncidentAggregationType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'window', + ], + 'ThreatScore' => [ + 'description' => '', + 'type' => 'string', + 'example' => '90', + ], + 'DetectionRuleId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-fy2zvgiykjifbiim****', + ], + 'RelateAlertCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + 'RelateAssetCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'IncidentRemark' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Remark', + ], + 'AttckTactics' => [ + 'description' => '', + 'type' => 'any', + 'example' => '{'."\n" + .' "AttckTactics": ['."\n" + .' {'."\n" + .' "tacticName": "Reconnaissance",'."\n" + .' "alertNum": 0,'."\n" + .' "tacticId": "TA0040"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'IncidentTags' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["sys:data_source:waf"]', + ], + 'RelateDataSourceIds' => [ + 'description' => '', + 'type' => 'any', + 'example' => '["siem"]', + ], + 'RelateUserIds' => [ + 'description' => '', + 'type' => 'any', + 'example' => '["176618589410****","1130916744888****"]', + ], + 'IncidentStatus' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\",\\n \\"Incident\\": {\\n \\"CreateTime\\": 1757386075000,\\n \\"UpdateTime\\": 1757386075000,\\n \\"IncidentUuid\\": \\"85ea4241-798f-4684-a876-65d4f0c3****\\",\\n \\"Owner\\": \\"1234567890xxxxxx\\",\\n \\"IncidentDescription\\": \\"Forti incident desc\\",\\n \\"IncidentName\\": \\"Forti\\",\\n \\"ThreatLevel\\": \\"2\\",\\n \\"IncidentAggregationType\\": \\"window\\",\\n \\"ThreatScore\\": \\"90\\",\\n \\"DetectionRuleId\\": \\"dr-fy2zvgiykjifbiim****\\",\\n \\"RelateAlertCount\\": 23,\\n \\"RelateAssetCount\\": 2,\\n \\"IncidentRemark\\": \\"Remark\\",\\n \\"AttckTactics\\": \\"{\\\\n\\\\t\\\\\\"AttckTactics\\\\\\": [\\\\n\\\\t\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\\\"tacticName\\\\\\": \\\\\\"Reconnaissance\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"alertNum\\\\\\": 0,\\\\n\\\\t\\\\t\\\\t\\\\\\"tacticId\\\\\\": \\\\\\"TA0040\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t]\\\\n}\\",\\n \\"IncidentTags\\": \\"[\\\\\\"sys:data_source:waf\\\\\\"]\\",\\n \\"RelateDataSourceIds\\": \\"[\\\\\\"siem\\\\\\"]\\",\\n \\"RelateUserIds\\": \\"[\\\\\\"176618589410****\\\\\\",\\\\\\"1130916744888****\\\\\\"]\\",\\n \\"IncidentStatus\\": 0\\n }\\n}","type":"json"}]', + ], + 'ListIncidents' => [ + 'summary' => '获取事件列表', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'IncidentName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ECS unusual log in', + ], + ], + [ + 'name' => 'IncidentUuids', + 'in' => 'query', + 'style' => 'simple', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '85ea4241-798f-4684-a876-65d4f0c3****,90ea4241-798f-4684-a876-65d4f0c3****'."\n" + ."\n", + ], + 'required' => false, + ], + ], + [ + 'name' => 'IncidentStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'ThreatLevel', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'RelateAssetId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '6c740667-80b2-476d-8924-2e706feb****'."\n", + ], + ], + [ + 'name' => 'RelateEntityId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'IncidentTags', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[{\\"data_source\\":[\\"sas\\"]}]', + 'title' => '', + ], + ], + [ + 'name' => 'AlertUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'sas_71e24437d2797ce8fc59692905a4****', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1690102943000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1749090526055', + ], + ], + [ + 'name' => 'OrderFieldName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'GmtModified', + ], + ], + [ + 'name' => 'OrderDirection', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'RoleType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAASLVeIxed4466E0LVmGkzwS6hJKd9DGVGMDRM6Lu****', + ], + ], + [ + 'name' => 'Owners', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '事件责任人账号uid', + 'type' => 'array', + 'items' => [ + 'title' => '事件责任人账号uid', + 'type' => 'string', + 'example' => '1234567890xxxxxx', + ], + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'Incidents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IncidentName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ECS unusual log in', + ], + 'ThreatLevel' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2', + ], + 'IncidentStatus' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Owner' => [ + 'title' => '事件责任人账号uid'."\n", + 'type' => 'string', + 'example' => '1234567890xxxxxx', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1603248483000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1603248483000', + ], + 'RelateAssetCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'IncidentUuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dbb1d7211c9285c862aa89385098****', + ], + 'IncidentRemark' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'remark', + ], + 'RelateAlertCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'IncidentTags' => [ + 'title' => '事件标签。', + 'type' => 'string', + 'example' => '["sys:data_source:siem","sys:trigger_type:auto"]', + ], + 'DetectionRuleId' => [ + 'type' => 'string', + ], + ], + ], + ], + 'PageNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '57', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAUqcj6VO4E3ECWIrFczs****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"Incidents\\": [\\n {\\n \\"IncidentName\\": \\"ECS unusual log in\\",\\n \\"ThreatLevel\\": \\"2\\",\\n \\"IncidentStatus\\": 0,\\n \\"Owner\\": \\"1234567890xxxxxx\\",\\n \\"CreateTime\\": 1603248483000,\\n \\"UpdateTime\\": 1603248483000,\\n \\"RelateAssetCount\\": 4,\\n \\"IncidentUuid\\": \\"dbb1d7211c9285c862aa89385098****\\",\\n \\"IncidentRemark\\": \\"remark\\",\\n \\"RelateAlertCount\\": 3,\\n \\"IncidentTags\\": \\"[\\\\\\"sys:data_source:siem\\\\\\",\\\\\\"sys:trigger_type:auto\\\\\\"]\\",\\n \\"DetectionRuleId\\": \\"dr-qo5ww6ux0uc28*****\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 57,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"AAAAAUqcj6VO4E3ECWIrFczs****\\"\\n}","type":"json"}]', + ], + 'CreateExportTask' => [ + 'summary' => '创建导出任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'ExportTaskParameter', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "IncidentName": "name",'."\n" + .' "IncidentStatus": "1",'."\n" + .' "ThreatLevel":["1","2"],'."\n" + .' "IncidentUuids":"315EE627-39DC-560A-8DFD-CBF66AD9****"'."\n" + .'}', + ], + ], + [ + 'name' => 'ExportTaskType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'incident_list', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'event_1193842352994186_17344888****.xlsx', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '400151', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\",\\n \\"FileName\\": \\"event_1193842352994186_17344888****.xlsx\\",\\n \\"Id\\": 400151\\n}","type":"json"}]', + ], + 'GetExportTask' => [ + 'summary' => '获取导出任务进度', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsasASHGE7', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'ExportId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '200013', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9AAA9ED9-78F4-5021-86DC-D51C7511****', + ], + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'event_1193842352994186_17344888****.xlsx', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '400185', + ], + 'ExportType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'incident_list', + ], + 'ExportStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Progress' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '66', + ], + 'GmtCreate' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1605076118000', + ], + 'Link' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://cloud-siem-user-dataset.oss-cn-shanghai.aliyuncs.com/export_file/17661858******5/event_17661858******5_175748****.xlsx', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AAA9ED9-78F4-5021-86DC-D51C7511****\\",\\n \\"FileName\\": \\"event_1193842352994186_17344888****.xlsx\\",\\n \\"Id\\": 400185,\\n \\"ExportType\\": \\"incident_list\\",\\n \\"ExportStatus\\": \\"success\\",\\n \\"Progress\\": 66,\\n \\"GmtCreate\\": \\"1605076118000\\",\\n \\"Link\\": \\"https://cloud-siem-user-dataset.oss-cn-shanghai.aliyuncs.com/export_file/17661858******5/event_17661858******5_175748****.xlsx\\"\\n}","type":"json"}]', + ], + 'UpdateNormalizationSchema' => [ + 'summary' => '更新标准化结构', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'NormalizationSchemaType', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构类型,当前仅支持log。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'log', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'WAF_ALERT_ACTIVITY', + ], + ], + [ + 'name' => 'NormalizationSchemaName', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构名称。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ProcessQuery', + ], + ], + [ + 'name' => 'NormalizationSchemaDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ProcessQuery', + ], + ], + [ + 'name' => 'NormalizationFields', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => '标准化字段名。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cloud_user', + ], + 'NormalizationFieldType' => [ + 'title' => '标准字段类型,支持text、long、double、json四种类型。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'varchar', + ], + 'NormalizationFieldRequired' => [ + 'title' => '标准字段是否必填。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + ], + 'NormalizationFieldDescription' => [ + 'title' => '标准字段描述。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cloud_user', + ], + 'NormalizationFieldExample' => [ + 'title' => '标准字段示例', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '173326*******', + ], + 'NormalizationFieldFrom' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => '标准字段是否分词。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + ], + 'NormalizationFieldJsonIndexAll' => [ + 'title' => 'json类型的标准字段是否针对所有key建立索引。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + ], + 'NormalizationFieldJsonKeys' => [ + 'title' => 'json类型的标准字段key列表。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => 'json类型的标准字段key名称。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'alert_name', + ], + 'NormalizationFieldType' => [ + 'title' => 'json类型的标准字段key类型,支持text、long、double、json四种类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'text', + ], + 'NormalizationFieldRequired' => [ + 'title' => 'json类型的标准字段key是否必填。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + ], + 'NormalizationFieldDescription' => [ + 'title' => 'json类型的标准字段key描述。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'NormalizationFieldExample' => [ + 'title' => 'json类型的标准字段key示例。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'NormalizationFieldFrom' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + 'NormalizationFieldTokenize' => [ + 'title' => 'json类型的标准字段key是否分词。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求消息 ID。', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + 'CreateNormalizationSchema' => [ + 'summary' => '创建标准化结构', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsas5NAHBX', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + ], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '113091674488****', + ], + ], + [ + 'name' => 'NormalizationSchemaType', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构类型,当前仅支持log。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'log', + ], + ], + [ + 'name' => 'NormalizationSchemaId', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'PROCESS_QUERY_DNS_ACTIVITY', + ], + ], + [ + 'name' => 'NormalizationSchemaName', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构名称。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ProcessQuery', + ], + ], + [ + 'name' => 'NormalizationSchemaDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化结构描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ProcessQuery', + ], + ], + [ + 'name' => 'NormalizationCategoryId', + 'in' => 'formData', + 'schema' => [ + 'title' => '标准化分类ID。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'NETWORK_CATEGORY', + ], + ], + [ + 'name' => 'TargetLogStore', + 'in' => 'formData', + 'schema' => [ + 'title' => '日志服务 LogStore。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx-activity', + ], + ], + [ + 'name' => 'NormalizationFields', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => '标准化字段名。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cloud_user', + ], + 'NormalizationFieldType' => [ + 'title' => '标准字段类型,支持text、long、double、json四种类型。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'varchar', + ], + 'NormalizationFieldRequired' => [ + 'title' => '标准字段是否必填。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NormalizationFieldDescription' => [ + 'title' => '标准字段描述。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cloud_user', + ], + 'NormalizationFieldFrom' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + 'NormalizationFieldExample' => [ + 'title' => '标准字段示例', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '173326*******', + ], + 'NormalizationFieldTokenize' => [ + 'title' => '标准字段是否分词。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NormalizationFieldJsonIndexAll' => [ + 'title' => 'json类型的标准字段是否针对所有key建立索引。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NormalizationFieldJsonKeys' => [ + 'title' => 'json类型的标准字段key列表。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NormalizationFieldName' => [ + 'title' => 'json类型的标准字段key名称。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'alert_name', + ], + 'NormalizationFieldType' => [ + 'title' => 'json类型的标准字段key类型,支持text、long、double、json四种类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'text', + ], + 'NormalizationFieldRequired' => [ + 'title' => 'json类型的标准字段key是否必填。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NormalizationFieldDescription' => [ + 'title' => 'json类型的标准字段key描述。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'NormalizationFieldFrom' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'preset', + ], + 'NormalizationFieldExample' => [ + 'title' => 'json类型的标准字段key示例。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'NormalizationFieldTokenize' => [ + 'title' => 'json类型的标准字段key是否分词。', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + 'NormalizationFieldRequirement' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NormalizationFieldReserved' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求消息 ID。', + 'description' => '', + 'type' => 'string', + 'example' => '6276D891-*****-55B2-87B9-74D413F7****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6276D891-*****-55B2-87B9-74D413F7****\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'cloud-siem.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'cloud-siem.ap-southeast-1.aliyuncs.com', + ], + ], +]; |
