summaryrefslogtreecommitdiff
path: root/data/zh_cn/config/2020-09-07/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/config/2020-09-07/api-docs.php')
-rw-r--r--data/zh_cn/config/2020-09-07/api-docs.php28629
1 files changed, 6291 insertions, 22338 deletions
diff --git a/data/zh_cn/config/2020-09-07/api-docs.php b/data/zh_cn/config/2020-09-07/api-docs.php
index dd3ed45..4ec34a7 100644
--- a/data/zh_cn/config/2020-09-07/api-docs.php
+++ b/data/zh_cn/config/2020-09-07/api-docs.php
@@ -1,19 +1,9 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Config',
- 'version' => '2020-09-07',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Config', 'version' => '2020-09-07'],
'directories' => [
[
- 'children' => [
- 'CreateAggregator',
- 'UpdateAggregator',
- 'DeleteAggregators',
- 'ListAggregators',
- 'GetAggregator',
- ],
+ 'children' => ['CreateAggregator', 'UpdateAggregator', 'DeleteAggregators', 'ListAggregators', 'GetAggregator'],
'type' => 'directory',
'title' => '账号组',
'id' => 35241,
@@ -21,43 +11,13 @@
[
'children' => [
[
- 'children' => [
- 'ListDiscoveredResources',
- 'GetDiscoveredResource',
- 'ListResourceRelations',
- 'GetResourceConfigurationTimeline',
- 'GetResourceComplianceTimeline',
- 'ListResourcesByAdvancedSearch',
- 'CreateAdvancedSearchFile',
- 'GetAdvancedSearchFile',
- 'GenerateResourceInventory',
- 'GetResourceInventory',
- 'GetDiscoveredResourceCountsGroupByRegion',
- 'GetDiscoveredResourceCountsGroupByResourceType',
- 'GetResourceComplianceGroupByResourceType',
- 'GetResourceComplianceGroupByRegion',
- ],
+ 'children' => ['ListDiscoveredResources', 'GetDiscoveredResource', 'ListResourceRelations', 'GetResourceConfigurationTimeline', 'GetResourceComplianceTimeline', 'ListResourcesByAdvancedSearch', 'CreateAdvancedSearchFile', 'GetAdvancedSearchFile', 'GenerateResourceInventory', 'GetResourceInventory', 'GetDiscoveredResourceCountsGroupByRegion', 'GetDiscoveredResourceCountsGroupByResourceType', 'GetResourceComplianceGroupByResourceType', 'GetResourceComplianceGroupByRegion'],
'type' => 'directory',
'title' => '单账号',
'id' => 35100,
],
[
- 'children' => [
- 'ListAggregateDiscoveredResources',
- 'GetAggregateDiscoveredResource',
- 'ListAggregateResourceRelations',
- 'GetAggregateResourceConfigurationTimeline',
- 'GetAggregateResourceComplianceTimeline',
- 'ListAggregateResourcesByAdvancedSearch',
- 'CreateAggregateAdvancedSearchFile',
- 'GetAggregateAdvancedSearchFile',
- 'GenerateAggregateResourceInventory',
- 'GetAggregateResourceInventory',
- 'GetAggregateResourceCountsGroupByRegion',
- 'GetAggregateResourceCountsGroupByResourceType',
- 'GetAggregateResourceComplianceGroupByRegion',
- 'GetAggregateResourceComplianceGroupByResourceType',
- ],
+ 'children' => ['ListAggregateDiscoveredResources', 'GetAggregateDiscoveredResource', 'ListAggregateResourceRelations', 'GetAggregateResourceConfigurationTimeline', 'GetAggregateResourceComplianceTimeline', 'ListAggregateResourcesByAdvancedSearch', 'CreateAggregateAdvancedSearchFile', 'GetAggregateAdvancedSearchFile', 'GenerateAggregateResourceInventory', 'GetAggregateResourceInventory', 'GetAggregateResourceCountsGroupByRegion', 'GetAggregateResourceCountsGroupByResourceType', 'GetAggregateResourceComplianceGroupByRegion', 'GetAggregateResourceComplianceGroupByResourceType'],
'type' => 'directory',
'title' => '多账号',
'id' => 35084,
@@ -72,52 +32,13 @@
[
'children' => [
[
- 'children' => [
- 'CreateConfigRule',
- 'UpdateConfigRule',
- 'ListConfigRules',
- 'GetConfigRule',
- 'ListConfigRuleEvaluationResults',
- 'ListResourceEvaluationResults',
- 'DeleteConfigRules',
- 'DeactiveConfigRules',
- 'ActiveConfigRules',
- 'StartConfigRuleEvaluation',
- 'IgnoreEvaluationResults',
- 'RevertEvaluationResults',
- 'GenerateConfigRulesReport',
- 'GetConfigRulesReport',
- 'GetConfigRuleSummaryByRiskLevel',
- 'GetResourceComplianceByConfigRule',
- 'GetComplianceSummary',
- 'ListConfigRuleEvaluationStatistics',
- ],
+ 'children' => ['CreateConfigRule', 'UpdateConfigRule', 'ListConfigRules', 'GetConfigRule', 'ListConfigRuleEvaluationResults', 'ListResourceEvaluationResults', 'DeleteConfigRules', 'DeactiveConfigRules', 'ActiveConfigRules', 'StartConfigRuleEvaluation', 'IgnoreEvaluationResults', 'RevertEvaluationResults', 'GenerateConfigRulesReport', 'GetConfigRulesReport', 'GetConfigRuleSummaryByRiskLevel', 'GetResourceComplianceByConfigRule', 'GetComplianceSummary', 'ListConfigRuleEvaluationStatistics'],
'type' => 'directory',
'title' => '单账号',
'id' => 35176,
],
[
- 'children' => [
- 'CreateAggregateConfigRule',
- 'UpdateAggregateConfigRule',
- 'ListAggregateConfigRules',
- 'GetAggregateConfigRule',
- 'ListAggregateConfigRuleEvaluationResults',
- 'ListAggregateResourceEvaluationResults',
- 'DeleteAggregateConfigRules',
- 'DeactiveAggregateConfigRules',
- 'ActiveAggregateConfigRules',
- 'StartAggregateConfigRuleEvaluation',
- 'IgnoreAggregateEvaluationResults',
- 'RevertAggregateEvaluationResults',
- 'GenerateAggregateConfigRulesReport',
- 'GetAggregateConfigRulesReport',
- 'GetAggregateConfigRuleSummaryByRiskLevel',
- 'GetAggregateResourceComplianceByConfigRule',
- 'GetAggregateComplianceSummary',
- 'ListAggregateConfigRuleEvaluationStatistics',
- 'CopyConfigRules',
- ],
+ 'children' => ['CreateAggregateConfigRule', 'UpdateAggregateConfigRule', 'ListAggregateConfigRules', 'GetAggregateConfigRule', 'ListAggregateConfigRuleEvaluationResults', 'ListAggregateResourceEvaluationResults', 'DeleteAggregateConfigRules', 'DeactiveAggregateConfigRules', 'ActiveAggregateConfigRules', 'StartAggregateConfigRuleEvaluation', 'IgnoreAggregateEvaluationResults', 'RevertAggregateEvaluationResults', 'GenerateAggregateConfigRulesReport', 'GetAggregateConfigRulesReport', 'GetAggregateConfigRuleSummaryByRiskLevel', 'GetAggregateResourceComplianceByConfigRule', 'GetAggregateComplianceSummary', 'ListAggregateConfigRuleEvaluationStatistics', 'CopyConfigRules'],
'type' => 'directory',
'title' => '多账号',
'id' => 35137,
@@ -135,39 +56,13 @@
[
'children' => [
[
- 'children' => [
- 'CreateCompliancePack',
- 'UpdateCompliancePack',
- 'ListCompliancePacks',
- 'GetCompliancePack',
- 'DeleteCompliancePacks',
- 'GenerateCompliancePackReport',
- 'GetCompliancePackReport',
- 'GetConfigRuleComplianceByPack',
- 'GetResourceComplianceByPack',
- 'AttachConfigRuleToCompliancePack',
- 'DetachConfigRuleToCompliancePack',
- ],
+ 'children' => ['CreateCompliancePack', 'UpdateCompliancePack', 'ListCompliancePacks', 'GetCompliancePack', 'DeleteCompliancePacks', 'GenerateCompliancePackReport', 'GetCompliancePackReport', 'GetConfigRuleComplianceByPack', 'GetResourceComplianceByPack', 'AttachConfigRuleToCompliancePack', 'DetachConfigRuleToCompliancePack'],
'type' => 'directory',
'title' => '单账号',
'id' => 35213,
],
[
- 'children' => [
- 'CreateAggregateCompliancePack',
- 'UpdateAggregateCompliancePack',
- 'ListAggregateCompliancePacks',
- 'GetAggregateCompliancePack',
- 'DeleteAggregateCompliancePacks',
- 'GenerateAggregateCompliancePackReport',
- 'GetAggregateCompliancePackReport',
- 'GetAggregateResourceComplianceByPack',
- 'GetAggregateConfigRuleComplianceByPack',
- 'GetAggregateAccountComplianceByPack',
- 'AttachAggregateConfigRuleToCompliancePack',
- 'DetachAggregateConfigRuleToCompliancePack',
- 'CopyCompliancePacks',
- ],
+ 'children' => ['CreateAggregateCompliancePack', 'UpdateAggregateCompliancePack', 'ListAggregateCompliancePacks', 'GetAggregateCompliancePack', 'DeleteAggregateCompliancePacks', 'GenerateAggregateCompliancePackReport', 'GetAggregateCompliancePackReport', 'GetAggregateResourceComplianceByPack', 'GetAggregateConfigRuleComplianceByPack', 'GetAggregateAccountComplianceByPack', 'AttachAggregateConfigRuleToCompliancePack', 'DetachAggregateConfigRuleToCompliancePack', 'CopyCompliancePacks'],
'type' => 'directory',
'title' => '多账号',
'id' => 35199,
@@ -181,28 +76,13 @@
[
'children' => [
[
- 'children' => [
- 'CreateRemediation',
- 'UpdateRemediation',
- 'ListRemediations',
- 'DeleteRemediations',
- 'StartRemediation',
- 'ListRemediationExecutions',
- 'DescribeRemediation',
- ],
+ 'children' => ['CreateRemediation', 'UpdateRemediation', 'ListRemediations', 'DeleteRemediations', 'StartRemediation', 'ListRemediationExecutions', 'DescribeRemediation'],
'type' => 'directory',
'title' => '单账号',
'id' => 35064,
],
[
- 'children' => [
- 'CreateAggregateRemediation',
- 'UpdateAggregateRemediation',
- 'ListAggregateRemediations',
- 'DeleteAggregateRemediations',
- 'StartAggregateRemediation',
- 'ListAggregateRemediationExecutions',
- ],
+ 'children' => ['CreateAggregateRemediation', 'UpdateAggregateRemediation', 'ListAggregateRemediations', 'DeleteAggregateRemediations', 'StartAggregateRemediation', 'ListAggregateRemediationExecutions'],
'type' => 'directory',
'title' => '多账号',
'id' => 35057,
@@ -217,25 +97,13 @@
[
'children' => [
[
- 'children' => [
- 'CreateConfigDeliveryChannel',
- 'UpdateConfigDeliveryChannel',
- 'DeleteConfigDeliveryChannel',
- 'ListConfigDeliveryChannels',
- 'GetConfigDeliveryChannel',
- ],
+ 'children' => ['CreateConfigDeliveryChannel', 'UpdateConfigDeliveryChannel', 'DeleteConfigDeliveryChannel', 'ListConfigDeliveryChannels', 'GetConfigDeliveryChannel'],
'type' => 'directory',
'title' => '单账号',
'id' => 35233,
],
[
- 'children' => [
- 'CreateAggregateConfigDeliveryChannel',
- 'UpdateAggregateConfigDeliveryChannel',
- 'DeleteAggregateConfigDeliveryChannel',
- 'ListAggregateConfigDeliveryChannels',
- 'GetAggregateConfigDeliveryChannel',
- ],
+ 'children' => ['CreateAggregateConfigDeliveryChannel', 'UpdateAggregateConfigDeliveryChannel', 'DeleteAggregateConfigDeliveryChannel', 'ListAggregateConfigDeliveryChannels', 'GetAggregateConfigDeliveryChannel'],
'type' => 'directory',
'title' => '多账号',
'id' => 35227,
@@ -246,63 +114,25 @@
'id' => 35226,
],
[
- 'children' => [
- 'ListTagResources',
- 'TagResources',
- 'UntagResources',
- ],
- 'type' => 'directory',
- 'title' => '标签',
- 'id' => 35051,
- ],
- [
- 'children' => [
- 'GetIntegratedServiceStatus',
- 'UpdateIntegratedServiceStatus',
- 'ListIntegratedService',
- ],
+ 'children' => ['GetIntegratedServiceStatus', 'UpdateIntegratedServiceStatus', 'ListIntegratedService'],
'type' => 'directory',
'title' => '集成服务',
'id' => 35073,
],
[
- 'children' => [
- 'GetConfigurationRecorder',
- 'StartConfigurationRecorder',
- 'UpdateConfigurationRecorder',
- 'StopConfigurationRecorder',
- ],
+ 'children' => ['GetConfigurationRecorder', 'StartConfigurationRecorder', 'UpdateConfigurationRecorder', 'StopConfigurationRecorder'],
'type' => 'directory',
'title' => '服务设置',
'id' => 35077,
],
[
- 'children' => [
- 'CreateReportTemplate',
- 'GetReportTemplate',
- 'UpdateReportTemplate',
- 'ListReportTemplates',
- 'DeleteReportTemplate',
- 'GenerateReportFromTemplate',
- 'GetReportFromTemplate',
- 'TriggerReportSend',
- ],
+ 'children' => ['CreateReportTemplate', 'GetReportTemplate', 'UpdateReportTemplate', 'ListReportTemplates', 'DeleteReportTemplate', 'GenerateReportFromTemplate', 'GetReportFromTemplate', 'TriggerReportSend'],
'type' => 'directory',
'title' => '报告模版',
'id' => 391147,
],
[
- 'children' => [
- 'DryRunConfigRule',
- 'DescribeDiscoveredResourceBatch',
- 'DescribeIntegratedServiceStatus',
- 'GetResourceConfigurationSample',
- 'GetResourceTypeProperties',
- 'ListAggregateRecommendManagedRules',
- 'ListConfigRuleOperators',
- 'ListRecommendManagedRules',
- 'StartConfigRuleEvaluationByResource',
- ],
+ 'children' => ['DryRunConfigRule', 'DescribeDiscoveredResourceBatch', 'DescribeIntegratedServiceStatus', 'GetResourceConfigurationSample', 'GetResourceTypeProperties', 'ListAggregateRecommendManagedRules', 'ListConfigRuleOperators', 'ListRecommendManagedRules', 'StartConfigRuleEvaluationByResource', 'ListTagResources', 'TagResources', 'UntagResources'],
'type' => 'directory',
'title' => '其他',
'id' => 75465,
@@ -314,14 +144,8 @@
'apis' => [
'ActiveAggregateConfigRules' => [
'summary' => '启用指定账号组内的规则。启用规则后,规则继续按照触发机制自动对资源进行评估。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -333,9 +157,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -343,38 +165,21 @@
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-5772ba41209e007b****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-5772ba41209e007b****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
],
'responses' => [
@@ -383,11 +188,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'OperateRuleResult' => [
'description' => '启用规则的操作结果。',
'type' => 'object',
@@ -399,30 +200,18 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您启用规则成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您启用规则失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。',
- 'type' => 'string',
- 'example' => 'ConfigRuleNotExists',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-5772ba41209e007b****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您启用规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您启用规则失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。', 'type' => 'string', 'example' => 'ConfigRuleNotExists'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-5772ba41209e007b****'],
],
],
],
@@ -434,52 +223,22 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleStatusNotInActive',
- 'errorMessage' => 'The status of the config rule is not inactive.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleStatusNotInActive', 'errorMessage' => 'The status of the config rule is not inactive.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ActiveAggregateConfigRulesResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode>ConfigRuleNotExists</ErrorCode>\\n <Success>false</Success>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</ActiveAggregateConfigRulesResponse>","errorExample":""}]',
'title' => '启用账号组规则',
'description' => '### 前提条件'."\n"
@@ -496,12 +255,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -509,13 +263,8 @@
],
'ActiveConfigRules' => [
'summary' => '启用规则后,规则继续按照触发机制自动对资源进行评估。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -527,9 +276,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -537,23 +284,12 @@
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间以英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-2da35180a8d1008e**** ',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间以英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-2da35180a8d1008e**** '],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
],
'responses' => [
@@ -561,11 +297,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2'],
'OperateRuleResult' => [
'description' => '启用规则的结果。',
'type' => 'object',
@@ -576,28 +308,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您启用规则成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您启用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://next.api.aliyun.com/document/Config/2020-09-07/errorCode)。',
- 'type' => 'string',
- 'example' => 'ConfigRuleStatusNotInActive',
- ],
- 'Success' => [
- 'description' => '启用规则是否成功。取值:'."\n"
- ."\n"
- .'- true:成功'."\n"
- .'- false:失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-2da35180a8d1008e**** ',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您启用规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您启用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://next.api.aliyun.com/document/Config/2020-09-07/errorCode)。', 'type' => 'string', 'example' => 'ConfigRuleStatusNotInActive'],
+ 'Success' => ['description' => '启用规则是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功'."\n"
+ .'- false:失败', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-2da35180a8d1008e**** '],
],
],
],
@@ -609,33 +329,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleStatusNotInActive',
- 'errorMessage' => 'The status of the config rule is not inactive.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleStatusNotInActive', 'errorMessage' => 'The status of the config rule is not inactive.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"61C1A88F-D163-40DF-84A6-F200229F37B2\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotInActive\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\\\t\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '启用规则',
'description' => '### 前提条件'."\n"
@@ -649,12 +351,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -662,14 +359,8 @@
],
'AttachAggregateConfigRuleToCompliancePack' => [
'summary' => '将指定账号组规则加入指定账号组合规包。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -681,47 +372,29 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-a124626622af00e7****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a124626622af00e7****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cp-0453626622af0020****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-0453626622af0020****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-75b4626622af00c3****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-75b4626622af00c3****'],
],
],
'responses' => [
@@ -729,11 +402,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3'],
'OperateRuleResult' => [
'description' => '规则加入合规包的操作结果。',
'type' => 'object',
@@ -744,31 +413,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当规则加入合规包操作成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleNotExists',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-a124626622af00e7****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当规则加入合规包操作成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleNotExists'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a124626622af00e7****'],
],
],
],
@@ -780,30 +437,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-a124626622af00e7****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AttachAggregateConfigRuleToCompliancePackResponse>\\n <RequestId>DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode/>\\n <Success>true</Success>\\n <ConfigRuleId>cr-a124626622af00e7****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</AttachAggregateConfigRuleToCompliancePackResponse>","errorExample":""}]',
@@ -819,12 +460,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -832,14 +468,8 @@
],
'AttachConfigRuleToCompliancePack' => [
'summary' => '将指定规则加入指定合规包。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -851,35 +481,22 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-6cc4626622af00e7****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6cc4626622af00e7****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cp-5bb1626622af00bd****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****'],
],
],
'responses' => [
@@ -887,11 +504,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A'],
'OperateRuleResult' => [
'description' => '规则加入合规包的操作结果。',
'type' => 'object',
@@ -902,31 +515,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当规则加入合规包操作成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleNotExists',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-6cc4626622af00e7****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当规则加入合规包操作成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleNotExists'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6cc4626622af00e7****'],
],
],
],
@@ -938,30 +539,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-6cc4626622af00e7****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AttachConfigRuleToCompliancePackResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB12A</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode/>\\n <Success>true</Success>\\n <ConfigRuleId>cr-6cc4626622af00e7****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</AttachConfigRuleToCompliancePackResponse>","errorExample":""}]',
@@ -977,12 +562,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -990,13 +570,8 @@
],
'CopyCompliancePacks' => [
'summary' => '管理账号或配置审计委派管理员可以将一个账号组中的合规包复制到另外一个账号组中,高效地管理多个账号组内成员的规则集。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1008,48 +583,29 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'SrcCompliancePackIds',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID列表。多个合规包ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-4c02626622af0050****,cp-47c1626622af0050****',
- ],
+ 'schema' => ['description' => '合规包ID列表。多个合规包ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-4c02626622af0050****,cp-47c1626622af0050****'],
],
[
'name' => 'SrcAggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '待复制合规包所属账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'ca-05e6626622af0050****',
- ],
+ 'schema' => ['description' => '待复制合规包所属账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ca-05e6626622af0050****'],
],
[
'name' => 'DesAggregatorIds',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包复制到的账号组ID列表。多个账号组ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 该值为空,表示复制到当前账号组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ca-c73c626622af00f8****',
- ],
+ 'schema' => ['description' => '合规包复制到的账号组ID列表。多个账号组ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 该值为空,表示复制到当前账号组。', 'type' => 'string', 'required' => false, 'example' => 'ca-c73c626622af00f8****'],
],
],
'responses' => [
@@ -1057,29 +613,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9E1E69DE-BDED-581E-B559-0C15690901D0',
- ],
- 'CopyRulesResult' => [
- 'description' => '合规包的复制结果。取值:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9E1E69DE-BDED-581E-B559-0C15690901D0'],
+ 'CopyRulesResult' => ['description' => '合规包的复制结果。取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CompliancePackCopyLimit',
- 'errorMessage' => 'The number of replication compliance packages must be less than 10.',
- 'description' => '',
- ],
+ ['errorCode' => 'CompliancePackCopyLimit', 'errorMessage' => 'The number of replication compliance packages must be less than 10.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9E1E69DE-BDED-581E-B559-0C15690901D0\\",\\n \\"CopyRulesResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<CopyCompliancePacksResponse>\\n <RequestId>9E1E69DE-BDED-581E-B559-0C15690901D0</RequestId>\\n <CopyRulesResult>true</CopyRulesResult>\\n</CopyCompliancePacksResponse>","errorExample":""}]',
@@ -1094,12 +638,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1107,13 +646,8 @@
],
'CopyConfigRules' => [
'summary' => '将一个账号组中的规则复制到另外一个账号组中。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1125,47 +659,28 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
],
'parameters' => [
[
'name' => 'SrcConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID列表。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-4b57626622af0065****,cr-47c1626622af0050****',
- ],
+ 'schema' => ['description' => '规则ID列表。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4b57626622af0065****,cr-47c1626622af0050****'],
],
[
'name' => 'SrcAggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '待复制规则所属账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'ca-24db626622af0060****',
- ],
+ 'schema' => ['description' => '待复制规则所属账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ca-24db626622af0060****'],
],
[
'name' => 'DesAggregatorIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则复制到的账号组ID。多个账号组ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 该值为空,表示将规则复制到当前账号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ca-4b4e626622af005d****',
- ],
+ 'schema' => ['description' => '规则复制到的账号组ID。多个账号组ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 该值为空,表示将规则复制到当前账号。', 'type' => 'string', 'required' => false, 'example' => 'ca-4b4e626622af005d****'],
],
],
'responses' => [
@@ -1173,29 +688,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '7BD81ECF-3194-5A6B-8719-9FC283167AD4',
- ],
- 'CopyRulesResult' => [
- 'description' => '规则的复制结果。取值:'."\n"
- .'- true:成功。'."\n"
- .'- fasle:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7BD81ECF-3194-5A6B-8719-9FC283167AD4'],
+ 'CopyRulesResult' => ['description' => '规则的复制结果。取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- fasle:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleCopyLimit',
- 'errorMessage' => 'The number of replication config rule must be less than 100.',
- 'description' => '',
- ],
+ ['errorCode' => 'ConfigRuleCopyLimit', 'errorMessage' => 'The number of replication config rule must be less than 100.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7BD81ECF-3194-5A6B-8719-9FC283167AD4\\",\\n \\"CopyRulesResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<CopyConfigRulesResponse>\\n <RequestId>7BD81ECF-3194-5A6B-8719-9FC283167AD4</RequestId>\\n <CopyRulesResult>true</CopyRulesResult>\\n</CopyConfigRulesResponse>","errorExample":""}]',
@@ -1210,12 +713,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1223,14 +721,8 @@
],
'CreateAdvancedSearchFile' => [
'summary' => '为当前账号创建资源高级搜索下载文件。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1242,21 +734,14 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQ01U20',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQ01U20'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Sql',
'in' => 'query',
- 'schema' => [
- 'description' => '资源高级搜索SQL语句。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'',
- ],
+ 'schema' => ['description' => '资源高级搜索SQL语句。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\''],
],
],
'responses' => [
@@ -1264,22 +749,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D231366D-E2AD-559E-9C29-58FF7F4B1F5D\\"\\n}","type":"json"}]',
@@ -1293,26 +770,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateAggregateAdvancedSearchFile' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1324,33 +790,21 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Sql',
'in' => 'query',
- 'schema' => [
- 'description' => '高级搜索SQL语句。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'',
- ],
+ 'schema' => ['description' => '高级搜索SQL语句。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\''],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-edd3626622af00b3****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****'],
],
],
'responses' => [
@@ -1358,11 +812,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '5F290373-2BE6-534B-8724-A33F1116958B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5F290373-2BE6-534B-8724-A33F1116958B'],
],
'description' => '',
],
@@ -1370,11 +820,7 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'title' => '为目标账号组创建资源高级搜索下载文件',
@@ -1383,12 +829,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateAdvancedSearchFile',
- ],
+ ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateAdvancedSearchFile'],
],
],
'ramActions' => [
@@ -1399,12 +840,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1412,14 +848,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F290373-2BE6-534B-8724-A33F1116958B\\"\\n}","type":"json"}]',
],
'CreateAggregateCompliancePack' => [
- 'summary' => '为指定账号组创建合规包。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1431,46 +861,26 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'CompliancePackTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包模板ID。'."\n"
- ."\n"
- .'关于如何获取合规包模板ID,请参见[ListCompliancePackTemplates](~~261176~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
+ 'schema' => ['description' => '合规包模板ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包模板ID,请参见[ListCompliancePackTemplates](~~261176~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'ct-5f26ff4e06a300c4****'],
],
[
'name' => 'CompliancePackName',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '等保三级预检合规包',
- 'maxLength' => 100,
- ],
+ 'schema' => ['description' => '合规包名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '等保三级预检合规包', 'maxLength' => 100],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '基于等保三级的部分要求,对阿里云上资源的合规性做检测。',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '基于等保三级的部分要求,对阿里云上资源的合规性做检测。', 'maxLength' => 500],
],
[
'name' => 'RiskLevel',
@@ -1488,26 +898,16 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '2',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'ConfigRules',
@@ -1522,21 +922,10 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性IP实例带宽满足最低要求',
- 'maxLength' => 100,
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => '弹性IP实例带宽满足最低要求', 'maxLength' => 100],
'ConfigRuleParameters' => [
'description' => '规则参数信息。',
'type' => 'array',
@@ -1544,52 +933,26 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ParameterName' => [
- 'description' => '规则参数名称。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'ParameterName' => ['description' => '规则参数名称。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
'required' => false,
],
'required' => false,
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-e918626622af000f****',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -1599,167 +962,111 @@
[
'name' => 'TemplateContent',
'in' => 'formData',
- 'schema' => [
- 'description' => '用于生成合规包的模板信息。模板内容可以从已有合规包详情API中查看,或者参考[编写配置化合规包模板](~~2659733~~)进行编写。'."\n"
- ."\n"
- .'> 本参数和`TemplateContent`必须设置其中一个。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "configRuleTemplates": ['."\n"
- .' {'."\n"
- .' "configRuleName": "自定义条件规则示例",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::ECS::Instance"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "",'."\n"
- .' "source": {'."\n"
- .' "owner": "CUSTOM_CONFIGURATION",'."\n"
- .' "identifier": "acs-config-configuration",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ScheduledNotification",'."\n"
- .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
- .' },'."\n"
- .' "inputParameters": {}'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::OSS::Bucket"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
- .' "source": {'."\n"
- .' "owner": "ALIYUN",'."\n"
- .' "identifier": "oss-bucket-referer-limit",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "inputParameters": {'."\n"
- .' "allowEmptyReferer": "true",'."\n"
- .' "allowReferers": "http://www.aliyun.com"'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- 'maxLength' => 1024000,
- ],
+ 'schema' => ['description' => '用于生成合规包的模板信息。模板内容可以从已有合规包详情API中查看,或者参考[编写配置化合规包模板](~~2659733~~)进行编写。'."\n"
+ ."\n"
+ .'> 本参数和`TemplateContent`必须设置其中一个。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "configRuleTemplates": ['."\n"
+ .' {'."\n"
+ .' "configRuleName": "自定义条件规则示例",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::ECS::Instance"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "CUSTOM_CONFIGURATION",'."\n"
+ .' "identifier": "acs-config-configuration",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ScheduledNotification",'."\n"
+ .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
+ .' },'."\n"
+ .' "inputParameters": {}'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::OSS::Bucket"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "ALIYUN",'."\n"
+ .' "identifier": "oss-bucket-referer-limit",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "inputParameters": {'."\n"
+ .' "allowEmptyReferer": "true",'."\n"
+ .' "allowReferers": "http://www.aliyun.com"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}', 'maxLength' => 1024000],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'DefaultEnable',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则是否支持快速启用。取值:'."\n"
- .'- true:合规包快捷启用时会开启该规则。'."\n"
- .'- false(默认值):不启用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '规则是否支持快速启用。取值:'."\n"
+ .'- true:合规包快捷启用时会开启该规则。'."\n"
+ .'- false(默认值):不启用。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '合规包对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-8vbf3x310fn56ijfd****',
- ],
+ 'schema' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
- .'> TagValueScope需结合TagKeyScope一起使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
+ .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagsScope',
@@ -1771,18 +1078,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '资源的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tagKey1',
- ],
- 'TagValue' => [
- 'description' => '资源的标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tagValue1',
- ],
+ 'TagKey' => ['description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'tagKey1'],
+ 'TagValue' => ['description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'tagValue1'],
],
'required' => false,
'description' => '',
@@ -1801,18 +1098,8 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '资源的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4',
- ],
- 'TagValue' => [
- 'description' => '资源的标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'user',
- ],
+ 'TagKey' => ['description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => '4'],
+ 'TagValue' => ['description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'user'],
],
'required' => false,
],
@@ -1834,22 +1121,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -1864,89 +1141,36 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fc56626622af00f9****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fc56626622af00f9****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CompliancePackExists',
- 'errorMessage' => 'The compliance pack already exists.',
- 'description' => '合规包名称重复。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'CompliancePackExceedMaxCount',
- 'errorMessage' => 'The maximum number of compliance pack is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackName.Value',
- 'errorMessage' => 'The specified CompliancePackName is invalid.',
- 'description' => '合规包名称格式不符合要求。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackTemplateId.Value',
- 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.',
- 'description' => '合规包模板ID不存在。',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Empty',
- 'errorMessage' => 'You must specify ConfigRules.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Value',
- 'errorMessage' => 'The specified ConfigRules is invalid.',
- 'description' => '合规包规则中参数输入错误。',
- ],
- [
- 'errorCode' => 'ConfigRuleExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of config rules is exceeded.',
- 'description' => '',
- ],
+ ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => '合规包名称重复。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackName.Value', 'errorMessage' => 'The specified CompliancePackName is invalid.', 'description' => '合规包名称格式不符合要求。'],
+ ['errorCode' => 'Invalid.CompliancePackTemplateId.Value', 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', 'description' => '合规包模板ID不存在。'],
+ ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => '合规包规则中参数输入错误。'],
+ ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建账号组合规包',
+ 'summary' => '为指定账号组创建合规包。',
'description' => '合规包是一组规则的集合。新建合规包时,您可以选择合规包模板中的默认规则,也可以选择规则模板和已有规则列表中的规则。 '."\n"
."\n"
.'新建合规包后,这些规则默认会执行一次评估,后续将根据规则的触发机制自动触发评估,也可以手动执行评估。'."\n"
@@ -1958,12 +1182,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateCompliancePack',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateCompliancePack'],
],
],
'ramActions' => [
@@ -1974,12 +1193,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'],
],
],
],
@@ -1987,14 +1201,8 @@
'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-fc56626622af00f9****\\",\\n \\"RequestId\\": \\"CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateCompliancePackResponse>\\n\\t<CompliancePackId>cp-fc56626622af00f9****</CompliancePackId>\\n\\t<RequestId>CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F</RequestId>\\n</CreateAggregateCompliancePackResponse>","errorExample":""}]',
],
'CreateAggregateConfigDeliveryChannel' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2006,36 +1214,23 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigL91U0A',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigL91U0A'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。'."\n"
- ."\n"
- .'> 如果未设置该参数,默认为空。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'testoss',
- ],
+ 'schema' => ['description' => '投递渠道名称。'."\n"
+ ."\n"
+ .'> 如果未设置该参数,默认为空。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss'],
],
[
'name' => 'DeliveryChannelType',
@@ -2049,177 +1244,117 @@
'required' => true,
'docRequired' => true,
'example' => 'OSS',
- 'enum' => [
- 'OSS',
- 'MNS',
- 'SLS',
- ],
+ 'enum' => ['OSS', 'MNS', 'SLS'],
],
],
[
'name' => 'DeliveryChannelTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道目标地址的ARN。取值:'."\n"
- ."\n"
- .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
- ."\n"
- .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
- ."\n"
- .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '投递渠道目标地址的ARN。取值:'."\n"
+ ."\n"
+ .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
+ ."\n"
+ .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
+ ."\n"
+ .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'DeliveryChannelCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
+ 'schema' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
],
[
'name' => 'OversizedDataOSSTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
- ."\n"
- .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
+ ."\n"
+ .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'My OSS delivery.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
- ."\n"
- .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
+ ."\n"
+ .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'ConfigurationSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false(默认值):不接收资源定时快照。'."\n"
- ."\n"
- .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false(默认值):不接收资源定时快照。'."\n"
+ ."\n"
+ .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
],
[
'name' => 'CompliantSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'ConfigurationItemChangeNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false(默认值):不接收资源配置变更历史。'."\n"
- ."\n"
- .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。'."\n"
- ."\n"
- .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false(默认值):不接收资源配置变更历史。'."\n"
+ ."\n"
+ .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。'."\n"
+ ."\n"
+ .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'NonCompliantNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false(默认值):不接收资源不合规事件。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。'."\n"
- ."\n"
- .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false(默认值):不接收资源不合规事件。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少三选一。'."\n"
+ ."\n"
+ .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'DeliverySnapshotTime',
'in' => 'query',
- 'schema' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。'."\n"
- ."\n"
- .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:10Z',
- ],
+ 'schema' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。'."\n"
+ ."\n"
+ .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z'],
],
],
'responses' => [
@@ -2228,74 +1363,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '投递渠道不存在。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '参数DeliveryChannelTargetArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '参数DeliveryChannelCondition格式错误。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '暂不支持非资源目录内的跨账号投递。',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => 'MNS Topic尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => 'OSS Bucket尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。'],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => '参数DeliveryChannelTargetArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => '参数DeliveryChannelCondition格式错误。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => '暂不支持非资源目录内的跨账号投递。'],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'MNS Topic尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'OSS Bucket尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'title' => '为指定账号组创建投递渠道',
@@ -2323,12 +1410,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateAggregateConfigDeliveryChannel',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggregateConfigDeliveryChannel'],
],
],
'ramActions' => [
@@ -2339,12 +1421,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'],
],
],
],
@@ -2352,13 +1429,9 @@
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateConfigDeliveryChannelResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG</RequestId>\\n <DeliveryChannelId>cdc-8e45ff4e06a3a8****</DeliveryChannelId>\\n</CreateAggregateConfigDeliveryChannelResponse>","errorExample":""}]',
],
'CreateAggregateConfigRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '为指定账号组基于模板创建规则或基于函数计算创建自定义规则,通过规则检测资源的合规性。新建规则后,规则会自动执行一次评估,后续配置审计将根据规则的触发机制自动触发评估,您也可以手动执行评估。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2370,9 +1443,7 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -2380,50 +1451,28 @@
[
'name' => 'ConfigRuleName',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '存在所有指定标签',
- ],
+ 'schema' => ['description' => '规则名称。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '存在所有指定标签'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
- ],
+ 'schema' => ['description' => '规则描述。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。'],
],
[
'name' => 'InputParameters',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '规则参数。'."\n"
- ."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"tag1Key":"ECS","tag1Value":"test"}',
- ],
+ 'schema' => ['description' => '规则参数。'."\n"
+ ."\n", 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}'],
],
[
'name' => 'ConfigRuleTriggerTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'schema' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ConfigurationItemChangeNotification'],
],
[
'name' => 'MaximumExecutionFrequency',
@@ -2440,13 +1489,7 @@
'type' => 'string',
'required' => false,
'example' => 'One_Hour',
- 'enum' => [
- 'One_Hour',
- 'Three_Hours',
- 'Six_Hours',
- 'Twelve_Hours',
- 'TwentyFour_Hours',
- ],
+ 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'],
],
],
[
@@ -2456,12 +1499,7 @@
'schema' => [
'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
'type' => 'array',
- 'items' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'required' => true,
'docRequired' => true,
'example' => 'ACS::ECS::Instance',
@@ -2480,126 +1518,69 @@
'required' => true,
'docRequired' => true,
'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-t4nbowvtbkss7t326****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。多个标签之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。多个标签之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagKeyLogicScope',
@@ -2617,15 +1598,9 @@
'type' => 'string',
'deprecated' => false,
'required' => false,
- 'enumValueTitles' => [
- 'OR' => 'OR',
- 'AND' => 'AND',
- ],
+ 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'example' => 'AND',
- 'enum' => [
- 'AND',
- 'OR',
- ],
+ 'enum' => ['AND', 'OR'],
],
],
[
@@ -2638,18 +1613,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '资源的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '资源的标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
'description' => '',
@@ -2668,18 +1633,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '要排除的资源的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '要排除的资源的标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '要排除的资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '要排除的资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
'description' => '',
@@ -2694,98 +1649,71 @@
'schema' => [
'description' => '规则类型。取值:'."\n"
.'- ALIYUN:规则模板。'."\n"
- .'- CUSTOM_FC:自定义规则。',
+ .'- CUSTOM_FC:自定义FC规则。'."\n"
+ .'- CUSTOM_CONFIGURATION:自定义条件规则。',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'ALIYUN',
- 'enum' => [
- 'ALIYUN',
- 'CUSTOM_FC',
- 'CUSTOM_CONFIGURATION',
- ],
+ 'enum' => ['ALIYUN', 'CUSTOM_FC', 'CUSTOM_CONFIGURATION'],
],
],
[
'name' => 'SourceIdentifier',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则标识符。'."\n"
- ."\n"
- .'- 当`SourceOwner`为`ALIYUN`时,输入规则模板的标识符,例如:`required-tags`。'."\n"
- ."\n"
- .' > 关于如何查询规则模板标识符,请参见[规则模板列表](~~127404~~)。'."\n"
- ."\n"
- .'- 当`SourceOwner`为`CUSTOM_FC`时,输入函数计算的函数ARN。'."\n"
- ."\n"
- .' 函数ARN格式为:`acs:fc:地域:账号ID:services/服务名称.LATEST/functions/函数名称`,例如:`acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`。'."\n"
- ."\n"
- .' > 关于如何获取函数ARN,请参见[ListFunctions](~~415752~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'required-tags',
- ],
+ 'schema' => ['description' => '规则标识符。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`ALIYUN`时,输入规则模板的标识符,例如:`required-tags`。'."\n"
+ ."\n"
+ .' > 关于如何查询规则模板标识符,请参见[规则模板列表](~~127404~~)。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`CUSTOM_CONFIGURATION`时,固定填写`acs-config-configuration`。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`CUSTOM_FC`时,输入函数计算的函数ARN。'."\n"
+ ."\n"
+ .' 函数ARN格式为:`acs:fc:地域:账号ID:services/服务名称.LATEST/functions/函数名称`,例如:`acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`。'."\n"
+ ."\n"
+ .' > 关于如何获取函数ARN,请参见[ListFunctions](~~415752~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'required-tags'],
],
[
'name' => 'FolderIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源目录ID中成员账号内的资源生效。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> - 该参数仅作用于全局账号组的规则。'."\n"
- .'> - 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd-ZtHsRH****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源目录ID中成员账号内的资源生效。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> - 该参数仅作用于全局账号组的规则。'."\n"
+ .'> - 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'fd-ZtHsRH****'],
],
[
'name' => 'ExcludeFolderIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> - 该参数仅作用于全局账号组的规则。'."\n"
- .'> - 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd-pWmkqZ****',
- ],
+ 'schema' => ['description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> - 该参数仅作用于全局账号组的规则。'."\n"
+ .'> - 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'fd-pWmkqZ****'],
],
[
'name' => 'ExcludeAccountIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '120886317861****',
- ],
+ 'schema' => ['description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => '120886317861****'],
],
[
'name' => 'AccountIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115748125982****',
- ],
+ 'schema' => ['description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => '115748125982****'],
+ ],
+ [
+ 'name' => 'Conditions',
+ 'in' => 'formData',
+ 'schema' => ['title' => '自定义条件规则的条件,JSON格式', 'description' => '自定义条件规则的条件,JSON格式', 'type' => 'string', 'required' => false, 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}'],
],
[
'name' => 'ExtendContent',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"fixedHour":"12"}',
- ],
+ 'schema' => ['description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"12"}'],
],
[
'name' => 'Tag',
@@ -2798,22 +1726,12 @@
'description' => '标签',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -2824,12 +1742,7 @@
[
'name' => 'ResourceNameScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx'],
],
],
'responses' => [
@@ -2838,71 +1751,33 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ConfigRuleId' => [
- 'description' => '规则ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cr-4e3d626622af0080****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '5895065A-196C-4254-8AD8-14EFC31EEF50',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cr-4e3d626622af0080****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5895065A-196C-4254-8AD8-14EFC31EEF50'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'ConfigRuleExists',
- 'errorMessage' => 'The ConfigRule already exists.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"5895065A-196C-4254-8AD8-14EFC31EEF50\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateConfigRuleResponse>\\n\\t<ConfigRuleId>cr-4e3d626622af0080****</ConfigRuleId>\\n\\t<RequestId>5895065A-196C-4254-8AD8-14EFC31EEF50</RequestId>\\n</CreateAggregateConfigRuleResponse>\\t","errorExample":""}]',
'title' => '创建账号组规则',
- 'summary' => '为指定账号组基于模板创建规则或基于函数计算创建自定义规则,通过规则检测资源的合规性。新建规则后,规则会自动执行一次评估,后续配置审计将根据规则的触发机制自动触发评估,您也可以手动执行评估。',
'description' => '### 使用限制'."\n"
.'每个管理账号和委派管理员账号最多可以创建200条规则。'."\n"
."\n"
@@ -2922,12 +1797,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateConfigRule',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateConfigRule'],
],
],
'ramActions' => [
@@ -2938,27 +1808,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"5895065A-196C-4254-8AD8-14EFC31EEF50\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateConfigRuleResponse>\\n\\t<ConfigRuleId>cr-4e3d626622af0080****</ConfigRuleId>\\n\\t<RequestId>5895065A-196C-4254-8AD8-14EFC31EEF50</RequestId>\\n</CreateAggregateConfigRuleResponse>\\t","errorExample":""}]',
],
'CreateAggregateRemediation' => [
- 'summary' => '为指定账号组规则创建修正。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2970,119 +1828,71 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-6b7c626622af00b4****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6b7c626622af00b4****'],
],
[
'name' => 'RemediationType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正类型。取值:'."\n"
- ."\n"
- .'- OOS:运维编排(模板修正)。'."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'OOS',
- ],
+ 'schema' => ['description' => '修正类型。取值:'."\n"
+ ."\n"
+ .'- OOS:运维编排(模板修正)。'."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OOS'],
],
[
'name' => 'RemediationTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正模板ID。'."\n"
- ."\n"
- .'- 当`RemediationType`为`OOS`时,该参数为`ACS-OSS-PutBucketAcl`。关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~416781~~)。'."\n"
- ."\n"
- .'- 当`RemediationType`为`FC`时,该参数为函数计算的ARN,例如:`acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`。'."\n"
- ."\n\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
+ 'schema' => ['description' => '修正模板ID。'."\n"
+ ."\n"
+ .'- 当`RemediationType`为`OOS`时,该参数为`ACS-OSS-PutBucketAcl`。关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~416781~~)。'."\n"
+ ."\n"
+ .'- 当`RemediationType`为`FC`时,该参数为函数计算的ARN,例如:`acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`。'."\n"
+ ."\n\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl'],
],
[
'name' => 'InvokeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MANUAL_EXECUTION',
- ],
+ 'schema' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MANUAL_EXECUTION'],
],
[
'name' => 'SourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '执行修正的模板来源。取值:'."\n"
- .'- ALIYUN(默认值):官网模板。'."\n"
- .'- CUSTOM:自定义模板。(自定义FC修正时需要填写此值)'."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALIYUN',
- ],
+ 'schema' => ['description' => '执行修正的模板来源。取值:'."\n"
+ .'- ALIYUN(默认值):官网模板。'."\n"
+ .'- CUSTOM:自定义模板。(自定义FC修正时需要填写此值)'."\n"
+ .'- NONE:无。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN'],
],
[
'name' => 'Params',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置的参数。'."\n"
- ."\n"
- .'关于如何获取修正设置的参数,请参见[ListRemediationTemplates](~~416781~~)中的参数`TemplateDefinition`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}',
- ],
+ 'schema' => ['description' => '修正设置的参数。'."\n"
+ ."\n"
+ .'关于如何获取修正设置的参数,请参见[ListRemediationTemplates](~~416781~~)中的参数`TemplateDefinition`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-6b4a626622af0012****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
],
'responses' => [
@@ -3091,53 +1901,25 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'RemediationInputParamInConsistentWithRule',
- 'errorMessage' => 'The remediation parameter does not match the rule parameter.',
- 'description' => '修正设置参数与规则参数不一致。',
- ],
- [
- 'errorCode' => 'RemediationTemplateNotExist',
- 'errorMessage' => 'The remediation template does not exist or is invalid.',
- 'description' => '修正模板不存在或不适用。',
- ],
- [
- 'errorCode' => 'Invalid.Params.Value',
- 'errorMessage' => 'The specified parameter value is invalid.',
- 'description' => '输入的模板参数值非法。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => '修正设置参数与规则参数不一致。'],
+ ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => '修正模板不存在或不适用。'],
+ ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => '输入的模板参数值非法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateRemediationSLR',
- 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'description' => '无权创建服务关联角色。',
- ],
+ ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <RemediationId>crr-909ba2d4716700eb****</RemediationId>\\n</CreateAggregateRemediationResponse>","errorExample":""}]',
'title' => '创建账号组的修正设置',
+ 'summary' => '为指定账号组规则创建修正。',
'description' => '### 背景信息'."\n"
."\n"
.'- 模板修正:通过运维编排OOS提供的公共模板快速修正不合规资源。'."\n"
@@ -3154,12 +1936,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateRemediation',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateRemediation'],
],
],
'ramActions' => [
@@ -3170,26 +1947,17 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <RemediationId>crr-909ba2d4716700eb****</RemediationId>\\n</CreateAggregateRemediationResponse>","errorExample":""}]',
],
'CreateAggregator' => [
'summary' => '资源目录中的管理账号或委派管理员账号可以创建账号组,在账号组中集中地管理多个成员的资源、合规包和规则。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3201,34 +1969,21 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigXKWS51',
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigXKWS51', 'FEATUREconfigJVB3GZ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AggregatorName',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Example_Aggregator',
- ],
+ 'schema' => ['description' => '账号组名称。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'example' => 'Example_Aggregator'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Example aggregator used to demonstrate how to create an aggregator.',
- ],
+ 'schema' => ['description' => '账号组描述。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'Example aggregator used to demonstrate how to create an aggregator.'],
],
[
'name' => 'AggregatorAccounts',
@@ -3244,27 +1999,11 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '成员ID。'."\n"
- .'关于如何获取成员ID,请参见[ListAccounts](~~160016~~)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '171322098523****',
- ],
- 'AccountName' => [
- 'description' => '成员名称。'."\n"
- .'关于如何获取成员名称,请参见[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Alice',
- ],
- 'AccountType' => [
- 'description' => '成员归属。仅支持`ResourceDirectory`(资源目录)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceDirectory',
- ],
+ 'AccountId' => ['description' => '成员ID。'."\n"
+ .'关于如何获取成员ID,请参见[ListAccounts](~~160016~~)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '171322098523****'],
+ 'AccountName' => ['description' => '成员名称。'."\n"
+ .'关于如何获取成员名称,请参见[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => false, 'example' => 'Alice'],
+ 'AccountType' => ['description' => '成员归属。仅支持`ResourceDirectory`(资源目录)。', 'type' => 'string', 'required' => false, 'example' => 'ResourceDirectory'],
],
'required' => false,
],
@@ -3274,37 +2013,22 @@
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorType',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组类型。取值:'."\n"
- .'- RD:全局账号组。'."\n"
- .'- FOLDER:资源夹账号组。必须同时设置`FolderId`。关于如何获取资源夹ID,请参见[ListAccounts](~~160016~~)。'."\n"
- .'- CUSTOM(默认值):自定义账号组。必须同时设置`AggregatorAccounts`中的`AccountId`和`AccountType`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CUSTOM',
- ],
+ 'schema' => ['description' => '账号组类型。取值:'."\n"
+ .'- RD:全局账号组。'."\n"
+ .'- FOLDER:资源夹账号组。必须同时设置`FolderId`。关于如何获取资源夹ID,请参见[ListAccounts](~~160016~~)。'."\n"
+ .'- CUSTOM(默认值):自定义账号组。必须同时设置`AggregatorAccounts`中的`AccountId`和`AccountType`。', 'type' => 'string', 'required' => false, 'example' => 'CUSTOM'],
],
[
'name' => 'FolderId',
'in' => 'formData',
- 'schema' => [
- 'description' => '绑定的资源夹ID。支持多值,多个资源夹ID之间用半角逗号(,)分隔'."\n"
- ."\n"
- .'当`AggregatorType`为`FOLDER`时,必须设置本参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd-brHdgv****,fd-brHdgk****',
- ],
+ 'schema' => ['description' => '绑定的资源夹ID。支持多值,多个资源夹ID之间用半角逗号(,)分隔'."\n"
+ ."\n"
+ .'当`AggregatorType`为`FOLDER`时,必须设置本参数。', 'type' => 'string', 'required' => false, 'example' => 'fd-brHdgv****,fd-brHdgk****'],
],
[
'name' => 'Tag',
@@ -3321,22 +2045,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。最多支持输入20个标签键。如需传入该值,则不能输入空字符串。'."\n"
- ."\n"
- .'一个标签键最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。最多支持输入20个标签值。如需传入该值,可以输入空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。最多支持输入20个标签键。如需传入该值,则不能输入空字符串。'."\n"
+ ."\n"
+ .'一个标签键最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。如需传入该值,可以输入空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -3351,83 +2065,33 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-dacf86d8314e00eb****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-dacf86d8314e00eb****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorAccounts.Empty',
- 'errorMessage' => 'You must specify AggregatorAccounts.',
- 'description' => '账号组内的成员账号列表不能为空。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorAccounts.Value',
- 'errorMessage' => 'The specified AggregatorAccounts is invalid.',
- 'description' => '账号组内成员账号信息错误。',
- ],
- [
- 'errorCode' => 'Invalid.AccountType.Value',
- 'errorMessage' => 'The specified AccountType is invalid.',
- 'description' => '账号来源类型不符合要求。',
- ],
- [
- 'errorCode' => 'AggregatorExceedMaxCount',
- 'errorMessage' => 'The maximum number of aggregator is exceeded.',
- 'description' => '创建的账号组数量超出限制。',
- ],
- [
- 'errorCode' => 'AggregatorAccountListDuplicated',
- 'errorMessage' => 'The aggregator account list is duplicated.',
- 'description' => '存在相同成员账号的账号组。',
- ],
- [
- 'errorCode' => 'AggregatorAccountListItemDuplicated',
- 'errorMessage' => 'The aggregator account list item is duplicated.',
- 'description' => '账号组内的成员账号重复。',
- ],
- [
- 'errorCode' => 'AggregatorNameDuplicated',
- 'errorMessage' => 'The aggregator name is duplicated.',
- 'description' => '账号组名称重复。',
- ],
+ ['errorCode' => 'Invalid.AggregatorAccounts.Empty', 'errorMessage' => 'You must specify AggregatorAccounts.', 'description' => '账号组内的成员账号列表不能为空。'],
+ ['errorCode' => 'Invalid.AggregatorAccounts.Value', 'errorMessage' => 'The specified AggregatorAccounts is invalid.', 'description' => '账号组内成员账号信息错误。'],
+ ['errorCode' => 'Invalid.AccountType.Value', 'errorMessage' => 'The specified AccountType is invalid.', 'description' => '账号来源类型不符合要求。'],
+ ['errorCode' => 'AggregatorExceedMaxCount', 'errorMessage' => 'The maximum number of aggregator is exceeded.', 'description' => '创建的账号组数量超出限制。'],
+ ['errorCode' => 'AggregatorAccountListDuplicated', 'errorMessage' => 'The aggregator account list is duplicated.', 'description' => '存在相同成员账号的账号组。'],
+ ['errorCode' => 'AggregatorAccountListItemDuplicated', 'errorMessage' => 'The aggregator account list item is duplicated.', 'description' => '账号组内的成员账号重复。'],
+ ['errorCode' => 'AggregatorNameDuplicated', 'errorMessage' => 'The aggregator name is duplicated.', 'description' => '账号组名称重复。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateAggregator',
- 'errorMessage' => 'You are not authorized to create the aggregator.',
- 'description' => '无权限创建账号组。',
- ],
+ ['errorCode' => 'NoPermissionCreateAggregator', 'errorMessage' => 'You are not authorized to create the aggregator.', 'description' => '无权限创建账号组。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建账号组',
'description' => '### 使用限制'."\n"
.'管理账号或委派管理员账号最多可以创建5个账号组,每个账号组中最多包含200个成员账号。'."\n"
@@ -3461,12 +2125,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregator',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregator'],
],
],
'ramActions' => [
@@ -3477,12 +2136,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'],
],
],
],
@@ -3490,14 +2144,8 @@
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAggregatorResponse>\\n\\t<RequestId>0093E9C4-F871-4C1F-80C5-7534D287B023</RequestId>\\n\\t<AggregatorId>ca-8bde626622af00a9****</AggregatorId>\\n</CreateAggregatorResponse>\\t","errorExample":""}]',
],
'CreateCompliancePack' => [
- 'summary' => '为当前账号创建合规包。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3509,46 +2157,26 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'CompliancePackTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包模板ID。'."\n"
- ."\n"
- .'关于如何获取合规包模板ID,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
+ 'schema' => ['description' => '合规包模板ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包模板ID,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'ct-5f26ff4e06a300c4****'],
],
[
'name' => 'CompliancePackName',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '等保三级预检合规包',
- 'maxLength' => 100,
- ],
+ 'schema' => ['description' => '合规包名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '等保三级预检合规包', 'maxLength' => 100],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '等保三级预检合规包',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包', 'maxLength' => 500],
],
[
'name' => 'RiskLevel',
@@ -3566,11 +2194,7 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '2',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
@@ -3586,21 +2210,11 @@
'description' => '合规包中的规则列表。',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
- ."\n"
- .'> `ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性IP实例带宽满足最低要求',
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'> `ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleName' => ['description' => '规则名称。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '弹性IP实例带宽满足最低要求'],
'ConfigRuleParameters' => [
'description' => '规则参数信息。',
'type' => 'array',
@@ -3608,51 +2222,25 @@
'description' => '规则参数信息。',
'type' => 'object',
'properties' => [
- 'ParameterName' => [
- 'description' => '规则参数名称。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认值,则您必须设置该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认值,则您必须设置该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'ParameterName' => ['description' => '规则参数名称。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认值,则您必须设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认值,则您必须设置该参数。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
'required' => false,
],
'required' => false,
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-e918626622af000f****',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -3662,167 +2250,111 @@
[
'name' => 'TemplateContent',
'in' => 'formData',
- 'schema' => [
- 'description' => '用于生成合规包的模板信息。模板内容可以从已有合规包详情API中查看,或者参考[编写配置化合规包模板](~~2659733~~)进行编写。'."\n"
- ."\n"
- .'> 本参数和ConfigRules必须设置其中一个。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "configRuleTemplates": ['."\n"
- .' {'."\n"
- .' "configRuleName": "自定义条件规则示例",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::ECS::Instance"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "",'."\n"
- .' "source": {'."\n"
- .' "owner": "CUSTOM_CONFIGURATION",'."\n"
- .' "identifier": "acs-config-configuration",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ScheduledNotification",'."\n"
- .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
- .' },'."\n"
- .' "inputParameters": {}'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::OSS::Bucket"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
- .' "source": {'."\n"
- .' "owner": "ALIYUN",'."\n"
- .' "identifier": "oss-bucket-referer-limit",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "inputParameters": {'."\n"
- .' "allowEmptyReferer": "true",'."\n"
- .' "allowReferers": "http://www.aliyun.com"'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- 'maxLength' => 1024000,
- ],
+ 'schema' => ['description' => '用于生成合规包的模板信息。模板内容可以从已有合规包详情API中查看,或者参考[编写配置化合规包模板](~~2659733~~)进行编写。'."\n"
+ ."\n"
+ .'> 本参数和ConfigRules必须设置其中一个。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "configRuleTemplates": ['."\n"
+ .' {'."\n"
+ .' "configRuleName": "自定义条件规则示例",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::ECS::Instance"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "CUSTOM_CONFIGURATION",'."\n"
+ .' "identifier": "acs-config-configuration",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ScheduledNotification",'."\n"
+ .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
+ .' },'."\n"
+ .' "inputParameters": {}'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::OSS::Bucket"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "ALIYUN",'."\n"
+ .' "identifier": "oss-bucket-referer-limit",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "inputParameters": {'."\n"
+ .' "allowEmptyReferer": "true",'."\n"
+ .' "allowReferers": "http://www.aliyun.com"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}', 'maxLength' => 1024000],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'DefaultEnable',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则是否支持快速启用。取值:'."\n"
- .'- true:合规包快捷启用时会开启该规则。'."\n"
- .'- false(默认值):不启用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '规则是否支持快速启用。取值:'."\n"
+ .'- true:合规包快捷启用时会开启该规则。'."\n"
+ .'- false(默认值):不启用。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-8vbf3x310fn56ijfd****',
- ],
+ 'schema' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '生效的资源范围,多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-8vbf3x310fn56ijfd****'."\n",
- ],
+ 'schema' => ['description' => '生效的资源范围,多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzdibsjjc****',
- ],
+ 'schema' => ['description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzdibsjjc****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
- .'> TagValueScope需结合TagKeyScope一起使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
+ .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagsScope',
@@ -3834,18 +2366,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '资源的标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '资源的标签。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
'description' => '',
@@ -3864,18 +2386,8 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
],
@@ -3897,22 +2409,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -3927,82 +2429,33 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-a8a8626622af0082****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-a8a8626622af0082****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CompliancePackExceedMaxCount',
- 'errorMessage' => 'The maximum number of compliance pack is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Empty',
- 'errorMessage' => 'You must specify ConfigRules.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Value',
- 'errorMessage' => 'The specified ConfigRules is invalid.',
- 'description' => '合规包规则中参数输入错误。',
- ],
- [
- 'errorCode' => 'ConfigRuleExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of config rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackName.Empty',
- 'errorMessage' => 'You must specify CompliancePackName.',
- 'description' => '合规包名称不能为空。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackName.Value',
- 'errorMessage' => 'The specified CompliancePackName is invalid.',
- 'description' => '合规包名称格式不符合要求。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackTemplateId.Value',
- 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.',
- 'description' => '合规包模板ID不存在。',
- ],
- [
- 'errorCode' => 'CompliancePackExists',
- 'errorMessage' => 'The compliance pack already exists.',
- 'description' => '合规包名称重复。',
- ],
+ ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => '合规包规则中参数输入错误。'],
+ ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackName.Empty', 'errorMessage' => 'You must specify CompliancePackName.', 'description' => '合规包名称不能为空。'],
+ ['errorCode' => 'Invalid.CompliancePackName.Value', 'errorMessage' => 'The specified CompliancePackName is invalid.', 'description' => '合规包名称格式不符合要求。'],
+ ['errorCode' => 'Invalid.CompliancePackTemplateId.Value', 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', 'description' => '合规包模板ID不存在。'],
+ ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => '合规包名称重复。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建合规包',
+ 'summary' => '为当前账号创建合规包。',
'description' => '合规包是一组规则的集合。新建合规包时,您可以选择合规包模板中的默认规则,也可以选择规则模板和已有规则列表中的规则。'."\n"
.'新建合规包后,这些规则默认会执行一次评估,后续将根据规则的触发机制自动触发评估,也可以手动执行评估。'."\n"
."\n"
@@ -4013,12 +2466,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateCompliancePack',
- ],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCompliancePack'],
],
],
'ramActions' => [
@@ -4029,12 +2477,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'],
],
],
],
@@ -4043,14 +2486,8 @@
],
'CreateConfigDeliveryChannel' => [
'summary' => '创建投递渠道,将资源数据投递到日志服务SLS、对象存储 OSS 或轻量消息队列(原 MNS)进行储存。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4062,24 +2499,16 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigL91U0A',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigL91U0A'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。'."\n"
- ."\n"
- .'> 如果未设置该参数,默认为空。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'testoss',
- ],
+ 'schema' => ['description' => '投递渠道名称。'."\n"
+ ."\n"
+ .'> 如果未设置该参数,默认为空。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss'],
],
[
'name' => 'DeliveryChannelType',
@@ -4093,184 +2522,124 @@
'required' => true,
'docRequired' => true,
'example' => 'OSS',
- 'enum' => [
- 'OSS',
- 'MNS',
- 'SLS',
- ],
+ 'enum' => ['OSS', 'MNS', 'SLS'],
],
],
[
'name' => 'DeliveryChannelTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道目标地址的ARN。取值:'."\n"
- ."\n"
- .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
- ."\n"
- .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
- ."\n"
- .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '投递渠道目标地址的ARN。取值:'."\n"
+ ."\n"
+ .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
+ ."\n"
+ .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
+ ."\n"
+ .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'DeliveryChannelCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道附加规则,用于指定订阅内容过滤条件。'."\n"
- ."\n"
- .'- 如果您指定订阅合规事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' `multiple`表示该组过滤字段是否支持多指,风险等级只支持单值过滤,即投递合规事件类型内容的`multiple`字段只可填写`false`。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .' `multiple`表示该组过滤字段是否支持多指,资源类型支持多值过滤,选中多种资源类型时,`multiple`字段可填写`true`。'."\n"
- ."\n"
- .' - 也可以同时指定风险等级和资源类型,例如:'."\n"
- .'`[{"filterType":"RuleRiskLevel","value":"2","multiple":false},{"filterType":"ResourceType","values":["ACS::CDN::Domain","ACS::ActionTrail::Trail"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定订阅资源配置投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
+ 'schema' => ['description' => '投递渠道附加规则,用于指定订阅内容过滤条件。'."\n"
+ ."\n"
+ .'- 如果您指定订阅合规事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' `multiple`表示该组过滤字段是否支持多指,风险等级只支持单值过滤,即投递合规事件类型内容的`multiple`字段只可填写`false`。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .' `multiple`表示该组过滤字段是否支持多指,资源类型支持多值过滤,选中多种资源类型时,`multiple`字段可填写`true`。'."\n"
+ ."\n"
+ .' - 也可以同时指定风险等级和资源类型,例如:'."\n"
+ .'`[{"filterType":"RuleRiskLevel","value":"2","multiple":false},{"filterType":"ResourceType","values":["ACS::CDN::Domain","ACS::ActionTrail::Trail"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定订阅资源配置投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
],
[
'name' => 'OversizedDataOSSTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
- ."\n"
- .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
+ ."\n"
+ .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'My OSS delivery.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
- ."\n"
- .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
+ ."\n"
+ .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'ConfigurationSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false(默认值):不接收资源定时快照。'."\n"
- ."\n"
- .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)、`CompliantSnapshot`(合规快照)和`NonCompliantNotification`(资源不合规事件)至少四选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false(默认值):不接收资源定时快照。'."\n"
+ ."\n"
+ .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`ConfigurationItemChangeNotification`(配置变更历史)、`CompliantSnapshot`(合规快照)和`NonCompliantNotification`(资源不合规事件)至少四选一。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
],
[
'name' => 'CompliantSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'ConfigurationItemChangeNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false(默认值):不接收资源配置变更历史。'."\n"
- ."\n"
- .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`CompliantSnapshot`(合规快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少四选一。'."\n"
- ."\n"
- .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false(默认值):不接收资源配置变更历史。'."\n"
+ ."\n"
+ .'> - 当投递渠道为OSS时,`ConfigurationSnapshot`(资源定时快照)和`ConfigurationItemChangeNotification`(配置变更历史)至少二选一。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`CompliantSnapshot`(合规快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少四选一。'."\n"
+ ."\n"
+ .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'NonCompliantNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false(默认值):不接收资源不合规事件。'."\n"
- ."\n"
- .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`CompliantSnapshot`(合规快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少四选一。'."\n"
- ."\n"
- .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false(默认值):不接收资源不合规事件。'."\n"
+ ."\n"
+ .'>- 当投递渠道为SLS时,`ConfigurationSnapshot`(资源定时快照)、`CompliantSnapshot`(合规快照)、`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少四选一。'."\n"
+ ."\n"
+ .'> - 当投递渠道为MNS时,`ConfigurationItemChangeNotification`(配置变更历史)和`NonCompliantNotification`(资源不合规事件)至少二选一。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'DeliverySnapshotTime',
'in' => 'query',
- 'schema' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。'."\n"
- ."\n"
- .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:10Z',
- ],
+ 'schema' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。'."\n"
+ ."\n"
+ .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z'],
],
],
'responses' => [
@@ -4279,74 +2648,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '投递渠道不存在。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '参数DeliveryChannelTargetArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '参数DeliveryChannelCondition格式错误。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '暂不支持非资源目录内的跨账号投递。',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => 'MNS Topic尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => 'OSS Bucket尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。'],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => '参数DeliveryChannelTargetArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => '参数DeliveryChannelCondition格式错误。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => '暂不支持非资源目录内的跨账号投递。'],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'MNS Topic尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'OSS Bucket尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateConfigDeliveryChannelResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG</RequestId>\\n <DeliveryChannelId>cdc-8e45ff4e06a3a8****</DeliveryChannelId>\\n</CreateConfigDeliveryChannelResponse>","errorExample":""}]',
@@ -4374,12 +2695,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateConfigDeliveryChannel',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfigDeliveryChannel'],
],
],
'ramActions' => [
@@ -4390,12 +2706,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'],
],
],
],
@@ -4403,13 +2714,8 @@
],
'CreateConfigRule' => [
'summary' => '基于模板创建规则或基于函数计算创建自定义规则,通过规则检测资源的合规性。新建规则后,规则会自动执行一次评估,后续配置审计将根据规则的触发机制自动触发评估,您也可以手动执行评估。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4421,39 +2727,25 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签键的资源生效。'."\n"
- .'> 仅适用于托管规则,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签键的资源生效。'."\n"
+ .'> 仅适用于托管规则,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签值的资源生效。'."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签值的资源生效。'."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagKeyLogicScope',
@@ -4472,10 +2764,7 @@
'deprecated' => false,
'required' => false,
'example' => 'AND',
- 'enum' => [
- 'AND',
- 'OR',
- ],
+ 'enum' => ['AND', 'OR'],
],
],
[
@@ -4488,20 +2777,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
],
@@ -4516,20 +2796,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
],
@@ -4537,12 +2808,7 @@
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
- ],
+ 'schema' => ['description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。'],
],
[
'name' => 'SourceOwner',
@@ -4550,16 +2816,13 @@
'schema' => [
'description' => '创建的规则类型。取值:'."\n"
.'- ALIYUN:规则模板。'."\n"
- .'- CUSTOM_FC:自定义规则。',
+ .'- CUSTOM_FC:自定义FC规则。'."\n"
+ .'- CUSTOM_CONFIGURATION:自定义条件规则。',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'ALIYUN',
- 'enum' => [
- 'ALIYUN',
- 'CUSTOM_FC',
- 'CUSTOM_CONFIGURATION',
- ],
+ 'enum' => ['ALIYUN', 'CUSTOM_FC', 'CUSTOM_CONFIGURATION'],
],
],
[
@@ -4577,155 +2840,99 @@
'type' => 'string',
'required' => false,
'example' => 'One_Hour',
- 'enum' => [
- 'One_Hour',
- 'Three_Hours',
- 'Six_Hours',
- 'Twelve_Hours',
- 'TwentyFour_Hours',
- ],
+ 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'],
],
],
[
+ 'name' => 'Conditions',
+ 'in' => 'formData',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '自定义条件规则的条件,JSON格式', 'description' => '自定义条件规则的条件,JSON格式', 'type' => 'string', 'required' => false, 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}'],
+ ],
+ [
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'InputParameters',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '规则入参。'."\n"
- ."\n"
- .'规则入参可以通过[GetManagedRule](~~606993~~)接口获取,查看参数`CompulsoryInputParameterDetails`和`OptionalInputParameterDetails`了解必填参数和可选参数。'."\n"
- ."\n"
- .'规则入参的格式为`{"参数1名称":"参数1值","参数2名称":"参数2值"}`。',
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"key1":"value1","key2":"value2"}',
- ],
+ 'schema' => ['description' => '规则入参。'."\n"
+ ."\n"
+ .'规则入参可以通过[GetManagedRule](~~606993~~)接口获取,查看参数`CompulsoryInputParameterDetails`和`OptionalInputParameterDetails`了解必填参数和可选参数。'."\n"
+ ."\n"
+ .'规则入参的格式为`{"参数1名称":"参数1值","参数2名称":"参数2值"}`。', 'type' => 'object', 'required' => false, 'example' => '{"key1":"value1","key2":"value2"}'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-t4nbowvtbkss7t326****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****'],
],
[
'name' => 'SourceIdentifier',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则模板标识。'."\n"
- ."\n"
- .'- 当`SourceOwner`为`ALIYUN`时,输入规则模板的标识符,例如:`required-tags`。'."\n"
- ."\n"
- .' > 关于如何查询规则模板标识符,请参见[规则模板列表](~~127404~~)。'."\n"
- ."\n"
- .'- 当`SourceOwner`为`CUSTOM_FC`时,输入函数计算的函数ARN。'."\n"
- ."\n"
- .' 函数ARN格式为:`acs:fc:地域:账号ID:services/服务名称.LATEST/functions/函数名称`,例如:`acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`。'."\n"
- ."\n"
- .' > 关于如何获取函数ARN,请参见[ListFunctions](~~415752~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'required-tags',
- ],
+ 'schema' => ['description' => '规则模板标识。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`ALIYUN`时,输入规则模板的标识符,例如:`required-tags`。'."\n"
+ ."\n"
+ .' > 关于如何查询规则模板标识符,请参见[规则模板列表](~~127404~~)。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`CUSTOM_CONFIGURATION`时,固定填写`acs-config-configuration`。'."\n"
+ ."\n"
+ .'- 当`SourceOwner`为`CUSTOM_FC`时,输入函数计算的函数ARN。'."\n"
+ ."\n"
+ .' 函数ARN格式为:`acs:fc:地域:账号ID:services/服务名称.LATEST/functions/函数名称`,例如:`acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`。'."\n"
+ ."\n"
+ .' > 关于如何获取函数ARN,请参见[ListFunctions](~~415752~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'required-tags'],
],
[
'name' => 'ConfigRuleTriggerTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则触发机制。取值:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- ."\n"
- .'- ScheduledNotification:周期执行。'."\n"
- ."\n"
- .'> 当规则包括两种触发机制时,用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'schema' => ['description' => '规则触发机制。取值:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ ."\n"
+ .'- ScheduledNotification:周期执行。'."\n"
+ ."\n"
+ .'> 当规则包括两种触发机制时,用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ConfigurationItemChangeNotification'],
],
[
'name' => 'ConfigRuleName',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '存在所有指定标签',
- ],
+ 'schema' => ['description' => '规则名称。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '存在所有指定标签'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'ResourceTypesScope',
@@ -4734,12 +2941,7 @@
'schema' => [
'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
'type' => 'array',
- 'items' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'required' => true,
'docRequired' => true,
'example' => 'ACS::ECS::Instance',
@@ -4762,22 +2964,13 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
'name' => 'ExtendContent',
'in' => 'formData',
- 'schema' => [
- 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"fixedHour":"13"}',
- ],
+ 'schema' => ['description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"13"}'],
],
[
'name' => 'Tag',
@@ -4793,22 +2986,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -4819,12 +3002,7 @@
[
'name' => 'ResourceNameScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx'],
],
],
'responses' => [
@@ -4833,56 +3011,27 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-5772ba41209e007b****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-5772ba41209e007b****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'ConfigRuleExists',
- 'errorMessage' => 'The ConfigRule already exists.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateConfigRuleResponse>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</CreateConfigRuleResponse>","errorExample":""}]',
'title' => '创建规则',
'description' => '### 使用限制'."\n"
.'每个账号最多可以创建200条规则。'."\n"
@@ -4904,12 +3053,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateConfigRule',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfigRule'],
],
],
'ramActions' => [
@@ -4920,27 +3064,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateConfigRuleResponse>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</CreateConfigRuleResponse>","errorExample":""}]',
],
'CreateRemediation' => [
- 'summary' => '为已有规则设置修正。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4952,107 +3084,64 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-8a973ac2e2be00a2****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-8a973ac2e2be00a2****'],
],
[
'name' => 'RemediationType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正类型。取值:'."\n"
- ."\n"
- .'- OOS:运维编排(模板修正)。'."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'OOS',
- ],
+ 'schema' => ['description' => '修正类型。取值:'."\n"
+ ."\n"
+ .'- OOS:运维编排(模板修正)。'."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OOS'],
],
[
'name' => 'RemediationTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正模板ID。'."\n"
- ."\n"
- .'- 当`RemediationType`为`OOS`时,该参数为`ACS-OSS-PutBucketAcl`。关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~416781~~)。'."\n"
- ."\n"
- .'- 当`RemediationType`为`FC`时,该参数为函数计算的ARN,例如:`acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`。'."\n"
- ."\n\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
+ 'schema' => ['description' => '修正模板ID。'."\n"
+ ."\n"
+ .'- 当`RemediationType`为`OOS`时,该参数为`ACS-OSS-PutBucketAcl`。关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~416781~~)。'."\n"
+ ."\n"
+ .'- 当`RemediationType`为`FC`时,该参数为函数计算的ARN,例如:`acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`。'."\n"
+ ."\n\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl'],
],
[
'name' => 'InvokeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MANUAL_EXECUTION',
- ],
+ 'schema' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MANUAL_EXECUTION'],
],
[
'name' => 'SourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '执行修正的模板来源。取值:'."\n"
- .'- ALIYUN(默认值):官方模板。'."\n"
- .'- CUSTOM:自定义模板。(自定义FC修正时需要填写此值)'."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALIYUN',
- ],
+ 'schema' => ['description' => '执行修正的模板来源。取值:'."\n"
+ .'- ALIYUN(默认值):官方模板。'."\n"
+ .'- CUSTOM:自定义模板。(自定义FC修正时需要填写此值)'."\n"
+ .'- NONE:无。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN'],
],
[
'name' => 'Params',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置的参数。'."\n"
- ."\n"
- .'关于如何获取修正设置的参数,请参见[ListRemediationTemplates](~~416781~~)中的参数`TemplateDefinition`。',
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => true,
- 'docRequired' => false,
- 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}',
- ],
+ 'schema' => ['description' => '修正设置的参数。'."\n"
+ ."\n"
+ .'关于如何获取修正设置的参数,请参见[ListRemediationTemplates](~~416781~~)中的参数`TemplateDefinition`。', 'type' => 'string', 'deprecated' => false, 'required' => true, 'docRequired' => false, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
],
'responses' => [
@@ -5061,53 +3150,25 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'RemediationInputParamInConsistentWithRule',
- 'errorMessage' => 'The remediation parameter does not match the rule parameter.',
- 'description' => '修正设置参数与规则参数不一致。',
- ],
- [
- 'errorCode' => 'RemediationTemplateNotExist',
- 'errorMessage' => 'The remediation template does not exist or is invalid.',
- 'description' => '修正模板不存在或不适用。',
- ],
- [
- 'errorCode' => 'Invalid.Params.Value',
- 'errorMessage' => 'The specified parameter value is invalid.',
- 'description' => '输入的模板参数值非法。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => '修正设置参数与规则参数不一致。'],
+ ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => '修正模板不存在或不适用。'],
+ ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => '输入的模板参数值非法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateRemediationSLR',
- 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'description' => '无权创建服务关联角色。',
- ],
+ ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <RemediationId>crr-909ba2d4716700eb****</RemediationId>\\n</CreateRemediationResponse>","errorExample":""}]',
'title' => '创建修正设置',
+ 'summary' => '为已有规则设置修正。',
'description' => '### 背景信息'."\n"
."\n"
.'- 模板修正:通过运维编排OOS提供的公共模板快速修正不合规资源。'."\n"
@@ -5124,12 +3185,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateRemediation',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRemediation'],
],
],
'ramActions' => [
@@ -5140,25 +3196,17 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <RemediationId>crr-909ba2d4716700eb****</RemediationId>\\n</CreateRemediationResponse>","errorExample":""}]',
],
'CreateReportTemplate' => [
'summary' => '为当前UID创建合规报告模版。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5170,34 +3218,19 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ReportTemplateName',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'test-report-name',
- 'maxLength' => 100,
- ],
+ 'schema' => ['description' => '报告模版名称', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'test-report-name', 'maxLength' => 100],
],
[
'name' => 'ReportTemplateDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-report-description',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '报告模版描述', 'type' => 'string', 'required' => false, 'example' => 'test-report-description', 'maxLength' => 500],
],
[
'name' => 'ReportGranularity',
@@ -5213,60 +3246,41 @@
.'成员账号只支持 GroupByAccount。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'AllInOne' => '模版范围所有账号聚合生成一份报告',
- 'GroupByAggregator' => '按照账号组聚合生成报告,生成一个压缩文件',
- 'GroupByAccount' => '所有账号单独生成报告(默认),生成一个压缩文件',
- ],
+ 'enumValueTitles' => ['AllInOne' => '模版范围所有账号聚合生成一份报告', 'GroupByAggregator' => '按照账号组聚合生成报告,生成一个压缩文件', 'GroupByAccount' => '所有账号单独生成报告(默认),生成一个压缩文件'],
'example' => 'GroupByAccount',
],
],
[
'name' => 'ReportFileFormats',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告格式,当前仅支持 excel 。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'excel',
- ],
+ 'schema' => ['description' => '报告格式,当前仅支持 excel 。', 'type' => 'string', 'required' => false, 'example' => 'excel'],
],
[
'name' => 'ReportLanguage',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
'name' => 'SubscriptionFrequency',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
- ."\n"
- .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
- .'- 每天0点执行:0 0 0 * * ?'."\n"
- .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
- .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
- ."\n"
- .'其中:'."\n"
- .'- "*"表示任意值'."\n"
- .'- ? 用于日和周字段,表示不指定具体值'."\n"
- .'- MON 表示星期一'."\n"
- ."\n"
- .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
- ."\n"
- .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
- ."\n"
- .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
- .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0 0 9 * * ?',
- ],
+ 'schema' => ['description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
+ ."\n"
+ .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
+ .'- 每天0点执行:0 0 0 * * ?'."\n"
+ .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
+ .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
+ ."\n"
+ .'其中:'."\n"
+ .'- "*"表示任意值'."\n"
+ .'- ? 用于日和周字段,表示不指定具体值'."\n"
+ .'- MON 表示星期一'."\n"
+ ."\n"
+ .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
+ ."\n"
+ .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
+ ."\n"
+ .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
+ .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)', 'type' => 'string', 'required' => false, 'example' => '0 0 9 * * ?'],
],
[
'name' => 'ReportScope',
@@ -5288,25 +3302,11 @@
.'- RuleId',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'CompliancePackId' => '合规包 Id',
- 'RuleId' => '规则 Id',
- 'AggregatorId' => '账号组 Id',
- ],
+ 'enumValueTitles' => ['CompliancePackId' => '合规包 Id', 'RuleId' => '规则 Id', 'AggregatorId' => '账号组 Id'],
'example' => 'RuleId',
],
- 'Value' => [
- 'description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-1,cr-2',
- ],
- 'MatchType' => [
- 'description' => '匹配逻辑,当前仅支持 In。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'In',
- ],
+ 'Value' => ['description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cr-1,cr-2'],
+ 'MatchType' => ['description' => '匹配逻辑,当前仅支持 In。', 'type' => 'string', 'required' => false, 'example' => 'In'],
],
'required' => false,
],
@@ -5320,32 +3320,18 @@
'description' => '返回结果',
'type' => 'object',
'properties' => [
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX',
- ],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX'],
],
],
],
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '创建报告模版',
'changeSet' => [],
'flowControl' => [
@@ -5356,14 +3342,8 @@
],
'DeactiveAggregateConfigRules' => [
'summary' => '停用指定账号组内的规则。停用规则后,不再对资源进行评估,仍显示停用前的合规评估结果。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5375,9 +3355,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -5385,38 +3363,21 @@
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-5772ba41209e007b****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-5772ba41209e007b****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-04b3fd170e340007****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
],
'responses' => [
@@ -5425,11 +3386,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'OperateRuleResult' => [
'description' => '停用规则的操作结果。',
'type' => 'object',
@@ -5441,29 +3398,17 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您停用规则成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。',
- 'type' => 'string',
- 'example' => 'ConfigRuleStatusNotActive',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-5772ba41209e007b****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您停用规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。', 'type' => 'string', 'example' => 'ConfigRuleStatusNotActive'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。'."\n", 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-5772ba41209e007b****'],
],
],
],
@@ -5475,52 +3420,22 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleStatusNotActive',
- 'errorMessage' => 'The status of the config rule is not active.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleStatusNotActive', 'errorMessage' => 'The status of the config rule is not active.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotActive\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeactiveAggregateConfigRulesResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode>ConfigRuleNotExists</ErrorCode>\\n <Success>false</Success>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</DeactiveAggregateConfigRulesResponse>","errorExample":""}]',
'title' => '停用账号组规则',
'description' => '### 前提条件'."\n"
@@ -5537,12 +3452,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -5550,14 +3460,8 @@
],
'DeactiveConfigRules' => [
'summary' => '停用规则后,不再对资源进行评估,仍显示停用前的合规评估结果。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5569,9 +3473,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -5579,25 +3481,14 @@
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-19a56457e0d90058****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-19a56457e0d90058****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
],
'responses' => [
@@ -5606,11 +3497,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B'],
'OperateRuleResult' => [
'description' => '停用规则的操作结果。'."\n"
."\n",
@@ -5624,30 +3511,18 @@
'description' => '停用规则的操作列表。',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您停用规则成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleStatusNotActive',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-19a56457e0d90058****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您停用规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleStatusNotActive'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-19a56457e0d90058****'],
],
],
],
@@ -5659,40 +3534,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleStatusNotActive',
- 'errorMessage' => 'The status of the config rule is not active.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleStatusNotActive', 'errorMessage' => 'The status of the config rule is not active.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotActive\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-19a56457e0d90058****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeactiveConfigRulesResponse>\\n\\t<RequestId>54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B</RequestId>\\n\\t<OperateRuleResult>\\n\\t\\t<OperateRuleItemList>\\n\\t\\t\\t<ConfigRuleId>cr-19a56457e0d90058****</ConfigRuleId>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateRuleItemList>\\n\\t</OperateRuleResult>\\n</DeactiveConfigRulesResponse>\\t","errorExample":""}]',
'title' => '停用规则',
'description' => '### 前提条件'."\n"
@@ -5709,26 +3562,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteAggregateCompliancePacks' => [
- 'summary' => '删除指定账号组内的合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5740,61 +3582,37 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。多个合规包ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。多个合规包ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-04b3fd170e340007****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'],
],
[
'name' => 'DeleteRule',
'in' => 'formData',
- 'schema' => [
- 'description' => '删除合规包时是否同时删除规则。取值:'."\n"
- ."\n"
- .'- true:删除规则。'."\n"
- ."\n"
- .'- false(默认值):不删除规则。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '删除合规包时是否同时删除规则。取值:'."\n"
+ ."\n"
+ .'- true:删除规则。'."\n"
+ ."\n"
+ .'- false(默认值):不删除规则。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -5803,11 +3621,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'OperateCompliancePacksResult' => [
'description' => '删除合规包的操作结果。',
'type' => 'object',
@@ -5819,30 +3633,18 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您删除合规包成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。',
- 'type' => 'string',
- 'example' => 'CompliancePackAlreadyPending',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您删除合规包成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。', 'type' => 'string', 'example' => 'CompliancePackAlreadyPending'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'false'],
],
],
],
@@ -5854,49 +3656,30 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackIds.SizeExceed',
- 'errorMessage' => 'The maximum number of CompliancePackIds is 5.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.CompliancePackIds.SizeExceed', 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', 'description' => '合规包ID不能超过5个。'],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateCompliancePacksResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateCompliancePacksResult>\\n <OperateCompliancePacks>\\n <CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n <ErrorCode>CompliancePackAlreadyPending</ErrorCode>\\n <Success>false</Success>\\n </OperateCompliancePacks>\\n </OperateCompliancePacksResult>\\n</DeleteAggregateCompliancePacksResponse>","errorExample":""}]',
'title' => '删除账号组合规包',
+ 'summary' => '删除指定账号组内的合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。',
'description' => '本文将提供一个示例,删除账号组`ca-04b3fd170e340007****`内的合规包`cp-541e626622af0087****`。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateCompliancePacks'],
+ ],
+ ],
'ramActions' => [
[
'operationType' => 'delete',
@@ -5905,27 +3688,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateCompliancePacksResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateCompliancePacksResult>\\n <OperateCompliancePacks>\\n <CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n <ErrorCode>CompliancePackAlreadyPending</ErrorCode>\\n <Success>false</Success>\\n </OperateCompliancePacks>\\n </OperateCompliancePacksResult>\\n</DeleteAggregateCompliancePacksResponse>","errorExample":""}]',
],
'DeleteAggregateConfigDeliveryChannel' => [
'summary' => '删除投递渠道后,投递到日志服务SLS、对象存储OSS和轻量消息队列(原 MNS)的资源数据同步被删除,且不可恢复。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5937,32 +3710,20 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigL91U0A',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigL91U0A'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-23c6626622af0041****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-23c6626622af0041****'],
],
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-38c3013b46c9002c****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。', 'type' => 'string', 'required' => true, 'example' => 'cdc-38c3013b46c9002c****'],
],
],
'responses' => [
@@ -5971,74 +3732,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'FCC2F05C-F672-5665-8102-0020DF66B9B9',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-38c3013b46c9002c****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FCC2F05C-F672-5665-8102-0020DF66B9B9'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-38c3013b46c9002c****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FCC2F05C-F672-5665-8102-0020DF66B9B9\\",\\n \\"DeliveryChannelId\\": \\"cdc-38c3013b46c9002c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateConfigDeliveryChannelResponse>\\n <RequestId>FCC2F05C-F672-5665-8102-0020DF66B9B9</RequestId>\\n <DeliveryChannelId>cdc-38c3013b46c9002c****</DeliveryChannelId>\\n</DeleteAggregateConfigDeliveryChannelResponse>","errorExample":""}]',
@@ -6054,12 +3767,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
@@ -6067,14 +3775,8 @@
],
'DeleteAggregateConfigRules' => [
'summary' => '删除指定账号组内的规则。删除规则后,其配置信息不再保留。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6086,36 +3788,22 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-4e3d626622af0080****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4e3d626622af0080****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'],
],
],
'responses' => [
@@ -6124,11 +3812,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'OperateRuleResult' => [
'description' => '删除规则的操作结果。',
'type' => 'object',
@@ -6140,31 +3824,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您删除规则成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleCanNotDelete',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-4e3d626622af0080****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您删除规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-4e3d626622af0080****'],
],
],
],
@@ -6176,47 +3848,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleCanNotDelete',
- 'errorMessage' => 'The config rule cannot be deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleCanNotDelete', 'errorMessage' => 'The config rule cannot be deleted.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateConfigRulesResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<OperateRuleResult>\\n\\t\\t<OperateRuleItemList>\\n\\t\\t\\t<ErrorCode>ConfigRuleCanNotDelete</ErrorCode>\\n\\t\\t\\t<Success>false</Success>\\n\\t\\t\\t<ConfigRuleId>cr-4e3d626622af0080****</ConfigRuleId>\\n\\t\\t</OperateRuleItemList>\\n\\t</OperateRuleResult>\\n</DeleteAggregateConfigRulesResponse>\\t","errorExample":""}]',
@@ -6232,25 +3876,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
],
],
'DeleteAggregateRemediations' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6262,36 +3896,22 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'RemediationIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置ID。多个修正设置ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取修正设置ID,请参见[ListAggregateRemediations](~~270036~~)。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'schema' => ['description' => '修正设置ID。多个修正设置ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取修正设置ID,请参见[ListAggregateRemediations](~~270036~~)。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-6b4a626622af0012****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****'],
],
],
'responses' => [
@@ -6300,11 +3920,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441'],
'RemediationDeleteResults' => [
'description' => '删除修正设置的操作结果。',
'type' => 'array',
@@ -6312,30 +3928,18 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-909ba2d4716700eb****',
- ],
- 'ErrorMessage' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您删除修正设置成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。'."\n",
- 'type' => 'string',
- 'example' => 'RemediationConfigNotExist',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****'],
+ 'ErrorMessage' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您删除修正设置成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。'."\n", 'type' => 'string', 'example' => 'RemediationConfigNotExist'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -6345,18 +3949,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '删除账号组的修正设置',
@@ -6366,12 +3962,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteAggregateRemediations',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateRemediations'],
],
],
'ramActions' => [
@@ -6382,12 +3973,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -6396,13 +3982,8 @@
],
'DeleteAggregators' => [
'summary' => '资源目录中的管理账号或委派管理员账号可以删除账号组。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6414,32 +3995,19 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigB2MNLG',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'],
],
'parameters' => [
[
'name' => 'AggregatorIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。多个账号组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-9190626622af00a9****',
- ],
+ 'schema' => ['description' => '账号组ID。多个账号组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-9190626622af00a9****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
],
'responses' => [
@@ -6448,11 +4016,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'],
'OperateAggregatorsResult' => [
'description' => '删除账号组的操作结果。',
'type' => 'object',
@@ -6464,27 +4028,15 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'> 如果删除账号组成功,则错误码为空。',
- 'type' => 'string',
- 'example' => 'AccountNotExisted',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-dacf86d8314e00eb****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'> 如果删除账号组成功,则错误码为空。', 'type' => 'string', 'example' => 'AccountNotExisted'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'false'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-dacf86d8314e00eb****'],
],
],
],
@@ -6496,42 +4048,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorIds.Empty',
- 'errorMessage' => 'You must specify AggregatorIds.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorIds.SizeExceed',
- 'errorMessage' => 'The maximum number of AggregatorIds is 5.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorIds.Empty', 'errorMessage' => 'You must specify AggregatorIds.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorIds.SizeExceed', 'errorMessage' => 'The maximum number of AggregatorIds is 5.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"OperateAggregatorsResult\\": {\\n \\"OperateAggregators\\": [\\n {\\n \\"ErrorCode\\": \\"AccountNotExisted\\",\\n \\"Success\\": false,\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregatorsResponse>\\n\\t<RequestId>95B23BAB-ABB2-43C8-9475-2DC42EA60CAA</RequestId>\\n\\t<OperateAggregatorsResult>\\n\\t\\t<OperateAggregators>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<AggregatorId>ca-9190626622af00a9****</AggregatorId>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateAggregators>\\n\\t</OperateAggregatorsResult>\\n</DeleteAggregatorsResponse>","errorExample":""}]',
@@ -6558,26 +4086,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
],
],
'DeleteCompliancePacks' => [
- 'summary' => '删除指定合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6589,47 +4106,29 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。多个合规包ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。多个合规包ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
[
'name' => 'DeleteRule',
'in' => 'formData',
- 'schema' => [
- 'description' => '删除合规包时是否同时删除规则。取值:'."\n"
- ."\n"
- .'- true:删除规则。'."\n"
- ."\n"
- .'- false(默认值):不删除规则。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '删除合规包时是否同时删除规则。取值:'."\n"
+ ."\n"
+ .'- true:删除规则。'."\n"
+ ."\n"
+ .'- false(默认值):不删除规则。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -6638,11 +4137,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'OperateCompliancePacksResult' => [
'description' => '删除合规包的操作结果。',
'type' => 'object',
@@ -6654,31 +4149,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您删除合规包成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。'."\n"
- ."\n\n"
- ."\n\n",
- 'type' => 'string',
- 'example' => 'CompliancePackAlreadyPending',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您删除合规包成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。'."\n"
+ ."\n\n"
+ ."\n\n", 'type' => 'string', 'example' => 'CompliancePackAlreadyPending'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -6690,37 +4173,26 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackIds.SizeExceed',
- 'errorMessage' => 'The maximum number of CompliancePackIds is 5.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.CompliancePackIds.SizeExceed', 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', 'description' => '合规包ID不能超过5个。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteCompliancePacksResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<OperateCompliancePacksResult>\\n\\t\\t<OperateCompliancePacks>\\n\\t\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateCompliancePacks>\\n\\t</OperateCompliancePacksResult>\\n</DeleteCompliancePacksResponse>","errorExample":""}]',
'title' => '删除合规包',
+ 'summary' => '删除指定合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。',
'description' => '本文将提供一个示例,删除合规包`cp-541e626622af0087****`。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCompliancePacks'],
+ ],
+ ],
'ramActions' => [
[
'operationType' => 'delete',
@@ -6729,27 +4201,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteCompliancePacksResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<OperateCompliancePacksResult>\\n\\t\\t<OperateCompliancePacks>\\n\\t\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateCompliancePacks>\\n\\t</OperateCompliancePacksResult>\\n</DeleteCompliancePacksResponse>","errorExample":""}]',
],
'DeleteConfigDeliveryChannel' => [
'summary' => '删除投递渠道后,投递到日志服务SLS、对象存储OSS和轻量消息队列(原 MNS)的资源数据同步被删除,且不可恢复。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6761,22 +4223,15 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-38c32e87cadb002c****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。', 'type' => 'string', 'required' => true, 'example' => 'cdc-38c32e87cadb002c****'],
],
],
'responses' => [
@@ -6784,74 +4239,26 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '35F1DA37-ECB5-54E9-AC22-0D9111A665AA',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-38c32e87cadb002c****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '35F1DA37-ECB5-54E9-AC22-0D9111A665AA'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-38c32e87cadb002c****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"35F1DA37-ECB5-54E9-AC22-0D9111A665AA\\",\\n \\"DeliveryChannelId\\": \\"cdc-38c32e87cadb002c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteConfigDeliveryChannelResponse>\\n <RequestId>35F1DA37-ECB5-54E9-AC22-0D9111A665AA</RequestId>\\n <DeliveryChannelId>cdc-38c32e87cadb002c****</DeliveryChannelId>\\n</DeleteConfigDeliveryChannelResponse>","errorExample":""}]',
@@ -6867,12 +4274,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
@@ -6880,13 +4282,8 @@
],
'DeleteConfigRules' => [
'summary' => '删除指定规则。删除规则后,其配置信息不再保留。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6898,23 +4295,15 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~609222~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-9908626622af0035****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~609222~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-9908626622af0035****'],
],
],
'responses' => [
@@ -6922,11 +4311,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6721BBD3-F2A6-5349-9051-EE0111036D3F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6721BBD3-F2A6-5349-9051-EE0111036D3F'],
'OperateRuleResult' => [
'description' => '删除规则的操作结果。',
'type' => 'object',
@@ -6938,31 +4323,19 @@
'description' => '错误码。',
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您停用规则成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.aliyun.com/document/Config/2020-09-07/errorCode)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.alibabacloud.com/document/Config/2020-09-07/errorCode)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleCanNotDelete',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-9908626622af0035****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您停用规则成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.aliyun.com/document/Config/2020-09-07/errorCode)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.alibabacloud.com/document/Config/2020-09-07/errorCode)。</props>', 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-9908626622af0035****'],
],
],
],
@@ -6974,35 +4347,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleCanNotDelete',
- 'errorMessage' => 'The config rule cannot be deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleCanNotDelete', 'errorMessage' => 'The config rule cannot be deleted.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6721BBD3-F2A6-5349-9051-EE0111036D3F\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-9908626622af0035****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -7017,12 +4370,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -7030,13 +4378,8 @@
],
'DeleteRemediations' => [
'summary' => '删除指定修正设置。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7048,23 +4391,15 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'RemediationIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置ID。多个修正设置ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取修正设置ID,请参见[ListRemediations](~~270772~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'schema' => ['description' => '修正设置ID。多个修正设置ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取修正设置ID,请参见[ListRemediations](~~270772~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****'],
],
],
'responses' => [
@@ -7073,11 +4408,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441'],
'RemediationDeleteResults' => [
'description' => '删除修正设置的操作结果。',
'type' => 'array',
@@ -7085,29 +4416,17 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-909ba2d4716700eb****',
- ],
- 'ErrorMessage' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当您删除修正设置成功时,该参数为空。'."\n"
- ."\n"
- .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。',
- 'type' => 'string',
- 'example' => 'RemediationConfigNotExist',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****'],
+ 'ErrorMessage' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当您删除修正设置成功时,该参数为空。'."\n"
+ ."\n"
+ .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见<props="china">[错误中心](https://error-center.aliyun.com/status/product/Config)</props><props="intl">[错误中心](https://error-center.alibabacloud.com/status/product/Config)</props>。', 'type' => 'string', 'example' => 'RemediationConfigNotExist'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -7117,18 +4436,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '删除修正设置',
@@ -7137,12 +4448,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteRemediations',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteRemediations'],
],
],
'ramActions' => [
@@ -7153,12 +4459,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7167,12 +4468,8 @@
],
'DeleteReportTemplate' => [
'summary' => '删除合规报告模版。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7184,21 +4481,13 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
],
'parameters' => [
[
'name' => 'ReportTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx'],
],
],
'responses' => [
@@ -7206,16 +4495,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B',
- ],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B'],
],
'description' => '',
],
@@ -7223,16 +4504,10 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除合规报告模版',
'changeSet' => [],
'flowControl' => [
@@ -7243,14 +4518,8 @@
],
'DescribeDiscoveredResourceBatch' => [
'summary' => '本接口用于批量获取资源详情。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7262,43 +4531,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceIds',
'in' => 'query',
- 'schema' => [
- 'title' => '资源id,多个以逗号分隔',
- 'description' => '资源ID。多个ID之间使用半角逗号(`,`)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'r-wz998f311e21****,r-wz97f4a73478****',
- ],
+ 'schema' => ['title' => '资源id,多个以逗号分隔', 'description' => '资源ID。多个ID之间使用半角逗号(`,`)分隔。', 'type' => 'string', 'required' => false, 'example' => 'r-wz998f311e21****,r-wz97f4a73478****'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型,多个以逗号分隔',
- 'description' => '资源类型。多个类型之间使用半角逗号(`,`)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Disk,ACS::ECS::Instance',
- ],
+ 'schema' => ['title' => '资源类型,多个以逗号分隔', 'description' => '资源类型。多个类型之间使用半角逗号(`,`)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk,ACS::ECS::Instance'],
],
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'title' => '资源region,多个以逗号分隔',
- 'description' => '资源所属地域。多个地域之间使用半角逗号(`,`)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai,cn-hongkong,cn-zhangjiakou,cn-hangzhou',
- ],
+ 'schema' => ['title' => '资源region,多个以逗号分隔', 'description' => '资源所属地域。多个地域之间使用半角逗号(`,`)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai,cn-hongkong,cn-zhangjiakou,cn-hangzhou'],
],
],
'responses' => [
@@ -7308,37 +4557,20 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '批量获取资源详情',
@@ -7354,12 +4586,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7368,14 +4595,8 @@
],
'DescribeIntegratedServiceStatus' => [
'summary' => '查询用户集成云产品的授权状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7387,22 +4608,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '云产品code',
- 'description' => '云产品code',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'cadt',
- ],
+ 'schema' => ['title' => '云产品code', 'description' => '云产品code', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'cadt'],
],
],
'responses' => [
@@ -7410,34 +4622,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2E265A38-84D9-5083-A333-B33A2B46D139',
- ],
- 'Data' => [
- 'title' => 'integrate service status',
- 'description' => '集成服务开启状态',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AggregatorDeliveryDataType' => [
- 'description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'example' => 'NonCompliantNotification',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2E265A38-84D9-5083-A333-B33A2B46D139'],
+ 'Data' => ['title' => 'integrate service status', 'description' => '集成服务开启状态', 'type' => 'boolean', 'example' => 'false'],
+ 'AggregatorDeliveryDataType' => ['description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'example' => 'NonCompliantNotification'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'title' => '查询指定云服务的集成状态',
@@ -7453,12 +4648,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7467,13 +4657,8 @@
],
'DescribeRemediation' => [
'summary' => '本文将提供一个示例,查询修正设置crr-f381cf0c1c2f004e****的详情。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7481,31 +4666,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'title' => '规则ID',
- 'description' => '规则ID',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-3184626622af003****',
- ],
+ 'schema' => ['title' => '规则ID', 'description' => '规则ID', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-3184626622af003****'],
],
[
'name' => 'RemediationId',
'in' => 'query',
- 'schema' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'crr-f381cf0c1c2f004e****',
- ],
+ 'schema' => ['description' => '修正设置ID。', 'type' => 'string', 'required' => false, 'example' => 'crr-f381cf0c1c2f004e****'],
],
],
'responses' => [
@@ -7513,99 +4684,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '79BE07A7-46A5-5D3C-B378-0ACDA979****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '79BE07A7-46A5-5D3C-B378-0ACDA979****'],
'Remediation' => [
'description' => '修正设置详情。',
'type' => 'object',
'properties' => [
- 'LastSuccessfulInvocationType' => [
- 'description' => '修正最近一次执行成功的方式。取值:'."\n"
- ."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- ."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- ."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- ."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'RemediationTemplateId' => [
- 'description' => '修正模板ID。',
- 'type' => 'string',
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
- 'RemediationOriginParams' => [
- 'description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-f381cf0c1c2f004e****',
- ],
- 'RemediationSourceType' => [
- 'description' => '执行修正的模板来源。取值:'."\n"
- ."\n"
- .'- ALIYUN:官网模板。'."\n"
- ."\n"
- .'- CUSTOM:自定义模板。'."\n"
- ."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'RemediationType' => [
- 'description' => '修正类型。取值:'."\n"
- ."\n"
- .'- OOS:运维编排(官方修正)。'."\n"
- ."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'LastSuccessfulInvocationId' => [
- 'description' => '修正最近一次执行成功的记录ID。',
- 'type' => 'string',
- 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****',
- ],
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'InvokeType' => [
- 'description' => '修正执行方式。取值:'."\n"
- ."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- ."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- ."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- ."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-3184626622af003****',
- ],
- 'LastSuccessfulInvocationTime' => [
- 'description' => '修正最近一次执行成功的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625451393589',
- ],
+ 'LastSuccessfulInvocationType' => ['description' => '修正最近一次执行成功的方式。取值:'."\n"
+ ."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ ."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ ."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ ."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'RemediationTemplateId' => ['description' => '修正模板ID。', 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'],
+ 'RemediationOriginParams' => ['description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。', 'type' => 'string', 'required' => true, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-f381cf0c1c2f004e****'],
+ 'RemediationSourceType' => ['description' => '执行修正的模板来源。取值:'."\n"
+ ."\n"
+ .'- ALIYUN:官网模板。'."\n"
+ ."\n"
+ .'- CUSTOM:自定义模板。'."\n"
+ ."\n"
+ .'- NONE:无。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'RemediationType' => ['description' => '修正类型。取值:'."\n"
+ ."\n"
+ .'- OOS:运维编排(官方修正)。'."\n"
+ ."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'example' => 'OOS'],
+ 'LastSuccessfulInvocationId' => ['description' => '修正最近一次执行成功的记录ID。', 'type' => 'string', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'InvokeType' => ['description' => '修正执行方式。取值:'."\n"
+ ."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ ."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ ."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ ."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-3184626622af003****'],
+ 'LastSuccessfulInvocationTime' => ['description' => '修正最近一次执行成功的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625451393589'],
],
],
],
@@ -7623,12 +4743,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7636,14 +4751,8 @@
],
'DetachAggregateConfigRuleToCompliancePack' => [
'summary' => '将指定账号组规则从指定账号组合规包中移出。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7655,47 +4764,29 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-a124626622af00e7****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a124626622af00e7****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cp-5bb1626622af00bd****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-75b4626622af00c3****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-75b4626622af00c3****'],
],
],
'responses' => [
@@ -7703,11 +4794,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A'],
'OperateRuleResult' => [
'description' => '规则移出合规包的操作结果。',
'type' => 'object',
@@ -7718,31 +4805,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当规则移出合规包操作成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleNotExists',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-a124626622af00e7****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当规则移出合规包操作成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleNotExists'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a124626622af00e7****'],
],
],
],
@@ -7754,30 +4829,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-a124626622af00e7****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -7798,12 +4857,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7811,14 +4865,8 @@
],
'DetachConfigRuleToCompliancePack' => [
'summary' => '本接口用于从指定合规包中移出指定规则。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7830,35 +4878,22 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-6cc4626622af00e7****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6cc4626622af00e7****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cp-5bb1626622af00bd****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****'],
],
],
'responses' => [
@@ -7866,11 +4901,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1AC7AED1-172F-42AE-9C12-295BC2ADB12A',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1AC7AED1-172F-42AE-9C12-295BC2ADB12A'],
'OperateRuleResult' => [
'description' => '规则移出合规包的操作结果。',
'type' => 'object',
@@ -7881,31 +4912,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ErrorCode' => [
- 'description' => '错误码。'."\n"
- ."\n"
- .'- 当规则移出合规包操作成功时,该参数为空。'."\n"
- ."\n"
- .'<props="china">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
- ."\n"
- .'<props="intl">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>',
- 'type' => 'string',
- 'example' => 'ConfigRuleNotExists',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-6cc4626622af00e7****',
- ],
+ 'ErrorCode' => ['description' => '错误码。'."\n"
+ ."\n"
+ .'- 当规则移出合规包操作成功时,该参数为空。'."\n"
+ ."\n"
+ .'<props="china">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。</props>'."\n"
+ ."\n"
+ .'<props="intl">- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。</props>', 'type' => 'string', 'example' => 'ConfigRuleNotExists'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6cc4626622af00e7****'],
],
],
],
@@ -7917,30 +4936,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'description' => '输入的规则ID不能超过20个。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => '输入的规则ID不能超过20个。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1AC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-6cc4626622af00e7****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -7953,12 +4956,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DetachConfigRuleToCompliancePack',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachConfigRuleToCompliancePack'],
],
],
'ramActions' => [
@@ -7969,25 +4967,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DryRunConfigRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7999,65 +4987,53 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ConfigurationItem',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源的完整配置信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "ResourceCreationTime": 1741241360000,'."\n"
- .' "AccountId": 123,'."\n"
- .' "Configuration": {'."\n"
- .' "ResourceGroupId": "",'."\n"
- .' "Memory": 1024,'."\n"
- .' "InstanceChargeType": "PrePaid",'."\n"
- .' "Cpu": 1,'."\n"
- .' "OSName": "Alibaba Cloud Linux 3.2104 LTS 64 bit",'."\n"
- .' "InstanceNetworkType": "vpc",'."\n"
- .' "InnerIpAddress": {'."\n"
- .' "IpAddress": []'."\n"
- .' },'."\n"
- .' "ExpiredTime": "2026-05-06T16:00Z",'."\n"
- .' "ImageId": "aliyun_3_x64_20G_alibase_20250117.vhd",'."\n"
- .' "EipAddress": {'."\n"
- .' "AllocationId": "",'."\n"
- .' "IpAddress": "",'."\n"
- .' "InternetChargeType": ""'."\n"
- .' },'."\n"
- .' "ImageOptions": {},'."\n"
- .' "Status": "Running",'."\n"
- .' "AdditionalInfo": {},'."\n"
- .' "HibernationOptions": {'."\n"
- .' "Configured": false'."\n"
- .' }'."\n"
- .' },'."\n"
- .' "ResourceId": "i-bp1d8kd8ztaynb4c****",'."\n"
- .' "ResourceName": "****",'."\n"
- .' "ResourceStatus": "Running",'."\n"
- .' "Region": "cn-hangzhou",'."\n"
- .' "AvailabilityZone": "cn-hangzhou-h",'."\n"
- .' "ResourceType": "ACS::ECS::Instance",'."\n"
- .' "ResourceDeleted": 1'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '资源的完整配置信息', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "ResourceCreationTime": 1741241360000,'."\n"
+ .' "AccountId": 123,'."\n"
+ .' "Configuration": {'."\n"
+ .' "ResourceGroupId": "",'."\n"
+ .' "Memory": 1024,'."\n"
+ .' "InstanceChargeType": "PrePaid",'."\n"
+ .' "Cpu": 1,'."\n"
+ .' "OSName": "Alibaba Cloud Linux 3.2104 LTS 64 bit",'."\n"
+ .' "InstanceNetworkType": "vpc",'."\n"
+ .' "InnerIpAddress": {'."\n"
+ .' "IpAddress": []'."\n"
+ .' },'."\n"
+ .' "ExpiredTime": "2026-05-06T16:00Z",'."\n"
+ .' "ImageId": "aliyun_3_x64_20G_alibase_20250117.vhd",'."\n"
+ .' "EipAddress": {'."\n"
+ .' "AllocationId": "",'."\n"
+ .' "IpAddress": "",'."\n"
+ .' "InternetChargeType": ""'."\n"
+ .' },'."\n"
+ .' "ImageOptions": {},'."\n"
+ .' "Status": "Running",'."\n"
+ .' "AdditionalInfo": {},'."\n"
+ .' "HibernationOptions": {'."\n"
+ .' "Configured": false'."\n"
+ .' }'."\n"
+ .' },'."\n"
+ .' "ResourceId": "i-bp1d8kd8ztaynb4c****",'."\n"
+ .' "ResourceName": "****",'."\n"
+ .' "ResourceStatus": "Running",'."\n"
+ .' "Region": "cn-hangzhou",'."\n"
+ .' "AvailabilityZone": "cn-hangzhou-h",'."\n"
+ .' "ResourceType": "ACS::ECS::Instance",'."\n"
+ .' "ResourceDeleted": 1'."\n"
+ .'}'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
],
'responses' => [
@@ -8067,31 +5043,22 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C32EEAD7-BF64-5927-977A-AFF9342B****',
- ],
- 'RuleConditionContext' => [
- 'description' => '规则条件上下文',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "result":"NON_COMPLIANT",'."\n"
- .' "children":['."\n"
- .' {'."\n"
- .' "featureValue":"1",'."\n"
- .' "featureSource":"CONFIGURATION",'."\n"
- .' "result":"NON_COMPLIANT",'."\n"
- .' "desired":"4",'."\n"
- .' "children":[],'."\n"
- .' "operator":"StringEquals",'."\n"
- .' "featurePath":"$.Cpu"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "operator":"and"'."\n"
- .'}',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C32EEAD7-BF64-5927-977A-AFF9342B****'],
+ 'RuleConditionContext' => ['description' => '规则条件上下文', 'type' => 'string', 'example' => '{'."\n"
+ .' "result":"NON_COMPLIANT",'."\n"
+ .' "children":['."\n"
+ .' {'."\n"
+ .' "featureValue":"1",'."\n"
+ .' "featureSource":"CONFIGURATION",'."\n"
+ .' "result":"NON_COMPLIANT",'."\n"
+ .' "desired":"4",'."\n"
+ .' "children":[],'."\n"
+ .' "operator":"StringEquals",'."\n"
+ .' "featurePath":"$.Cpu"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "operator":"and"'."\n"
+ .'}'],
'ComplianceType' => [
'description' => '规则的合规类型。取值:'."\n"
.'- COMPLIANT:合规。'."\n"
@@ -8099,32 +5066,20 @@
.'- NOT_APPLICABLE:不适用。'."\n"
.'- INSUFFICIENT_DATA:数据不充分。',
'type' => 'string',
- 'enumValueTitles' => [
- 'NOT_APPLICABLE' => '不适用',
- 'COMPLIANT' => '合规',
- 'NON_COMPLIANT' => '不合规',
- 'INSUFFICIENT_DATA' => '数据不充分',
- ],
+ 'enumValueTitles' => ['NOT_APPLICABLE' => '不适用', 'COMPLIANT' => '合规', 'NON_COMPLIANT' => '不合规', 'INSUFFICIENT_DATA' => '数据不充分'],
'example' => 'COMPLIANT',
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '试运行事前合规预检的规则',
'summary' => '本接口用于试运行事前合规预检的规则。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DryRunConfigRule',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DryRunConfigRule'],
],
],
'ramActions' => [
@@ -8135,12 +5090,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -8149,13 +5099,8 @@
],
'EvaluatePreConfigRules' => [
'summary' => '执行预检规则对资源进行合规预检。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8167,22 +5112,14 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceTypeFormat',
'in' => 'formData',
- 'schema' => [
- 'title' => '下一个查询开始Token',
- 'description' => '查询开始Token',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ros',
- ],
+ 'schema' => ['title' => '下一个查询开始Token', 'description' => '查询开始Token', 'type' => 'string', 'required' => false, 'example' => 'ros'],
],
[
'name' => 'ResourceEvaluateItems',
@@ -8195,24 +5132,14 @@
'description' => '预检规则评估项。',
'type' => 'object',
'properties' => [
- 'ResourceLogicalId' => [
- 'description' => '资源逻辑ID。'."\n"
- ."\n"
- .'> 如果该参数为空,则按照`ResourceProperties`的Base64位生成。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceLogicId-test',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取预检规则的标识,请参见[ListPreManagedRules](~~467810~~)。'."\n"
- ."\n"
- .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'ResourceLogicalId' => ['description' => '资源逻辑ID。'."\n"
+ ."\n"
+ .'> 如果该参数为空,则按照`ResourceProperties`的Base64位生成。', 'type' => 'string', 'required' => false, 'example' => 'ResourceLogicId-test'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取预检规则的标识,请参见[ListPreManagedRules](~~467810~~)。'."\n"
+ ."\n"
+ .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'Rules' => [
'description' => '预检规则列表。',
'type' => 'array',
@@ -8220,36 +5147,21 @@
'description' => '预检规则。',
'type' => 'object',
'properties' => [
- 'Identifier' => [
- 'description' => '规则标识。'."\n"
- ."\n"
- .'关于如何获取规则标识,请参见[ListPreManagedRules](~~467810~~)。'."\n"
- ."\n"
- .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs-instance-deletion-protection-enabled',
- ],
- 'InputParameters' => [
- 'description' => '规则参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'Identifier' => ['description' => '规则标识。'."\n"
+ ."\n"
+ .'关于如何获取规则标识,请参见[ListPreManagedRules](~~467810~~)。'."\n"
+ ."\n"
+ .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。', 'type' => 'string', 'required' => false, 'example' => 'ecs-instance-deletion-protection-enabled'],
+ 'InputParameters' => ['description' => '规则参数。', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
'required' => false,
],
'required' => false,
'maxItems' => 200,
],
- 'ResourceProperties' => [
- 'description' => '资源配置项(即将创建的资源属性),例如:资源的规格、所属地域、名称、状态、端口或网口开关状态等。'."\n"
- ."\n"
- .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"ResourceGroupId":"","Memory":8192,"InstanceChargeType":"PostPaid","Cpu":2}',
- ],
+ 'ResourceProperties' => ['description' => '资源配置项(即将创建的资源属性),例如:资源的规格、所属地域、名称、状态、端口或网口开关状态等。'."\n"
+ ."\n"
+ .'> 参数`ResourceType`、`Identifier`和`ResourceProperties`必须同时设置。', 'type' => 'string', 'required' => false, 'example' => '{"ResourceGroupId":"","Memory":8192,"InstanceChargeType":"PostPaid","Cpu":2}'],
],
'required' => false,
],
@@ -8260,17 +5172,11 @@
[
'name' => 'EnableManagedRules',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否启用规则模板。取值:'."\n"
- ."\n"
- .'- true:启用规则模板。'."\n"
- ."\n"
- .'- false(默认值):不启用规则模板。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否启用规则模板。取值:'."\n"
+ ."\n"
+ .'- true:启用规则模板。'."\n"
+ ."\n"
+ .'- false(默认值):不启用规则模板。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
],
'responses' => [
@@ -8280,12 +5186,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '129ECF1C-7897-1131-BD0F-4B588AC05400',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '129ECF1C-7897-1131-BD0F-4B588AC05400'],
'ResourceEvaluations' => [
'description' => '资源评估结果列表。',
'type' => 'array',
@@ -8293,18 +5194,10 @@
'description' => '资源评估结果。',
'type' => 'object',
'properties' => [
- 'ResourceLogicalId' => [
- 'description' => '资源逻辑ID。'."\n"
- ."\n"
- .'> 如果请求参数为空,则自动根据`ResourceProperties`的Base64位生成。',
- 'type' => 'string',
- 'example' => 'ResourceLogicId-test',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'ResourceLogicalId' => ['description' => '资源逻辑ID。'."\n"
+ ."\n"
+ .'> 如果请求参数为空,则自动根据`ResourceProperties`的Base64位生成。', 'type' => 'string', 'example' => 'ResourceLogicId-test'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
'Rules' => [
'description' => '预检规则列表。',
'type' => 'array',
@@ -8312,29 +5205,13 @@
'description' => '预检规则。',
'type' => 'object',
'properties' => [
- 'Identifier' => [
- 'description' => '规则标识。',
- 'type' => 'string',
- 'example' => 'ecs-instance-deletion-protection-enabled',
- ],
- 'ComplianceType' => [
- 'description' => '预检规则的合规类型。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'Annotation' => [
- 'description' => '不合规原因。',
- 'type' => 'string',
- 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DeletionProtection\\"}',
- ],
- 'HelpUrl' => [
- 'description' => '托管规则修正指导的文档链接。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com',
- ],
+ 'Identifier' => ['description' => '规则标识。', 'type' => 'string', 'example' => 'ecs-instance-deletion-protection-enabled'],
+ 'ComplianceType' => ['description' => '预检规则的合规类型。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'Annotation' => ['description' => '不合规原因。', 'type' => 'string', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DeletionProtection\\"}'],
+ 'HelpUrl' => ['description' => '托管规则修正指导的文档链接。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com'],
],
],
],
@@ -8346,9 +5223,7 @@
],
],
'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '执行预检规则评估资源',
'description' => '关于预检规则的概念、运行原理和集成过程,请参见[预检规则的定义与运行原理](~~470802~~)。'."\n"
."\n"
@@ -8358,12 +5233,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'EvaluatePreConfigRules',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvaluatePreConfigRules'],
],
],
'ramActions' => [
@@ -8374,12 +5244,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -8389,13 +5254,8 @@
],
'GenerateAggregateCompliancePackReport' => [
'summary' => '为指定账号组内的指定合规包生成评估报告。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8407,59 +5267,34 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'MultiFiles',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否按资源归属用户ID生成多个文件,取值:'."\n"
- .'- true:生成多个文件(默认值)'."\n"
- .'- false:生成单个文件',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => '是否按资源归属用户ID生成多个文件,取值:'."\n"
+ .'- true:生成多个文件(默认值)'."\n"
+ .'- false:生成单个文件', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
],
],
'responses' => [
@@ -8468,51 +5303,23 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CompliancePackReportCreating',
- 'errorMessage' => 'The compliance pack report is being created.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'CompliancePackReportCreating', 'errorMessage' => 'The compliance pack report is being created.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateAggregateCompliancePackReportResponse>\\n\\t<CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</GenerateAggregateCompliancePackReportResponse>\\t","errorExample":""}]',
@@ -8530,12 +5337,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -8543,13 +5345,8 @@
],
'GenerateAggregateConfigRulesReport' => [
'summary' => '为指定账号组内规则列表中的规则生成评估报告。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8557,44 +5354,26 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'ConfigRuleIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-25d86457e0d900b5****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-25d86457e0d900b5****'],
],
],
'responses' => [
@@ -8603,51 +5382,23 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
- 'ReportId' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
+ 'ReportId' => ['description' => '评估报告ID。', 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleReportCreating',
- 'errorMessage' => 'The config rule report is being created.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleReportCreating', 'errorMessage' => 'The config rule report is being created.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateAggregateConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <AggregatorId>ca-f632626622af0079****</AggregatorId>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n</GenerateAggregateConfigRulesReportResponse>","errorExample":""}]',
@@ -8665,12 +5416,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -8678,13 +5424,8 @@
],
'GenerateAggregateResourceInventory' => [
'summary' => '生成指定的账号组内全局资源下载清单。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8696,50 +5437,28 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'AccountIds',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内成员账号ID,多个成员账号ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '126672004088****',
- ],
+ 'schema' => ['description' => '账号组内成员账号ID,多个成员账号ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '126672004088****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a91d626622af0035****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****'],
],
[
'name' => 'ResourceDeleted',
@@ -8755,10 +5474,7 @@
'required' => false,
'example' => '1',
'default' => '1',
- 'enum' => [
- '0',
- '1',
- ],
+ 'enum' => ['0', '1'],
],
],
],
@@ -8767,52 +5483,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '5111CBA6-6485-57EB-BCDD-85D8BB31E7A7',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5111CBA6-6485-57EB-BCDD-85D8BB31E7A7'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ResourceInventoryExceedMaxLimit',
- 'errorMessage' => 'Exceed max resource inventory item max limit 200000.',
- 'description' => '',
- ],
+ ['errorCode' => 'ResourceInventoryExceedMaxLimit', 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '生成账号组内全局资源下载清单',
'description' => '本文将提供一个示例,生成账号组ca-a91d626622af0035****内全局资源的下载清单。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateAggregateResourceInventory',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateResourceInventory'],
],
],
'ramActions' => [
@@ -8823,12 +5516,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -8838,13 +5526,8 @@
],
'GenerateCompliancePackReport' => [
'summary' => '生成合规包的评估报告。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8856,33 +5539,20 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-a8a8626622af0082****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-a8a8626622af0082****'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
],
'responses' => [
@@ -8891,46 +5561,22 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-a8a8626622af0082****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-a8a8626622af0082****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'CompliancePackReportCreating',
- 'errorMessage' => 'The compliance pack report is being created.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'CompliancePackReportCreating', 'errorMessage' => 'The compliance pack report is being created.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateCompliancePackReportResponse>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</GenerateCompliancePackReportResponse>","errorExample":""}]',
@@ -8948,12 +5594,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -8961,13 +5602,8 @@
],
'GenerateConfigRulesReport' => [
'summary' => '生成规则的合规评估报告。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8979,32 +5615,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAdDWBF2****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'],
],
[
'name' => 'ConfigRuleIds',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-25d86457e0d900b5****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-25d86457e0d900b5****'],
],
],
'responses' => [
@@ -9013,41 +5637,21 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
- 'ReportId' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
+ 'ReportId' => ['description' => '评估报告ID。', 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleReportCreating',
- 'errorMessage' => 'The config rule report is being created.',
- 'description' => '',
- ],
+ ['errorCode' => 'ConfigRuleReportCreating', 'errorMessage' => 'The config rule report is being created.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n</GenerateConfigRulesReportResponse>","errorExample":""}]',
@@ -9065,12 +5669,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -9078,12 +5677,8 @@
],
'GenerateReportFromTemplate' => [
'summary' => '基于报告模版生成报告Id。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9095,20 +5690,13 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ReportTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx'],
],
],
'responses' => [
@@ -9116,11 +5704,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD'],
],
'description' => '',
],
@@ -9128,11 +5712,7 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '基于报告模版生成报告',
@@ -9145,13 +5725,8 @@
],
'GenerateResourceInventory' => [
'summary' => '生成全局资源下载清单。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9163,31 +5738,19 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'ResourceDeleted',
@@ -9201,16 +5764,10 @@
'type' => 'integer',
'format' => 'int32',
'required' => false,
- 'enumValueTitles' => [
- '已删除',
- '保有中',
- ],
+ 'enumValueTitles' => ['已删除', '保有中'],
'example' => '1',
'default' => '1',
- 'enum' => [
- '0',
- '1',
- ],
+ 'enum' => ['0', '1'],
],
],
],
@@ -9219,11 +5776,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290'],
],
'description' => '',
],
@@ -9231,41 +5784,22 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ResourceInventoryExceedMaxLimit',
- 'errorMessage' => 'Exceed max resource inventory item max limit 200000.',
- 'description' => '',
- ],
+ ['errorCode' => 'ResourceInventoryExceedMaxLimit', 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '生成全局资源下载清单',
'description' => '本文将提供一个示例,生成当前账号下全局资源的下载清单。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateResourceInventory',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateResourceInventory'],
],
],
'ramActions' => [
@@ -9276,12 +5810,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -9291,14 +5820,8 @@
],
'GetAdvancedSearchFile' => [
'summary' => '查询当前账号下最近一次生成的资源高级搜索下载文件(即获取下载文件地址)。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9310,9 +5833,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQ01U20',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQ01U20'],
],
'parameters' => [],
'responses' => [
@@ -9320,36 +5841,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9366FE45-3C83-54FB-8BB1-44176B200706',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9366FE45-3C83-54FB-8BB1-44176B200706'],
'ResourceSearch' => [
'description' => '下载文件信息。',
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '下载文件地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D',
- ],
- 'Status' => [
- 'description' => '下载文件生成状态。取值:'."\n"
- ."\n"
- .'- CREATING:生成中。'."\n"
- ."\n"
- .'- COMPLETE:生成完成。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'ResourceInventoryGenerateTime' => [
- 'description' => '下载文件生成的时间戳。'."\n"
- .'单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1688281755480',
- ],
+ 'DownloadUrl' => ['description' => '下载文件地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D'],
+ 'Status' => ['description' => '下载文件生成状态。取值:'."\n"
+ ."\n"
+ .'- CREATING:生成中。'."\n"
+ ."\n"
+ .'- COMPLETE:生成完成。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'ResourceInventoryGenerateTime' => ['description' => '下载文件生成的时间戳。'."\n"
+ .'单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1688281755480'],
],
],
],
@@ -9358,18 +5862,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9366FE45-3C83-54FB-8BB1-44176B200706\\",\\n \\"ResourceSearch\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1688281755480\\n }\\n}","type":"json"}]',
@@ -9385,12 +5881,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -9398,13 +5889,8 @@
],
'GetAggregateAccountComplianceByPack' => [
'summary' => '查询指定账号组内指定合规包中成员账号的合规结果。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9415,36 +5901,22 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-04b3fd170e340007****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'],
],
],
'responses' => [
@@ -9453,32 +5925,14 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'AccountComplianceResult' => [
'description' => '合规包中成员账号的合规结果。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规成员账号数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalCount' => [
- 'description' => '成员账号总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'NonCompliantCount' => ['description' => '不合规成员账号数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalCount' => ['description' => '成员账号总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'AccountCompliances' => [
'description' => '成员账号的合规结果列表。',
'type' => 'array',
@@ -9486,26 +5940,13 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规类型。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'AccountId' => [
- 'description' => '账号组中的成员账号ID。'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AccountName' => [
- 'description' => '账号组中的成员账号名称。',
- 'type' => 'string',
- 'example' => 'Alice',
- ],
+ 'ComplianceType' => ['description' => '合规类型。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'AccountId' => ['description' => '账号组中的成员账号ID。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AccountName' => ['description' => '账号组中的成员账号名称。', 'type' => 'string', 'example' => 'Alice'],
],
],
],
@@ -9517,30 +5958,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"AccountComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"NonCompliantCount\\": 0,\\n \\"TotalCount\\": 2,\\n \\"AccountCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"AccountId\\": 0,\\n \\"AccountName\\": \\"Alice\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateAccountComplianceByPackResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<AccountComplianceResult>\\n\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t<TotalCount>2</TotalCount>\\n\\t\\t<NonCompliantCount>0</NonCompliantCount>\\n\\t\\t<AccountCompliances>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\n\\t\\t\\t<AccountName>Alice</AccountName>\\n\\t\\t</AccountCompliances>\\n\\t\\t<AccountCompliances>\\n\\t\\t\\t<AccountId>171322098523****</AccountId>\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\n\\t\\t\\t<AccountName>Jim</AccountName>\\n\\t\\t</AccountCompliances>\\n\\t</AccountComplianceResult>\\n</GetAggregateAccountComplianceByPackResponse>\\t","errorExample":""}]',
@@ -9556,12 +5981,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -9569,14 +5989,8 @@
],
'GetAggregateAdvancedSearchFile' => [
'summary' => '查询指定账号组下最近一次生成的资源高级搜索下载文件。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9588,22 +6002,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQ01U20',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQ01U20'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-4b1b626622af000c****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-4b1b626622af000c****'],
],
],
'responses' => [
@@ -9611,37 +6018,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6DB86284-DB7F-5936-B210-3B53D6D41B03',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6DB86284-DB7F-5936-B210-3B53D6D41B03'],
'ResourceSearch' => [
'description' => '下载文件信息。',
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '下载文件地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D',
- ],
- 'Status' => [
- 'description' => '下载文件生成状态。取值:'."\n"
- ."\n"
- .'- CREATING:生成中。'."\n"
- ."\n"
- .'- COMPLETE:生成完成。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'ResourceInventoryGenerateTime' => [
- 'description' => '下载文件生成时间戳。'."\n"
- ."\n"
- .'单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1691375618130',
- ],
+ 'DownloadUrl' => ['description' => '下载文件地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D'],
+ 'Status' => ['description' => '下载文件生成状态。取值:'."\n"
+ ."\n"
+ .'- CREATING:生成中。'."\n"
+ ."\n"
+ .'- COMPLETE:生成完成。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'ResourceInventoryGenerateTime' => ['description' => '下载文件生成时间戳。'."\n"
+ ."\n"
+ .'单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1691375618130'],
],
],
],
@@ -9650,18 +6040,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6DB86284-DB7F-5936-B210-3B53D6D41B03\\",\\n \\"ResourceSearch\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1691375618130\\n }\\n}","type":"json"}]',
@@ -9675,12 +6057,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -9688,13 +6065,8 @@
],
'GetAggregateCompliancePack' => [
'summary' => '查询指定账号组内合规包详情。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9706,37 +6078,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'Tag',
@@ -9753,22 +6111,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -9784,44 +6132,23 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'CompliancePack' => [
'description' => '合规包详情。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'RiskLevel' => [
- 'description' => '合规包风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'Description' => [
- 'description' => '合规包描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
- ],
+ 'Status' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'RiskLevel' => ['description' => '合规包风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CompliancePackId' => ['description' => '合规包ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'Description' => ['description' => '合规包描述。'."\n"
+ ."\n", 'type' => 'string', 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。'],
'ConfigRules' => [
'description' => '合规包中的规则列表。'."\n"
."\n",
@@ -9830,21 +6157,9 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。'."\n",
- 'type' => 'string',
- 'example' => '弹性IP实例带宽满足最低要求',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-a260626622af0005****',
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleName' => ['description' => '规则名称。'."\n", 'type' => 'string', 'example' => '弹性IP实例带宽满足最低要求'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a260626622af0005****'],
'ConfigRuleParameters' => [
'description' => '规则参数信息。'."\n"
."\n",
@@ -9853,197 +6168,106 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'Required' => [
- 'description' => '规则中参数是否必填。取值:'."\n"
- .'- true:必填。'."\n"
- .'- false:非必填。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ParameterName' => [
- 'description' => '规则参数名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'Required' => ['description' => '规则中参数是否必填。取值:'."\n"
+ .'- true:必填。'."\n"
+ .'- false:非必填。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'ParameterName' => ['description' => '规则参数名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。'."\n"
+ ."\n", 'type' => 'string', 'example' => '10'],
],
],
],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'ACS::EIP::EipAddress',
- ],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'ACS::EIP::EipAddress'],
],
],
],
- 'TemplateContent' => [
- 'description' => '当前合规包模板信息,模板中规则列表不包含自定义函数规则。可基于模板信息快速为其他账号或账号组创建同样的合规包。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "configRuleTemplates": ['."\n"
- .' {'."\n"
- .' "configRuleName": "自定义条件规则示例",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::ECS::Instance"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "",'."\n"
- .' "source": {'."\n"
- .' "owner": "CUSTOM_CONFIGURATION",'."\n"
- .' "identifier": "acs-config-configuration",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ScheduledNotification",'."\n"
- .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
- .' },'."\n"
- .' "inputParameters": {}'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::OSS::Bucket"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
- .' "source": {'."\n"
- .' "owner": "ALIYUN",'."\n"
- .' "identifier": "oss-bucket-referer-limit",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "inputParameters": {'."\n"
- .' "allowEmptyReferer": "true",'."\n"
- .' "allowReferers": "http://www.aliyun.com"'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '等保三级预检合规包',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
- 'CompliancePackTemplateId' => [
- 'description' => '合规包模板ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建合规包的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624243657000',
- ],
+ 'TemplateContent' => ['description' => '当前合规包模板信息,模板中规则列表不包含自定义函数规则。可基于模板信息快速为其他账号或账号组创建同样的合规包。', 'type' => 'string', 'example' => '{'."\n"
+ .' "configRuleTemplates": ['."\n"
+ .' {'."\n"
+ .' "configRuleName": "自定义条件规则示例",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::ECS::Instance"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "CUSTOM_CONFIGURATION",'."\n"
+ .' "identifier": "acs-config-configuration",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ScheduledNotification",'."\n"
+ .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
+ .' },'."\n"
+ .' "inputParameters": {}'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::OSS::Bucket"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "ALIYUN",'."\n"
+ .' "identifier": "oss-bucket-referer-limit",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "inputParameters": {'."\n"
+ .' "allowEmptyReferer": "true",'."\n"
+ .' "allowReferers": "http://www.aliyun.com"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'CompliancePackName' => ['description' => '合规包名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => '等保三级预检合规包'],
+ 'AccountId' => ['description' => '合规包归属的管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
+ 'CompliancePackTemplateId' => ['description' => '合规包模板ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ct-5f26ff4e06a300c4****'],
+ 'CreateTimestamp' => ['description' => '创建合规包的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624243657000'],
'Scope' => [
'description' => '合规包评估范围。',
'type' => 'object',
'properties' => [
- 'ExcludeRegionIdsScope' => [
- 'description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceIdsScope' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****'."\n",
- ],
- 'ExcludeResourceGroupIdsScope' => [
- 'description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rg-aekzc7r7rhx****',
- ],
- 'TagKeyScope' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'example' => 'ECS',
- ],
- 'TagValueScope' => [
- 'description' => '合规包仅对绑定指定标签键值对的资源生效。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'RegionIdsScope' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ExcludeResourceIdsScope' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。',
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****',
- ],
- 'ResourceGroupIdsScope' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。',
- 'type' => 'string',
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'ExcludeRegionIdsScope' => ['description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceIdsScope' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"],
+ 'ExcludeResourceGroupIdsScope' => ['description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rg-aekzc7r7rhx****'],
+ 'TagKeyScope' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'example' => 'ECS'],
+ 'TagValueScope' => ['description' => '合规包仅对绑定指定标签键值对的资源生效。', 'type' => 'string', 'example' => 'test'],
+ 'RegionIdsScope' => ['description' => '合规包仅对指定地域ID中的资源生效。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ExcludeResourceIdsScope' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'],
+ 'ResourceGroupIdsScope' => ['description' => '合规包仅对指定资源组ID中的资源生效。', 'type' => 'string', 'example' => 'rg-aekzc7r7rhx****'],
'TagsScope' => [
'description' => '标签范围',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
@@ -10054,16 +6278,8 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-2'],
],
],
],
@@ -10076,16 +6292,8 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
@@ -10097,47 +6305,24 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePack\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"RiskLevel\\": 1,\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"Description\\": \\"基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\",\\n \\"ConfigRules\\": [\\n {\\n \\"ManagedRuleIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleName\\": \\"弹性IP实例带宽满足最低要求\\",\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"bandwidth\\",\\n \\"ParameterValue\\": \\"10\\"\\n }\\n ],\\n \\"Description\\": \\"弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\",\\n \\"RiskLevel\\": 1,\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"TemplateContent\\": \\"{\\\\n \\\\\\"configRuleTemplates\\\\\\": [\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"自定义条件规则示例\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::Instance\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"CUSTOM_CONFIGURATION\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"acs-config-configuration\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ScheduledNotification\\\\\\",\\\\n \\\\\\"maximumExecutionFrequency\\\\\\": \\\\\\"Twelve_Hours\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"conditions\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"ComplianceConditions\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"GreaterOrEquals\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featurePath\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"$.Cpu\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featureSource\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CONFIGURATION\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"desired\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}]}\\\\\\\\\\\\\\"}\\\\\\"\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {}\\\\n },\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"OSS存储空间Referer在指定的防盗链白名单中\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::OSS::Bucket\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"ALIYUN\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"oss-bucket-referer-limit\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {\\\\n \\\\\\"allowEmptyReferer\\\\\\": \\\\\\"true\\\\\\",\\\\n \\\\\\"allowReferers\\\\\\": \\\\\\"http://www.aliyun.com\\\\\\"\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"CompliancePackName\\": \\"等保三级预检合规包\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"CreateTimestamp\\": 1624243657000,\\n \\"Scope\\": {\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagKeyScope\\": \\"ECS\\",\\n \\"TagValueScope\\": \\"test\\",\\n \\"RegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateCompliancePackResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <CompliancePack>\\n <Status>ACTIVE</Status>\\n <RiskLevel>1</RiskLevel>\\n <CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n <Description>基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。</Description>\\n <ConfigRules>\\n <ManagedRuleIdentifier>eip-bandwidth-limit</ManagedRuleIdentifier>\\n <ConfigRuleName>弹性IP实例带宽满足最低要求</ConfigRuleName>\\n <ConfigRuleId>cr-a260626622af0005****</ConfigRuleId>\\n <ConfigRuleParameters>\\n <Required>true</Required>\\n <ParameterName>bandwidth</ParameterName>\\n <ParameterValue>10</ParameterValue>\\n </ConfigRuleParameters>\\n <Description>弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。</Description>\\n <RiskLevel>1</RiskLevel>\\n </ConfigRules>\\n <CompliancePackName>等保三级预检合规包</CompliancePackName>\\n <AggregatorId>ca-f632626622af0079****</AggregatorId>\\n <CompliancePackTemplateId>ct-5f26ff4e06a300c4****</CompliancePackTemplateId>\\n <CreateTimestamp>1624243657000</CreateTimestamp>\\n <Scope>\\n <RegionIdsScope>cn-hangzhou</RegionIdsScope>\\n <ExcludeResourceIdsScope>eip-8vbf3x310fn56ijfd****</ExcludeResourceIdsScope>\\n <ResourceGroupIdsScope>rg-aekzc7r7rhx****</ResourceGroupIdsScope>\\n <TagKeyScope>ECS</TagKeyScope>\\n <TagValueScope>test</TagValueScope>\\n </Scope>\\n </CompliancePack>\\n</GetAggregateCompliancePackResponse>","errorExample":""}]',
'title' => '查询账号组合规包详情',
'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`的详情。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateCompliancePack',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePack'],
],
],
'ramActions' => [
@@ -10148,12 +6333,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -10161,13 +6341,8 @@
],
'GetAggregateCompliancePackReport' => [
'summary' => '获取指定账号组内指定合规包的评估报告。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10179,36 +6354,22 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
],
'responses' => [
@@ -10217,45 +6378,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0D234DAC-1ABD-42E8-9475-BE317857E29B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0D234DAC-1ABD-42E8-9475-BE317857E29B'],
'CompliancePackReport' => [
'description' => '合规包评估报告。',
'type' => 'object',
'properties' => [
- 'ReportUrl' => [
- 'description' => '合规包评估报告的下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****',
- ],
- 'ReportStatus' => [
- 'description' => '合规包评估报告的状态。取值:'."\n"
- .'- NONE:未创建。'."\n"
- .'- CREATING:创建中。'."\n"
- .'- COMPLETE:完成。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的企业管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ReportCreateTimestamp' => [
- 'description' => '创建合规包评估报告的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624330246640',
- ],
+ 'ReportUrl' => ['description' => '合规包评估报告的下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****'],
+ 'ReportStatus' => ['description' => '合规包评估报告的状态。取值:'."\n"
+ .'- NONE:未创建。'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- COMPLETE:完成。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'AccountId' => ['description' => '合规包归属的企业管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ReportCreateTimestamp' => ['description' => '创建合规包评估报告的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624330246640'],
],
],
],
@@ -10264,30 +6399,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0D234DAC-1ABD-42E8-9475-BE317857E29B\\",\\n \\"CompliancePackReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****\\",\\n \\"ReportStatus\\": \\"COMPLETE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1624330246640\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateCompliancePackReportResponse>\\n\\t<RequestId>0D234DAC-1ABD-42E8-9475-BE317857E29B</RequestId>\\n\\t<CompliancePackReport>\\n\\t\\t<CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t<ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624330246640</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetAggregateCompliancePackReportResponse>\\t","errorExample":""}]',
@@ -10305,12 +6424,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -10318,14 +6432,8 @@
],
'GetAggregateComplianceSummary' => [
'summary' => '查询指定账号组的合规统计概览信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10337,21 +6445,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'ca-a91d626622af0035****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'ca-a91d626622af0035****'],
],
],
'responses' => [
@@ -10359,11 +6459,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769'],
'ComplianceSummary' => [
'description' => '合规结果统计概览。',
'type' => 'object',
@@ -10372,78 +6468,23 @@
'description' => '资源维度的合规结果统计概览。',
'type' => 'object',
'properties' => [
- 'CompliantCount' => [
- 'description' => '合规的资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'LowRiskRuleNonCompliantResourceCount' => [
- 'description' => '低风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ComplianceSummaryTimestamp' => [
- 'description' => '合规统计时的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1589853822103',
- ],
- 'TotalCount' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '31',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规的资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'HighRiskRuleNonCompliantResourceCount' => [
- 'description' => '高风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'MediumRiskRuleNonCompliantResourceCount' => [
- 'description' => '中风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
+ 'CompliantCount' => ['description' => '合规的资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'LowRiskRuleNonCompliantResourceCount' => ['description' => '低风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ComplianceSummaryTimestamp' => ['description' => '合规统计时的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1589853822103'],
+ 'TotalCount' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '31'],
+ 'NonCompliantCount' => ['description' => '不合规的资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'HighRiskRuleNonCompliantResourceCount' => ['description' => '高风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'MediumRiskRuleNonCompliantResourceCount' => ['description' => '中风险等级规则检测到的不合规资源数量。注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
],
],
'ComplianceSummaryByConfigRule' => [
'description' => '规则维度的合规统计概览。',
'type' => 'object',
'properties' => [
- 'CompliantCount' => [
- 'description' => '合规的规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规的规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'ComplianceSummaryTimestamp' => [
- 'description' => '合规统计时的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1589853822103',
- ],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
+ 'CompliantCount' => ['description' => '合规的规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'NonCompliantCount' => ['description' => '不合规的规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'ComplianceSummaryTimestamp' => ['description' => '合规统计时的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1589853822103'],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
],
],
],
@@ -10454,18 +6495,10 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"929B8360-BD57-54FF-96DB-AD1D9B476769\\",\\n \\"ComplianceSummary\\": {\\n \\"ComplianceSummaryByResource\\": {\\n \\"CompliantCount\\": 20,\\n \\"LowRiskRuleNonCompliantResourceCount\\": 2,\\n \\"ComplianceSummaryTimestamp\\": 1589853822103,\\n \\"TotalCount\\": 31,\\n \\"NonCompliantCount\\": 11,\\n \\"HighRiskRuleNonCompliantResourceCount\\": 2,\\n \\"MediumRiskRuleNonCompliantResourceCount\\": 6\\n },\\n \\"ComplianceSummaryByConfigRule\\": {\\n \\"CompliantCount\\": 4,\\n \\"NonCompliantCount\\": 5,\\n \\"ComplianceSummaryTimestamp\\": 1589853822103,\\n \\"TotalCount\\": 9\\n }\\n }\\n}","type":"json"}]',
@@ -10474,12 +6507,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateComplianceSummary',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateComplianceSummary'],
],
],
'ramActions' => [
@@ -10490,12 +6518,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10503,14 +6526,8 @@
],
'GetAggregateConfigDeliveryChannel' => [
'summary' => '查询指定账号组内的指定投递渠道信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10522,35 +6539,23 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-d9106457e0d900b1****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'],
],
],
'responses' => [
@@ -10563,161 +6568,80 @@
'description' => '单个投递渠道信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '投递设置状态。取值:'."\n"
- .'- 0:关闭。'."\n"
- .'- 1:开启。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'myDeliveryChannel',
- ],
- 'DeliveryChannelType' => [
- 'description' => '投递渠道类型。取值:'."\n"
- .'- OSS:对象存储。 '."\n"
- .'- MNS:轻量消息队列(原 MNS)。'."\n"
- .'- SLS:日志服务。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'DeliveryChannelTargetArn' => [
- 'description' => '投递渠道目标地址的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket',
- ],
- 'DeliveryChannelAssumeRoleArn' => [
- 'description' => '投递渠道扮演角色ARN。',
- 'type' => 'string',
- 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig',
- ],
- 'DeliveryChannelCondition' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
- 'OversizedDataOSSTargetArn' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
- 'Description' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'My OSS delivery.',
- ],
- 'CompliantSnapshot' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationItemChangeNotification' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false:不接收资源配置变更历史。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NonCompliantNotification' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false:不接收资源不合规事件。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-a4e5626622af0079****',
- ],
- 'AccountId' => [
- 'description' => '账号组内成员ID。',
- 'type' => 'string',
- 'example' => '120886317861****',
- ],
- 'DeliverySnapshotTime' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。',
- 'type' => 'string',
- 'example' => '09:10Z',
- ],
- 'ConfigurationSnapshot' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false:不接收资源定时快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'Status' => ['description' => '投递设置状态。取值:'."\n"
+ .'- 0:关闭。'."\n"
+ .'- 1:开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'myDeliveryChannel'],
+ 'DeliveryChannelType' => ['description' => '投递渠道类型。取值:'."\n"
+ .'- OSS:对象存储。 '."\n"
+ .'- MNS:轻量消息队列(原 MNS)。'."\n"
+ .'- SLS:日志服务。', 'type' => 'string', 'example' => 'OSS'],
+ 'DeliveryChannelTargetArn' => ['description' => '投递渠道目标地址的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'],
+ 'DeliveryChannelAssumeRoleArn' => ['description' => '投递渠道扮演角色ARN。', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'],
+ 'DeliveryChannelCondition' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
+ 'OversizedDataOSSTargetArn' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
+ 'Description' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'My OSS delivery.'],
+ 'CompliantSnapshot' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationItemChangeNotification' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false:不接收资源配置变更历史。', 'type' => 'boolean', 'example' => 'true'],
+ 'NonCompliantNotification' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false:不接收资源不合规事件。', 'type' => 'boolean', 'example' => 'false'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-a4e5626622af0079****'],
+ 'AccountId' => ['description' => '账号组内成员ID。', 'type' => 'string', 'example' => '120886317861****'],
+ 'DeliverySnapshotTime' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。', 'type' => 'string', 'example' => '09:10Z'],
+ 'ConfigurationSnapshot' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false:不接收资源定时快照。', 'type' => 'boolean', 'example' => 'false'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannel\\": {\\n \\"Status\\": 1,\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AggregatorId\\": \\"ca-a4e5626622af0079****\\",\\n \\"AccountId\\": \\"120886317861****\\",\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\",\\n \\"ConfigurationSnapshot\\": false\\n },\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigDeliveryChannelResponse>\\n\\t<DeliveryChannel>\\n\\t\\t<Status>1</Status>\\n\\t\\t<DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n\\t\\t<DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n\\t\\t<DeliveryChannelType>OSS</DeliveryChannelType>\\n\\t\\t<DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n\\t\\t<DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n\\t\\t<DeliveryChannelCondition>[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]</DeliveryChannelCondition>\\n\\t\\t<OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n\\t\\t<Description>My OSS delivery.</Description>\\n\\t\\t<ConfigurationSnapshot>false</ConfigurationSnapshot>\\n\\t\\t<ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n\\t\\t<NonCompliantNotification>false</NonCompliantNotification>\\n\\t\\t<AggregatorId>ca-a4e5626622af0079****</AggregatorId>\\n\\t\\t<AccountId>120886317861****</AccountId>\\n\\t\\t<DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n\\t</DeliveryChannel>\\n\\t<RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</GetAggregateConfigDeliveryChannelResponse>\\t\\n","errorExample":""}]',
@@ -10731,26 +6655,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
],
],
'GetAggregateConfigRule' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10762,9 +6675,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -10772,28 +6683,16 @@
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7f7d626622af0041****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7f7d626622af0041****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-7f00626622af0041****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-7f00626622af0041****'],
],
[
'name' => 'Tag',
@@ -10809,22 +6708,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -10840,30 +6729,17 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA'],
'ConfigRule' => [
'description' => '规则列表。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InputParameters' => [
- 'description' => '规则参数信息。'."\n"
- ."\n",
- 'type' => 'object',
- 'example' => '{"tag1Key":"ECS","tag1Value":"test"}',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InputParameters' => ['description' => '规则参数信息。'."\n"
+ ."\n", 'type' => 'object', 'example' => '{"tag1Key":"ECS","tag1Value":"test"}'],
'Source' => [
'description' => '规则来源信息。'."\n"
."\n",
@@ -10877,74 +6753,46 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'MessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
- 'EventSource' => [
- 'description' => '事件来源。'."\n"
- ."\n"
- .'> 目前仅支持配置审计事件:aliyun.config。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'aliyun.config',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。取值:'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
+ 'MessageType' => ['description' => '规则触发机制。取值:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
+ 'EventSource' => ['description' => '事件来源。'."\n"
+ ."\n"
+ .'> 目前仅支持配置审计事件:aliyun.config。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'aliyun.config'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。取值:'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。', 'type' => 'string', 'example' => 'One_Hour'],
],
],
],
- 'Owner' => [
- 'description' => '规则来源的归属。取值:'."\n"
- ."\n"
- .'- CUSTOM_FC:自定义规则。'."\n"
- ."\n"
- .'- ALIYUN:规则模板。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'Identifier' => [
- 'description' => '规则标识。'."\n"
- ."\n"
- .'- 如果是规则模板,该参数为规则模板标识。'."\n"
- ."\n"
- .'- 如果是自定义规则,该参数为函数ARN。',
- 'type' => 'string',
- 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config',
- ],
+ 'Owner' => ['description' => '规则来源的归属。取值:'."\n"
+ ."\n"
+ .'- CUSTOM_FC:自定义规则。'."\n"
+ ."\n"
+ .'- ALIYUN:规则模板。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'Identifier' => ['description' => '规则标识。'."\n"
+ ."\n"
+ .'- 如果是规则模板,该参数为规则模板标识。'."\n"
+ ."\n"
+ .'- 如果是自定义规则,该参数为函数ARN。', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config'],
],
],
- 'ConfigRuleState' => [
- 'description' => '规则运行状态。取值:'."\n"
- .'- ACTIVE:应用中。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- EVALUATING:评估中。'."\n"
- .'- INACTIVE:已停用。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
+ 'ConfigRuleState' => ['description' => '规则运行状态。取值:'."\n"
+ .'- ACTIVE:应用中。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- EVALUATING:评估中。'."\n"
+ .'- INACTIVE:已停用。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。', 'type' => 'string', 'example' => 'One_Hour'],
'ManagedRule' => [
'description' => '规则模板详情。',
'type' => 'object',
@@ -10956,272 +6804,99 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'MessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
- 'EventSource' => [
- 'description' => '事件来源。'."\n"
- ."\n"
- .'> 目前仅支持配置审计事件:aliyun.config。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'aliyun.config',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
+ 'MessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
+ 'EventSource' => ['description' => '事件来源。'."\n"
+ ."\n"
+ .'> 目前仅支持配置审计事件:aliyun.config。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'aliyun.config'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。', 'type' => 'string', 'example' => 'One_Hour'],
],
],
],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。',
- ],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。'],
'Labels' => [
'description' => '规则模板标签列表。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板标签。',
- 'type' => 'string',
- 'example' => '["RAM","USer"]',
- ],
- ],
- 'Identifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'ram-user-mfa-check',
- ],
- 'OptionalInputParameterDetails' => [
- 'description' => '规则模板可选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'ManagedRuleName' => [
- 'description' => '规则模板名称。',
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA',
- ],
- 'CompulsoryInputParameterDetails' => [
- 'description' => '规则模板必选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
+ 'items' => ['description' => '规则模板标签。', 'type' => 'string', 'example' => '["RAM","USer"]'],
],
+ 'Identifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'ram-user-mfa-check'],
+ 'OptionalInputParameterDetails' => ['description' => '规则模板可选参数详情。', 'type' => 'object', 'example' => '{}'],
+ 'ManagedRuleName' => ['description' => '规则模板名称。', 'type' => 'string', 'example' => 'RAM用户开启MFA'],
+ 'CompulsoryInputParameterDetails' => ['description' => '规则模板必选参数详情。', 'type' => 'object', 'example' => '{}'],
],
],
- 'ConfigRuleArn' => [
- 'description' => '规则模板ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****',
- ],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA,视为“合规”。',
- ],
+ 'ConfigRuleArn' => ['description' => '规则模板ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'RAM用户开启MFA,视为“合规”。'],
'CreateBy' => [
'description' => '规则创建者信息。'."\n"
."\n",
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cp-541e626622af008****',
- ],
- 'AggregatorName' => [
- 'description' => '账号组名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Test_Group',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'example' => 'OSS合规基线',
- ],
- 'CreatorName' => [
- 'description' => '规则创建者名称。',
- 'type' => 'string',
- 'example' => 'Alice',
- ],
- 'CreatorType' => [
- 'description' => '规则创建者类型。仅支持`AGGREGATOR`(账号组)。',
- 'type' => 'string',
- 'example' => 'AGGREGATOR',
- ],
- 'CreatorId' => [
- 'description' => '规则创建者的账号ID。'."\n",
- 'type' => 'string',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-04b3fd170e340007****',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cp-541e626622af008****'],
+ 'AggregatorName' => ['description' => '账号组名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Test_Group'],
+ 'CompliancePackName' => ['description' => '合规包名称。', 'type' => 'string', 'example' => 'OSS合规基线'],
+ 'CreatorName' => ['description' => '规则创建者名称。', 'type' => 'string', 'example' => 'Alice'],
+ 'CreatorType' => ['description' => '规则创建者类型。仅支持`AGGREGATOR`(账号组)。', 'type' => 'string', 'example' => 'AGGREGATOR'],
+ 'CreatorId' => ['description' => '规则创建者的账号ID。'."\n", 'type' => 'string', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-04b3fd170e340007****'],
],
],
- 'ConfigRuleName' => [
- 'description' => '规则名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA',
- ],
+ 'ConfigRuleName' => ['description' => '规则名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'RAM用户开启MFA'],
'ConfigRuleEvaluationStatus' => [
'description' => '规则执行状态。'."\n"
."\n",
'type' => 'object',
'properties' => [
- 'LastErrorCode' => [
- 'description' => '规则最近一次执行的错误码。',
- 'type' => 'string',
- 'example' => 'TimeOut',
- ],
- 'LastSuccessfulEvaluationTimestamp' => [
- 'description' => '规则最近一次调用成功的结束时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227486',
- ],
- 'FirstActivatedTimestamp' => [
- 'description' => '规则首次激活时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932221993',
- ],
- 'FirstEvaluationStarted' => [
- 'description' => '规则是否已执行评估。取值:'."\n"
- .'- true:规则已执行评估。'."\n"
- .'- false:规则未执行评估。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LastSuccessfulInvocationTimestamp' => [
- 'description' => '规则最近一次调用成功的开始时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227476',
- ],
- 'LastErrorMessage' => [
- 'description' => '规则最近一次执行的错误信息。',
- 'type' => 'string',
- 'example' => 'time out',
- ],
- 'LastFailedEvaluationTimestamp' => [
- 'description' => '规则最近一次调用失败的结束时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'LastFailedInvocationTimestamp' => [
- 'description' => '规则最近一次调用失败的开始时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
+ 'LastErrorCode' => ['description' => '规则最近一次执行的错误码。', 'type' => 'string', 'example' => 'TimeOut'],
+ 'LastSuccessfulEvaluationTimestamp' => ['description' => '规则最近一次调用成功的结束时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227486'],
+ 'FirstActivatedTimestamp' => ['description' => '规则首次激活时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932221993'],
+ 'FirstEvaluationStarted' => ['description' => '规则是否已执行评估。取值:'."\n"
+ .'- true:规则已执行评估。'."\n"
+ .'- false:规则未执行评估。', 'type' => 'boolean', 'example' => 'true'],
+ 'LastSuccessfulInvocationTimestamp' => ['description' => '规则最近一次调用成功的开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227476'],
+ 'LastErrorMessage' => ['description' => '规则最近一次执行的错误信息。', 'type' => 'string', 'example' => 'time out'],
+ 'LastFailedEvaluationTimestamp' => ['description' => '规则最近一次调用失败的结束时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'LastFailedInvocationTimestamp' => ['description' => '规则最近一次调用失败的开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
],
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-7f7d626622af0041****',
- ],
- 'ModifiedTimestamp' => [
- 'description' => '规则最近一次更新的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建规则的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1604684022000',
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ACS::RAM::User',
- ],
- 'ExcludeRegionIdsScope' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'RegionIdsScope' => [
- 'description' => '规则只评估所属地域ID的资源。',
- 'type' => 'string',
- 'example' => 'global',
- ],
- 'ExcludeResourceIdsScope' => [
- 'description' => '规则评估排除的资源ID。'."\n",
- 'type' => 'string',
- 'example' => '23642660635687****',
- ],
- 'ResourceIdsScope' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****'."\n",
- ],
- 'ResourceGroupIdsScope' => [
- 'description' => '规则只评估所属资源组ID的资源。',
- 'type' => 'string',
- 'example' => 'rg-aekzdibsjjc****',
- ],
- 'ExcludeResourceGroupIdsScope' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rg-aekzdibsjjc****',
- ],
- 'TagKeyScope' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则只评估所属标签键的资源。',
- 'type' => 'string',
- 'deprecated' => true,
- 'example' => 'RAM',
- ],
- 'TagValueScope' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则只评估所属标签值的资源。',
- 'type' => 'string',
- 'deprecated' => true,
- 'example' => 'MFA',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-7f7d626622af0041****'],
+ 'ModifiedTimestamp' => ['description' => '规则最近一次更新的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'CreateTimestamp' => ['description' => '创建规则的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1604684022000'],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ACS::RAM::User'],
+ 'ExcludeRegionIdsScope' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'RegionIdsScope' => ['description' => '规则只评估所属地域ID的资源。', 'type' => 'string', 'example' => 'global'],
+ 'ExcludeResourceIdsScope' => ['description' => '规则评估排除的资源ID。'."\n", 'type' => 'string', 'example' => '23642660635687****'],
+ 'ResourceIdsScope' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"],
+ 'ResourceGroupIdsScope' => ['description' => '规则只评估所属资源组ID的资源。', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****'],
+ 'ExcludeResourceGroupIdsScope' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****'],
+ 'TagKeyScope' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则只评估所属标签键的资源。', 'type' => 'string', 'deprecated' => true, 'example' => 'RAM'],
+ 'TagValueScope' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则只评估所属标签值的资源。', 'type' => 'string', 'deprecated' => true, 'example' => 'MFA'],
'TagsScope' => [
'description' => '标签范围',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
'description' => '',
],
@@ -11232,94 +6907,43 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-2'],
],
'description' => '',
],
],
- 'ConfigRuleTriggerTypes' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
- 'TagKeyLogicScope' => [
- 'description' => '使用参数`TagsScope` 创建的规则,获取详情时不返回该字段。'."\n"
- ."\n"
- .'用于获取使用已废弃字段`TagKeyScope`字段(不推荐)创建的规则,例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- AND:与。'."\n"
- ."\n"
- .'- OR:或。',
- 'type' => 'string',
- 'deprecated' => false,
- 'example' => 'AND',
- ],
- 'FolderIdsScope' => [
- 'description' => '规则仅对指定资源目录ID中成员账号内的资源生效。',
- 'type' => 'string',
- 'example' => 'fd-ZtHsRH****',
- ],
- 'ExcludeFolderIdsScope' => [
- 'description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。',
- 'type' => 'string',
- 'example' => 'fd-pWmkqZ****',
- ],
- 'ExcludeAccountIdsScope' => [
- 'description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。',
- 'type' => 'string',
- 'example' => '120886317861****',
- ],
- 'ResourceNameScope' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'example' => 'i-xxx',
- ],
+ 'ConfigRuleTriggerTypes' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
+ 'TagKeyLogicScope' => ['description' => '使用参数`TagsScope` 创建的规则,获取详情时不返回该字段。'."\n"
+ ."\n"
+ .'用于获取使用已废弃字段`TagKeyScope`字段(不推荐)创建的规则,例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- AND:与。'."\n"
+ ."\n"
+ .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'example' => 'AND'],
+ 'FolderIdsScope' => ['description' => '规则仅对指定资源目录ID中成员账号内的资源生效。', 'type' => 'string', 'example' => 'fd-ZtHsRH****'],
+ 'ExcludeFolderIdsScope' => ['description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。', 'type' => 'string', 'example' => 'fd-pWmkqZ****'],
+ 'ExcludeAccountIdsScope' => ['description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。', 'type' => 'string', 'example' => '120886317861****'],
+ 'ResourceNameScope' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'example' => 'i-xxx'],
'Compliance' => [
'description' => '规则合规统计结果。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规统计结果。取值:'."\n"
- ."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'Count' => [
- 'description' => '合规统计结果对应的评估资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'ComplianceType' => ['description' => '合规统计结果。取值:'."\n"
+ ."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'Count' => ['description' => '合规统计结果对应的评估资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
],
],
- 'AccountId' => [
- 'description' => '规则归属阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'ExtendContent' => [
- 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。',
- 'type' => 'string',
- 'example' => '{"fixedHour":"12"}',
- ],
+ 'AccountId' => ['description' => '规则归属阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'ExtendContent' => ['description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'example' => '{"fixedHour":"12"}'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -11327,24 +6951,12 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
- 'AccountIdsScope' => [
- 'description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => '120886317861****'."\n",
- ],
+ 'AccountIdsScope' => ['description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => '120886317861****'."\n"],
],
],
],
@@ -11353,40 +6965,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询账号组规则详情',
'summary' => '查询指定账号组内指定规则详情。',
'description' => '本文将提供一个示例,查询账号组`ca-7f00626622af0041****`内规则`cr-7f7d626622af0041****`的详情。',
@@ -11394,12 +6984,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRule',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigRule'],
],
],
'ramActions' => [
@@ -11410,12 +6995,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
@@ -11424,13 +7004,8 @@
],
'GetAggregateConfigRuleComplianceByPack' => [
'summary' => '查询指定账号组内指定合规包中规则的合规结果。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11442,36 +7017,22 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-04b3fd170e340007****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'],
],
],
'responses' => [
@@ -11480,26 +7041,13 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0'],
'ConfigRuleComplianceResult' => [
'description' => '合规包中规则的合规结果。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'NotApplicableCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“不适用”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'NotApplicableCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“不适用”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ConfigRuleCompliances' => [
'description' => '规则合规包列表。',
'type' => 'array',
@@ -11507,58 +7055,21 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规类型。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'ConfigRuleName' => [
- 'description' => '合规包中的规则名称。',
- 'type' => 'string',
- 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.',
- ],
- 'ConfigRuleId' => [
- 'description' => '合规包中的规则ID。',
- 'type' => 'string',
- 'example' => 'cr-fdc8626622af00f9****',
- ],
+ 'ComplianceType' => ['description' => '合规类型。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'ConfigRuleName' => ['description' => '合规包中的规则名称。', 'type' => 'string', 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.'],
+ 'ConfigRuleId' => ['description' => '合规包中的规则ID。', 'type' => 'string', 'example' => 'cr-fdc8626622af00f9****'],
],
],
],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CompliantCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**全部为合规**的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'InsufficientDataCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“无数据”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IgnoredCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“已忽略”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'NonCompliantCount' => ['description' => '不合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CompliantCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**全部为合规**的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'InsufficientDataCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“无数据”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'IgnoredCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“已忽略”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
@@ -11567,30 +7078,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0\\",\\n \\"ConfigRuleComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"NotApplicableCount\\": 1,\\n \\"ConfigRuleCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"ConfigRuleName\\": \\"The bandwidth of the Elastic IP instance meets the minimum requirements.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\"\\n }\\n ],\\n \\"TotalCount\\": 2,\\n \\"NonCompliantCount\\": 1,\\n \\"CompliantCount\\": 0,\\n \\"InsufficientDataCount\\": 1,\\n \\"IgnoredCount\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigRuleComplianceByPackResponse>\\n\\t<RequestId>C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0</RequestId>\\n\\t<ConfigRuleComplianceResult>\\n\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t<ConfigRuleCompliances>\\n\\t\\t\\t<ConfigRuleId>cr-fdc8626622af00f9****</ConfigRuleId>\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\n\\t\\t\\t<ConfigRuleName>弹性IP实例带宽满足最低要求</ConfigRuleName>\\n\\t\\t</ConfigRuleCompliances>\\n\\t\\t<TotalCount>1</TotalCount>\\n\\t\\t<NonCompliantCount>0</NonCompliantCount>\\n\\t</ConfigRuleComplianceResult>\\n</GetAggregateConfigRuleComplianceByPackResponse>\\t","errorExample":""}]',
@@ -11600,12 +7095,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRuleComplianceByPack',
- ],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleComplianceByPack'],
],
],
'ramActions' => [
@@ -11616,12 +7106,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -11629,14 +7114,8 @@
],
'GetAggregateConfigRuleSummaryByRiskLevel' => [
'summary' => '从指定账号组内规则的风险等级维度查询合规概要。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11644,24 +7123,14 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-3a58626622af0005****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-3a58626622af0005****'],
],
],
'responses' => [
@@ -11675,59 +7144,30 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CompliantCount' => [
- 'description' => '合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliantCount' => ['description' => '合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'NonCompliantCount' => ['description' => '不合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleSummaries\\": [\\n {\\n \\"CompliantCount\\": 3,\\n \\"NonCompliantCount\\": 1,\\n \\"RiskLevel\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigRuleSummaryByRiskLevelResponse>\\n <RequestId>A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73</RequestId>\\n <ConfigRuleSummaries>\\n <RiskLevel>1</RiskLevel>\\n <CompliantCount>3</CompliantCount>\\n <NonCompliantCount>1</NonCompliantCount>\\n </ConfigRuleSummaries>\\n</GetAggregateConfigRuleSummaryByRiskLevelResponse>","errorExample":""}]',
'title' => '查询账号组规则风险等级维度的合规概要',
'description' => '本文将提供一个示例,查询账号组`ca-3a58626622af0005****`内不同风险等级规则的合规概要。返回结果显示,在高风险的规则中,有3条合规,有1条不合规。',
@@ -11741,12 +7181,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11754,14 +7189,8 @@
],
'GetAggregateConfigRulesReport' => [
'summary' => '下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11773,33 +7202,20 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'ReportId',
'in' => 'query',
- 'schema' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'schema' => ['description' => '评估报告ID。', 'type' => 'string', 'required' => false, 'example' => 'crp-88176457e0d900c9****'],
],
],
'responses' => [
@@ -11808,50 +7224,20 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31'],
'ConfigRulesReport' => [
'description' => '规则评估报告。',
'type' => 'object',
'properties' => [
- 'ReportUrl' => [
- 'description' => '规则评估报告的下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****',
- ],
- 'ReportStatus' => [
- 'description' => '规则评估报告的状态。取值:'."\n"
- .'- NONE:未创建。'."\n"
- .'- CREATING:创建中。'."\n"
- .'- COMPLETE:完成。',
- 'type' => 'string',
- 'example' => 'CREATING',
- ],
- 'AccountId' => [
- 'description' => '规则归属的管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
- 'ReportCreateTimestamp' => [
- 'description' => '创建评估报告的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624332329593',
- ],
- 'ReportId' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'ReportUrl' => ['description' => '规则评估报告的下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****'],
+ 'ReportStatus' => ['description' => '规则评估报告的状态。取值:'."\n"
+ .'- NONE:未创建。'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- COMPLETE:完成。', 'type' => 'string', 'example' => 'CREATING'],
+ 'AccountId' => ['description' => '规则归属的管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
+ 'ReportCreateTimestamp' => ['description' => '创建评估报告的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624332329593'],
+ 'ReportId' => ['description' => '评估报告ID。', 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'],
],
],
],
@@ -11860,25 +7246,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31\\",\\n \\"ConfigRulesReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****\\",\\n \\"ReportStatus\\": \\"CREATING\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"ReportCreateTimestamp\\": 1624332329593,\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigRulesReportResponse>\\n <RequestId>F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31</RequestId>\\n <ConfigRulesReport>\\n <ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****</ReportUrl>\\n <ReportStatus>CREATING</ReportStatus>\\n <AggregatorId>ca-f632626622af0079****</AggregatorId>\\n <ReportCreateTimestamp>1624332329593</ReportCreateTimestamp>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n </ConfigRulesReport>\\n</GetAggregateConfigRulesReportResponse>","errorExample":""}]',
@@ -11896,12 +7270,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11909,14 +7278,8 @@
],
'GetAggregateDiscoveredResource' => [
'summary' => '获取账号组内指定资源的资源详情。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11928,73 +7291,41 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~411691~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-bp12g4xbl4i0brkn****',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~411691~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-bp12g4xbl4i0brkn****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~411691~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~411691~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所在地域ID。'."\n"
- ."\n"
- .'关于如何获取资源所在地域ID,请参见[ListAggregateDiscoveredResources](~~411691~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源所在地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源所在地域ID,请参见[ListAggregateDiscoveredResources](~~411691~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-5885626622af0008****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-5885626622af0008****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '必填,账号组内待查询资源所属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '必填,账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
[
'name' => 'ComplianceOption',
@@ -12009,10 +7340,7 @@
'format' => 'int32',
'required' => false,
'example' => '0',
- 'enum' => [
- '0',
- '1',
- ],
+ 'enum' => ['0', '1'],
],
],
],
@@ -12022,102 +7350,35 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F'],
'DiscoveredResourceDetail' => [
'description' => '资源详情。',
'type' => 'object',
'properties' => [
- 'AvailabilityZone' => [
- 'description' => '资源可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'Configuration' => [
- 'description' => '资源的完整配置信息。',
- 'type' => 'string',
- 'example' => '{\\"ResourceGroupId\\":\\"\\",\\"Memory\\":4096,\\"InstanceChargeType\\":\\"PostPaid\\",\\"Cpu\\":2,\\"OSName\\":\\"Windows Server 2022 数据中心版 64位中文版\\",\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[]},\\"ExpiredTime\\":\\"2099-12-31T15:59Z\\",\\"ImageId\\":\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\",\\"EipAddress\\":{\\"AllocationId\\":\\"\\",\\"IpAddress\\":\\"\\",\\"InternetChargeType\\":\\"\\"},\\"ImageOptions\\":{},\\"VlanId\\":\\"\\",\\"HostName\\":\\"iZl4i0brknq****\\",\\"Status\\":\\"Stopped\\",\\"HibernationOptions\\":{\\"Configured\\":false},\\"MetadataOptions\\":{\\"HttpTokens\\":\\"\\",\\"HttpEndpoint\\":\\"\\"},\\"InstanceId\\":\\"i-bp12g4xbl4i0brkn****\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":2,\\"Numa\\":\\"ON\\",\\"CoreCount\\":1},\\"StartTime\\":\\"2024-02-29T07:08Z\\",\\"DeletionProtection\\":false,\\"VpcAttributes\\":{\\"PrivateIpAddress\\":{\\"IpAddress\\":[\\"172.16.XX.XX\\"]},\\"VpcId\\":\\"vpc-bp1wjaw8t272wwmkg****\\",\\"VSwitchId\\":\\"vsw-bp103i8xzww5132ul****\\",\\"NatIpAddress\\":\\"\\"},\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[\\"sg-bp1h96fz9fagaegp****\\"]},\\"InternetChargeType\\":\\"PayByTraffic\\",\\"InstanceName\\":\\"test123\\",\\"DeploymentSetId\\":\\"\\",\\"InternetMaxBandwidthOut\\":5,\\"SerialNumber\\":\\"6764f567-28fb-4a39-bfc3-48404995****\\",\\"OSType\\":\\"windows\\",\\"CreationTime\\":\\"2024-02-29T07:08Z\\",\\"AutoReleaseTime\\":\\"\\",\\"Description\\":\\"\\",\\"InstanceTypeFamily\\":\\"ecs.c7\\",\\"DedicatedInstanceAttribute\\":{\\"Tenancy\\":\\"\\",\\"Affinity\\":\\"\\"},\\"PublicIpAddress\\":{\\"IpAddress\\":[\\"47.98.XX.XX\\"]},\\"GPUSpec\\":\\"\\",\\"NetworkInterfaces\\":{\\"NetworkInterface\\":[{\\"Type\\":\\"Primary\\",\\"PrimaryIpAddress\\":\\"172.16.XX.XX\\",\\"MacAddress\\":\\"00:16:3e:0c:**:**\\",\\"NetworkInterfaceId\\":\\"eni-bp19uj35v8won3x9****\\",\\"PrivateIpSets\\":{\\"PrivateIpSet\\":[{\\"PrivateIpAddress\\":\\"172.16.XX.XX\\",\\"Primary\\":true}]}}]},\\"SpotPriceLimit\\":0.0,\\"SaleCycle\\":\\"\\",\\"DeviceAvailable\\":true,\\"InstanceType\\":\\"ecs.c7.large\\",\\"OSNameEn\\":\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\",\\"SpotStrategy\\":\\"NoSpot\\",\\"IoOptimized\\":true,\\"ZoneId\\":\\"cn-hangzhou-b\\",\\"ClusterId\\":\\"\\",\\"EcsCapacityReservationAttr\\":{\\"CapacityReservationPreference\\":\\"\\",\\"CapacityReservationId\\":\\"\\"},\\"DedicatedHostAttribute\\":{\\"DedicatedHostId\\":\\"\\",\\"DedicatedHostName\\":\\"\\",\\"DedicatedHostClusterId\\":\\"\\"},\\"GPUAmount\\":0,\\"OperationLocks\\":{\\"LockReason\\":[]},\\"InternetMaxBandwidthIn\\":2000,\\"Recyclable\\":false,\\"RegionId\\":\\"cn-hangzhou\\",\\"CreditSpecification\\":\\"\\"}',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceCreationTime' => [
- 'description' => '资源创建时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624961112000',
- ],
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
- ],
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'i-bp12g4xbl4i0brkn****',
- ],
- 'ResourceDeleted' => [
- 'description' => '资源删除状态。取值:'."\n"
- .'- 1:未删除。'."\n"
- .'- 0:已删除。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'test123',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- ."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- ."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'Stopped',
- ],
- 'ComplianceType' => [
- 'description' => '合规类型。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'VpcId' => [
- 'title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-t4nhheyvay74fp7n0hxxx',
- ],
- 'VSwitchId' => [
- 'title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx',
- ],
+ 'AvailabilityZone' => ['description' => '资源可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'Configuration' => ['description' => '资源的完整配置信息。', 'type' => 'string', 'example' => '{\\"ResourceGroupId\\":\\"\\",\\"Memory\\":4096,\\"InstanceChargeType\\":\\"PostPaid\\",\\"Cpu\\":2,\\"OSName\\":\\"Windows Server 2022 数据中心版 64位中文版\\",\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[]},\\"ExpiredTime\\":\\"2099-12-31T15:59Z\\",\\"ImageId\\":\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\",\\"EipAddress\\":{\\"AllocationId\\":\\"\\",\\"IpAddress\\":\\"\\",\\"InternetChargeType\\":\\"\\"},\\"ImageOptions\\":{},\\"VlanId\\":\\"\\",\\"HostName\\":\\"iZl4i0brknq****\\",\\"Status\\":\\"Stopped\\",\\"HibernationOptions\\":{\\"Configured\\":false},\\"MetadataOptions\\":{\\"HttpTokens\\":\\"\\",\\"HttpEndpoint\\":\\"\\"},\\"InstanceId\\":\\"i-bp12g4xbl4i0brkn****\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":2,\\"Numa\\":\\"ON\\",\\"CoreCount\\":1},\\"StartTime\\":\\"2024-02-29T07:08Z\\",\\"DeletionProtection\\":false,\\"VpcAttributes\\":{\\"PrivateIpAddress\\":{\\"IpAddress\\":[\\"172.16.XX.XX\\"]},\\"VpcId\\":\\"vpc-bp1wjaw8t272wwmkg****\\",\\"VSwitchId\\":\\"vsw-bp103i8xzww5132ul****\\",\\"NatIpAddress\\":\\"\\"},\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[\\"sg-bp1h96fz9fagaegp****\\"]},\\"InternetChargeType\\":\\"PayByTraffic\\",\\"InstanceName\\":\\"test123\\",\\"DeploymentSetId\\":\\"\\",\\"InternetMaxBandwidthOut\\":5,\\"SerialNumber\\":\\"6764f567-28fb-4a39-bfc3-48404995****\\",\\"OSType\\":\\"windows\\",\\"CreationTime\\":\\"2024-02-29T07:08Z\\",\\"AutoReleaseTime\\":\\"\\",\\"Description\\":\\"\\",\\"InstanceTypeFamily\\":\\"ecs.c7\\",\\"DedicatedInstanceAttribute\\":{\\"Tenancy\\":\\"\\",\\"Affinity\\":\\"\\"},\\"PublicIpAddress\\":{\\"IpAddress\\":[\\"47.98.XX.XX\\"]},\\"GPUSpec\\":\\"\\",\\"NetworkInterfaces\\":{\\"NetworkInterface\\":[{\\"Type\\":\\"Primary\\",\\"PrimaryIpAddress\\":\\"172.16.XX.XX\\",\\"MacAddress\\":\\"00:16:3e:0c:**:**\\",\\"NetworkInterfaceId\\":\\"eni-bp19uj35v8won3x9****\\",\\"PrivateIpSets\\":{\\"PrivateIpSet\\":[{\\"PrivateIpAddress\\":\\"172.16.XX.XX\\",\\"Primary\\":true}]}}]},\\"SpotPriceLimit\\":0.0,\\"SaleCycle\\":\\"\\",\\"DeviceAvailable\\":true,\\"InstanceType\\":\\"ecs.c7.large\\",\\"OSNameEn\\":\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\",\\"SpotStrategy\\":\\"NoSpot\\",\\"IoOptimized\\":true,\\"ZoneId\\":\\"cn-hangzhou-b\\",\\"ClusterId\\":\\"\\",\\"EcsCapacityReservationAttr\\":{\\"CapacityReservationPreference\\":\\"\\",\\"CapacityReservationId\\":\\"\\"},\\"DedicatedHostAttribute\\":{\\"DedicatedHostId\\":\\"\\",\\"DedicatedHostName\\":\\"\\",\\"DedicatedHostClusterId\\":\\"\\"},\\"GPUAmount\\":0,\\"OperationLocks\\":{\\"LockReason\\":[]},\\"InternetMaxBandwidthIn\\":2000,\\"Recyclable\\":false,\\"RegionId\\":\\"cn-hangzhou\\",\\"CreditSpecification\\":\\"\\"}'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceCreationTime' => ['description' => '资源创建时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624961112000'],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'i-bp12g4xbl4i0brkn****'],
+ 'ResourceDeleted' => ['description' => '资源删除状态。取值:'."\n"
+ .'- 1:未删除。'."\n"
+ .'- 0:已删除。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'test123'],
+ 'ResourceStatus' => ['description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'Stopped'],
+ 'ComplianceType' => ['description' => '合规类型。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'VpcId' => ['title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'],
+ 'VSwitchId' => ['title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'],
],
],
],
@@ -12126,35 +7387,17 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\",\\n \\"DiscoveredResourceDetail\\": {\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"ResourceGroupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Memory\\\\\\\\\\\\\\":4096,\\\\\\\\\\\\\\"InstanceChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PostPaid\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Cpu\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"OSName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Windows Server 2022 数据中心版 64位中文版\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceNetworkType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vpc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InnerIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[]},\\\\\\\\\\\\\\"ExpiredTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2099-12-31T15:59Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EipAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"AllocationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InternetChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"ImageOptions\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"VlanId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HostName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"iZl4i0brknq****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Stopped\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HibernationOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Configured\\\\\\\\\\\\\\":false},\\\\\\\\\\\\\\"MetadataOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"HttpTokens\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HttpEndpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"InstanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-bp12g4xbl4i0brkn****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"StoppedMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"KeepCharging\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CpuOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"ThreadsPerCore\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"Numa\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CoreCount\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"StartTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2024-02-29T07:08Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeletionProtection\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"VpcAttributes\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"PrivateIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"VpcId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vpc-bp1wjaw8t272wwmkg****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"VSwitchId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vsw-bp103i8xzww5132ul****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NatIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"SecurityGroupIds\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"SecurityGroupId\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"sg-bp1h96fz9fagaegp****\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"InternetChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PayByTraffic\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeploymentSetId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InternetMaxBandwidthOut\\\\\\\\\\\\\\":5,\\\\\\\\\\\\\\"SerialNumber\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6764f567-28fb-4a39-bfc3-48404995****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OSType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"windows\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CreationTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2024-02-29T07:08Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AutoReleaseTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceTypeFamily\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.c7\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedInstanceAttribute\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Tenancy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Affinity\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"PublicIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"47.98.XX.XX\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"GPUSpec\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NetworkInterfaces\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"NetworkInterface\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Primary\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PrimaryIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"MacAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"00:16:3e:0c:**:**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NetworkInterfaceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"eni-bp19uj35v8won3x9****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PrivateIpSets\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"PrivateIpSet\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"PrivateIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Primary\\\\\\\\\\\\\\":true}]}}]},\\\\\\\\\\\\\\"SpotPriceLimit\\\\\\\\\\\\\\":0.0,\\\\\\\\\\\\\\"SaleCycle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeviceAvailable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.c7.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OSNameEn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SpotStrategy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NoSpot\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"IoOptimized\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ZoneId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou-b\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ClusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EcsCapacityReservationAttr\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"CapacityReservationPreference\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CapacityReservationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"DedicatedHostAttribute\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"DedicatedHostId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedHostName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedHostClusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"GPUAmount\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"OperationLocks\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"LockReason\\\\\\\\\\\\\\":[]},\\\\\\\\\\\\\\"InternetMaxBandwidthIn\\\\\\\\\\\\\\":2000,\\\\\\\\\\\\\\"Recyclable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CreditSpecification\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1624961112000,\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceId\\": \\"i-bp12g4xbl4i0brkn****\\",\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceName\\": \\"test123\\",\\n \\"ResourceStatus\\": \\"Stopped\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateDiscoveredResourceResponse>\\n <RequestId>E4D71ACE-6B0A-46E0-8352-56952378CC7F</RequestId>\\n <DiscoveredResourceDetail>\\n <AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n <ResourceType>ACS::OSS::BucketACS::CDN::Domain</ResourceType>\\n <Configuration>{\\\\\\"AccessControlList\\\\\\":{\\\\\\"Grant\\\\\\":\\\\\\"private\\\\\\"},\\\\\\"ServerSideEncryptionRule\\\\\\":{\\\\\\"SSEAlgorithm\\\\\\":\\\\\\"None\\\\\\"},\\\\\\"Comment\\\\\\":\\\\\\"\\\\\\",\\\\\\"CreationDate\\\\\\":\\\\\\"2021-06-29T10:05:12.000Z\\\\\\",\\\\\\"Owner\\\\\\":{\\\\\\"DisplayName\\\\\\":\\\\\\"100931896542****\\\\\\",\\\\\\"ID\\\\\\":\\\\\\"100931896542****\\\\\\"},\\\\\\"StorageClass\\\\\\":\\\\\\"Standard\\\\\\",\\\\\\"DataRedundancyType\\\\\\":\\\\\\"LRS\\\\\\",\\\\\\"AllowEmptyReferer\\\\\\":\\\\\\"true\\\\\\",\\\\\\"Name\\\\\\":\\\\\\"new-bucket\\\\\\",\\\\\\"BucketPolicy\\\\\\":{\\\\\\"LogPrefix\\\\\\":\\\\\\"\\\\\\",\\\\\\"LogBucket\\\\\\":\\\\\\"\\\\\\"},\\\\\\"ExtranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\",\\\\\\"IntranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-hangzhou\\\\\\"}</Configuration>\\n <Region>cn-hangzhou</Region>\\n <ResourceCreationTime>1624961112000</ResourceCreationTime>\\n <Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n <ResourceId>new-bucket</ResourceId>\\n <ResourceDeleted>1</ResourceDeleted>\\n <ResourceName>new-bucket</ResourceName>\\n <ResourceStatus>offline</ResourceStatus>\\n </DiscoveredResourceDetail>\\n</GetAggregateDiscoveredResourceResponse>","errorExample":""}]',
'title' => '获取账号组内指定资源的资源详情',
'description' => '本文将提供一个示例,查询账号组`ca-5885626622af0008****`内杭州地域的ECS实例`i-bp12g4xbl4i0brkn****`的详情。',
@@ -12162,12 +7405,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateDiscoveredResource',
- ],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateDiscoveredResource'],
],
],
'ramActions' => [
@@ -12178,12 +7416,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Resource',
- 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'],
],
],
],
@@ -12191,14 +7424,8 @@
],
'GetAggregateResourceComplianceByConfigRule' => [
'summary' => '从指定账号组内规则的合规评估结果维度查询合规概要。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12206,11 +7433,7 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ComplianceType',
@@ -12224,51 +7447,28 @@
'type' => 'string',
'required' => false,
'example' => 'COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-d369626622af008e****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-d369626622af008e****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
- .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
+ .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -12281,12 +7481,7 @@
'description' => '资源的评估结果。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '规则评估的资源总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'TotalCount' => ['description' => '规则评估的资源总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Compliances' => [
'description' => '资源的评估结果。',
'type' => 'array',
@@ -12294,61 +7489,34 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '资源数。例如:当`ComplianceType`为`COMPLIANT`时,表示评估结果为合规的资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '资源数。例如:当`ComplianceType`为`COMPLIANT`时,表示评估结果为合规的资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB754C',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB754C'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ComplianceResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 5\\n }\\n ]\\n },\\n \\"RequestId\\": \\"23306AB1-34E0-468F-BD7B-68D8AEAB754C\\"\\n}","type":"json"}]',
'title' => '查询账号组规则合规评估结果维度的合规概要',
'description' => '本文将提供一个示例,查询账号组`ca-a4e5626622af0079****`内规则`cr-d369626622af008e****`对资源的合规评估结果。返回结果显示,该规则共评估10个资源,其中5个资源合规。',
@@ -12362,12 +7530,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -12376,13 +7539,8 @@
],
'GetAggregateResourceComplianceByPack' => [
'summary' => '查询指定账号组内的指定合规包中资源的合规统计。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12394,36 +7552,22 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
],
'responses' => [
@@ -12436,84 +7580,30 @@
'description' => '合规包中资源的合规结果。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'InsufficientDataCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“无数据”的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '合规包评估的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'CompliantCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“合规”的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'NotApplicableCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“不适用”的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IgnoredCount' => [
- 'description' => '合规包内的规则评估资源时,已经设置忽略评估结果的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'InsufficientDataCount' => ['description' => '合规包内的规则评估资源时,评估结果为“无数据”的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '合规包评估的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NonCompliantCount' => ['description' => '不合规资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'CompliantCount' => ['description' => '合规包内的规则评估资源时,评估结果为“合规”的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'NotApplicableCount' => ['description' => '合规包内的规则评估资源时,评估结果为“不适用”的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'IgnoredCount' => ['description' => '合规包内的规则评估资源时,已经设置忽略评估结果的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ResourceComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"TotalCount\\": 10,\\n \\"NonCompliantCount\\": 7,\\n \\"CompliantCount\\": 1,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1\\n },\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceByPackResponse>\\n <ResourceComplianceResult>\\n <CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n <NonCompliantCount>7</NonCompliantCount>\\n <TotalCount>10</TotalCount>\\n </ResourceComplianceResult>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</GetAggregateResourceComplianceByPackResponse>","errorExample":""}]',
@@ -12523,12 +7613,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceByPack',
- ],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByPack'],
],
],
'ramActions' => [
@@ -12539,12 +7624,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -12552,14 +7632,8 @@
],
'GetAggregateResourceComplianceGroupByRegion' => [
'summary' => '查询指定账号组内规则对资源的评估结果,评估结果按资源所属地域进行分组展示。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12571,31 +7645,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cr-2652626622af005e****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-2652626622af005e****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-d6c9626622af0052****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-d6c9626622af0052****'],
],
],
'responses' => [
@@ -12613,32 +7674,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'description' => '评估的资源所属地域。',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
+ 'RegionId' => ['description' => '评估的资源所属地域。', 'type' => 'string', 'example' => 'cn-beijing'],
'Compliances' => [
'description' => '评估数据统计结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '统计结果数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ComplianceType' => ['description' => '合规结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '统计结果数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -12647,36 +7695,20 @@
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '5E3A847A-5D40-54A1-A2CE-77A87823ED07',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '5E3A847A-5D40-54A1-A2CE-77A87823ED07'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"5E3A847A-5D40-54A1-A2CE-77A87823ED07\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceGroupByRegionResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <RegionId>cn-beijing</RegionId>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>5E3A847A-5D40-54A1-A2CE-77A87823ED07</RequestId>\\n</GetAggregateResourceComplianceGroupByRegionResponse>","errorExample":""}]',
@@ -12690,12 +7722,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -12703,14 +7730,8 @@
],
'GetAggregateResourceComplianceGroupByResourceType' => [
'summary' => '查询指定账号组内规则对资源的评估结果,评估结果按资源类型进行分组展示。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12722,31 +7743,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cr-2541626622af0000****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-2541626622af0000****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-cdbd626622af0042****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-cdbd626622af0042****'],
],
],
'responses' => [
@@ -12764,32 +7772,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'ResourceType' => ['description' => '评估的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
'Compliances' => [
'description' => '评估数据统计结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '统计结果数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ComplianceType' => ['description' => '合规结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '统计结果数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -12798,36 +7793,20 @@
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0CE6AEE1-B3D8-530A-9302-6606B20503BB',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0CE6AEE1-B3D8-530A-9302-6606B20503BB'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"0CE6AEE1-B3D8-530A-9302-6606B20503BB\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceGroupByResourceTypeResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>0CE6AEE1-B3D8-530A-9302-6606B20503BB</RequestId>\\n</GetAggregateResourceComplianceGroupByResourceTypeResponse>","errorExample":""}]',
@@ -12841,12 +7820,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -12854,13 +7828,8 @@
],
'GetAggregateResourceComplianceTimeline' => [
'summary' => '查询指定账号组内指定资源的合规检测历史。合规检测历史是资源的一组合规评估记录,包括合规检测历史上的点和合规检测历史的内容。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12871,121 +7840,62 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::OSS::Bucket',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::OSS::Bucket'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'new-bucket',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'new-bucket'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1623211156000',
- ],
+ 'schema' => ['description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623211156000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1625821156000',
- ],
+ 'schema' => ['description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1625821156000'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-5885626622af0008****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-5885626622af0008****'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5OVS5J4I1/UKTkHV5oNs****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => '5OVS5J4I1/UKTkHV5oNs****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
- .'> 参数ResourceAccountId和ResourceOwnerId必须设置其中一个,推荐使用本参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
+ .'> 参数ResourceAccountId和ResourceOwnerId必须设置其中一个,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -12994,26 +7904,13 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6'],
'ResourceComplianceTimeline' => [
'description' => '资源合规检测历史。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => '5OVS5J4I1/UKTkHV5oNs****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => '5OVS5J4I1/UKTkHV5oNs****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ComplianceList' => [
'description' => '资源合规检测历史列表。',
'type' => 'array',
@@ -13021,72 +7918,22 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
- ],
- 'AccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'string',
- 'example' => '100931896542****',
- ],
- 'AvailabilityZone' => [
- 'description' => '资源可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-f',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'ResourceCreateTime' => [
- 'description' => '创建资源的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624961112000',
- ],
- 'Region' => [
- 'description' => '资源归属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Configuration' => [
- 'description' => '资源关联的规则列表和规则合规详情。',
- 'type' => 'string',
- 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}',
- ],
- 'CaptureTime' => [
- 'description' => '记录资源合规评估的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625200295276',
- ],
- 'ConfigurationDiff' => [
- 'description' => '触发本次评估的资源变更细节。',
- 'type' => 'string',
- 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- ."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- ."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'null',
- ],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'],
+ 'AccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'string', 'example' => '100931896542****'],
+ 'AvailabilityZone' => ['description' => '资源可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-f'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ResourceCreateTime' => ['description' => '创建资源的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624961112000'],
+ 'Region' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Configuration' => ['description' => '资源关联的规则列表和规则合规详情。', 'type' => 'string', 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}'],
+ 'CaptureTime' => ['description' => '记录资源合规评估的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625200295276'],
+ 'ConfigurationDiff' => ['description' => '触发本次评估的资源变更细节。', 'type' => 'string', 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceStatus' => ['description' => '资源状态。资源状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'null'],
],
],
],
@@ -13098,35 +7945,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.ResourceOwnerId.Value',
- 'errorMessage' => 'The specified ResourceOwnerId is invalid.',
- 'description' => '该账号不存在或不在目标账号组内。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => '该账号不存在或不在目标账号组内。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D53A78F-1EB8-4264-A554-72F07E34FAE6\\",\\n \\"ResourceComplianceTimeline\\": {\\n \\"NextToken\\": \\"5OVS5J4I1/UKTkHV5oNs****\\",\\n \\"MaxResults\\": 10,\\n \\"ComplianceList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": \\"100931896542****\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-f\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": 1624961112000,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"Compliance\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"ConfigRuleList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"CaptureTime\\": 1625200295276,\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"},{}]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"ResourceStatus\\": \\"null\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceTimelineResponse>\\n\\t<RequestId>8D53A78F-1EB8-4264-A554-72F07E34FAE6</RequestId>\\n\\t<ResourceComplianceTimeline>\\n\\t\\t<NextToken>5OVS5J4I1/UKTkHV5oNs****</NextToken>\\n\\t\\t<ComplianceList>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<CaptureTime>1625200295276</CaptureTime>\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{\\\\\\"accountId\\\\\\":100931896542****,\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\"},{}]}</ConfigurationDiff>\\n\\t\\t\\t<Configuration>{\\\\\\"Compliance\\\\\\":{\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"count\\\\\\":1},\\\\\\"ConfigRuleList\\\\\\":[{\\\\\\"accountId\\\\\\":100931896542****,\\\\\\"configRuleId\\\\\\":\\\\\\"cr-9524626622af003d****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\"}]}</Configuration>\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-f</AvailabilityZone>\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n\\t\\t</ComplianceList>\\n\\t\\t<ComplianceList>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<CaptureTime>1625200228510</CaptureTime>\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}</ConfigurationDiff>\\n\\t\\t\\t<Configuration>{\\\\\\"Compliance\\\\\\":{\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"count\\\\\\":2},\\\\\\"ConfigRuleList\\\\\\":[{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-9524626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}</Configuration>\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-f</AvailabilityZone>\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n\\t\\t</ComplianceList>\\n\\t\\t<MaxResults>10</MaxResults>\\n\\t</ResourceComplianceTimeline>\\n</GetAggregateResourceComplianceTimelineResponse>\\t","errorExample":""}]',
@@ -13138,12 +7965,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceTimeline',
- ],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceTimeline'],
],
],
'ramActions' => [
@@ -13154,12 +7976,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -13167,13 +7984,8 @@
],
'GetAggregateResourceConfigurationTimeline' => [
'summary' => '查询指定账号组内指定资源的配置变更历史。配置审计记录资源的每一次配置变更和资源关系变更,并整理为配置变更历史。您开通配置审计服务后,配置审计开始记录资源的配置变更和资源关系变更历史,并默认保存10年。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13185,120 +7997,61 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigWLDOIT',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'new-bucket',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'new-bucket'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1623211156000',
- ],
+ 'schema' => ['description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623211156000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1625821156000',
- ],
+ 'schema' => ['description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1625821156000'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::OSS::Bucket',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::OSS::Bucket'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-5885626622af0008****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-5885626622af0008****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '必填,账号组内待查询资源所属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '必填,账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -13306,26 +8059,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB'],
'ResourceConfigurationTimeline' => [
'description' => '资源配置变更历史。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ConfigurationList' => [
'description' => '资源配置变更历史列表。',
'type' => 'array',
@@ -13333,71 +8073,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
- ],
- 'AccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ResourceEventType' => [
- 'description' => '资源变更事件的类型。取值:'."\n"
- ."\n"
- .'- DISCOVERED:配置审计新发现的资源事件。'."\n"
- .'- DISCOVERED_REVISED:配置审计新发现的通过周期订正任务产生的资源事件。'."\n"
- .'- MODIFY:修改资源事件。'."\n"
- .'- MODIFY_REVISED:通过周期订正任务产生的修改资源事件。'."\n"
- .'- REMOVE:删除资源事件。'."\n"
- ."\n"
- .'> - 配置审计为了保障资源完整,通过周期订正任务对数据进行周期性对齐,产生新发现资源事件,该事件发生的频率较低。'."\n"
- .'> - 通过周期订正任务产生资源事件的时间为任务发现时间,该时间晚于资源的实际变更时间。',
- 'type' => 'string',
- 'example' => 'DISCOVERED',
- ],
- 'AvailabilityZone' => [
- 'description' => '可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'ResourceCreateTime' => [
- 'description' => '创建资源的时间戳。单位:毫秒。',
- 'type' => 'string',
- 'example' => '1624961112000',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CaptureTime' => [
- 'description' => '记录资源变更快照的时间戳。单位:毫秒。',
- 'type' => 'string',
- 'example' => '1624961156000',
- ],
- 'ConfigurationDiff' => [
- 'description' => '触发本次评估的资源变更细节。'."\n",
- 'type' => 'string',
- 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'],
+ 'AccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ResourceEventType' => ['description' => '资源变更事件的类型。取值:'."\n"
+ ."\n"
+ .'- DISCOVERED:配置审计新发现的资源事件。'."\n"
+ .'- DISCOVERED_REVISED:配置审计新发现的通过周期订正任务产生的资源事件。'."\n"
+ .'- MODIFY:修改资源事件。'."\n"
+ .'- MODIFY_REVISED:通过周期订正任务产生的修改资源事件。'."\n"
+ .'- REMOVE:删除资源事件。'."\n"
+ ."\n"
+ .'> - 配置审计为了保障资源完整,通过周期订正任务对数据进行周期性对齐,产生新发现资源事件,该事件发生的频率较低。'."\n"
+ .'> - 通过周期订正任务产生资源事件的时间为任务发现时间,该时间晚于资源的实际变更时间。', 'type' => 'string', 'example' => 'DISCOVERED'],
+ 'AvailabilityZone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ResourceCreateTime' => ['description' => '创建资源的时间戳。单位:毫秒。', 'type' => 'string', 'example' => '1624961112000'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CaptureTime' => ['description' => '记录资源变更快照的时间戳。单位:毫秒。', 'type' => 'string', 'example' => '1624961156000'],
+ 'ConfigurationDiff' => ['description' => '触发本次评估的资源变更细节。'."\n", 'type' => 'string', 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'new-bucket'],
],
],
],
@@ -13409,35 +8104,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.ResourceOwnerId.Value',
- 'errorMessage' => 'The specified ResourceOwnerId is invalid.',
- 'description' => '该账号不存在或不在目标账号组内。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => '该账号不存在或不在目标账号组内。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\",\\n \\"ResourceConfigurationTimeline\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"ConfigurationList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceEventType\\": \\"DISCOVERED\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": \\"1624961112000\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"CaptureTime\\": \\"1624961156000\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"AccessControlList\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"Grant\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"ServerSideEncryptionRule\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"SSEAlgorithm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"CreationDate\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"2021-06-29T10:05:12.000Z\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"BucketPolicy\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"LogPrefix\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"LogBucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"StorageClass\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"Standard\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"ExtranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"DataRedundancyType\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"AllowEmptyReferer\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"IntranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"new-bucket\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Location\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceConfigurationTimelineResponse>\\n\\t<RequestId>ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB</RequestId>\\n\\t<ResourceConfigurationTimeline>\\n\\t\\t<MaxResults>10</MaxResults>\\n\\t\\t<ConfigurationList>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\n\\t\\t\\t<ResourceEventType>DISCOVERED</ResourceEventType>\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\n\\t\\t\\t<CaptureTime>1624961156000</CaptureTime>\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"AccessControlList\\\\\\":[null,{\\\\\\"Grant\\\\\\":\\\\\\"private\\\\\\"}],\\\\\\"ServerSideEncryptionRule\\\\\\":[null,{\\\\\\"SSEAlgorithm\\\\\\":\\\\\\"None\\\\\\"}],\\\\\\"CreationDate\\\\\\":[null,\\\\\\"2021-06-29T10:05:12.000Z\\\\\\"],\\\\\\"Owner\\\\\\":[null,{\\\\\\"DisplayName\\\\\\":\\\\\\"100931896542****\\\\\\",\\\\\\"ID\\\\\\":\\\\\\"100931896542****\\\\\\"}],\\\\\\"BucketPolicy\\\\\\":[null,{\\\\\\"LogPrefix\\\\\\":\\\\\\"\\\\\\",\\\\\\"LogBucket\\\\\\":\\\\\\"\\\\\\"}],\\\\\\"StorageClass\\\\\\":[null,\\\\\\"Standard\\\\\\"],\\\\\\"ExtranetEndpoint\\\\\\":[null,\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\"],\\\\\\"DataRedundancyType\\\\\\":[null,\\\\\\"LRS\\\\\\"],\\\\\\"AllowEmptyReferer\\\\\\":[null,\\\\\\"true\\\\\\"],\\\\\\"IntranetEndpoint\\\\\\":[null,\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\"],\\\\\\"Name\\\\\\":[null,\\\\\\"new-bucket\\\\\\"],\\\\\\"Location\\\\\\":[null,\\\\\\"oss-cn-hangzhou\\\\\\"]}</ConfigurationDiff>\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n\\t\\t</ConfigurationList>\\n\\t</ResourceConfigurationTimeline>\\n</GetAggregateResourceConfigurationTimelineResponse>","errorExample":""}]',
@@ -13452,12 +8127,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceConfigurationTimeline',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceConfigurationTimeline'],
],
],
'ramActions' => [
@@ -13468,12 +8138,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -13481,14 +8146,8 @@
],
'GetAggregateResourceCountsGroupByRegion' => [
'summary' => '从地域维度查询指定账号组内资源的统计结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13500,60 +8159,34 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a260626622af0005****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a260626622af0005****'],
],
[
'name' => 'FolderId',
'in' => 'query',
- 'schema' => [
- 'title' => '资源夹Id',
- 'description' => '资源目录的资源夹ID。关于如何获取资源目录的资源夹ID,请参见[查看资源夹基本信息](~~111223~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'r-BU****',
- ],
+ 'schema' => ['title' => '资源夹Id', 'description' => '资源目录的资源夹ID。关于如何获取资源目录的资源夹ID,请参见[查看资源夹基本信息](~~111223~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'r-BU****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
- .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。'."\n"
+ .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -13562,11 +8195,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595'],
'DiscoveredResourceCountsSummary' => [
'description' => '资源统计结果。',
'type' => 'array',
@@ -13574,24 +8203,11 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ResourceCount' => [
- 'description' => '资源总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'GroupName' => [
- 'description' => '分组统计的名称。'."\n"
- ."\n"
- .'> 通常不用该参数,使用`Region`。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Region' => [
- 'description' => '用于分组统计的地域。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'ResourceCount' => ['description' => '资源总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'GroupName' => ['description' => '分组统计的名称。'."\n"
+ ."\n"
+ .'> 通常不用该参数,使用`Region`。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Region' => ['description' => '用于分组统计的地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
@@ -13601,30 +8217,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"399BD94C-D20C-4D27-88D4-89E8D75C0595\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"cn-hangzhou\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceCountsGroupByRegionResponse>\\n\\t<RequestId>399BD94C-D20C-4D27-88D4-89E8D75C0595</RequestId>\\n\\t<DiscoveredResourceCountsSummary>\\n\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t<ResourceCount>10</ResourceCount>\\n\\t</DiscoveredResourceCountsSummary>\\n</GetAggregateResourceCountsGroupByRegionResponse>\\t","errorExample":""}]',
@@ -13640,12 +8240,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -13653,14 +8248,8 @@
],
'GetAggregateResourceCountsGroupByResourceType' => [
'summary' => '从资源类型维度查询指定账号组内资源的统计结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13672,59 +8261,33 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a260626622af0005****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a260626622af0005****'],
],
[
'name' => 'FolderId',
'in' => 'query',
- 'schema' => [
- 'title' => '资源文件夹Id',
- 'description' => '资源目录的资源夹ID。'."\n"
- ."\n"
- .'关于如何获取资源目录的资源夹ID,请参见[查看资源夹基本信息](~~111223~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'r-BU****',
- ],
+ 'schema' => ['title' => '资源文件夹Id', 'description' => '资源目录的资源夹ID。'."\n"
+ ."\n"
+ .'关于如何获取资源目录的资源夹ID,请参见[查看资源夹基本信息](~~111223~~)。', 'type' => 'string', 'required' => false, 'example' => 'r-BU****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。 '."\n"
- .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。 '."\n"
+ .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -13733,11 +8296,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '99114B22-1EFF-47DF-B906-1CCE82FF9D60',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '99114B22-1EFF-47DF-B906-1CCE82FF9D60'],
'DiscoveredResourceCountsSummary' => [
'description' => '资源统计结果。',
'type' => 'array',
@@ -13745,22 +8304,9 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ResourceCount' => [
- 'description' => '资源总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '7',
- ],
- 'GroupName' => [
- 'description' => '不推荐使用,建议使用ResourceType字段。表示用于统计分组的值。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::Role',
- ],
- 'ResourceType' => [
- 'description' => '用于分组统计的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::Role',
- ],
+ 'ResourceCount' => ['description' => '资源总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '7'],
+ 'GroupName' => ['description' => '不推荐使用,建议使用ResourceType字段。表示用于统计分组的值。', 'type' => 'string', 'example' => 'ACS::RAM::Role'],
+ 'ResourceType' => ['description' => '用于分组统计的资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::Role'],
],
],
],
@@ -13770,30 +8316,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99114B22-1EFF-47DF-B906-1CCE82FF9D60\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 7,\\n \\"GroupName\\": \\"ACS::RAM::Role\\",\\n \\"ResourceType\\": \\"ACS::RAM::Role\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceCountsGroupByResourceTypeResponse>\\n\\t<RequestId>99114B22-1EFF-47DF-B906-1CCE82FF9D60</RequestId>\\n\\t<DiscoveredResourceCountsSummary>\\n\\t\\t<ResourceType>ACS::RAM::Role</ResourceType>\\n\\t\\t<ResourceCount>7</ResourceCount>\\n\\t</DiscoveredResourceCountsSummary>\\n</GetAggregateResourceCountsGroupByResourceTypeResponse>\\t","errorExample":""}]',
@@ -13809,12 +8339,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -13822,14 +8347,8 @@
],
'GetAggregateResourceInventory' => [
'summary' => '获取指定的账号组内最近一次生成的全局资源下载清单信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13841,22 +8360,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a91d626622af0035****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****'],
],
],
'responses' => [
@@ -13864,37 +8376,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1A6D3604-EF1A-5798-A576-2A5FB855493C',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1A6D3604-EF1A-5798-A576-2A5FB855493C'],
'ResourceInventory' => [
'description' => '全局资源下载清单信息。',
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '全局资源清单下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****',
- ],
- 'Status' => [
- 'description' => '全局资源下载清单的生成状态。取值:'."\n"
- ."\n"
- .'- CREATING:生成中。'."\n"
- ."\n"
- .'- COMPLETE:生成完成。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'ResourceInventoryGenerateTime' => [
- 'description' => '生成全局资源下载清单的时间戳。'."\n"
- ."\n"
- .'单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1687674774123',
- ],
+ 'DownloadUrl' => ['description' => '全局资源清单下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****'],
+ 'Status' => ['description' => '全局资源下载清单的生成状态。取值:'."\n"
+ ."\n"
+ .'- CREATING:生成中。'."\n"
+ ."\n"
+ .'- COMPLETE:生成完成。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'ResourceInventoryGenerateTime' => ['description' => '生成全局资源下载清单的时间戳。'."\n"
+ ."\n"
+ .'单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1687674774123'],
],
],
],
@@ -13903,18 +8398,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A6D3604-EF1A-5798-A576-2A5FB855493C\\",\\n \\"ResourceInventory\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1687674774123\\n }\\n}","type":"json"}]',
@@ -13932,12 +8419,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -13945,14 +8427,8 @@
],
'GetAggregator' => [
'summary' => '查询账号组的名称、创建时间、成员和账号组类型等。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13964,20 +8440,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigB2MNLG',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-88ea626622af0055****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-88ea626622af0055****'],
],
[
'name' => 'Tag',
@@ -13994,22 +8463,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -14025,22 +8484,14 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '733DD93C-2277-4905-AE0C-0BA95C04B8BC',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '733DD93C-2277-4905-AE0C-0BA95C04B8BC'],
'Aggregator' => [
'description' => '账号组信息。',
'type' => 'object',
'properties' => [
- 'AggregatorCreateTimestamp' => [
- 'description' => '创建账号组的时间戳。'."\n"
- ."\n"
- .'单位:毫秒。',
- 'type' => 'string',
- 'example' => '1623034091000',
- ],
+ 'AggregatorCreateTimestamp' => ['description' => '创建账号组的时间戳。'."\n"
+ ."\n"
+ .'单位:毫秒。', 'type' => 'string', 'example' => '1623034091000'],
'AggregatorAccounts' => [
'description' => '账号组内的成员信息。',
'type' => 'array',
@@ -14048,84 +8499,31 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RecorderStatus' => [
- 'description' => '成员的资源监控状态。取值:'."\n"
- .'- REGISTRABLE:未注册。'."\n"
- .'- BUILDING:构建中。'."\n"
- .'- REGISTERED:已注册。'."\n"
- .'- REBUILDING:重新构建中。',
- 'type' => 'string',
- 'example' => 'REGISTERED',
- ],
- 'AccountId' => [
- 'description' => '成员ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '171322098523****',
- ],
- 'AccountType' => [
- 'description' => '成员归属。仅支持ResourceDirectory(资源目录)。',
- 'type' => 'string',
- 'example' => 'ResourceDirectory',
- ],
- 'AccountName' => [
- 'description' => '成员名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Alice',
- ],
+ 'RecorderStatus' => ['description' => '成员的资源监控状态。取值:'."\n"
+ .'- REGISTRABLE:未注册。'."\n"
+ .'- BUILDING:构建中。'."\n"
+ .'- REGISTERED:已注册。'."\n"
+ .'- REBUILDING:重新构建中。', 'type' => 'string', 'example' => 'REGISTERED'],
+ 'AccountId' => ['description' => '成员ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '171322098523****'],
+ 'AccountType' => ['description' => '成员归属。仅支持ResourceDirectory(资源目录)。', 'type' => 'string', 'example' => 'ResourceDirectory'],
+ 'AccountName' => ['description' => '成员名称。', 'type' => 'string', 'required' => false, 'example' => 'Alice'],
],
],
],
- 'AggregatorAccountCount' => [
- 'description' => '账号组内成员的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'Description' => [
- 'description' => '账号组描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'The description of the aggregator.',
- ],
- 'AggregatorName' => [
- 'description' => '账号组名称。',
- 'type' => 'string',
- 'example' => 'Test_Group',
- ],
- 'AggregatorStatus' => [
- 'description' => '账号组状态。取值:'."\n"
- .'- 0:创建中。'."\n"
- .'- 1:创建完成。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AggregatorType' => [
- 'description' => '账号组类型。取值:'."\n"
- .'- RD:全局账号组。'."\n"
- .'- FOLDER:资源夹账号组。'."\n"
- .'- CUSTOM:自定义账号组。',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'AccountId' => [
- 'description' => '创建账号组的管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-88ea626622af0055****',
- ],
- 'FolderName' => [
- 'description' => '资源夹账号组绑定的资源夹名称。多值以半角逗号分隔。',
- 'type' => 'string',
- 'example' => 'Example-name',
- ],
+ 'AggregatorAccountCount' => ['description' => '账号组内成员的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'Description' => ['description' => '账号组描述。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'The description of the aggregator.'],
+ 'AggregatorName' => ['description' => '账号组名称。', 'type' => 'string', 'example' => 'Test_Group'],
+ 'AggregatorStatus' => ['description' => '账号组状态。取值:'."\n"
+ .'- 0:创建中。'."\n"
+ .'- 1:创建完成。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AggregatorType' => ['description' => '账号组类型。取值:'."\n"
+ .'- RD:全局账号组。'."\n"
+ .'- FOLDER:资源夹账号组。'."\n"
+ .'- CUSTOM:自定义账号组。', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'AccountId' => ['description' => '创建账号组的管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-88ea626622af0055****'],
+ 'FolderName' => ['description' => '资源夹账号组绑定的资源夹名称。多值以半角逗号分隔。', 'type' => 'string', 'example' => 'Example-name'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -14133,24 +8531,12 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
- 'FolderId' => [
- 'description' => '资源夹账号组绑定的资源夹ID。',
- 'type' => 'string',
- 'example' => 'fd-brHdgv****',
- ],
+ 'FolderId' => ['description' => '资源夹账号组绑定的资源夹ID。', 'type' => 'string', 'example' => 'fd-brHdgv****'],
],
],
],
@@ -14159,30 +8545,16 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"733DD93C-2277-4905-AE0C-0BA95C04B8BC\\",\\n \\"Aggregator\\": {\\n \\"AggregatorCreateTimestamp\\": \\"1623034091000\\",\\n \\"AggregatorAccounts\\": [\\n {\\n \\"RecorderStatus\\": \\"REGISTERED\\",\\n \\"AccountId\\": 0,\\n \\"AccountType\\": \\"ResourceDirectory\\",\\n \\"AccountName\\": \\"Alice\\"\\n }\\n ],\\n \\"AggregatorAccountCount\\": 2,\\n \\"Description\\": \\"The description of the aggregator.\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"AggregatorStatus\\": 1,\\n \\"AggregatorType\\": \\"CUSTOM\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-88ea626622af0055****\\",\\n \\"FolderName\\": \\"Example-name\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"FolderId\\": \\"fd-brHdgv****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregatorResponse>\\n\\t<RequestId>733DD93C-2277-4905-AE0C-0BA95C04B8BC</RequestId>\\n\\t<Aggregator>\\n\\t\\t<AggregatorName>Test_Group</AggregatorName>\\n\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t<Description>测试组</Description>\\n\\t\\t<AggregatorAccounts>\\n\\t\\t\\t<AccountId>171322098523****</AccountId>\\n\\t\\t\\t<RecorderStatus>REGISTERED</RecorderStatus>\\n\\t\\t\\t<AccountType>ResourceDirectory</AccountType>\\n\\t\\t\\t<AccountName>Alice</AccountName>\\n\\t\\t</AggregatorAccounts>\\n\\t\\t<AggregatorAccounts>\\n\\t\\t\\t<AccountId>100532098349****</AccountId>\\n\\t\\t\\t<RecorderStatus>REGISTERED</RecorderStatus>\\n\\t\\t\\t<AccountType>ResourceDirectory</AccountType>\\n\\t\\t\\t<AccountName>Tom</AccountName>\\n\\t\\t</AggregatorAccounts>\\n\\t\\t<AggregatorCreateTimestamp>1623034091000</AggregatorCreateTimestamp>\\n\\t\\t<AggregatorAccountCount>2</AggregatorAccountCount>\\n\\t\\t<AggregatorStatus>1</AggregatorStatus>\\n\\t\\t<AggregatorType>CUSTOM</AggregatorType>\\n\\t\\t<AggregatorId>ca-88ea626622af0055****</AggregatorId>\\n\\t</Aggregator>\\n</GetAggregatorResponse>\\t","errorExample":""}]',
'title' => '查询账号组详情',
'description' => '本文将提供一个示例,查询账号组`ca-88ea626622af0055****`的详情。返回结果显示,账号组名称为`Test_Group`、账号组描述为`测试组`、账号组类型为`CUSTOM`(自定义账号组)、账号组状态为`1 `(创建完成)等。',
@@ -14190,12 +8562,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregator',
- ],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregator'],
],
],
'ramActions' => [
@@ -14206,12 +8573,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
@@ -14219,13 +8581,8 @@
],
'GetCompliancePack' => [
'summary' => '查询指定的合规包详情。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14237,24 +8594,16 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-a8a8626622af0082****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-a8a8626622af0082****'],
],
[
'name' => 'Tag',
@@ -14271,26 +8620,16 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
- ."\n"
- .'一次最多支持输入20个标签的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'标签值可以为空或输入不超过128个字符的字符串,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
- ."\n"
- .'每一个标签键对应一个标签值,一次最多支持输入20个标签键对应的标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
+ ."\n"
+ .'一次最多支持输入20个标签的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'标签值可以为空或输入不超过128个字符的字符串,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
+ ."\n"
+ .'每一个标签键对应一个标签值,一次最多支持输入20个标签键对应的标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -14306,44 +8645,23 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'CompliancePack' => [
'description' => '合规包信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cp-a8a8626622af0082****',
- ],
- 'RiskLevel' => [
- 'description' => '合规包风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '合规包描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
- ],
+ 'Status' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'CompliancePackId' => ['description' => '合规包ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cp-a8a8626622af0082****'],
+ 'RiskLevel' => ['description' => '合规包风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '合规包描述。'."\n"
+ ."\n", 'type' => 'string', 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。'],
'ConfigRules' => [
'description' => '合规包中的规则列表。',
'type' => 'array',
@@ -14351,21 +8669,9 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => '弹性IP实例带宽满足最低要求',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-a260626622af0005****',
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => '弹性IP实例带宽满足最低要求'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a260626622af0005****'],
'ConfigRuleParameters' => [
'description' => '规则参数信息。',
'type' => 'array',
@@ -14373,153 +8679,90 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'Required' => [
- 'description' => '规则中参数是否必填。取值:'."\n"
- .'- true:必填。'."\n"
- .'- false:非必填。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ParameterName' => [
- 'description' => '规则参数名称。',
- 'type' => 'string',
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。',
- 'type' => 'string',
- 'example' => '10',
- ],
+ 'Required' => ['description' => '规则中参数是否必填。取值:'."\n"
+ .'- true:必填。'."\n"
+ .'- false:非必填。', 'type' => 'boolean', 'example' => 'true'],
+ 'ParameterName' => ['description' => '规则参数名称。', 'type' => 'string', 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。', 'type' => 'string', 'example' => '10'],
],
],
],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'ACS::EIP::EipAddress',
- ],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'ACS::EIP::EipAddress'],
],
],
],
- 'TemplateContent' => [
- 'description' => '当前合规包模板信息,模板中规则列表不包含自定义函数规则。可基于模板信息快速为其他账号或账号组创建同样的合规包。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "configRuleTemplates": ['."\n"
- .' {'."\n"
- .' "configRuleName": "自定义条件规则示例",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::ECS::Instance"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "",'."\n"
- .' "source": {'."\n"
- .' "owner": "CUSTOM_CONFIGURATION",'."\n"
- .' "identifier": "acs-config-configuration",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ScheduledNotification",'."\n"
- .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
- .' },'."\n"
- .' "inputParameters": {}'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
- .' "scope": {'."\n"
- .' "complianceResourceTypes": ['."\n"
- .' "ACS::OSS::Bucket"'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
- .' "source": {'."\n"
- .' "owner": "ALIYUN",'."\n"
- .' "identifier": "oss-bucket-referer-limit",'."\n"
- .' "sourceDetails": ['."\n"
- .' {'."\n"
- .' "messageType": "ConfigurationItemChangeNotification"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "inputParameters": {'."\n"
- .' "allowEmptyReferer": "true",'."\n"
- .' "allowReferers": "http://www.aliyun.com"'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '等保三级预检合规包',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的阿里云账号ID。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'CompliancePackTemplateId' => [
- 'description' => '合规包模板ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建合规包的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624245766000',
- ],
+ 'TemplateContent' => ['description' => '当前合规包模板信息,模板中规则列表不包含自定义函数规则。可基于模板信息快速为其他账号或账号组创建同样的合规包。', 'type' => 'string', 'example' => '{'."\n"
+ .' "configRuleTemplates": ['."\n"
+ .' {'."\n"
+ .' "configRuleName": "自定义条件规则示例",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::ECS::Instance"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "CUSTOM_CONFIGURATION",'."\n"
+ .' "identifier": "acs-config-configuration",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ScheduledNotification",'."\n"
+ .' "maximumExecutionFrequency": "Twelve_Hours"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n"
+ .' },'."\n"
+ .' "inputParameters": {}'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n"
+ .' "scope": {'."\n"
+ .' "complianceResourceTypes": ['."\n"
+ .' "ACS::OSS::Bucket"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n"
+ .' "source": {'."\n"
+ .' "owner": "ALIYUN",'."\n"
+ .' "identifier": "oss-bucket-referer-limit",'."\n"
+ .' "sourceDetails": ['."\n"
+ .' {'."\n"
+ .' "messageType": "ConfigurationItemChangeNotification"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "inputParameters": {'."\n"
+ .' "allowEmptyReferer": "true",'."\n"
+ .' "allowReferers": "http://www.aliyun.com"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'CompliancePackName' => ['description' => '合规包名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => '等保三级预检合规包'],
+ 'AccountId' => ['description' => '合规包归属的阿里云账号ID。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'CompliancePackTemplateId' => ['description' => '合规包模板ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ct-5f26ff4e06a300c4****'],
+ 'CreateTimestamp' => ['description' => '创建合规包的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624245766000'],
'Scope' => [
'description' => '资源组生效范围。',
'type' => 'object',
'properties' => [
- 'ExcludeRegionIdsScope' => [
- 'description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceIdsScope' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****'."\n",
- ],
- 'ExcludeResourceGroupIdsScope' => [
- 'description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rg-aekzc7r7rhx****',
- ],
- 'TagKeyScope' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'example' => 'ECS',
- ],
+ 'ExcludeRegionIdsScope' => ['description' => '排除的地域范围,多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceIdsScope' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"],
+ 'ExcludeResourceGroupIdsScope' => ['description' => '合规包仅对指定资源组ID中的资源不生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rg-aekzc7r7rhx****'],
+ 'TagKeyScope' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'example' => 'ECS'],
'TagsScope' => [
'description' => '标签范围',
'type' => 'array',
@@ -14527,16 +8770,8 @@
'description' => '标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
'required' => true,
@@ -14548,40 +8783,16 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-2'],
],
],
'required' => true,
],
- 'TagValueScope' => [
- 'description' => '合规包仅对绑定指定标签键值对的资源生效。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'RegionIdsScope' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。'."\n",
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ExcludeResourceIdsScope' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。'."\n",
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****',
- ],
- 'ResourceGroupIdsScope' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。'."\n",
- 'type' => 'string',
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'TagValueScope' => ['description' => '合规包仅对绑定指定标签键值对的资源生效。', 'type' => 'string', 'example' => 'test'],
+ 'RegionIdsScope' => ['description' => '合规包仅对指定地域ID中的资源生效。'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ExcludeResourceIdsScope' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。'."\n", 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'],
+ 'ResourceGroupIdsScope' => ['description' => '合规包仅对指定资源组ID中的资源生效。'."\n", 'type' => 'string', 'example' => 'rg-aekzc7r7rhx****'],
],
],
'Tags' => [
@@ -14591,16 +8802,8 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
@@ -14612,42 +8815,23 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePack\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\",\\n \\"ConfigRules\\": [\\n {\\n \\"ManagedRuleIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleName\\": \\"弹性IP实例带宽满足最低要求\\",\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"bandwidth\\",\\n \\"ParameterValue\\": \\"10\\"\\n }\\n ],\\n \\"Description\\": \\"弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\",\\n \\"RiskLevel\\": 1,\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"TemplateContent\\": \\"{\\\\n \\\\\\"configRuleTemplates\\\\\\": [\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"自定义条件规则示例\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::Instance\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"CUSTOM_CONFIGURATION\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"acs-config-configuration\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ScheduledNotification\\\\\\",\\\\n \\\\\\"maximumExecutionFrequency\\\\\\": \\\\\\"Twelve_Hours\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"conditions\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"ComplianceConditions\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"GreaterOrEquals\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featurePath\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"$.Cpu\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featureSource\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CONFIGURATION\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"desired\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}]}\\\\\\\\\\\\\\"}\\\\\\"\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {}\\\\n },\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"OSS存储空间Referer在指定的防盗链白名单中\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::OSS::Bucket\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"ALIYUN\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"oss-bucket-referer-limit\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {\\\\n \\\\\\"allowEmptyReferer\\\\\\": \\\\\\"true\\\\\\",\\\\n \\\\\\"allowReferers\\\\\\": \\\\\\"http://www.aliyun.com\\\\\\"\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"CompliancePackName\\": \\"等保三级预检合规包\\",\\n \\"AccountId\\": 0,\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"CreateTimestamp\\": 1624245766000,\\n \\"Scope\\": {\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagKeyScope\\": \\"ECS\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ],\\n \\"TagValueScope\\": \\"test\\",\\n \\"RegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCompliancePackResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <CompliancePack>\\n <Status>ACTIVE</Status>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RiskLevel>1</RiskLevel>\\n <Description>基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。</Description>\\n <ConfigRules>\\n <ManagedRuleIdentifier>eip-bandwidth-limit</ManagedRuleIdentifier>\\n <ConfigRuleName>弹性IP实例带宽满足最低要求</ConfigRuleName>\\n <ConfigRuleId>cr-a260626622af0005****</ConfigRuleId>\\n <ConfigRuleParameters>\\n <Required>true</Required>\\n <ParameterName>bandwidth</ParameterName>\\n <ParameterValue>10</ParameterValue>\\n </ConfigRuleParameters>\\n <Description>弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。</Description>\\n <RiskLevel>1</RiskLevel>\\n </ConfigRules>\\n <CompliancePackName>等保三级预检合规包</CompliancePackName>\\n <CompliancePackTemplateId>ct-5f26ff4e06a300c4****</CompliancePackTemplateId>\\n <CreateTimestamp>1624245766000</CreateTimestamp>\\n <Scope>\\n <RegionIdsScope>cn-hangzhou</RegionIdsScope>\\n <ExcludeResourceIdsScope>eip-8vbf3x310fn56ijfd****</ExcludeResourceIdsScope>\\n <ResourceGroupIdsScope>rg-aekzc7r7rhx****</ResourceGroupIdsScope>\\n <TagKeyScope>ECS</TagKeyScope>\\n <TagValueScope>test</TagValueScope>\\n </Scope>\\n </CompliancePack>\\n</GetCompliancePackResponse>","errorExample":""}]',
'title' => '查询合规包详情',
'description' => '本文将提供一个示例,查询合规包`cp-fdc8626622af00f9****`的详情。返回结果显示,合规包名称为`等保三级预检合规包`、合规包状态为`ACTIVE`(正常)、合规包中规则的风险等级为`1`(高风险)等。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetCompliancePack',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePack'],
],
],
'ramActions' => [
@@ -14658,12 +8842,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -14671,13 +8850,8 @@
],
'GetCompliancePackReport' => [
'summary' => '获取合规包的评估报告。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14689,23 +8863,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
],
'responses' => [
@@ -14714,45 +8880,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'CompliancePackReport' => [
'description' => '合规包报告。',
'type' => 'object',
'properties' => [
- 'ReportUrl' => [
- 'description' => '合规包评估报告的下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****',
- ],
- 'ReportStatus' => [
- 'description' => '合规包评估报告的状态。取值:'."\n"
- .'- NONE:未创建。'."\n"
- .'- CREATING:创建中。'."\n"
- .'- COMPLETE:完成。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'ReportCreateTimestamp' => [
- 'description' => '创建合规包评估报告的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624329965857',
- ],
+ 'ReportUrl' => ['description' => '合规包评估报告的下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****'],
+ 'ReportStatus' => ['description' => '合规包评估报告的状态。取值:'."\n"
+ .'- NONE:未创建。'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- COMPLETE:完成。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'AccountId' => ['description' => '合规包归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'ReportCreateTimestamp' => ['description' => '创建合规包评估报告的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624329965857'],
],
],
],
@@ -14761,25 +8901,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePackReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****\\",\\n \\"ReportStatus\\": \\"COMPLETE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1624329965857\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCompliancePackReportResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<CompliancePackReport>\\n\\t\\t<CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n\\t\\t<AccountId>120886317861****</AccountId>\\n\\t\\t<ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624329965857</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetCompliancePackReportResponse>\\t","errorExample":""}]',
@@ -14797,12 +8925,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -14810,13 +8933,8 @@
],
'GetComplianceSummary' => [
'summary' => '查询当前账号下合规统计概览信息。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -14828,9 +8946,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [],
'responses' => [
@@ -14838,11 +8954,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737'],
'ComplianceSummary' => [
'description' => '合规结果统计概览。',
'type' => 'object',
@@ -14851,84 +8963,29 @@
'description' => '资源维度的合规结果统计概览。',
'type' => 'object',
'properties' => [
- 'LowRiskRuleNonCompliantResourceCount' => [
- 'description' => '低风险等级规则检测到的不合规资源数量。'."\n"
- ."\n"
- .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个低风险规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规的资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'ComplianceSummaryTimestamp' => [
- 'description' => '合规结果统计时的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1589853712165',
- ],
- 'TotalCount' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '13',
- ],
- 'CompliantCount' => [
- 'description' => '合规的资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'HighRiskRuleNonCompliantResourceCount' => [
- 'description' => '高风险等级规则检测到的不合规资源数量。'."\n"
- ."\n"
- .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'MediumRiskRuleNonCompliantResourceCount' => [
- 'description' => '中风险等级规则检测到的不合规资源数量。'."\n"
- ."\n"
- .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
+ 'LowRiskRuleNonCompliantResourceCount' => ['description' => '低风险等级规则检测到的不合规资源数量。'."\n"
+ ."\n"
+ .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个低风险规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'NonCompliantCount' => ['description' => '不合规的资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'ComplianceSummaryTimestamp' => ['description' => '合规结果统计时的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1589853712165'],
+ 'TotalCount' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'],
+ 'CompliantCount' => ['description' => '合规的资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'HighRiskRuleNonCompliantResourceCount' => ['description' => '高风险等级规则检测到的不合规资源数量。'."\n"
+ ."\n"
+ .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'MediumRiskRuleNonCompliantResourceCount' => ['description' => '中风险等级规则检测到的不合规资源数量。'."\n"
+ ."\n"
+ .'> 注意这个数量也许会大于用户账号下资源总量,因为计数口径的去重维度添加了规则维度,即同一资源被两个规则评估为不合规,这里的数量就会+2。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
],
],
'ComplianceSummaryByConfigRule' => [
'description' => '规则维度的合规结果统计概览。',
'type' => 'object',
'properties' => [
- 'CompliantCount' => [
- 'description' => '合规的规则数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规的规则数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'ComplianceSummaryTimestamp' => [
- 'description' => '合规统计时的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1589853712165',
- ],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '16',
- ],
+ 'CompliantCount' => ['description' => '合规的规则数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'NonCompliantCount' => ['description' => '不合规的规则数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'ComplianceSummaryTimestamp' => ['description' => '合规统计时的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1589853712165'],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
],
],
],
@@ -14939,11 +8996,7 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CAEE6F34-DEDC-4BAA-AA8C-946D5D008737\\",\\n \\"ComplianceSummary\\": {\\n \\"ComplianceSummaryByResource\\": {\\n \\"LowRiskRuleNonCompliantResourceCount\\": 2,\\n \\"NonCompliantCount\\": 12,\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"TotalCount\\": 13,\\n \\"CompliantCount\\": 1,\\n \\"HighRiskRuleNonCompliantResourceCount\\": 2,\\n \\"MediumRiskRuleNonCompliantResourceCount\\": 6\\n },\\n \\"ComplianceSummaryByConfigRule\\": {\\n \\"CompliantCount\\": 5,\\n \\"NonCompliantCount\\": 11,\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"TotalCount\\": 16\\n }\\n }\\n}","type":"json"}]',
@@ -14952,12 +9005,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetComplianceSummary',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComplianceSummary'],
],
],
'ramActions' => [
@@ -14968,12 +9016,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -14981,14 +9024,8 @@
],
'GetConfigDeliveryChannel' => [
'summary' => '查询指定投递渠道信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15000,22 +9037,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-d9106457e0d900b1****'],
],
],
'responses' => [
@@ -15028,157 +9058,79 @@
'description' => '单个投递渠道信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '投递设置状态。取值:'."\n"
- .'- 0:关闭。'."\n"
- .'- 1:开启。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'myDeliveryChannel',
- ],
- 'DeliveryChannelType' => [
- 'description' => '投递渠道类型。取值:'."\n"
- .'- OSS:对象存储。 '."\n"
- .'- MNS:轻量消息队列(原 MNS)。'."\n"
- .'- SLS:日志服务。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'DeliveryChannelTargetArn' => [
- 'description' => '投递渠道目标地址的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket',
- ],
- 'DeliveryChannelAssumeRoleArn' => [
- 'description' => '投递渠道扮演角色ARN。',
- 'type' => 'string',
- 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig',
- ],
- 'DeliveryChannelCondition' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
- 'OversizedDataOSSTargetArn' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
- 'Description' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'My OSS delivery.',
- ],
- 'ConfigurationSnapshot' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false:不接收资源定时快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CompliantSnapshot' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationItemChangeNotification' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false:不接收资源配置变更历史。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NonCompliantNotification' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false:不接收资源不合规事件。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AccountId' => [
- 'description' => '当前阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'DeliverySnapshotTime' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。',
- 'type' => 'string',
- 'example' => '09:10Z',
- ],
+ 'Status' => ['description' => '投递设置状态。取值:'."\n"
+ .'- 0:关闭。'."\n"
+ .'- 1:开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'myDeliveryChannel'],
+ 'DeliveryChannelType' => ['description' => '投递渠道类型。取值:'."\n"
+ .'- OSS:对象存储。 '."\n"
+ .'- MNS:轻量消息队列(原 MNS)。'."\n"
+ .'- SLS:日志服务。', 'type' => 'string', 'example' => 'OSS'],
+ 'DeliveryChannelTargetArn' => ['description' => '投递渠道目标地址的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'],
+ 'DeliveryChannelAssumeRoleArn' => ['description' => '投递渠道扮演角色ARN。', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'],
+ 'DeliveryChannelCondition' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
+ 'OversizedDataOSSTargetArn' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
+ 'Description' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'My OSS delivery.'],
+ 'ConfigurationSnapshot' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false:不接收资源定时快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'CompliantSnapshot' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationItemChangeNotification' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false:不接收资源配置变更历史。', 'type' => 'boolean', 'example' => 'true'],
+ 'NonCompliantNotification' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false:不接收资源不合规事件。', 'type' => 'boolean', 'example' => 'false'],
+ 'AccountId' => ['description' => '当前阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'DeliverySnapshotTime' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。', 'type' => 'string', 'example' => '09:10Z'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '投递渠道不存在。',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannel\\": {\\n \\"Status\\": 1,\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"ConfigurationSnapshot\\": false,\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n },\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<GetConfigDeliveryChannelResponse>\\n\\t<DeliveryChannel>\\n\\t\\t<Status>1</Status>\\n\\t\\t<DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n\\t\\t<DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n\\t\\t<DeliveryChannelType>OSS</DeliveryChannelType>\\n\\t\\t<DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n\\t\\t<DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n\\t\\t<DeliveryChannelCondition>[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]</DeliveryChannelCondition>\\n\\t\\t<OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n\\t\\t<Description>My OSS delivery.</Description>\\n\\t\\t<ConfigurationSnapshot>false</ConfigurationSnapshot>\\n\\t\\t<ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n\\t\\t<NonCompliantNotification>false</NonCompliantNotification>\\n\\t\\t<DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n\\t</DeliveryChannel>\\n\\t<RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</GetConfigDeliveryChannelResponse>\\t","errorExample":""}]',
@@ -15186,12 +9138,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetConfigDeliveryChannel',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigDeliveryChannel'],
],
],
'ramActions' => [
@@ -15202,26 +9149,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
],
],
'GetConfigRule' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15233,24 +9169,16 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'autoTest' => true,
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7f7d626622af0041****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7f7d626622af0041****'],
],
[
'name' => 'Tag',
@@ -15265,22 +9193,12 @@
'description' => '资源的标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -15299,172 +9217,64 @@
'description' => '规则详情。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '规则归属阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
+ 'AccountId' => ['description' => '规则归属阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
'Compliance' => [
'description' => '规则合规统计结果。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规统计结果。取值:'."\n"
- ."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'Count' => [
- 'description' => '合规统计结果对应的评估资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'ComplianceType' => ['description' => '合规统计结果。取值:'."\n"
+ ."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'Count' => ['description' => '合规统计结果对应的评估资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
],
],
- 'ConfigRuleArn' => [
- 'description' => '规则模板ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****',
- ],
+ 'ConfigRuleArn' => ['description' => '规则模板ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'],
'ConfigRuleEvaluationStatus' => [
'description' => '规则执行状态。',
'type' => 'object',
'properties' => [
- 'FirstActivatedTimestamp' => [
- 'description' => '规则首次激活时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932221993',
- ],
- 'FirstEvaluationStarted' => [
- 'description' => '规则是否已执行评估。取值:'."\n"
- .'- true:规则已执行评估。'."\n"
- .'- false:规则未执行评估。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'LastErrorCode' => [
- 'description' => '规则最近一次执行的错误码。',
- 'type' => 'string',
- 'example' => 'TimeOut',
- ],
- 'LastErrorMessage' => [
- 'description' => '规则最近一次执行的错误信息。',
- 'type' => 'string',
- 'example' => 'Time out',
- ],
- 'LastFailedEvaluationTimestamp' => [
- 'description' => '规则最近一次调用失败的结束时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'LastFailedInvocationTimestamp' => [
- 'description' => '规则最近一次调用失败的开始时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'LastSuccessfulEvaluationTimestamp' => [
- 'description' => '规则最近一次调用成功的结束时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227486',
- ],
- 'LastSuccessfulInvocationTimestamp' => [
- 'description' => '规则最近一次调用成功的开始时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227476',
- ],
+ 'FirstActivatedTimestamp' => ['description' => '规则首次激活时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932221993'],
+ 'FirstEvaluationStarted' => ['description' => '规则是否已执行评估。取值:'."\n"
+ .'- true:规则已执行评估。'."\n"
+ .'- false:规则未执行评估。', 'type' => 'boolean', 'example' => 'true'],
+ 'LastErrorCode' => ['description' => '规则最近一次执行的错误码。', 'type' => 'string', 'example' => 'TimeOut'],
+ 'LastErrorMessage' => ['description' => '规则最近一次执行的错误信息。', 'type' => 'string', 'example' => 'Time out'],
+ 'LastFailedEvaluationTimestamp' => ['description' => '规则最近一次调用失败的结束时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'LastFailedInvocationTimestamp' => ['description' => '规则最近一次调用失败的开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'LastSuccessfulEvaluationTimestamp' => ['description' => '规则最近一次调用成功的结束时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227486'],
+ 'LastSuccessfulInvocationTimestamp' => ['description' => '规则最近一次调用成功的开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227476'],
],
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-7f7d626622af0041****',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA',
- ],
- 'ConfigRuleState' => [
- 'description' => '规则运行状态。取值:'."\n"
- .'- ACTIVE:应用中。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- EVALUATING:评估中。'."\n"
- .'- INACTIVE:已停用。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'ConfigRuleTriggerTypes' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-7f7d626622af0041****'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'RAM用户开启MFA'],
+ 'ConfigRuleState' => ['description' => '规则运行状态。取值:'."\n"
+ .'- ACTIVE:应用中。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- EVALUATING:评估中。'."\n"
+ .'- INACTIVE:已停用。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'ConfigRuleTriggerTypes' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
'CreateBy' => [
'description' => '创建信息。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af008****',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'example' => 'OSS合规基线',
- ],
- 'CreatorId' => [
- 'description' => '规则创建者的阿里云账号ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '100931896542****',
- ],
- 'CreatorName' => [
- 'description' => '规则创建者的名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Alice',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af008****'],
+ 'CompliancePackName' => ['description' => '合规包名称。', 'type' => 'string', 'example' => 'OSS合规基线'],
+ 'CreatorId' => ['description' => '规则创建者的阿里云账号ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => '100931896542****'],
+ 'CreatorName' => ['description' => '规则创建者的名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Alice'],
],
],
- 'CreateTimestamp' => [
- 'description' => '创建规则的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1604684022000',
- ],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA,视为“合规”。',
- ],
- 'ExcludeRegionIdsScope' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ExcludeResourceGroupIdsScope' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rg-aekzdibsjjc****',
- ],
- 'ExcludeResourceIdsScope' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。',
- 'type' => 'string',
- 'example' => '23642660635687****',
- ],
+ 'CreateTimestamp' => ['description' => '创建规则的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1604684022000'],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'RAM用户开启MFA,视为“合规”。'],
+ 'ExcludeRegionIdsScope' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ExcludeResourceGroupIdsScope' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****'],
+ 'ExcludeResourceIdsScope' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。', 'type' => 'string', 'example' => '23642660635687****'],
'ExcludeTagsScope' => [
'description' => '排除的标签范围',
'type' => 'array',
@@ -15472,61 +9282,26 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-2'],
],
],
],
- 'InputParameters' => [
- 'description' => '规则参数信息。',
- 'type' => 'object',
- ],
+ 'InputParameters' => ['description' => '规则参数信息。', 'type' => 'object'],
'ManagedRule' => [
'description' => '规则模板详情。',
'type' => 'object',
'properties' => [
- 'CompulsoryInputParameterDetails' => [
- 'description' => '规则模板必选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。',
- ],
- 'Identifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'ram-user-mfa-check',
- ],
+ 'CompulsoryInputParameterDetails' => ['description' => '规则模板必选参数详情。', 'type' => 'object', 'example' => '{}'],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。'],
+ 'Identifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'ram-user-mfa-check'],
'Labels' => [
'description' => '规则标签列表。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板标签。',
- 'type' => 'string',
- 'example' => '["RAM","User"]',
- ],
- ],
- 'ManagedRuleName' => [
- 'description' => '规则模板名称。',
- 'type' => 'string',
- 'example' => 'RAM用户开启MFA',
- ],
- 'OptionalInputParameterDetails' => [
- 'description' => '规则模板可选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
+ 'items' => ['description' => '规则模板标签。', 'type' => 'string', 'example' => '["RAM","User"]'],
],
+ 'ManagedRuleName' => ['description' => '规则模板名称。', 'type' => 'string', 'example' => 'RAM用户开启MFA'],
+ 'OptionalInputParameterDetails' => ['description' => '规则模板可选参数详情。', 'type' => 'object', 'example' => '{}'],
'SourceDetails' => [
'description' => '规则模板来源详情。',
'type' => 'array',
@@ -15534,84 +9309,42 @@
'description' => '托管规则来源详情。',
'type' => 'object',
'properties' => [
- 'EventSource' => [
- 'description' => '事件来源。'."\n"
- ."\n"
- .'> 目前仅支持配置审计事件:aliyun.config。',
- 'type' => 'string',
- 'example' => 'aliyun.config',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。'."\n"
- ."\n"
- .'> 当规则触发机制为周期执行时,返回该参数。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
- 'MessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'EventSource' => ['description' => '事件来源。'."\n"
+ ."\n"
+ .'> 目前仅支持配置审计事件:aliyun.config。', 'type' => 'string', 'example' => 'aliyun.config'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。'."\n"
+ ."\n"
+ .'> 当规则触发机制为周期执行时,返回该参数。', 'type' => 'string', 'example' => 'One_Hour'],
+ 'MessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
],
],
],
],
],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。'."\n"
- ."\n"
- .'> 当规则触发机制为周期执行时,返回该参数。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
- 'ModifiedTimestamp' => [
- 'description' => '规则最近一次更新的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'RegionIdsScope' => [
- 'description' => '规则仅对指定地域ID中的资源生效。',
- 'type' => 'string',
- 'example' => 'global',
- ],
- 'ResourceGroupIdsScope' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。',
- 'type' => 'string',
- 'example' => 'rg-aekzdibsjjc****',
- ],
- 'ResourceIdsScope' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'eip-8vbf3x310fn56ijfd****'."\n",
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::User',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。'."\n"
+ ."\n"
+ .'> 当规则触发机制为周期执行时,返回该参数。', 'type' => 'string', 'example' => 'One_Hour'],
+ 'ModifiedTimestamp' => ['description' => '规则最近一次更新的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'RegionIdsScope' => ['description' => '规则仅对指定地域ID中的资源生效。', 'type' => 'string', 'example' => 'global'],
+ 'ResourceGroupIdsScope' => ['description' => '规则仅对指定资源组ID中的资源生效。', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****'],
+ 'ResourceIdsScope' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::User'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Scope' => [
'description' => '规则生效范围。',
'type' => 'object',
@@ -15619,11 +9352,7 @@
'ComplianceResourceTypes' => [
'description' => '规则评估的资源类型列表。也可使用ResourceTypesScope字段进行查看。',
'type' => 'array',
- 'items' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::User',
- ],
+ 'items' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::User'],
],
],
],
@@ -15631,24 +9360,16 @@
'description' => '规则来源信息。',
'type' => 'object',
'properties' => [
- 'Identifier' => [
- 'description' => '规则标识。'."\n"
- ."\n"
- .'- 如果是规则模板,该参数为规则模板标识。'."\n"
- ."\n"
- .'- 如果是自定义规则,该参数为函数ARN。',
- 'type' => 'string',
- 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config',
- ],
- 'Owner' => [
- 'description' => '规则来源的归属。取值:'."\n"
- ."\n"
- .'- CUSTOM_FC:自定义规则。'."\n"
- ."\n"
- .'- ALIYUN:规则模板。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
+ 'Identifier' => ['description' => '规则标识。'."\n"
+ ."\n"
+ .'- 如果是规则模板,该参数为规则模板标识。'."\n"
+ ."\n"
+ .'- 如果是自定义规则,该参数为函数ARN。', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config'],
+ 'Owner' => ['description' => '规则来源的归属。取值:'."\n"
+ ."\n"
+ .'- CUSTOM_FC:自定义规则。'."\n"
+ ."\n"
+ .'- ALIYUN:规则模板。', 'type' => 'string', 'example' => 'ALIYUN'],
'SourceDetails' => [
'description' => '规则来源详情。',
'type' => 'array',
@@ -15656,71 +9377,44 @@
'description' => '规则来源详情。',
'type' => 'object',
'properties' => [
- 'EventSource' => [
- 'description' => '事件来源。'."\n"
- ."\n"
- .'> 目前仅支持配置审计事件:aliyun.config。',
- 'type' => 'string',
- 'example' => 'aliyun.config',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。'."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。'."\n"
- ."\n"
- .'> 当规则触发机制为周期执行时,返回该参数。',
- 'type' => 'string',
- 'example' => 'One_Hour',
- ],
- 'MessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'EventSource' => ['description' => '事件来源。'."\n"
+ ."\n"
+ .'> 目前仅支持配置审计事件:aliyun.config。', 'type' => 'string', 'example' => 'aliyun.config'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。'."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。'."\n"
+ ."\n"
+ .'> 当规则触发机制为周期执行时,返回该参数。', 'type' => 'string', 'example' => 'One_Hour'],
+ 'MessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
],
],
],
],
],
- 'TagKeyLogicScope' => [
- 'description' => '使用参数`TagsScope` 创建的规则,获取详情时不返回该字段。'."\n"
- ."\n"
- .'用于获取使用已废弃字段`TagKeyScope`字段(不推荐)创建的规则,例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- AND:与。'."\n"
- ."\n"
- .'- OR:或。',
- 'type' => 'string',
- 'deprecated' => false,
- 'example' => 'OR',
- ],
- 'TagKeyScope' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 参数`TagKeyScope`和`TagValueScope`同时返回。',
- 'type' => 'string',
- 'deprecated' => true,
- 'example' => 'RAM',
- ],
- 'TagValueScope' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 参数`TagKeyScope`和`TagValueScope`同时返回。',
- 'type' => 'string',
- 'deprecated' => true,
- 'example' => 'MFA',
- ],
+ 'TagKeyLogicScope' => ['description' => '使用参数`TagsScope` 创建的规则,获取详情时不返回该字段。'."\n"
+ ."\n"
+ .'用于获取使用已废弃字段`TagKeyScope`字段(不推荐)创建的规则,例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- AND:与。'."\n"
+ ."\n"
+ .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'example' => 'OR'],
+ 'TagKeyScope' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 参数`TagKeyScope`和`TagValueScope`同时返回。', 'type' => 'string', 'deprecated' => true, 'example' => 'RAM'],
+ 'TagValueScope' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 参数`TagKeyScope`和`TagValueScope`同时返回。', 'type' => 'string', 'deprecated' => true, 'example' => 'MFA'],
'TagsScope' => [
'description' => '标签范围',
'type' => 'array',
@@ -15728,16 +9422,8 @@
'description' => '标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
@@ -15748,71 +9434,33 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
- 'ResourceNameScope' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'example' => 'i-xxx',
- ],
- 'ExtendContent' => [
- 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。',
- 'type' => 'string',
- 'example' => '{"fixedHour":"12"}',
- ],
+ 'ResourceNameScope' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'example' => 'i-xxx'],
+ 'ExtendContent' => ['description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'example' => '{"fixedHour":"12"}'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询规则详情',
'summary' => '查询指定规则详情。',
'description' => '本文将提供一个示例,查询规则`cr-7f7d626622af0041****`的详情。',
@@ -15820,12 +9468,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetConfigRule',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigRule'],
],
],
'ramActions' => [
@@ -15836,12 +9479,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -15850,13 +9488,8 @@
],
'GetConfigRuleComplianceByPack' => [
'summary' => '查询指定合规包中规则维度合规统计。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15868,23 +9501,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
],
'responses' => [
@@ -15893,26 +9518,13 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'ConfigRuleComplianceResult' => [
'description' => '合规包中规则的合规结果。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'InsufficientDataCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“无数据”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'InsufficientDataCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“无数据”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ConfigRuleCompliances' => [
'description' => '合规包中的规则及合规结果列表。',
'type' => 'array',
@@ -15920,58 +9532,21 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '规则合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'ConfigRuleName' => [
- 'description' => '合规包中的规则名称。',
- 'type' => 'string',
- 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.',
- ],
- 'ConfigRuleId' => [
- 'description' => '合规包中的规则ID。',
- 'type' => 'string',
- 'example' => 'cr-fdc8626622af00f9****',
- ],
+ 'ComplianceType' => ['description' => '规则合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'ConfigRuleName' => ['description' => '合规包中的规则名称。', 'type' => 'string', 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.'],
+ 'ConfigRuleId' => ['description' => '合规包中的规则ID。', 'type' => 'string', 'example' => 'cr-fdc8626622af00f9****'],
],
],
],
- 'TotalCount' => [
- 'description' => '合规包中的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'NotApplicableCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“不适用”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IgnoredCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**包含**“已忽略”的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CompliantCount' => [
- 'description' => '合规包内的规则进行评估资源时,评估结果**全部为合规**的规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
+ 'TotalCount' => ['description' => '合规包中的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'NonCompliantCount' => ['description' => '不合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'NotApplicableCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“不适用”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'IgnoredCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**包含**“已忽略”的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CompliantCount' => ['description' => '合规包内的规则进行评估资源时,评估结果**全部为合规**的规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
],
],
@@ -15980,25 +9555,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ConfigRuleComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"ConfigRuleCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"ConfigRuleName\\": \\"The bandwidth of the Elastic IP instance meets the minimum requirements.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\"\\n }\\n ],\\n \\"TotalCount\\": 1,\\n \\"NonCompliantCount\\": 0,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1,\\n \\"CompliantCount\\": 0\\n }\\n}","type":"json"}]',
@@ -16008,12 +9571,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigRuleComplianceByPack',
- ],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleComplianceByPack'],
],
],
'ramActions' => [
@@ -16024,26 +9582,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
],
],
'GetConfigRuleSummaryByRiskLevel' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16054,9 +9601,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -16071,36 +9616,17 @@
'items' => [
'type' => 'object',
'properties' => [
- 'CompliantCount' => [
- 'description' => '合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规规则数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliantCount' => ['description' => '合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'NonCompliantCount' => ['description' => '不合规规则数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'description' => '',
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36'],
],
'description' => '',
],
@@ -16108,16 +9634,10 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询规则风险等级维度的合规概要',
'summary' => '从规则的风险等级维度查询合规概要。',
'description' => '本文将提供一个示例,查询不同风险等级规则的合规概要。返回结果显示,在高风险的规则中,有3条合规,有1条不合规。',
@@ -16125,12 +9645,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigRuleSummaryByRiskLevel',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleSummaryByRiskLevel'],
],
],
'ramActions' => [
@@ -16141,12 +9656,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -16155,14 +9665,8 @@
],
'GetConfigRulesReport' => [
'summary' => '下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16174,20 +9678,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ReportId',
'in' => 'query',
- 'schema' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'schema' => ['description' => '评估报告ID。', 'type' => 'string', 'required' => false, 'example' => 'crp-88176457e0d900c9****'],
],
],
'responses' => [
@@ -16196,45 +9693,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'ConfigRulesReport' => [
'description' => '规则评估报告。',
'type' => 'object',
'properties' => [
- 'ReportStatus' => [
- 'description' => '规则评估报告的状态。取值:'."\n"
- .'- NONE:未创建。'."\n"
- .'- CREATING:创建中。'."\n"
- .'- COMPLETE:完成。',
- 'type' => 'string',
- 'example' => 'CREATING',
- ],
- 'ReportUrl' => [
- 'description' => '规则评估报告的下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****',
- ],
- 'AccountId' => [
- 'description' => '规则归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ReportCreateTimestamp' => [
- 'description' => '创建评估报告的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1614687022000',
- ],
- 'ReportId' => [
- 'description' => '评估报告ID。',
- 'type' => 'string',
- 'example' => 'crp-88176457e0d900c9****',
- ],
+ 'ReportStatus' => ['description' => '规则评估报告的状态。取值:'."\n"
+ .'- NONE:未创建。'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- COMPLETE:完成。', 'type' => 'string', 'example' => 'CREATING'],
+ 'ReportUrl' => ['description' => '规则评估报告的下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****'],
+ 'AccountId' => ['description' => '规则归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ReportCreateTimestamp' => ['description' => '创建评估报告的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'],
+ 'ReportId' => ['description' => '评估报告ID。', 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'],
],
],
],
@@ -16243,18 +9714,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ConfigRulesReport\\": {\\n \\"ReportStatus\\": \\"CREATING\\",\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1614687022000,\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <ConfigRulesReport>\\n <ReportStatus>CREATING</ReportStatus>\\n <ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****</ReportUrl>\\n <ReportCreateTimestamp>1614687022000</ReportCreateTimestamp>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n </ConfigRulesReport>\\n</GetConfigRulesReportResponse>","errorExample":""}]',
@@ -16272,12 +9735,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -16285,13 +9743,8 @@
],
'GetConfigurationRecorder' => [
'summary' => '查询当前账号的配置审计服务启用状态和资源监控范围。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -16303,9 +9756,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig56XT35',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig56XT35'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -16314,36 +9765,24 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE43696A-B3AF-5E55-9845-11393127E6D3',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE43696A-B3AF-5E55-9845-11393127E6D3'],
'ConfigurationRecorder' => [
'description' => '资源监控信息。',
'type' => 'object',
'properties' => [
- 'ConfigurationRecorderStatus' => [
- 'description' => '资源监控状态。取值:'."\n"
- ."\n"
- .'- REGISTRABLE:未注册。'."\n"
- ."\n"
- .'- BUILDING:构建中。'."\n"
- ."\n"
- .'- REGISTERED:已注册。'."\n"
- ."\n"
- .'- REBUILDING:重新构建中',
- 'type' => 'string',
- 'example' => 'REGISTERED',
- ],
+ 'ConfigurationRecorderStatus' => ['description' => '资源监控状态。取值:'."\n"
+ ."\n"
+ .'- REGISTRABLE:未注册。'."\n"
+ ."\n"
+ .'- BUILDING:构建中。'."\n"
+ ."\n"
+ .'- REGISTERED:已注册。'."\n"
+ ."\n"
+ .'- REBUILDING:重新构建中', 'type' => 'string', 'example' => 'REGISTERED'],
'ResourceTypes' => [
'description' => '监控的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
],
],
],
@@ -16354,25 +9793,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询服务启用状态和资源监控范围',
@@ -16380,12 +9807,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigurationRecorder',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigurationRecorder'],
],
],
'ramActions' => [
@@ -16396,12 +9818,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -16410,14 +9827,8 @@
],
'GetDiscoveredResource' => [
'summary' => '获取指定资源的资源详情。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16429,49 +9840,29 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~411702~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-bp12g4xbl4i0brkn****',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~411702~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-bp12g4xbl4i0brkn****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~411702~~)。'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~411702~~)。'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所在地域ID。'."\n"
- ."\n"
- .'关于如何获取资源所在地域ID,请参见[ListDiscoveredResources](~~411702~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源所在地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源所在地域ID,请参见[ListDiscoveredResources](~~411702~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ComplianceOption',
@@ -16497,98 +9888,31 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F'],
'DiscoveredResourceDetail' => [
'description' => '资源详情。',
'type' => 'object',
'properties' => [
- 'AvailabilityZone' => [
- 'description' => '资源可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'Configuration' => [
- 'description' => '资源的完整配置信息。',
- 'type' => 'string',
- 'example' => '{"ResourceGroupId":"","Memory":4096,"InstanceChargeType":"PostPaid","Cpu":2,"OSName":"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)","InstanceNetworkType":"vpc","InnerIpAddress":{"IpAddress":[]},"ExpiredTime":"2099-12-31T15:59Z","ImageId":"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd","EipAddress":{"AllocationId":"","IpAddress":"","InternetChargeType":""},"ImageOptions":{},"VlanId":"","HostName":"iZl4i0brknq****","Status":"Stopped","HibernationOptions":{"Configured":false},"MetadataOptions":{"HttpTokens":"","HttpEndpoint":""},"InstanceId":"i-bp12g4xbl4i0brkn****","StoppedMode":"KeepCharging","CpuOptions":{"ThreadsPerCore":2,"Numa":"ON","CoreCount":1},"StartTime":"2024-02-29T07:08Z","DeletionProtection":false,"VpcAttributes":{"PrivateIpAddress":{"IpAddress":["172.16.XX.XX"]},"VpcId":"vpc-bp1wjaw8t272wwmkg****","VSwitchId":"vsw-bp103i8xzww5132ul****","NatIpAddress":""},"SecurityGroupIds":{"SecurityGroupId":["sg-bp1h96fz9fagaegp****"]},"InternetChargeType":"PayByTraffic","InstanceName":"test123","DeploymentSetId":"","InternetMaxBandwidthOut":5,"SerialNumber":"6764f567-28fb-4a39-bfc3-48404995****","OSType":"windows","CreationTime":"2024-02-29T07:08Z","AutoReleaseTime":"","Description":"","InstanceTypeFamily":"ecs.c7","DedicatedInstanceAttribute":{"Tenancy":"","Affinity":""},"PublicIpAddress":{"IpAddress":["47.98.XX.XX"]},"GPUSpec":"","NetworkInterfaces":{"NetworkInterface":[{"Type":"Primary","PrimaryIpAddress":"172.16.XX.XX","MacAddress":"00:16:3e:0c:**:**","NetworkInterfaceId":"eni-bp19uj35v8won3x9****","PrivateIpSets":{"PrivateIpSet":[{"PrivateIpAddress":"172.16.XX.XX","Primary":true}]}}]},"SpotPriceLimit":0.0,"SaleCycle":"","DeviceAvailable":true,"InstanceType":"ecs.c7.large","OSNameEn":"Windows Server 2022 DataCenter Edition 64bit Chinese Edition","SpotStrategy":"NoSpot","IoOptimized":true,"ZoneId":"cn-hangzhou-b","ClusterId":"","EcsCapacityReservationAttr":{"CapacityReservationPreference":"","CapacityReservationId":""},"DedicatedHostAttribute":{"DedicatedHostId":"","DedicatedHostName":"","DedicatedHostClusterId":""},"GPUAmount":0,"OperationLocks":{"LockReason":[]},"InternetMaxBandwidthIn":2000,"Recyclable":false,"RegionId":"cn-hangzhou","CreditSpecification":""}',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceCreationTime' => [
- 'description' => '资源创建时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1709190480000',
- ],
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{"key":"value"}',
- ],
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'i-bp12g4xbl4i0brkn****',
- ],
- 'ResourceDeleted' => [
- 'description' => '资源删除状态。取值:'."\n"
- .'- 1:未删除。'."\n"
- .'- 0:已删除。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'test123',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- ."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- ."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'Stopped',
- ],
- 'ComplianceType' => [
- 'description' => '合规类型',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'VpcId' => [
- 'title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpc-t4nhheyvay74fp7n0hxxx',
- ],
- 'VSwitchId' => [
- 'title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx',
- ],
+ 'AvailabilityZone' => ['description' => '资源可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'Configuration' => ['description' => '资源的完整配置信息。', 'type' => 'string', 'example' => '{"ResourceGroupId":"","Memory":4096,"InstanceChargeType":"PostPaid","Cpu":2,"OSName":"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)","InstanceNetworkType":"vpc","InnerIpAddress":{"IpAddress":[]},"ExpiredTime":"2099-12-31T15:59Z","ImageId":"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd","EipAddress":{"AllocationId":"","IpAddress":"","InternetChargeType":""},"ImageOptions":{},"VlanId":"","HostName":"iZl4i0brknq****","Status":"Stopped","HibernationOptions":{"Configured":false},"MetadataOptions":{"HttpTokens":"","HttpEndpoint":""},"InstanceId":"i-bp12g4xbl4i0brkn****","StoppedMode":"KeepCharging","CpuOptions":{"ThreadsPerCore":2,"Numa":"ON","CoreCount":1},"StartTime":"2024-02-29T07:08Z","DeletionProtection":false,"VpcAttributes":{"PrivateIpAddress":{"IpAddress":["172.16.XX.XX"]},"VpcId":"vpc-bp1wjaw8t272wwmkg****","VSwitchId":"vsw-bp103i8xzww5132ul****","NatIpAddress":""},"SecurityGroupIds":{"SecurityGroupId":["sg-bp1h96fz9fagaegp****"]},"InternetChargeType":"PayByTraffic","InstanceName":"test123","DeploymentSetId":"","InternetMaxBandwidthOut":5,"SerialNumber":"6764f567-28fb-4a39-bfc3-48404995****","OSType":"windows","CreationTime":"2024-02-29T07:08Z","AutoReleaseTime":"","Description":"","InstanceTypeFamily":"ecs.c7","DedicatedInstanceAttribute":{"Tenancy":"","Affinity":""},"PublicIpAddress":{"IpAddress":["47.98.XX.XX"]},"GPUSpec":"","NetworkInterfaces":{"NetworkInterface":[{"Type":"Primary","PrimaryIpAddress":"172.16.XX.XX","MacAddress":"00:16:3e:0c:**:**","NetworkInterfaceId":"eni-bp19uj35v8won3x9****","PrivateIpSets":{"PrivateIpSet":[{"PrivateIpAddress":"172.16.XX.XX","Primary":true}]}}]},"SpotPriceLimit":0.0,"SaleCycle":"","DeviceAvailable":true,"InstanceType":"ecs.c7.large","OSNameEn":"Windows Server 2022 DataCenter Edition 64bit Chinese Edition","SpotStrategy":"NoSpot","IoOptimized":true,"ZoneId":"cn-hangzhou-b","ClusterId":"","EcsCapacityReservationAttr":{"CapacityReservationPreference":"","CapacityReservationId":""},"DedicatedHostAttribute":{"DedicatedHostId":"","DedicatedHostName":"","DedicatedHostClusterId":""},"GPUAmount":0,"OperationLocks":{"LockReason":[]},"InternetMaxBandwidthIn":2000,"Recyclable":false,"RegionId":"cn-hangzhou","CreditSpecification":""}'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceCreationTime' => ['description' => '资源创建时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1709190480000'],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{"key":"value"}'],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'i-bp12g4xbl4i0brkn****'],
+ 'ResourceDeleted' => ['description' => '资源删除状态。取值:'."\n"
+ .'- 1:未删除。'."\n"
+ .'- 0:已删除。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'test123'],
+ 'ResourceStatus' => ['description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ ."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'Stopped'],
+ 'ComplianceType' => ['description' => '合规类型', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'VpcId' => ['title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'type' => 'string', 'required' => true, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'],
+ 'VSwitchId' => ['title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'],
],
],
],
@@ -16597,35 +9921,17 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\",\\n \\"DiscoveredResourceDetail\\": {\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\"ResourceGroupId\\\\\\":\\\\\\"\\\\\\",\\\\\\"Memory\\\\\\":4096,\\\\\\"InstanceChargeType\\\\\\":\\\\\\"PostPaid\\\\\\",\\\\\\"Cpu\\\\\\":2,\\\\\\"OSName\\\\\\":\\\\\\"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)\\\\\\",\\\\\\"InstanceNetworkType\\\\\\":\\\\\\"vpc\\\\\\",\\\\\\"InnerIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[]},\\\\\\"ExpiredTime\\\\\\":\\\\\\"2099-12-31T15:59Z\\\\\\",\\\\\\"ImageId\\\\\\":\\\\\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\\\\\",\\\\\\"EipAddress\\\\\\":{\\\\\\"AllocationId\\\\\\":\\\\\\"\\\\\\",\\\\\\"IpAddress\\\\\\":\\\\\\"\\\\\\",\\\\\\"InternetChargeType\\\\\\":\\\\\\"\\\\\\"},\\\\\\"ImageOptions\\\\\\":{},\\\\\\"VlanId\\\\\\":\\\\\\"\\\\\\",\\\\\\"HostName\\\\\\":\\\\\\"iZl4i0brknq****\\\\\\",\\\\\\"Status\\\\\\":\\\\\\"Stopped\\\\\\",\\\\\\"HibernationOptions\\\\\\":{\\\\\\"Configured\\\\\\":false},\\\\\\"MetadataOptions\\\\\\":{\\\\\\"HttpTokens\\\\\\":\\\\\\"\\\\\\",\\\\\\"HttpEndpoint\\\\\\":\\\\\\"\\\\\\"},\\\\\\"InstanceId\\\\\\":\\\\\\"i-bp12g4xbl4i0brkn****\\\\\\",\\\\\\"StoppedMode\\\\\\":\\\\\\"KeepCharging\\\\\\",\\\\\\"CpuOptions\\\\\\":{\\\\\\"ThreadsPerCore\\\\\\":2,\\\\\\"Numa\\\\\\":\\\\\\"ON\\\\\\",\\\\\\"CoreCount\\\\\\":1},\\\\\\"StartTime\\\\\\":\\\\\\"2024-02-29T07:08Z\\\\\\",\\\\\\"DeletionProtection\\\\\\":false,\\\\\\"VpcAttributes\\\\\\":{\\\\\\"PrivateIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[\\\\\\"172.16.XX.XX\\\\\\"]},\\\\\\"VpcId\\\\\\":\\\\\\"vpc-bp1wjaw8t272wwmkg****\\\\\\",\\\\\\"VSwitchId\\\\\\":\\\\\\"vsw-bp103i8xzww5132ul****\\\\\\",\\\\\\"NatIpAddress\\\\\\":\\\\\\"\\\\\\"},\\\\\\"SecurityGroupIds\\\\\\":{\\\\\\"SecurityGroupId\\\\\\":[\\\\\\"sg-bp1h96fz9fagaegp****\\\\\\"]},\\\\\\"InternetChargeType\\\\\\":\\\\\\"PayByTraffic\\\\\\",\\\\\\"InstanceName\\\\\\":\\\\\\"test123\\\\\\",\\\\\\"DeploymentSetId\\\\\\":\\\\\\"\\\\\\",\\\\\\"InternetMaxBandwidthOut\\\\\\":5,\\\\\\"SerialNumber\\\\\\":\\\\\\"6764f567-28fb-4a39-bfc3-48404995****\\\\\\",\\\\\\"OSType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"CreationTime\\\\\\":\\\\\\"2024-02-29T07:08Z\\\\\\",\\\\\\"AutoReleaseTime\\\\\\":\\\\\\"\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"\\\\\\",\\\\\\"InstanceTypeFamily\\\\\\":\\\\\\"ecs.c7\\\\\\",\\\\\\"DedicatedInstanceAttribute\\\\\\":{\\\\\\"Tenancy\\\\\\":\\\\\\"\\\\\\",\\\\\\"Affinity\\\\\\":\\\\\\"\\\\\\"},\\\\\\"PublicIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[\\\\\\"47.98.XX.XX\\\\\\"]},\\\\\\"GPUSpec\\\\\\":\\\\\\"\\\\\\",\\\\\\"NetworkInterfaces\\\\\\":{\\\\\\"NetworkInterface\\\\\\":[{\\\\\\"Type\\\\\\":\\\\\\"Primary\\\\\\",\\\\\\"PrimaryIpAddress\\\\\\":\\\\\\"172.16.XX.XX\\\\\\",\\\\\\"MacAddress\\\\\\":\\\\\\"00:16:3e:0c:**:**\\\\\\",\\\\\\"NetworkInterfaceId\\\\\\":\\\\\\"eni-bp19uj35v8won3x9****\\\\\\",\\\\\\"PrivateIpSets\\\\\\":{\\\\\\"PrivateIpSet\\\\\\":[{\\\\\\"PrivateIpAddress\\\\\\":\\\\\\"172.16.XX.XX\\\\\\",\\\\\\"Primary\\\\\\":true}]}}]},\\\\\\"SpotPriceLimit\\\\\\":0.0,\\\\\\"SaleCycle\\\\\\":\\\\\\"\\\\\\",\\\\\\"DeviceAvailable\\\\\\":true,\\\\\\"InstanceType\\\\\\":\\\\\\"ecs.c7.large\\\\\\",\\\\\\"OSNameEn\\\\\\":\\\\\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\\\\\",\\\\\\"SpotStrategy\\\\\\":\\\\\\"NoSpot\\\\\\",\\\\\\"IoOptimized\\\\\\":true,\\\\\\"ZoneId\\\\\\":\\\\\\"cn-hangzhou-b\\\\\\",\\\\\\"ClusterId\\\\\\":\\\\\\"\\\\\\",\\\\\\"EcsCapacityReservationAttr\\\\\\":{\\\\\\"CapacityReservationPreference\\\\\\":\\\\\\"\\\\\\",\\\\\\"CapacityReservationId\\\\\\":\\\\\\"\\\\\\"},\\\\\\"DedicatedHostAttribute\\\\\\":{\\\\\\"DedicatedHostId\\\\\\":\\\\\\"\\\\\\",\\\\\\"DedicatedHostName\\\\\\":\\\\\\"\\\\\\",\\\\\\"DedicatedHostClusterId\\\\\\":\\\\\\"\\\\\\"},\\\\\\"GPUAmount\\\\\\":0,\\\\\\"OperationLocks\\\\\\":{\\\\\\"LockReason\\\\\\":[]},\\\\\\"InternetMaxBandwidthIn\\\\\\":2000,\\\\\\"Recyclable\\\\\\":false,\\\\\\"RegionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\",\\\\\\"CreditSpecification\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1709190480000,\\n \\"Tags\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceId\\": \\"i-bp12g4xbl4i0brkn****\\",\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceName\\": \\"test123\\",\\n \\"ResourceStatus\\": \\"Stopped\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceResponse>\\n <RequestId>E4D71ACE-6B0A-46E0-8352-56952378CC7F</RequestId>\\n <DiscoveredResourceDetail>\\n <AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n <ResourceType>ACS::OSS::BucketACS::CDN::Domain</ResourceType>\\n <Configuration>{\\\\\\"AccessControlList\\\\\\":{\\\\\\"Grant\\\\\\":\\\\\\"private\\\\\\"},\\\\\\"ServerSideEncryptionRule\\\\\\":{\\\\\\"SSEAlgorithm\\\\\\":\\\\\\"None\\\\\\"},\\\\\\"Comment\\\\\\":\\\\\\"\\\\\\",\\\\\\"CreationDate\\\\\\":\\\\\\"2021-06-29T10:05:12.000Z\\\\\\",\\\\\\"Owner\\\\\\":{\\\\\\"DisplayName\\\\\\":\\\\\\"100931896542****\\\\\\",\\\\\\"ID\\\\\\":\\\\\\"100931896542****\\\\\\"},\\\\\\"StorageClass\\\\\\":\\\\\\"Standard\\\\\\",\\\\\\"DataRedundancyType\\\\\\":\\\\\\"LRS\\\\\\",\\\\\\"AllowEmptyReferer\\\\\\":\\\\\\"true\\\\\\",\\\\\\"Name\\\\\\":\\\\\\"new-bucket\\\\\\",\\\\\\"BucketPolicy\\\\\\":{\\\\\\"LogPrefix\\\\\\":\\\\\\"\\\\\\",\\\\\\"LogBucket\\\\\\":\\\\\\"\\\\\\"},\\\\\\"ExtranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\",\\\\\\"IntranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-hangzhou\\\\\\"}</Configuration>\\n <Region>cn-hangzhou</Region>\\n <ResourceCreationTime>1624961112000</ResourceCreationTime>\\n <Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n <ResourceId>new-bucket</ResourceId>\\n <ResourceDeleted>1</ResourceDeleted>\\n <ResourceName>new-bucket</ResourceName>\\n <ResourceStatus>offline</ResourceStatus>\\n </DiscoveredResourceDetail>\\n</GetDiscoveredResourceResponse>","errorExample":""}]',
'title' => '获取指定资源的资源详情',
'description' => '本文将提供一个示例,查询杭州地域的ECS实例`i-bp12g4xbl4i0brkn****`的详情。',
@@ -16633,12 +9939,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '4000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetDiscoveredResource',
- ],
+ ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResource'],
],
],
'ramActions' => [
@@ -16649,12 +9950,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -16663,14 +9959,8 @@
],
'GetDiscoveredResourceCountsGroupByRegion' => [
'summary' => '从地域维度查询资源的统计结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16682,23 +9972,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ECS::Instance'],
],
],
'responses' => [
@@ -16707,11 +9989,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595'],
'DiscoveredResourceCountsSummary' => [
'description' => '资源统计结果。',
'type' => 'array',
@@ -16719,24 +9997,11 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ResourceCount' => [
- 'description' => '资源总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'GroupName' => [
- 'description' => '分组统计的名称。'."\n"
- ."\n"
- .'> 通常不用该参数,使用`Region`。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Region' => [
- 'description' => '用于分组统计的地域。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'ResourceCount' => ['description' => '资源总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'GroupName' => ['description' => '分组统计的名称。'."\n"
+ ."\n"
+ .'> 通常不用该参数,使用`Region`。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Region' => ['description' => '用于分组统计的地域。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
@@ -16746,30 +10011,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"399BD94C-D20C-4D27-88D4-89E8D75C0595\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"cn-hangzhou\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceCountsGroupByRegionResponse>\\n <RequestId>399BD94C-D20C-4D27-88D4-89E8D75C0595</RequestId>\\n <DiscoveredResourceCountsSummary>\\n <ResourceCount>10</ResourceCount>\\n <Region>cn-hangzhou</Region>\\n </DiscoveredResourceCountsSummary>\\n</GetDiscoveredResourceCountsGroupByRegionResponse>","errorExample":""}]',
@@ -16785,12 +10034,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -16798,14 +10042,8 @@
],
'GetDiscoveredResourceCountsGroupByResourceType' => [
'summary' => '从资源类型维度查询资源的统计结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16817,21 +10055,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -16840,11 +10070,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B'],
'DiscoveredResourceCountsSummary' => [
'description' => '资源统计结果。',
'type' => 'array',
@@ -16852,24 +10078,11 @@
'description' => '资源统计结果。',
'type' => 'object',
'properties' => [
- 'ResourceCount' => [
- 'description' => '资源总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'GroupName' => [
- 'description' => '统计分组的值。'."\n"
- ."\n"
- .'> 推荐使用参数`ResrouceType`。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'ResourceType' => [
- 'description' => '用于分组统计的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'ResourceCount' => ['description' => '资源总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'GroupName' => ['description' => '统计分组的值。'."\n"
+ ."\n"
+ .'> 推荐使用参数`ResrouceType`。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'ResourceType' => ['description' => '用于分组统计的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
],
],
],
@@ -16879,30 +10092,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AC9BD94C-D20C-4D27-88D4-89E8D75C051B\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceCountsGroupByResourceTypeResponse>\\n <RequestId>AC9BD94C-D20C-4D27-88D4-89E8D75C051B</RequestId>\\n <DiscoveredResourceCountsSummary>\\n <ResourceCount>10</ResourceCount>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n </DiscoveredResourceCountsSummary>\\n</GetDiscoveredResourceCountsGroupByResourceTypeResponse>","errorExample":""}]',
@@ -16918,12 +10115,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -16931,14 +10123,8 @@
],
'GetIntegratedServiceStatus' => [
'summary' => '查询指定云服务的集成状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16950,9 +10136,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
@@ -16968,11 +10152,7 @@
'type' => 'string',
'required' => true,
'docRequired' => false,
- 'enumValueTitles' => [
- 'bpstudio' => 'bpstudio',
- 'eventbridge' => 'eventbridge',
- 'cms' => 'cms',
- ],
+ 'enumValueTitles' => ['bpstudio' => 'bpstudio', 'eventbridge' => 'eventbridge', 'cms' => 'cms'],
'example' => 'bpstudio',
],
],
@@ -16982,59 +10162,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2E396C84-8D50-5F95-97FA-C0367181BA8A',
- ],
- 'Data' => [
- 'title' => 'integrate service status',
- 'description' => '集成的云产品状态。取值:'."\n"
- ."\n"
- .'- true:已集成。 '."\n"
- .'- false:未集成。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'IntegratedTypes' => [
- 'description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'example' => 'NonCompliantNotification',
- ],
- 'AggregatorDeliveryDataType' => [
- 'description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'example' => 'NonCompliantNotification',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2E396C84-8D50-5F95-97FA-C0367181BA8A'],
+ 'Data' => ['title' => 'integrate service status', 'description' => '集成的云产品状态。取值:'."\n"
+ ."\n"
+ .'- true:已集成。 '."\n"
+ .'- false:未集成。', 'type' => 'boolean', 'example' => 'true'],
+ 'IntegratedTypes' => ['description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'example' => 'NonCompliantNotification'],
+ 'AggregatorDeliveryDataType' => ['description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'example' => 'NonCompliantNotification'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2E396C84-8D50-5F95-97FA-C0367181BA8A\\",\\n \\"Data\\": true,\\n \\"IntegratedTypes\\": \\"NonCompliantNotification\\",\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n}","errorExample":""},{"type":"xml","example":"<GetIntegratedServiceStatusResponse>\\n <RequestId>2E396C84-8D50-5F95-97FA-C0367181BA8A</RequestId>\\n <Data>true</Data>\\n</GetIntegratedServiceStatusResponse>","errorExample":""}]',
@@ -17049,12 +10200,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -17062,14 +10208,8 @@
],
'GetManagedRule' => [
'summary' => '查询指定规则模板的详细信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17080,24 +10220,16 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Identifier',
'in' => 'query',
- 'schema' => [
- 'description' => '规则模板标识。'."\n"
- ."\n"
- .'关于如何获取规则模板标识,请参见[ListManagedRules](~~421144~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cdn-domain-https-enabled',
- ],
+ 'schema' => ['description' => '规则模板标识。'."\n"
+ ."\n"
+ .'关于如何获取规则模板标识,请参见[ListManagedRules](~~421144~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cdn-domain-https-enabled'],
],
],
'responses' => [
@@ -17110,40 +10242,19 @@
'description' => '规则模板详情。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则模板的风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RiskLevel' => ['description' => '规则模板的风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Labels' => [
'description' => '规则模板的标签列表。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板的标签。',
- 'type' => 'string',
- 'example' => 'CDN',
- ],
- ],
- 'OptionalInputParameterDetails' => [
- 'description' => '规则模板的可选参数信息。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Identifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'cdn-domain-https-enabled',
- ],
- 'CompulsoryInputParameterDetails' => [
- 'description' => '规则模板的必填参数信息。',
- 'type' => 'object',
- 'example' => '{}',
+ 'items' => ['description' => '规则模板的标签。', 'type' => 'string', 'example' => 'CDN'],
],
+ 'OptionalInputParameterDetails' => ['description' => '规则模板的可选参数信息。', 'type' => 'object', 'example' => '{}'],
+ 'Identifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'cdn-domain-https-enabled'],
+ 'CompulsoryInputParameterDetails' => ['description' => '规则模板的必填参数信息。', 'type' => 'object', 'example' => '{}'],
'SourceDetails' => [
'description' => '规则触发方式信息列表。',
'type' => 'array',
@@ -17151,38 +10262,22 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'MessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
- 'MaximumExecutionFrequency' => [
- 'description' => '规则执行周期。取值:'."\n"
- ."\n"
- .'- One_Hour:1小时。'."\n"
- .'- Three_Hours:3小时。'."\n"
- .'- Six_Hours:6小时。'."\n"
- .'- Twelve_Hours:12小时。'."\n"
- .'- TwentyFour_Hours:24小时。',
- 'type' => 'string',
- 'example' => 'TwentyFour_Hours',
- ],
+ 'MessageType' => ['description' => '规则触发机制。取值:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
+ 'MaximumExecutionFrequency' => ['description' => '规则执行周期。取值:'."\n"
+ ."\n"
+ .'- One_Hour:1小时。'."\n"
+ .'- Three_Hours:3小时。'."\n"
+ .'- Six_Hours:6小时。'."\n"
+ .'- Twelve_Hours:12小时。'."\n"
+ .'- TwentyFour_Hours:24小时。', 'type' => 'string', 'example' => 'TwentyFour_Hours'],
],
],
],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则模板名称。',
- 'type' => 'string',
- 'example' => 'CDN域名开启HTTPS加密',
- ],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。'],
+ 'ConfigRuleName' => ['description' => '规则模板名称。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS加密'],
'Scope' => [
'description' => '规则模板生效范围。',
'type' => 'object',
@@ -17190,49 +10285,25 @@
'ComplianceResourceTypes' => [
'description' => '规则模板生效的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板生效的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::CDN::Domain',
- ],
+ 'items' => ['description' => '规则模板生效的资源类型。', 'type' => 'string', 'example' => 'ACS::CDN::Domain'],
],
],
],
- 'HelpUrls' => [
- 'description' => '规则模板修正指导的文档链接。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com',
- ],
+ 'HelpUrls' => ['description' => '规则模板修正指导的文档链接。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '7E6DDC09-87C1-5310-A924-3491EAAE6F90',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7E6DDC09-87C1-5310-A924-3491EAAE6F90'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询规则模板详情',
@@ -17241,12 +10312,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '1000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetManagedRule',
- ],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetManagedRule'],
],
],
'ramActions' => [
@@ -17257,12 +10323,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -17271,14 +10332,8 @@
],
'GetRemediationTemplate' => [
'summary' => '查看自动修正模板详情。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17290,9 +10345,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6I2PFO',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6I2PFO'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -17300,14 +10353,9 @@
'name' => 'TemplateIdentifier',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '自动修正模板标识。'."\n"
- ."\n"
- .'关于如何获取修正模板标识,请参见[合规库](~~2337741~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS-ALB-BulkyEnableDeletionProtection',
- ],
+ 'schema' => ['description' => '自动修正模板标识。'."\n"
+ ."\n"
+ .'关于如何获取修正模板标识,请参见[合规库](~~2337741~~)。', 'type' => 'string', 'required' => false, 'example' => 'ACS-ALB-BulkyEnableDeletionProtection'],
],
],
'responses' => [
@@ -17315,49 +10363,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E232FC35-BD40-51E3-B2EB-09416A23****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E232FC35-BD40-51E3-B2EB-09416A23****'],
'RemediationTemplates' => [
'description' => '自动修正模板信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'RemediationType' => [
- 'description' => '自动修正模板类型。取值:OOS(运维编排)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'TemplateIdentifier' => [
- 'description' => '自动修正模板标识。',
- 'type' => 'string',
- 'example' => 'ACS-ALB-BulkyEnableDeletionProtection',
- ],
- 'TemplateName' => [
- 'description' => '自动修正模板名称。',
- 'type' => 'string',
- 'example' => 'Enable ALB instance deletion protection',
- ],
- 'TemplateDefinition' => [
- 'description' => '模板参数定义。',
- 'type' => 'string',
- 'example' => '{\\"Parameters\\":{\\"regionId\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"RegionId\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"{regionId}\\",\\"Description\\":{\\"en\\":\\"regionId\\",\\"zh-cn\\":\\"regionId\\"},\\"Id\\":688,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"regionId\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"String\\",\\"Version\\":\\"LASTEST\\"},\\"loadBalancerIds\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"[\\\\\\"{resourceId}\\\\\\"]\\",\\"Description\\":{\\"en\\":\\"loadBalancerIds\\",\\"zh-cn\\":\\"loadBalancerIds\\"},\\"Id\\":689,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"loadBalancerIds\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"ARRAY\\",\\"Version\\":\\"LASTEST\\"}}}',
- ],
- 'ManagedRuleIdentifier' => [
- 'description' => '支持规则模板标识。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alb-delete-protection-enabled',
- ],
- 'TemplateDescription' => [
- 'description' => '自动修正模板描述。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.',
- ],
+ 'RemediationType' => ['description' => '自动修正模板类型。取值:OOS(运维编排)。', 'type' => 'string', 'example' => 'OOS'],
+ 'TemplateIdentifier' => ['description' => '自动修正模板标识。', 'type' => 'string', 'example' => 'ACS-ALB-BulkyEnableDeletionProtection'],
+ 'TemplateName' => ['description' => '自动修正模板名称。', 'type' => 'string', 'example' => 'Enable ALB instance deletion protection'],
+ 'TemplateDefinition' => ['description' => '模板参数定义。', 'type' => 'string', 'example' => '{\\"Parameters\\":{\\"regionId\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"RegionId\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"{regionId}\\",\\"Description\\":{\\"en\\":\\"regionId\\",\\"zh-cn\\":\\"regionId\\"},\\"Id\\":688,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"regionId\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"String\\",\\"Version\\":\\"LASTEST\\"},\\"loadBalancerIds\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"[\\\\\\"{resourceId}\\\\\\"]\\",\\"Description\\":{\\"en\\":\\"loadBalancerIds\\",\\"zh-cn\\":\\"loadBalancerIds\\"},\\"Id\\":689,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"loadBalancerIds\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"ARRAY\\",\\"Version\\":\\"LASTEST\\"}}}'],
+ 'ManagedRuleIdentifier' => ['description' => '支持规则模板标识。', 'type' => 'string', 'required' => true, 'example' => 'alb-delete-protection-enabled'],
+ 'TemplateDescription' => ['description' => '自动修正模板描述。', 'type' => 'string', 'required' => true, 'example' => 'Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.'],
],
'description' => '',
],
@@ -17368,20 +10386,13 @@
],
],
'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查看自动修正模板详情',
'description' => '本文将提供一个示例,查询`ACS-ALB-BulkyEnableDeletionProtection`自动修正模板的详细信息。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetRemediationTemplate',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRemediationTemplate'],
],
],
'ramActions' => [
@@ -17392,12 +10403,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -17407,13 +10413,8 @@
],
'GetReportFromTemplate' => [
'summary' => '获取基于报告模版生成的报告。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -17425,20 +10426,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ReportTemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx'],
],
],
'responses' => [
@@ -17446,57 +10440,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B'],
'TemplateReport' => [
'description' => '基于模版生成的报告',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1478085326082xxx',
- ],
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'TemplateReportId' => [
- 'description' => '基于模版生成的报告的 Id。',
- 'type' => 'string',
- 'example' => 'crtr-xxx',
- ],
- 'Status' => [
- 'description' => '报告状态。取值:'."\n"
- .'- COMPLETE:完成。'."\n"
- .'- CREATING:创建中。'."\n"
- .'- FAILED:失败。'."\n"
- .'- TIMEOUT:超时。',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'ReportCreateStartTimestamp' => [
- 'description' => '报告生产开始时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1763540421815',
- ],
- 'ReportCreateEndTimestamp' => [
- 'description' => '报告生产开始结束戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1763540426815',
- ],
- 'ReportUrl' => [
- 'description' => '报告的下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxx',
- ],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1478085326082xxx'],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'TemplateReportId' => ['description' => '基于模版生成的报告的 Id。', 'type' => 'string', 'example' => 'crtr-xxx'],
+ 'Status' => ['description' => '报告状态。取值:'."\n"
+ .'- COMPLETE:完成。'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- FAILED:失败。'."\n"
+ .'- TIMEOUT:超时。', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'ReportCreateStartTimestamp' => ['description' => '报告生产开始时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1763540421815'],
+ 'ReportCreateEndTimestamp' => ['description' => '报告生产开始结束戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1763540426815'],
+ 'ReportUrl' => ['description' => '报告的下载地址。', 'type' => 'string', 'example' => 'https://xxx'],
],
],
],
@@ -17506,11 +10465,7 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '获取基于报告模版生成的最新报告',
@@ -17523,13 +10478,8 @@
],
'GetReportTemplate' => [
'summary' => '获取合规报告模版详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -17541,21 +10491,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
],
'parameters' => [
[
'name' => 'ReportTemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx'],
],
],
'responses' => [
@@ -17567,58 +10509,30 @@
'description' => '报告模版',
'type' => 'object',
'properties' => [
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'ReportTemplateName' => [
- 'description' => '报告模版名称',
- 'type' => 'string',
- 'example' => 'test-name',
- ],
- 'SubscriptionFrequency' => [
- 'description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
- ."\n"
- .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
- .'- 每天0点执行:0 0 0 * * ?'."\n"
- .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
- .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
- ."\n"
- .'其中:'."\n"
- .'- "*"表示任意值'."\n"
- .'- ? 用于日和周字段,表示不指定具体值'."\n"
- .'- MON 表示星期一'."\n"
- ."\n"
- .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
- ."\n"
- .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
- ."\n"
- .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
- .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)',
- 'type' => 'string',
- 'example' => '0 0 0 * * ?',
- ],
- 'ReportTemplateDescription' => [
- 'description' => '报告模版描述',
- 'type' => 'string',
- 'example' => 'test-description',
- ],
- 'ReportGranularity' => [
- 'description' => '报告聚合粒度',
- 'type' => 'string',
- 'example' => 'AllInOne',
- ],
- 'ReportFileFormats' => [
- 'description' => '报告格式',
- 'type' => 'string',
- 'example' => 'excel',
- ],
- 'ReportLanguage' => [
- 'description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。',
- 'type' => 'string',
- 'example' => 'en-US',
- ],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'ReportTemplateName' => ['description' => '报告模版名称', 'type' => 'string', 'example' => 'test-name'],
+ 'SubscriptionFrequency' => ['description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
+ ."\n"
+ .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
+ .'- 每天0点执行:0 0 0 * * ?'."\n"
+ .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
+ .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
+ ."\n"
+ .'其中:'."\n"
+ .'- "*"表示任意值'."\n"
+ .'- ? 用于日和周字段,表示不指定具体值'."\n"
+ .'- MON 表示星期一'."\n"
+ ."\n"
+ .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
+ ."\n"
+ .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
+ ."\n"
+ .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
+ .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)', 'type' => 'string', 'example' => '0 0 0 * * ?'],
+ 'ReportTemplateDescription' => ['description' => '报告模版描述', 'type' => 'string', 'example' => 'test-description'],
+ 'ReportGranularity' => ['description' => '报告聚合粒度', 'type' => 'string', 'example' => 'AllInOne'],
+ 'ReportFileFormats' => ['description' => '报告格式', 'type' => 'string', 'example' => 'excel'],
+ 'ReportLanguage' => ['description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。', 'type' => 'string', 'example' => 'en-US'],
'ReportScope' => [
'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n"
."\n"
@@ -17628,34 +10542,18 @@
'description' => '报告范围',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '报告范围的键,当前支持:'."\n"
- .'- AggregatorId'."\n"
- .'- CompliancePackId'."\n"
- .'- RuleId',
- 'type' => 'string',
- 'example' => 'RuleId',
- ],
- 'Value' => [
- 'description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cr-1,cr-2',
- ],
- 'MatchType' => [
- 'description' => '匹配逻辑,当前仅支持 In。',
- 'type' => 'string',
- 'example' => 'In',
- ],
+ 'Key' => ['description' => '报告范围的键,当前支持:'."\n"
+ .'- AggregatorId'."\n"
+ .'- CompliancePackId'."\n"
+ .'- RuleId', 'type' => 'string', 'example' => 'RuleId'],
+ 'Value' => ['description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cr-1,cr-2'],
+ 'MatchType' => ['description' => '匹配逻辑,当前仅支持 In。', 'type' => 'string', 'example' => 'In'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7'],
],
'description' => '',
],
@@ -17663,23 +10561,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ReportTemplateNotExist',
- 'errorMessage' => 'Report template does not exist or invalid.',
- 'description' => '报告模版不存在,请检查输入的ReportTemplateId',
- ],
+ ['errorCode' => 'ReportTemplateNotExist', 'errorMessage' => 'Report template does not exist or invalid.', 'description' => '报告模版不存在,请检查输入的ReportTemplateId'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取合规报告模版详情',
'changeSet' => [],
'flowControl' => [
@@ -17690,13 +10578,8 @@
],
'GetResourceComplianceByConfigRule' => [
'summary' => '从规则的合规评估结果维度查询合规概要。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17708,9 +10591,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
@@ -17726,26 +10607,15 @@
'required' => false,
'docRequired' => false,
'example' => 'COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA'],
],
],
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-d369626622af008e****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-d369626622af008e****'],
],
],
'responses' => [
@@ -17757,66 +10627,38 @@
'description' => '资源的评估结果。',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '评估资源总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'TotalCount' => ['description' => '评估资源总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Compliances' => [
'description' => '资源的评估结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '符合评估结果的资源数。例如:`ComplianceType`为`COMPLIANT`,表示合规的资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '符合评估结果的资源数。例如:`ComplianceType`为`COMPLIANT`,表示合规的资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB753d',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB753d'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 5\\n }\\n ]\\n },\\n \\"RequestId\\": \\"23306AB1-34E0-468F-BD7B-68D8AEAB753d\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceByConfigRuleResponse>\\n <ComplianceResult>\\n <TotalCount>10</TotalCount>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>5</Count>\\n </Compliances>\\n </ComplianceResult>\\n <RequestId>23306AB1-34E0-468F-BD7B-68D8AEAB753d</RequestId>\\n</GetResourceComplianceByConfigRuleResponse>","errorExample":""}]',
'title' => '查询规则合规评估结果维度的合规概要',
'description' => '本文将提供一个示例,查询规则`cr-d369626622af008e****`对资源的评估结果。返回结果显示,资源总数为10条,其中合规资源数为`5`条。',
@@ -17830,12 +10672,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -17844,13 +10681,8 @@
],
'GetResourceComplianceByPack' => [
'summary' => '查询合规包中资源的合规结果。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17862,23 +10694,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-541e626622af0087****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'],
],
],
'responses' => [
@@ -17891,83 +10715,33 @@
'description' => '合规包中资源的合规结果。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-541e626622af0087****',
- ],
- 'InsufficientDataCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“无数据”的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NonCompliantCount' => [
- 'description' => '不合规资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'CompliantCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“合规”的资源总数。'."\n"
- ."\n"
- .'> 注意,若同一个资源被合规包下不同规则评估为合规,如同时被两个规则评估为合规,这里的数目+2',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'NotApplicableCount' => [
- 'description' => '合规包内的规则评估资源时,评估结果为“不适用”的资源总数。'."\n"
- ."\n"
- .'> 注意,若同一个资源被合规包下不同规则评估为“不适用”,如同时被两个规则评估为“不适用”,这里的数目+2',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'IgnoredCount' => [
- 'description' => '合规包内的规则评估资源时,已经设置忽略评估结果的资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****'],
+ 'InsufficientDataCount' => ['description' => '合规包内的规则评估资源时,评估结果为“无数据”的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NonCompliantCount' => ['description' => '不合规资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'CompliantCount' => ['description' => '合规包内的规则评估资源时,评估结果为“合规”的资源总数。'."\n"
+ ."\n"
+ .'> 注意,若同一个资源被合规包下不同规则评估为合规,如同时被两个规则评估为合规,这里的数目+2', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'NotApplicableCount' => ['description' => '合规包内的规则评估资源时,评估结果为“不适用”的资源总数。'."\n"
+ ."\n"
+ .'> 注意,若同一个资源被合规包下不同规则评估为“不适用”,如同时被两个规则评估为“不适用”,这里的数目+2', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'IgnoredCount' => ['description' => '合规包内的规则评估资源时,已经设置忽略评估结果的资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ResourceComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"TotalCount\\": 10,\\n \\"NonCompliantCount\\": 7,\\n \\"CompliantCount\\": 1,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1\\n },\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceByPackResponse>\\n <ResourceComplianceResult>\\n <CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n <NonCompliantCount>7</NonCompliantCount>\\n <TotalCount>10</TotalCount>\\n </ResourceComplianceResult>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</GetResourceComplianceByPackResponse>","errorExample":""}]',
@@ -17977,12 +10751,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceByPack',
- ],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceByPack'],
],
],
'ramActions' => [
@@ -17993,12 +10762,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -18006,14 +10770,8 @@
],
'GetResourceComplianceGroupByRegion' => [
'summary' => '查询规则对资源的评估结果,评估结果按资源所属地域进行分组展示。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18025,21 +10783,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-2541626622af0000****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-2541626622af0000****'],
],
],
'responses' => [
@@ -18057,32 +10807,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'description' => '评估的资源所属地域。',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
+ 'RegionId' => ['description' => '评估的资源所属地域。', 'type' => 'string', 'example' => 'cn-beijing'],
'Compliances' => [
'description' => '评估数据统计结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'Count' => [
- 'description' => '统计结果数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ComplianceType' => ['description' => '合规结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'Count' => ['description' => '统计结果数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -18091,41 +10828,23 @@
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"ACS::ECS::Instance\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"0FDF8006-34A0-5334-8C79-48F64EAB34F1\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceGroupByRegionResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <RegionId>cn-beijing</RegionId>\\n <Compliances>\\n <ComplianceType>ACS::ECS::Instance</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>0FDF8006-34A0-5334-8C79-48F64EAB34F1</RequestId>\\n</GetResourceComplianceGroupByRegionResponse>","errorExample":""}]',
'title' => '获取指定规则的按资源所属地域进行分组的评估结果',
'changeSet' => [],
@@ -18137,12 +10856,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -18151,14 +10865,8 @@
],
'GetResourceComplianceGroupByResourceType' => [
'summary' => '查询规则对资源的评估结果,评估结果按资源类型进行分组展示。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18170,21 +10878,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'cr-a5c6626622af0058****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-a5c6626622af0058****'],
],
],
'responses' => [
@@ -18202,32 +10902,19 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'ResourceType' => ['description' => '评估的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
'Compliances' => [
'description' => '评估数据统计结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '合规结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '统计结果数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'ComplianceType' => ['description' => '合规结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '统计结果数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -18236,36 +10923,20 @@
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '84610B68-2DD3-5AF0-B68D-E1FA8F051F7D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '84610B68-2DD3-5AF0-B68D-E1FA8F051F7D'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"84610B68-2DD3-5AF0-B68D-E1FA8F051F7D\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceGroupByResourceTypeResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>84610B68-2DD3-5AF0-B68D-E1FA8F051F7D</RequestId>\\n</GetResourceComplianceGroupByResourceTypeResponse>","errorExample":""}]',
@@ -18279,12 +10950,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -18292,13 +10958,8 @@
],
'GetResourceComplianceTimeline' => [
'summary' => '查询指定资源的合规检测历史。合规检测历史是资源的一组合规评估记录,包括合规检测历史上的点和合规检测历史的内容。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18310,94 +10971,47 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::OSS::Bucket',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::OSS::Bucket'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'new-bucket',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'new-bucket'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1623211156000',
- ],
+ 'schema' => ['description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623211156000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1625821156000',
- ],
+ 'schema' => ['description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1625821156000'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
],
'responses' => [
@@ -18405,96 +11019,33 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6'],
'ResourceComplianceTimeline' => [
'description' => '资源合规检测历史。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => '5OVS5J4I1/UKTkHV5oNs****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => '5OVS5J4I1/UKTkHV5oNs****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ComplianceList' => [
'description' => '资源合规检测历史列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
- ],
- 'AccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'string',
- 'example' => '100931896542****',
- ],
- 'AvailabilityZone' => [
- 'description' => '资源可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-f',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'ResourceCreateTime' => [
- 'description' => '创建资源的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624961112000',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'Configuration' => [
- 'description' => '资源关联的规则列表和规则合规详情。',
- 'type' => 'string',
- 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}',
- ],
- 'CaptureTime' => [
- 'description' => '记录资源合规评估的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625200295276',
- ],
- 'ConfigurationDiff' => [
- 'description' => '触发本次评估的资源变更细节。',
- 'type' => 'string',
- 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'null',
- ],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'],
+ 'AccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'string', 'example' => '100931896542****'],
+ 'AvailabilityZone' => ['description' => '资源可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-f'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ResourceCreateTime' => ['description' => '创建资源的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624961112000'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'Configuration' => ['description' => '资源关联的规则列表和规则合规详情。', 'type' => 'string', 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}'],
+ 'CaptureTime' => ['description' => '记录资源合规评估的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625200295276'],
+ 'ConfigurationDiff' => ['description' => '触发本次评估的资源变更细节。', 'type' => 'string', 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceStatus' => ['description' => '资源状态。资源状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'null'],
],
],
],
@@ -18506,25 +11057,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D53A78F-1EB8-4264-A554-72F07E34FAE6\\",\\n \\"ResourceComplianceTimeline\\": {\\n \\"NextToken\\": \\"5OVS5J4I1/UKTkHV5oNs****\\",\\n \\"MaxResults\\": 10,\\n \\"ComplianceList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": \\"100931896542****\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-f\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": 1624961112000,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"Compliance\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"ConfigRuleList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"CaptureTime\\": 1625200295276,\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"},{}]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"ResourceStatus\\": \\"null\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceTimelineResponse>\\r\\n\\t<RequestId>8D53A78F-1EB8-4264-A554-72F07E34FAE6</RequestId>\\r\\n\\t<ResourceComplianceTimeline>\\r\\n\\t\\t<NextToken>5OVS5J4I1/UKTkHV5oNs****</NextToken>\\r\\n\\t\\t<ComplianceList>\\r\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\r\\n\\t\\t\\t<CaptureTime>1625200295276</CaptureTime>\\r\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{\\\\\\"accountId\\\\\\":100931896542****,\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\"},{}]}</ConfigurationDiff>\\r\\n\\t\\t\\t<Configuration>{\\\\\\"Compliance\\\\\\":{\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"count\\\\\\":1},\\\\\\"ConfigRuleList\\\\\\":[{\\\\\\"accountId\\\\\\":100931896542****,\\\\\\"configRuleId\\\\\\":\\\\\\"cr-9524626622af003d****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\"}]}</Configuration>\\r\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\r\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\r\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-f</AvailabilityZone>\\r\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\r\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\r\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\r\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\r\\n\\t\\t</ComplianceList>\\r\\n\\t\\t<ComplianceList>\\r\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\r\\n\\t\\t\\t<CaptureTime>1625200228510</CaptureTime>\\r\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}</ConfigurationDiff>\\r\\n\\t\\t\\t<Configuration>{\\\\\\"Compliance\\\\\\":{\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"count\\\\\\":2},\\\\\\"ConfigRuleList\\\\\\":[{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-9524626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}</Configuration>\\r\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\r\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\r\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-f</AvailabilityZone>\\r\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\r\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\r\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\r\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\r\\n\\t\\t</ComplianceList>\\r\\n\\t\\t<MaxResults>10</MaxResults>\\r\\n\\t</ResourceComplianceTimeline>\\r\\n</GetResourceComplianceTimelineResponse>\\t","errorExample":""}]',
@@ -18536,12 +11075,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceTimeline',
- ],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceTimeline'],
],
],
'ramActions' => [
@@ -18552,12 +11086,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -18565,13 +11094,8 @@
],
'GetResourceConfigurationSample' => [
'summary' => '本接口用于获取指定资源类型的配置样例。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -18579,36 +11103,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'MockOnly',
'in' => 'query',
- 'schema' => [
- 'description' => '是否仅获取模拟数据,即非真实资源数据。'."\n"
- .'取值:'."\n"
- .' - true'."\n"
- .' - false',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否仅获取模拟数据,即非真实资源数据。'."\n"
+ .'取值:'."\n"
+ .' - true'."\n"
+ .' - false', 'type' => 'string', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -18618,80 +11128,27 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****'],
'Sample' => [
'description' => '样例。',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'Configuration' => [
- 'description' => '资源的完整配置信息。',
- 'type' => 'string',
- 'example' => '{\\"Status\\":\\"Running\\",\\"HibernationOptions\\":{\\"Configured\\":\\"false\\"},\\"ResourceGroupId\\":\\"rg-bp67acfmxazb4p****\\",\\"MetadataOptions\\":{\\"HttpPutResponseHopLimit\\":\\"0\\",\\"HttpTokens\\":\\"optional\\",\\"HttpEndpoint\\":\\"enabled\\"},\\"InstanceId\\":\\"i-bp67acfmxazb4p****\\",\\"InstanceChargeType\\":\\"PostPaid\\",\\"Memory\\":\\"16384\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":\\"4\\",\\"Numa\\":\\"2\\",\\"CoreCount\\":\\"2\\"},\\"StartTime\\":\\"2017-12-10T04:04Z\\",\\"Cpu\\":\\"8\\",\\"OSName\\":\\"CentOS 7.4 64 bit\\",\\"DeletionProtection\\":\\"false\\",\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[null]},\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[\\"42.112.**.**\\"]},\\"ExpiredTime\\":\\"2017-12-10T04:04Z\\",\\"EipAddress\\":{\\"AllocationId\\":\\"eip-2ze88m67qx5z****\\",\\"Bandwidth\\":\\"5\\",\\"IpAddress\\":\\"42.112.**.**\\",\\"IsSupportUnassociate\\":\\"true\\",\\"InternetChargeType\\":\\"PayByTraffic\\"},\\"ImageId\\":\\"m-bp67acfmxazb4p****\\",\\"ImageOptions\\":{\\"LoginAsNonRoot\\":\\"false\\"},\\"HostName\\":\\"testHostName\\",\\"Tags\\":{\\"Tag\\":[null]},\\"VlanId\\":\\"10\\"}',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'i-bp1aaegapahkh880****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'my-ecs',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。',
- 'type' => 'string',
- 'example' => 'Running',
- ],
- 'ResourceDeleted' => [
- 'description' => '资源状态。取值:'."\n"
- ."\n"
- .'- 1:保有中。'."\n"
- ."\n"
- .'- 0:已删除。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'ResourceCreationTime' => [
- 'description' => '资源创建时间。',
- 'type' => 'string',
- 'example' => '1646362560000',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'Version' => [
- 'description' => '版本信息。',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'AvailabilityZone' => [
- 'description' => '可用区。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-g',
- ],
- 'AccountId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => '101339776561****',
- ],
- 'Tags' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => '{\\"key\\":\\"value\\"}',
- ],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'Configuration' => ['description' => '资源的完整配置信息。', 'type' => 'string', 'example' => '{\\"Status\\":\\"Running\\",\\"HibernationOptions\\":{\\"Configured\\":\\"false\\"},\\"ResourceGroupId\\":\\"rg-bp67acfmxazb4p****\\",\\"MetadataOptions\\":{\\"HttpPutResponseHopLimit\\":\\"0\\",\\"HttpTokens\\":\\"optional\\",\\"HttpEndpoint\\":\\"enabled\\"},\\"InstanceId\\":\\"i-bp67acfmxazb4p****\\",\\"InstanceChargeType\\":\\"PostPaid\\",\\"Memory\\":\\"16384\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":\\"4\\",\\"Numa\\":\\"2\\",\\"CoreCount\\":\\"2\\"},\\"StartTime\\":\\"2017-12-10T04:04Z\\",\\"Cpu\\":\\"8\\",\\"OSName\\":\\"CentOS 7.4 64 bit\\",\\"DeletionProtection\\":\\"false\\",\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[null]},\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[\\"42.112.**.**\\"]},\\"ExpiredTime\\":\\"2017-12-10T04:04Z\\",\\"EipAddress\\":{\\"AllocationId\\":\\"eip-2ze88m67qx5z****\\",\\"Bandwidth\\":\\"5\\",\\"IpAddress\\":\\"42.112.**.**\\",\\"IsSupportUnassociate\\":\\"true\\",\\"InternetChargeType\\":\\"PayByTraffic\\"},\\"ImageId\\":\\"m-bp67acfmxazb4p****\\",\\"ImageOptions\\":{\\"LoginAsNonRoot\\":\\"false\\"},\\"HostName\\":\\"testHostName\\",\\"Tags\\":{\\"Tag\\":[null]},\\"VlanId\\":\\"10\\"}'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'i-bp1aaegapahkh880****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'my-ecs'],
+ 'ResourceStatus' => ['description' => '资源状态。', 'type' => 'string', 'example' => 'Running'],
+ 'ResourceDeleted' => ['description' => '资源状态。取值:'."\n"
+ ."\n"
+ .'- 1:保有中。'."\n"
+ ."\n"
+ .'- 0:已删除。', 'type' => 'string', 'example' => '1'],
+ 'ResourceCreationTime' => ['description' => '资源创建时间。', 'type' => 'string', 'example' => '1646362560000'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'Version' => ['description' => '版本信息。', 'type' => 'string', 'example' => '5'],
+ 'AvailabilityZone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-shanghai-g'],
+ 'AccountId' => ['description' => '用户ID。', 'type' => 'string', 'example' => '101339776561****'],
+ 'Tags' => ['description' => '标签。', 'type' => 'string', 'example' => '{\\"key\\":\\"value\\"}'],
],
],
],
@@ -18699,9 +11156,7 @@
],
],
'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取资源配置样例',
'changeSet' => [],
'flowControl' => [
@@ -18715,12 +11170,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -18730,13 +11180,8 @@
],
'GetResourceConfigurationTimeline' => [
'summary' => '查询指定资源的配置变更历史。配置审计记录资源的每一次配置变更和资源关系变更,并整理为配置变更历史。您开通配置审计服务后,配置审计开始记录资源的配置变更和资源关系变更历史,并默认保存10年。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -18748,94 +11193,47 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'new-bucket',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'new-bucket'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1623211156000',
- ],
+ 'schema' => ['description' => '开始时间戳。默认查询发起调用前30天的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1623211156000'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1625821156000',
- ],
+ 'schema' => ['description' => '结束时间戳。默认查询发起调用时的时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1625821156000'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '2',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '2', 'example' => '10', 'default' => '10'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::OSS::Bucket',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::OSS::Bucket'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
],
'responses' => [
@@ -18844,26 +11242,13 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB'],
'ResourceConfigurationTimeline' => [
'description' => '资源配置变更历史。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ConfigurationList' => [
'description' => '资源配置变更历史列表。',
'type' => 'array',
@@ -18871,81 +11256,28 @@
'description' => '资源配置变更历史列表。',
'type' => 'object',
'properties' => [
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
- ],
- 'AccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ResourceEventType' => [
- 'description' => '资源变更事件的类型。取值:'."\n"
- ."\n"
- .'- DISCOVERED:配置审计新发现的资源事件。'."\n"
- .'- DISCOVERED_REVISED:配置审计新发现的通过周期订正任务产生的资源事件。'."\n"
- .'- MODIFY:修改资源事件。'."\n"
- .'- MODIFY_REVISED:通过周期订正任务产生的修改资源事件。'."\n"
- .'- REMOVE:删除资源事件。'."\n"
- ."\n"
- .'> - 配置审计为了保障资源完整,通过周期订正任务对数据进行周期性对齐,产生新发现资源事件,该事件发生的频率较低。'."\n"
- .'> - 通过周期订正任务产生资源事件的时间为任务发现时间,该时间晚于资源的实际变更时间。',
- 'type' => 'string',
- 'example' => 'DISCOVERED',
- ],
- 'AvailabilityZone' => [
- 'description' => '可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'ResourceCreateTime' => [
- 'description' => '创建资源的时间戳。单位:毫秒。',
- 'type' => 'string',
- 'example' => '1624961112000',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CaptureTime' => [
- 'description' => '记录资源变更快照的时间戳。单位:毫秒。',
- 'type' => 'string',
- 'example' => '1624961156000',
- ],
- 'ConfigurationDiff' => [
- 'description' => '触发本次评估的资源变更细节。',
- 'type' => 'string',
- 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'new-bucket',
- ],
- 'Relationship' => [
- 'description' => '相关资源的详细信息,包括相关资源所在地域ID、资源关系、资源ID和资源类型。',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'RelationshipDiff' => [
- 'description' => '相关资源的变更项。',
- 'type' => 'string',
- 'example' => '""',
- ],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'],
+ 'AccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ResourceEventType' => ['description' => '资源变更事件的类型。取值:'."\n"
+ ."\n"
+ .'- DISCOVERED:配置审计新发现的资源事件。'."\n"
+ .'- DISCOVERED_REVISED:配置审计新发现的通过周期订正任务产生的资源事件。'."\n"
+ .'- MODIFY:修改资源事件。'."\n"
+ .'- MODIFY_REVISED:通过周期订正任务产生的修改资源事件。'."\n"
+ .'- REMOVE:删除资源事件。'."\n"
+ ."\n"
+ .'> - 配置审计为了保障资源完整,通过周期订正任务对数据进行周期性对齐,产生新发现资源事件,该事件发生的频率较低。'."\n"
+ .'> - 通过周期订正任务产生资源事件的时间为任务发现时间,该时间晚于资源的实际变更时间。', 'type' => 'string', 'example' => 'DISCOVERED'],
+ 'AvailabilityZone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ResourceCreateTime' => ['description' => '创建资源的时间戳。单位:毫秒。', 'type' => 'string', 'example' => '1624961112000'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CaptureTime' => ['description' => '记录资源变更快照的时间戳。单位:毫秒。', 'type' => 'string', 'example' => '1624961156000'],
+ 'ConfigurationDiff' => ['description' => '触发本次评估的资源变更细节。', 'type' => 'string', 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'new-bucket'],
+ 'Relationship' => ['description' => '相关资源的详细信息,包括相关资源所在地域ID、资源关系、资源ID和资源类型。', 'type' => 'string', 'example' => '""'],
+ 'RelationshipDiff' => ['description' => '相关资源的变更项。', 'type' => 'string', 'example' => '""'],
],
],
],
@@ -18957,30 +11289,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\",\\n \\"ResourceConfigurationTimeline\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"ConfigurationList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceEventType\\": \\"DISCOVERED\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": \\"1624961112000\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"CaptureTime\\": \\"1624961156000\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"AccessControlList\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"Grant\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"ServerSideEncryptionRule\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"SSEAlgorithm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"CreationDate\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"2021-06-29T10:05:12.000Z\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"BucketPolicy\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"LogPrefix\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"LogBucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"StorageClass\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"Standard\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"ExtranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"DataRedundancyType\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"AllowEmptyReferer\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"IntranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"new-bucket\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Location\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"Relationship\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RelationshipDiff\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetResourceConfigurationTimelineResponse>\\n\\t<RequestId>ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB</RequestId>\\n\\t<ResourceConfigurationTimeline>\\n\\t\\t<ConfigurationList>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<ResourceName>new-bucket</ResourceName>\\n\\t\\t\\t<AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n\\t\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\n\\t\\t\\t<ResourceEventType>DISCOVERED</ResourceEventType>\\n\\t\\t\\t<ResourceCreateTime>1624961112000</ResourceCreateTime>\\n\\t\\t\\t<RelationshipDiff></RelationshipDiff>\\n\\t\\t\\t<CaptureTime>1624961156000</CaptureTime>\\n\\t\\t\\t<ConfigurationDiff>{\\\\\\"AccessControlList\\\\\\":[null,{\\\\\\"Grant\\\\\\":\\\\\\"private\\\\\\"}],\\\\\\"ServerSideEncryptionRule\\\\\\":[null,{\\\\\\"SSEAlgorithm\\\\\\":\\\\\\"None\\\\\\"}],\\\\\\"CreationDate\\\\\\":[null,\\\\\\"2021-06-29T10:05:12.000Z\\\\\\"],\\\\\\"Owner\\\\\\":[null,{\\\\\\"DisplayName\\\\\\":\\\\\\"100931896542****\\\\\\",\\\\\\"ID\\\\\\":\\\\\\"100931896542****\\\\\\"}],\\\\\\"BucketPolicy\\\\\\":[null,{\\\\\\"LogPrefix\\\\\\":\\\\\\"\\\\\\",\\\\\\"LogBucket\\\\\\":\\\\\\"\\\\\\"}],\\\\\\"StorageClass\\\\\\":[null,\\\\\\"Standard\\\\\\"],\\\\\\"ExtranetEndpoint\\\\\\":[null,\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\"],\\\\\\"DataRedundancyType\\\\\\":[null,\\\\\\"LRS\\\\\\"],\\\\\\"AllowEmptyReferer\\\\\\":[null,\\\\\\"true\\\\\\"],\\\\\\"IntranetEndpoint\\\\\\":[null,\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\"],\\\\\\"Name\\\\\\":[null,\\\\\\"new-bucket\\\\\\"],\\\\\\"Location\\\\\\":[null,\\\\\\"oss-cn-hangzhou\\\\\\"]}</ConfigurationDiff>\\n\\t\\t\\t<ResourceId>new-bucket</ResourceId>\\n\\t\\t\\t<Relationship></Relationship>\\n\\t\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n\\t\\t</ConfigurationList>\\n\\t\\t<MaxResults>10</MaxResults>\\n\\t</ResourceConfigurationTimeline>\\n</GetResourceConfigurationTimelineResponse>\\t","errorExample":""}]',
@@ -18995,12 +11311,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceConfigurationTimeline',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceConfigurationTimeline'],
],
],
'ramActions' => [
@@ -19011,12 +11322,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -19024,14 +11330,8 @@
],
'GetResourceInventory' => [
'summary' => '获取当前账号最近一次生成的全局资源下载清单信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19043,9 +11343,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -19054,35 +11352,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '89E2F38F-4EE4-545A-BD56-92E007ECFEE9',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '89E2F38F-4EE4-545A-BD56-92E007ECFEE9'],
'ResourceInventory' => [
'description' => '全局资源下载清单信息。',
'type' => 'object',
'properties' => [
- 'DownloadUrl' => [
- 'description' => '全局资源清单下载地址。',
- 'type' => 'string',
- 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251435.csv?Expires=1687678394&OSSAccessKeyId=STS.MNQ2xAAne86aVWG7WGx5f***&Signature=scdEN29shaKLcCOguj5%2FgrWIw%2FM%3D&security-token=BIASiQM1q3Ft5B2yfSjIr5bkedL7r****',
- ],
- 'Status' => [
- 'description' => '下载清单生成状态,取值:'."\n"
- ."\n"
- .'- CREATING:生成中'."\n"
- .' '."\n"
- .'- COMPLETE:生成完成',
- 'type' => 'string',
- 'example' => 'COMPLETE',
- ],
- 'ResourceInventoryGenerateTime' => [
- 'description' => '下载清单开始生成时的时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1687674634220',
- ],
+ 'DownloadUrl' => ['description' => '全局资源清单下载地址。', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251435.csv?Expires=1687678394&OSSAccessKeyId=STS.MNQ2xAAne86aVWG7WGx5f***&Signature=scdEN29shaKLcCOguj5%2FgrWIw%2FM%3D&security-token=BIASiQM1q3Ft5B2yfSjIr5bkedL7r****'],
+ 'Status' => ['description' => '下载清单生成状态,取值:'."\n"
+ ."\n"
+ .'- CREATING:生成中'."\n"
+ .' '."\n"
+ .'- COMPLETE:生成完成', 'type' => 'string', 'example' => 'COMPLETE'],
+ 'ResourceInventoryGenerateTime' => ['description' => '下载清单开始生成时的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1687674634220'],
],
],
],
@@ -19092,18 +11373,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '获取全局资源下载清单信息',
@@ -19114,12 +11387,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceInventory',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceInventory'],
],
],
'ramActions' => [
@@ -19130,12 +11398,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -19144,13 +11407,8 @@
],
'GetResourceTypeProperties' => [
'summary' => '本接口用于获取指定资源类型的属性描述。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19162,23 +11420,16 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigWLDOIT',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'],
],
],
'responses' => [
@@ -19186,42 +11437,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0C2868BF-47EE-5441-B34B-17F080B1****',
- ],
- 'Configuration' => [
- 'description' => '资源属性描述。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '['."\n"
- .' {'."\n"
- .' "description": "The ID of the resource group to which the instance belongs.\\n",'."\n"
- .' "title": "ResourceGroupId",'."\n"
- .' "type": "String",'."\n"
- .' "key": "ResourceGroupId",'."\n"
- .' "example": "rg-bp67acfmxazb4p****"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "description": "The billing method of the instance. Valid values:\\n\\n* PrePaid: subscription\\n* PostPaid: pay-as-you-go\\n",'."\n"
- .' "title": "InstanceChargeType",'."\n"
- .' "type": "String",'."\n"
- .' "key": "InstanceChargeType",'."\n"
- .' "example": "PostPaid"'."\n"
- .' }'."\n"
- .']',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0C2868BF-47EE-5441-B34B-17F080B1****'],
+ 'Configuration' => ['description' => '资源属性描述。', 'type' => 'string', 'required' => true, 'example' => '['."\n"
+ .' {'."\n"
+ .' "description": "The ID of the resource group to which the instance belongs.\\n",'."\n"
+ .' "title": "ResourceGroupId",'."\n"
+ .' "type": "String",'."\n"
+ .' "key": "ResourceGroupId",'."\n"
+ .' "example": "rg-bp67acfmxazb4p****"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "description": "The billing method of the instance. Valid values:\\n\\n* PrePaid: subscription\\n* PostPaid: pay-as-you-go\\n",'."\n"
+ .' "title": "InstanceChargeType",'."\n"
+ .' "type": "String",'."\n"
+ .' "key": "InstanceChargeType",'."\n"
+ .' "example": "PostPaid"'."\n"
+ .' }'."\n"
+ .']'],
],
'description' => '',
],
],
],
'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取资源属性描述',
'changeSet' => [],
'flowControl' => [
@@ -19235,12 +11474,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -19249,14 +11483,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C2868BF-47EE-5441-B34B-17F080B1****\\",\\n \\"Configuration\\": \\"[\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"The ID of the resource group to which the instance belongs.\\\\\\\\n\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"ResourceGroupId\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"String\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"ResourceGroupId\\\\\\",\\\\n \\\\\\"example\\\\\\": \\\\\\"rg-bp67acfmxazb4p****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"The billing method of the instance. Valid values:\\\\\\\\n\\\\\\\\n* PrePaid: subscription\\\\\\\\n* PostPaid: pay-as-you-go\\\\\\\\n\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"InstanceChargeType\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"String\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"InstanceChargeType\\\\\\",\\\\n \\\\\\"example\\\\\\": \\\\\\"PostPaid\\\\\\"\\\\n }\\\\n]\\"\\n}","type":"json"}]',
],
'GetSupportedResourceRelationConfig' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19268,9 +11496,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigWLDOIT',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -19278,12 +11504,7 @@
'name' => 'ResourceType',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'],
],
],
'responses' => [
@@ -19298,29 +11519,17 @@
'description' => '资源关系列表。',
'type' => 'object',
'properties' => [
- 'TargetResourceType' => [
- 'description' => '关系目标资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Disk',
- ],
- 'RelationType' => [
- 'description' => '资源关系类型。取值:'."\n"
- ."\n"
- .'- IsContained:包含在。'."\n"
- .'- IsAttachedTo:挂载到。'."\n"
- .'- IsAssociatedIn:关联到。'."\n"
- .'- Contains:包含。',
- 'type' => 'string',
- 'example' => 'IsAttachedTo',
- ],
+ 'TargetResourceType' => ['description' => '关系目标资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Disk'],
+ 'RelationType' => ['description' => '资源关系类型。取值:'."\n"
+ ."\n"
+ .'- IsContained:包含在。'."\n"
+ .'- IsAttachedTo:挂载到。'."\n"
+ .'- IsAssociatedIn:关联到。'."\n"
+ .'- Contains:包含。', 'type' => 'string', 'example' => 'IsAttachedTo'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E'],
],
'description' => '',
],
@@ -19328,25 +11537,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询指定资源类型支持的资源关系',
@@ -19355,12 +11552,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetSupportedResourceRelationConfig',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSupportedResourceRelationConfig'],
],
],
'ramActions' => [],
@@ -19368,13 +11560,8 @@
],
'IgnoreAggregateEvaluationResults' => [
'summary' => '忽略某个账号组下某条规则对某些资源的评估结果。您还可以设置规则的忽略时间,当忽略到期后,自动恢复显示该规则对资源的检测结果。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19382,22 +11569,14 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7e72626622af0051****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'],
],
[
'name' => 'Resources',
@@ -19410,39 +11589,18 @@
'description' => '待忽略的资源列表。',
'type' => 'object',
'properties' => [
- 'ResourceAccountId' => [
- 'description' => '资源归属的阿里云账号ID。'."\n"
- ."\n"
- .'> 该账号只能是当前企业管理账号或当前企业管理账号中的成员账号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '120886317861****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::SLB::LoadBalancer',
- ],
- 'Region' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-hp3a3b4ztyfm2plgm****',
- ],
+ 'ResourceAccountId' => ['description' => '资源归属的阿里云账号ID。'."\n"
+ ."\n"
+ .'> 该账号只能是当前企业管理账号或当前企业管理账号中的成员账号。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '120886317861****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'],
+ 'Region' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ResourceId' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'],
],
'required' => false,
],
@@ -19452,36 +11610,21 @@
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-5b6c626622af008f****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-5b6c626622af008f****'],
],
[
'name' => 'Reason',
'in' => 'formData',
- 'schema' => [
- 'description' => '忽略原因。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无需检测。',
- ],
+ 'schema' => ['description' => '忽略原因。', 'type' => 'string', 'required' => false, 'example' => '无需检测。'],
],
[
'name' => 'IgnoreDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-06-01',
- ],
+ 'schema' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'required' => false, 'example' => '2022-06-01'],
],
],
'responses' => [
@@ -19489,34 +11632,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0132CBF2-0B0B-59F2-9E84-07B38267BC32',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0132CBF2-0B0B-59F2-9E84-07B38267BC32'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0132CBF2-0B0B-59F2-9E84-07B38267BC32\\"\\n}","errorExample":""},{"type":"xml","example":"<IgnoreAggregateEvaluationResultsResponse>\\n <RequestId>0132CBF2-0B0B-59F2-9E84-07B38267BC32</RequestId>\\n</IgnoreAggregateEvaluationResultsResponse>","errorExample":""}]',
@@ -19534,12 +11661,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -19547,13 +11669,8 @@
],
'IgnoreEvaluationResults' => [
'summary' => '忽略某条规则对某些资源的评估结果。您还可以设置规则的忽略时间,当忽略到期后,自动恢复显示该规则对资源的检测结果。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19565,23 +11682,15 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7e72626622af0051****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'],
],
[
'name' => 'Resources',
@@ -19594,37 +11703,16 @@
'description' => '待忽略的资源列表。',
'type' => 'object',
'properties' => [
- 'ResourceAccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '100931896542****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::SLB::LoadBalancer',
- ],
- 'Region' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-hp3a3b4ztyfm2plgm****',
- ],
+ 'ResourceAccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100931896542****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'],
+ 'Region' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ResourceId' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'],
],
'required' => false,
],
@@ -19634,24 +11722,14 @@
[
'name' => 'Reason',
'in' => 'formData',
- 'schema' => [
- 'description' => '忽略原因。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无需检测。',
- ],
+ 'schema' => ['description' => '忽略原因。', 'type' => 'string', 'required' => false, 'example' => '无需检测。'],
],
[
'name' => 'IgnoreDate',
'in' => 'formData',
- 'schema' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-06-01',
- ],
+ 'schema' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'required' => false, 'example' => '2022-06-01'],
],
],
'responses' => [
@@ -19659,29 +11737,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '1840CBF2-0B0B-59F2-9E84-07B38267A279',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1840CBF2-0B0B-59F2-9E84-07B38267A279'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1840CBF2-0B0B-59F2-9E84-07B38267A279\\"\\n}","type":"json"}]',
@@ -19693,12 +11759,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'IgnoreEvaluationResults',
- ],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreEvaluationResults'],
],
],
'ramActions' => [
@@ -19709,26 +11770,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListAggregateCompliancePacks' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19740,81 +11790,45 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig3B4J5L',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig3B4J5L'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACTIVE',
- ],
+ 'schema' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'required' => false, 'example' => 'ACTIVE'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '合规包风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'Tag',
@@ -19831,18 +11845,8 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -19857,12 +11861,8 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4',
- ],
+ 'RequestId' => ['description' => '请求ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4'],
'CompliancePacksResult' => [
'description' => '合规包列表查询结果。',
'type' => 'object',
@@ -19874,64 +11874,25 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'RiskLevel' => [
- 'description' => '合规包的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'Description' => [
- 'description' => '合规包描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'BestPracticesForResourceStability',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
- 'CompliancePackTemplateId' => [
- 'description' => '合规包模板ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ct-484cff4e06a30062****',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建合规包的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624243657000',
- ],
+ 'Status' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'RiskLevel' => ['description' => '合规包的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CompliancePackId' => ['description' => '合规包ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'Description' => ['description' => '合规包描述。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.'],
+ 'CompliancePackName' => ['description' => '合规包名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'BestPracticesForResourceStability'],
+ 'AccountId' => ['description' => '合规包归属的管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
+ 'CompliancePackTemplateId' => ['description' => '合规包模板ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ct-484cff4e06a30062****'],
+ 'CreateTimestamp' => ['description' => '创建合规包的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624243657000'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -19939,41 +11900,18 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
],
],
],
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '合规包总数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '合规包总数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -19982,30 +11920,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询账号组合规包列表',
@@ -20015,12 +11937,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateCompliancePacks',
- ],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateCompliancePacks'],
],
],
'ramActions' => [
@@ -20031,12 +11948,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'],
],
],
],
@@ -20045,14 +11957,8 @@
],
'ListAggregateConfigDeliveryChannels' => [
'summary' => '查询指定账号组内的所有投递渠道信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20060,33 +11966,19 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeliveryChannelIds',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。多个投递渠道ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
+ 'schema' => ['description' => '投递渠道ID。多个投递渠道ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cdc-d9106457e0d900b1****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'],
],
],
'responses' => [
@@ -20102,163 +11994,81 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '投递设置状态。取值:'."\n"
- .'- 0:关闭。'."\n"
- .'- 1:开启。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'myDeliveryChannel',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
- 'DeliveryChannelType' => [
- 'description' => '投递渠道类型。取值:'."\n"
- .'- OSS:对象存储。 '."\n"
- .'- MNS:轻量消息队列(原 MNS)。'."\n"
- .'- SLS:日志服务。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'DeliveryChannelTargetArn' => [
- 'description' => '投递渠道目标地址的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket',
- ],
- 'DeliveryChannelAssumeRoleArn' => [
- 'description' => '投递渠道扮演角色ARN。',
- 'type' => 'string',
- 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig',
- ],
- 'DeliveryChannelCondition' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
- 'OversizedDataOSSTargetArn' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
- 'Description' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'My OSS delivery.',
- ],
- 'CompliantSnapshot' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationSnapshot' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false:不接收资源定时快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationItemChangeNotification' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false:不接收资源配置变更历史。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NonCompliantNotification' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false:不接收资源不合规事件。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-a4e5626622af0079****',
- ],
- 'AccountId' => [
- 'description' => '账号组内成员ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'DeliverySnapshotTime' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。',
- 'type' => 'string',
- 'example' => '09:10Z',
- ],
+ 'Status' => ['description' => '投递设置状态。取值:'."\n"
+ .'- 0:关闭。'."\n"
+ .'- 1:开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'myDeliveryChannel'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'],
+ 'DeliveryChannelType' => ['description' => '投递渠道类型。取值:'."\n"
+ .'- OSS:对象存储。 '."\n"
+ .'- MNS:轻量消息队列(原 MNS)。'."\n"
+ .'- SLS:日志服务。', 'type' => 'string', 'example' => 'OSS'],
+ 'DeliveryChannelTargetArn' => ['description' => '投递渠道目标地址的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'],
+ 'DeliveryChannelAssumeRoleArn' => ['description' => '投递渠道扮演角色ARN。', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'],
+ 'DeliveryChannelCondition' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
+ 'OversizedDataOSSTargetArn' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
+ 'Description' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'My OSS delivery.'],
+ 'CompliantSnapshot' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationSnapshot' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false:不接收资源定时快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationItemChangeNotification' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false:不接收资源配置变更历史。', 'type' => 'boolean', 'example' => 'true'],
+ 'NonCompliantNotification' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false:不接收资源不合规事件。', 'type' => 'boolean', 'example' => 'false'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-a4e5626622af0079****'],
+ 'AccountId' => ['description' => '账号组内成员ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'DeliverySnapshotTime' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。', 'type' => 'string', 'example' => '09:10Z'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"Status\\": 1,\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AggregatorId\\": \\"ca-a4e5626622af0079****\\",\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateConfigDeliveryChannelsResponse>\\n <DeliveryChannels>\\n <Status>1</Status>\\n <DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n <DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n <DeliveryChannelType>OSS</DeliveryChannelType>\\n <DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n <DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n <DeliveryChannelCondition>[{\\"filterType\\":\\"ResourceType\\",\\"values\\":[\\"ACS::ActionTrail::Trail\\",\\"ACS::CBWP::CommonBandwidthPackage\\",\\"ACS::CDN::Domain\\",\\"ACS::CEN::CenBandwidthPackage\\",\\"ACS::CEN::CenInstance\\",\\"ACS::CEN::Flowlog\\",\\"ACS::DdosCoo::Instance\\"],\\"multiple\\":true}]</DeliveryChannelCondition>\\n <OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n <Description>My OSS delivery.</Description>\\n <ConfigurationSnapshot>false</ConfigurationSnapshot>\\n <ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n <NonCompliantNotification>false</NonCompliantNotification>\\n <AggregatorId>ca-a4e5626622af0079****</AggregatorId>\\n <DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n </DeliveryChannels>\\n <RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</ListAggregateConfigDeliveryChannelsResponse>","errorExample":""}]',
@@ -20273,12 +12083,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -20286,14 +12091,8 @@
],
'ListAggregateConfigRuleEvaluationResults' => [
'summary' => '从规则维度查询指定账号组内规则对资源的评估结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20305,9 +12104,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
],
'parameters' => [
[
@@ -20322,126 +12119,62 @@
.'- IGNORED:已忽略。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'NOT_APPLICABLE' => 'NOT_APPLICABLE',
- 'COMPLIANT' => 'COMPLIANT',
- 'NON_COMPLIANT' => 'NON_COMPLIANT',
- 'INSUFFICIENT_DATA' => 'INSUFFICIENT_DATA',
- 'IGNORED' => 'IGNORED',
- ],
+ 'enumValueTitles' => ['NOT_APPLICABLE' => 'NOT_APPLICABLE', 'COMPLIANT' => 'COMPLIANT', 'NON_COMPLIANT' => 'NON_COMPLIANT', 'INSUFFICIENT_DATA' => 'INSUFFICIENT_DATA', 'IGNORED' => 'IGNORED'],
'example' => 'NON_COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'default' => '10'],
],
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-888f626622af00ae****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-888f626622af00ae****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-b1e6626622af00cb****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-b1e6626622af00cb****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-f1e3326622af00cb****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => false, 'example' => 'cp-f1e3326622af00cb****'],
],
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源所属的地域,多个地域之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '评估资源所属的地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源的资源类型,多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '评估资源的资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'ResourceGroupIds',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源所属的资源组ID,多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek2cqyzvuj****',
- ],
+ 'schema' => ['description' => '评估资源所属的资源组ID,多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2cqyzvuj****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。 '."\n"
- .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。 '."\n"
+ .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
],
'responses' => [
@@ -20449,188 +12182,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A6662516-D056-4325-B6A7-CD3E89C97C39',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A6662516-D056-4325-B6A7-CD3E89C97C39'],
'EvaluationResults' => [
'description' => '规则评估结果集合。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'EvaluationResultList' => [
'description' => '规则评估结果列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。'."\n"
- .'- IGNORED:已忽略。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'ResultRecordedTimestamp' => [
- 'description' => '产生资源评估结果的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624869013065',
- ],
- 'Annotation' => [
- 'description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
- ."\n"
- .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
- .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
- .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
- .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
- .'- `reason`:资源不合规原因。',
- 'type' => 'string',
- 'example' => '{\\"configuration\\":\\"LRS\\",\\"desiredValue\\":\\"ZRS\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DataRedundancyType\\"}',
- ],
- 'ConfigRuleInvokedTimestamp' => [
- 'description' => '规则被触发执行评估的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624869012713',
- ],
- 'InvokingEventMessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ScheduledNotification',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。'."\n"
+ .'- IGNORED:已忽略。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'ResultRecordedTimestamp' => ['description' => '产生资源评估结果的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624869013065'],
+ 'Annotation' => ['description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
+ ."\n"
+ .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
+ .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
+ .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
+ .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
+ .'- `reason`:资源不合规原因。', 'type' => 'string', 'example' => '{\\"configuration\\":\\"LRS\\",\\"desiredValue\\":\\"ZRS\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DataRedundancyType\\"}'],
+ 'ConfigRuleInvokedTimestamp' => ['description' => '规则被触发执行评估的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624869012713'],
+ 'InvokingEventMessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ScheduledNotification'],
'EvaluationResultIdentifier' => [
'description' => '规则评估结果标识符。',
'type' => 'object',
'properties' => [
- 'OrderingTimestamp' => [
- 'description' => '时间轴展示的时间戳。单位:毫秒。'."\n"
- ."\n"
- .'> 该时间为规则被触发执行评估的时间戳,即参数`ConfigRuleInvokedTimestamp`显示的时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624869012713',
- ],
+ 'OrderingTimestamp' => ['description' => '时间轴展示的时间戳。单位:毫秒。'."\n"
+ ."\n"
+ .'> 该时间为规则被触发执行评估的时间戳,即参数`ConfigRuleInvokedTimestamp`显示的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624869012713'],
'EvaluationResultQualifier' => [
'description' => '规则评估结果中的资源信息。',
'type' => 'object',
'properties' => [
- 'ResourceOwnerId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '173808452267****',
- ],
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-888f626622af00ae****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'OSS存储空间开启同城冗余存储',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源归属资源组ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-acfm26cicib****',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-888f626622af00ae****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'Bucket-test',
- ],
- 'RegionId' => [
- 'description' => '资源归属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CompliancePackId' => [
- 'description' => '规则所属的合规包ID。',
- 'type' => 'string',
- 'example' => 'cr-7263fd26622af00bc****',
- ],
- 'IgnoreDate' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'example' => '2022-06-01',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'Bucket-test',
- ],
+ 'ResourceOwnerId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '173808452267****'],
+ 'ConfigRuleArn' => ['description' => '规则ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-888f626622af00ae****'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'OSS存储空间开启同城冗余存储'],
+ 'ResourceGroupId' => ['description' => '资源归属资源组ID', 'type' => 'string', 'required' => true, 'example' => 'rg-acfm26cicib****'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-888f626622af00ae****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'Bucket-test'],
+ 'RegionId' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CompliancePackId' => ['description' => '规则所属的合规包ID。', 'type' => 'string', 'example' => 'cr-7263fd26622af00bc****'],
+ 'IgnoreDate' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'example' => '2022-06-01'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'Bucket-test'],
],
],
],
],
- 'RemediationEnabled' => [
- 'description' => '是否启用修正设置。取值:'."\n"
- .'- true:启用修正设置。'."\n"
- .'- false:不启用修正设置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EvaluationId' => [
- 'title' => '评估结果的唯一ID',
- 'description' => '评估结果的唯一ID',
- 'type' => 'string',
- 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3',
- ],
- 'LastNonCompliantRecordTimestamp' => [
- 'title' => '最近一次不合规的起始时间',
- 'description' => '最近一次不合规的起始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1744696393000',
- ],
- 'LastCompliantFixedTimestamp' => [
- 'title' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录',
- 'description' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1768788515723',
- ],
+ 'RemediationEnabled' => ['description' => '是否启用修正设置。取值:'."\n"
+ .'- true:启用修正设置。'."\n"
+ .'- false:不启用修正设置。', 'type' => 'boolean', 'example' => 'false'],
+ 'EvaluationId' => ['title' => '评估结果的唯一ID', 'description' => '评估结果的唯一ID', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'],
+ 'LastNonCompliantRecordTimestamp' => ['title' => '最近一次不合规的起始时间', 'description' => '最近一次不合规的起始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696393000'],
+ 'LastCompliantFixedTimestamp' => ['title' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录', 'description' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录', 'type' => 'integer', 'format' => 'int64', 'example' => '1768788515723'],
],
'description' => '',
],
@@ -20644,56 +12265,25 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
],
404 => [
- [
- 'errorCode' => 'CloudConfigServiceRoleNotExisted',
- 'errorMessage' => 'The CloudConfigServiceRole does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询账号组规则的评估结果',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRuleEvaluationResults',
- ],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationResults'],
],
],
'ramActions' => [
@@ -20704,12 +12294,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -20719,14 +12304,8 @@
],
'ListAggregateConfigRuleEvaluationStatistics' => [
'summary' => '查询目标账号组的合规统计趋势。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20738,23 +12317,16 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-edd3626622af00b3****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****'],
],
],
'responses' => [
@@ -20762,11 +12334,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0'],
'EvaluationResults' => [
'description' => '评估统计结果。',
'type' => 'array',
@@ -20774,40 +12342,12 @@
'description' => '评估统计结果。',
'type' => 'object',
'properties' => [
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-edd3626622af00b3****',
- ],
- 'NonCompliantResourceCnt' => [
- 'description' => '不合规的资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '25',
- ],
- 'TotalResourceCnt' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '153',
- ],
- 'NonCompliantRuleCnt' => [
- 'description' => '不合规的规则数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'TotalRuleCnt' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'StatisticDate' => [
- 'description' => '统计日期。',
- 'type' => 'string',
- 'example' => '2023-06-27',
- ],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-edd3626622af00b3****'],
+ 'NonCompliantResourceCnt' => ['description' => '不合规的资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '25'],
+ 'TotalResourceCnt' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '153'],
+ 'NonCompliantRuleCnt' => ['description' => '不合规的规则数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'TotalRuleCnt' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'StatisticDate' => ['description' => '统计日期。', 'type' => 'string', 'example' => '2023-06-27'],
],
],
],
@@ -20818,23 +12358,11 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.ResourceOwnerId.Value',
- 'errorMessage' => 'The specified ResourceOwnerId is invalid.',
- 'description' => '该账号不存在或不在目标账号组内。',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => '该账号不存在或不在目标账号组内。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询账号组的合规统计趋势',
@@ -20842,12 +12370,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRuleEvaluationStatistics',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationStatistics'],
],
],
'ramActions' => [
@@ -20858,12 +12381,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -20871,14 +12389,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0\\",\\n \\"EvaluationResults\\": [\\n {\\n \\"AggregatorId\\": \\"ca-edd3626622af00b3****\\",\\n \\"NonCompliantResourceCnt\\": 25,\\n \\"TotalResourceCnt\\": 153,\\n \\"NonCompliantRuleCnt\\": 3,\\n \\"TotalRuleCnt\\": 10,\\n \\"StatisticDate\\": \\"2023-06-27\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListAggregateConfigRules' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20890,9 +12402,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -20910,12 +12420,7 @@
'required' => false,
'docRequired' => false,
'example' => 'ACTIVE',
- 'enum' => [
- 'ACTIVE',
- 'DELETING',
- 'EVALUATING',
- 'INACTIVE',
- ],
+ 'enum' => ['ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE'],
],
],
[
@@ -20931,94 +12436,47 @@
'required' => false,
'docRequired' => false,
'example' => 'COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
[
'name' => 'ConfigRuleName',
'in' => 'query',
- 'schema' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'The name of the rule.',
- ],
+ 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => 'The name of the rule.'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'Tag',
@@ -21035,22 +12493,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -21061,36 +12509,20 @@
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字。'."\n"
- ."\n"
- .'支持对规则ID、规则名称、规则描述和规则模板标识等进行模糊查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- 'maxLength' => 1000,
- ],
+ 'schema' => ['description' => '查询关键字。'."\n"
+ ."\n"
+ .'支持对规则ID、规则名称、规则描述和规则模板标识等进行模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'maxLength' => 1000],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'SortBy',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateDate-Desc',
- ],
+ 'schema' => ['description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。', 'type' => 'string', 'required' => false, 'example' => 'CreateDate-Desc'],
],
],
'responses' => [
@@ -21099,11 +12531,7 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D'],
'ConfigRules' => [
'description' => '规则列表。',
'type' => 'object',
@@ -21115,135 +12543,56 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SourceOwner' => [
- 'description' => '规则来源的归属。取值:'."\n"
- ."\n"
- .'- CUSTOM_FC:自定义规则。'."\n"
- ."\n"
- .'- ALIYUN:规则模板。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'AccountId' => [
- 'description' => '规则归属的管理账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ConfigRuleState' => [
- 'description' => '规则运行状态。取值:'."\n"
- .'- ACTIVE:应用中。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- EVALUATING:评估中。'."\n"
- .'- INACTIVE:已停用。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SourceOwner' => ['description' => '规则来源的归属。取值:'."\n"
+ ."\n"
+ .'- CUSTOM_FC:自定义规则。'."\n"
+ ."\n"
+ .'- ALIYUN:规则模板。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'AccountId' => ['description' => '规则归属的管理账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ConfigRuleState' => ['description' => '规则运行状态。取值:'."\n"
+ .'- ACTIVE:应用中。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- EVALUATING:评估中。'."\n"
+ .'- INACTIVE:已停用。', 'type' => 'string', 'example' => 'ACTIVE'],
'Compliance' => [
'description' => '规则合规评估结果。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '规则合规评估的摘要结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '规则评估摘要结果对应的评估资源数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'ComplianceType' => ['description' => '规则合规评估的摘要结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '规则评估摘要结果对应的评估资源数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
- 'SourceIdentifier' => [
- 'description' => '规则标识符。'."\n"
- ."\n"
- .'- 如果是规则模板,该参数为规则模板标识。'."\n"
- ."\n"
- .'- 如果是自定义规则,该参数为函数ARN。',
- 'type' => 'string',
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => 'The description of the rule.',
- ],
+ 'SourceIdentifier' => ['description' => '规则标识符。'."\n"
+ ."\n"
+ .'- 如果是规则模板,该参数为规则模板标识。'."\n"
+ ."\n"
+ .'- 如果是自定义规则,该参数为函数ARN。', 'type' => 'string', 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleArn' => ['description' => '规则ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'The description of the rule.'],
'CreateBy' => [
'description' => '创建规则的信息。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'AggregatorName' => [
- 'description' => '账号组名称。',
- 'type' => 'string',
- 'example' => 'Test_Group',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'example' => 'The name of the compliance package.'."\n",
- ],
- 'CreatorName' => [
- 'description' => '创建规则的管理账号名称。',
- 'type' => 'string',
- 'example' => 'Alice',
- ],
- 'CreatorType' => [
- 'description' => '创建规则的类型。仅支持AGGREGATOR(账号组)。',
- 'type' => 'string',
- 'example' => 'AGGREGATOR',
- ],
- 'CreatorId' => [
- 'description' => '创建规则的管理账号ID。',
- 'type' => 'string',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组D。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'AggregatorName' => ['description' => '账号组名称。', 'type' => 'string', 'example' => 'Test_Group'],
+ 'CompliancePackName' => ['description' => '合规包名称。', 'type' => 'string', 'example' => 'The name of the compliance package.'."\n"],
+ 'CreatorName' => ['description' => '创建规则的管理账号名称。', 'type' => 'string', 'example' => 'Alice'],
+ 'CreatorType' => ['description' => '创建规则的类型。仅支持AGGREGATOR(账号组)。', 'type' => 'string', 'example' => 'AGGREGATOR'],
+ 'CreatorId' => ['description' => '创建规则的管理账号ID。', 'type' => 'string', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组D。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
],
],
- 'AutomationType' => [
- 'description' => '修正类型。仅支持OOS(运维编排)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'The name of the rule.',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-fdc8626622af00f9****',
- ],
+ 'AutomationType' => ['description' => '修正类型。仅支持OOS(运维编排)。', 'type' => 'string', 'example' => 'OOS'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'The name of the rule.'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-fdc8626622af00f9****'],
'Tags' => [
'description' => '规则的标签。',
'type' => 'array',
@@ -21251,51 +12600,19 @@
'description' => '规则的标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '规则的标签键。',
- 'type' => 'string',
- 'example' => 'env',
- ],
- 'Value' => [
- 'description' => '规则的标签值。',
- 'type' => 'string',
- 'example' => 'prod',
- ],
+ 'Key' => ['description' => '规则的标签键。', 'type' => 'string', 'example' => 'env'],
+ 'Value' => ['description' => '规则的标签值。', 'type' => 'string', 'example' => 'prod'],
],
],
],
- 'CreateDate' => [
- 'description' => '规则创建时间(UTC+8)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-09-19T15:51:00',
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型,多个资源类型半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'ACS::EIP::EipAddress',
- ],
+ 'CreateDate' => ['description' => '规则创建时间(UTC+8)', 'type' => 'string', 'required' => false, 'example' => '2025-09-19T15:51:00'],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型,多个资源类型半角逗号(,)分隔。', 'type' => 'string', 'example' => 'ACS::EIP::EipAddress'],
],
],
],
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -21304,35 +12621,17 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询账号组的规则列表',
'summary' => '查询指定账号组内的规则列表。',
'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内的规则列表。返回结果显示,规则列表中规则总数为1条,评估资源数为2条,评估结果为`COMPLIANT`(合规)。',
@@ -21340,12 +12639,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRules',
- ],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRules'],
],
],
'ramActions' => [
@@ -21356,12 +12650,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'],
],
],
],
@@ -21370,14 +12659,8 @@
],
'ListAggregateDiscoveredResources' => [
'summary' => '查询指定账号组内的资源列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21389,9 +12672,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -21399,146 +12680,74 @@
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eni-hp31cqoba96jagtz****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp31cqoba96jagtz****'],
],
[
'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'description' => '资源名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'launch-advisor-20200330',
- ],
+ 'schema' => ['description' => '资源名称', 'type' => 'string', 'required' => false, 'example' => 'launch-advisor-20200330'],
],
[
'name' => 'ResourceDeleted',
'in' => 'query',
- 'schema' => [
- 'description' => '资源状态。取值:'."\n"
- ."\n"
- .'- 0:已删除。如果您已在目标云产品中删除某个资源,则在配置审计的资源列表中显示该资源为**已删除**。'."\n"
- .'- 1(默认值):保有中。如果您的资源被正常管理,则在配置审计的资源列表中显示该资源为**保有中**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '资源状态。取值:'."\n"
+ ."\n"
+ .'- 0:已删除。如果您已在目标云产品中删除某个资源,则在配置审计的资源列表中显示该资源为**已删除**。'."\n"
+ .'- 1(默认值):保有中。如果您的资源被正常管理,则在配置审计的资源列表中显示该资源为**保有中**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100000',
- 'minimum' => '1',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
+ 'schema' => ['description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::NetworkInterface'],
],
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '资源归属的地域ID。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-c560626622af0005****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-c560626622af0005****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'],
],
[
'name' => 'StartUpdateTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '资源时间范围查询的开始时间,采用标准UTC时间戳。取值限制:'."\n"
- .'- 必须是毫秒时间戳。'."\n"
- .'- 不能大于EndUpdateTimestamp,且与EndUpdateTimestamp间隔范围小于等于30天。'."\n"
- .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1722441600000'."\n",
- ],
+ 'schema' => ['description' => '资源时间范围查询的开始时间,采用标准UTC时间戳。取值限制:'."\n"
+ .'- 必须是毫秒时间戳。'."\n"
+ .'- 不能大于EndUpdateTimestamp,且与EndUpdateTimestamp间隔范围小于等于30天。'."\n"
+ .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1722441600000'."\n"],
],
[
'name' => 'EndUpdateTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '资源时间范围查询的截止时间,采用标准UTC时间戳。取值限制:'."\n"
- .'- 必须是毫秒时间戳。'."\n"
- .'- 不能小于StartUpdateTimestamp,且与StartUpdateTimestamp间隔范围小于等于30天。'."\n"
- .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1724947200000',
- ],
+ 'schema' => ['description' => '资源时间范围查询的截止时间,采用标准UTC时间戳。取值限制:'."\n"
+ .'- 必须是毫秒时间戳。'."\n"
+ .'- 不能小于StartUpdateTimestamp,且与StartUpdateTimestamp间隔范围小于等于30天。'."\n"
+ .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724947200000'],
],
[
'name' => 'ExcludeResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'."\n",
- ],
+ 'schema' => ['description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'."\n"],
],
],
'responses' => [
@@ -21558,157 +12767,51 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。推荐使用ResourceOwnerId字段。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '161259599160****',
- ],
- 'AvailabilityZone' => [
- 'description' => '资源可用区。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-a',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ResourceCreationTime' => [
- 'description' => '资源创建时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1618675206000',
- ],
- 'ResourceDeleted' => [
- 'description' => '资源状态。取值:'."\n"
- .'- 0:已删除。'."\n"
- .'- 1:保有中。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'eni-hp31cqoba96jagtz****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'Cloud Firewall',
- ],
- 'ResourceOwnerId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '161259599160****',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'InUse',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"key1\\":[\\"value2\\"]}',
- ],
- 'UpdateTime' => [
- 'description' => '资源的最近一次更新时间,毫秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1722441600000',
- ],
- 'Version' => [
- 'description' => '资源构建版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'VpcId' => [
- 'title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpc-t4nhheyvay74fp7n0hxxx',
- ],
- 'VSwitchId' => [
- 'title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx',
- ],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。推荐使用ResourceOwnerId字段。', 'type' => 'integer', 'format' => 'int64', 'example' => '161259599160****'],
+ 'AvailabilityZone' => ['description' => '资源可用区。', 'type' => 'string', 'example' => 'cn-huhehaote-a'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ResourceCreationTime' => ['description' => '资源创建时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1618675206000'],
+ 'ResourceDeleted' => ['description' => '资源状态。取值:'."\n"
+ .'- 0:已删除。'."\n"
+ .'- 1:保有中。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'eni-hp31cqoba96jagtz****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'Cloud Firewall'],
+ 'ResourceOwnerId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '161259599160****'],
+ 'ResourceStatus' => ['description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'InUse'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface'],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"key1\\":[\\"value2\\"]}'],
+ 'UpdateTime' => ['description' => '资源的最近一次更新时间,毫秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1722441600000'],
+ 'Version' => ['description' => '资源构建版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'VpcId' => ['title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'type' => 'string', 'required' => true, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'],
+ 'VSwitchId' => ['title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'TotalCount' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'TotalCount' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"AvailabilityZone\\": \\"cn-huhehaote-a\\",\\n \\"Region\\": \\"cn-huhehaote\\",\\n \\"ResourceCreationTime\\": 1618675206000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"eni-hp31cqoba96jagtz****\\",\\n \\"ResourceName\\": \\"Cloud Firewall\\",\\n \\"ResourceOwnerId\\": 0,\\n \\"ResourceStatus\\": \\"InUse\\",\\n \\"ResourceType\\": \\"ACS::ECS::NetworkInterface\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"]}\\",\\n \\"UpdateTime\\": 1722441600000,\\n \\"Version\\": 1,\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"TotalCount\\": 8\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateDiscoveredResourcesResponse>\\n <DiscoveredResourceProfiles>\\n <DiscoveredResourceProfileList>\\n <ResourceType>ACS::ECS::NetworkInterface</ResourceType>\\n <Region>cn-huhehaote</Region>\\n <ResourceCreationTime>1618675206000</ResourceCreationTime>\\n <Tags>{\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}</Tags>\\n <ResourceId>eni-hp31cqoba96jagtz****</ResourceId>\\n <ResourceName>Cloud Firewall</ResourceName>\\n <ResourceDeleted>1</ResourceDeleted>\\n <ResourceStatus>InUse</ResourceStatus>\\n <Version>1</Version>\\n <AvailabilityZone>cn-huhehaote-a</AvailabilityZone>\\n </DiscoveredResourceProfileList>\\n <NextToken>IWBjqMYSy0is7zSMGu16****</NextToken>\\n <MaxResults>10</MaxResults>\\n <TotalCount>8</TotalCount>\\n </DiscoveredResourceProfiles>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n</ListAggregateDiscoveredResourcesResponse>","errorExample":""}]',
'title' => '获取账号组内资源列表',
'description' => '### 使用限制'."\n"
@@ -21720,12 +12823,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateDiscoveredResources',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateDiscoveredResources'],
],
],
'ramActions' => [
@@ -21736,25 +12834,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListAggregateRecommendManagedRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -21766,9 +12854,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -21776,112 +12862,59 @@
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '标记当前开始读取的位置,置空表示从头开始',
- 'description' => '分页游标。标记当前开始读取的位置,置空表示从头开始',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
- ],
+ 'schema' => ['title' => '标记当前开始读取的位置,置空表示从头开始', 'description' => '分页游标。标记当前开始读取的位置,置空表示从头开始', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '本次读取的最大数据记录数量',
- 'description' => '本次读取的最大数据记录数量。默认值:200。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '200',
- ],
+ 'schema' => ['title' => '本次读取的最大数据记录数量', 'description' => '本次读取的最大数据记录数量。默认值:200。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'RegionIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '合规包对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-t4nbowvtbkss7t326****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****'],
],
[
'name' => 'SelectedManagedRuleIdentifiers',
'in' => 'query',
- 'schema' => [
- 'description' => '已选择的托管规则',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ram-user-mfa-check-v2,ram-user-last-login-expired-check',
- ],
+ 'schema' => ['description' => '已选择的托管规则', 'type' => 'string', 'required' => false, 'example' => 'ram-user-mfa-check-v2,ram-user-last-login-expired-check'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => false, 'example' => 'ca-f632626622af0079****'],
],
],
'responses' => [
@@ -21895,82 +12928,37 @@
'description' => '规则列表。',
'type' => 'object',
'properties' => [
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'zXZXbg4Mra0kOrhpwl21****',
- ],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'zXZXbg4Mra0kOrhpwl21****'],
'RecommendedManagedRuleList' => [
'description' => '托管规则列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'ram-policy-in-use-check',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => 'If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.',
- ],
- 'Identifier' => [
- 'description' => '规则标识。',
- 'type' => 'string',
- 'example' => 'ram-policy-in-use-check',
- ],
- 'ResourceTypeScope' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::Policy',
- ],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ram-policy-in-use-check'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.'],
+ 'Identifier' => ['description' => '规则标识。', 'type' => 'string', 'example' => 'ram-policy-in-use-check'],
+ 'ResourceTypeScope' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::Policy'],
],
'description' => '',
],
],
- 'TotalCount' => [
- 'description' => '规则模板总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalCount' => ['description' => '规则模板总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorIds.Empty',
- 'errorMessage' => 'You must specify AggregatorIds.',
- 'description' => '账号组ID列表不能为空。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorIds.Empty', 'errorMessage' => 'You must specify AggregatorIds.', 'description' => '账号组ID列表不能为空。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '列出推荐的账号组托管规则',
'summary' => '本接口用于获取推荐的账号组托管规则列表。',
'description' => '关于预检规则的概念、运行原理和集成过程,请参见[预检规则的定义与运行原理](~~470802~~)。'."\n"
@@ -21988,12 +12976,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -22002,14 +12985,8 @@
],
'ListAggregateRemediationExecutions' => [
'summary' => '查询指定账号组内规则的修正执行记录。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22017,85 +12994,45 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cr-2792626622af0c21****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'example' => 'cr-2792626622af0c21****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aVCjqFaSy0Ps6zSMGw09****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'aVCjqFaSy0Ps6zSMGw09****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:10~100。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '10',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:10~100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'],
],
[
'name' => 'ExecutionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '修正执行状态,取值:'."\n"
- ."\n"
- .'- Success:成功。'."\n"
- ."\n"
- .'- Failed:失败。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Success',
- ],
+ 'schema' => ['description' => '修正执行状态,取值:'."\n"
+ ."\n"
+ .'- Success:成功。'."\n"
+ ."\n"
+ .'- Failed:失败。', 'type' => 'string', 'required' => false, 'example' => 'Success'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内成员账号ID。不填写时查询该规则创建账号的修正结果,若此账号不在账号组内时,返回结果为空。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '126672004088****',
- ],
+ 'schema' => ['description' => '账号组内成员账号ID。不填写时查询该规则创建账号的修正结果,若此账号不在账号组内时,返回结果为空。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '126672004088****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-edd3626622af00b3****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****'],
],
],
'responses' => [
@@ -22105,12 +13042,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11'],
'RemediationExecutionData' => [
'description' => '修正执行记录结果。',
'type' => 'object',
@@ -22122,54 +13054,21 @@
'description' => '修正执行记录列表。',
'type' => 'object',
'properties' => [
- 'ExecutionInvocationId' => [
- 'description' => '修正执行记录调用ID。',
- 'type' => 'string',
- 'example' => 'exec-befded3781994ccf****',
- ],
- 'ExecutionStatus' => [
- 'description' => '修正执行记录状态,取值:'."\n"
- ."\n"
- .'- Success:成功。'."\n"
- ."\n"
- .'- Failed:失败。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ExecutionResourceType' => [
- 'description' => '修正资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RDS::DBInstance',
- ],
- 'ExecutionCreateDate' => [
- 'description' => '修正执行记录创建时间。',
- 'type' => 'string',
- 'example' => '2023-06-25T11:48:15Z',
- ],
- 'ExecutionStatusMessage' => [
- 'description' => '修正执行失败的错误信息。',
- 'type' => 'string',
- 'example' => 'Invocation time out.',
- ],
- 'ExecutionResourceIds' => [
- 'description' => '修正的资源ID。多个资源ID用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rm-0jlk629z240l8****',
- ],
+ 'ExecutionInvocationId' => ['description' => '修正执行记录调用ID。', 'type' => 'string', 'example' => 'exec-befded3781994ccf****'],
+ 'ExecutionStatus' => ['description' => '修正执行记录状态,取值:'."\n"
+ ."\n"
+ .'- Success:成功。'."\n"
+ ."\n"
+ .'- Failed:失败。', 'type' => 'string', 'example' => 'Success'],
+ 'ExecutionResourceType' => ['description' => '修正资源类型。', 'type' => 'string', 'example' => 'ACS::RDS::DBInstance'],
+ 'ExecutionCreateDate' => ['description' => '修正执行记录创建时间。', 'type' => 'string', 'example' => '2023-06-25T11:48:15Z'],
+ 'ExecutionStatusMessage' => ['description' => '修正执行失败的错误信息。', 'type' => 'string', 'example' => 'Invocation time out.'],
+ 'ExecutionResourceIds' => ['description' => '修正的资源ID。多个资源ID用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rm-0jlk629z240l8****'],
],
],
],
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'cNclqNaKs0Ds7zSNip0a****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'cNclqNaKs0Ds7zSNip0a****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
@@ -22178,23 +13077,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13E67493-3165-529A-A961-BE9E4B11BA11\\",\\n \\"RemediationExecutionData\\": {\\n \\"RemediationExecutions\\": [\\n {\\n \\"ExecutionInvocationId\\": \\"exec-befded3781994ccf****\\",\\n \\"ExecutionStatus\\": \\"Success\\",\\n \\"ExecutionResourceType\\": \\"ACS::RDS::DBInstance\\",\\n \\"ExecutionCreateDate\\": \\"2023-06-25T11:48:15Z\\",\\n \\"ExecutionStatusMessage\\": \\"Invocation time out.\\",\\n \\"ExecutionResourceIds\\": \\"rm-0jlk629z240l8****\\"\\n }\\n ],\\n \\"NextToken\\": \\"cNclqNaKs0Ds7zSNip0a****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]',
'title' => '查询账号组的修正执行记录',
'description' => '本文将提供一个示例,查询账号组`ca-edd3626622af00b3****`内规则`cr-d04a626622af00af****`的修正执行记录。',
@@ -22207,12 +13096,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -22220,14 +13104,8 @@
],
],
'ListAggregateRemediations' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22239,37 +13117,23 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-6b7c626622af00b4****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-6b7c626622af00b4****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-6b4a626622af0012****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****'],
],
],
'responses' => [
@@ -22278,11 +13142,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8'],
'Remediations' => [
'description' => '修正设置信息。',
'type' => 'array',
@@ -22290,85 +13150,35 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RemediationTemplateId' => [
- 'description' => '修正模板ID。',
- 'type' => 'string',
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
- 'RemediationSourceType' => [
- 'description' => '执行修正的模板来源。取值:'."\n"
- ."\n"
- .'- ALIYUN:官网模板。'."\n"
- .'- CUSTOM:自定义模板。'."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'RemediationType' => [
- 'description' => '修正类型。取值:'."\n"
- ."\n"
- .'- OOS:运维编排(官方修正)。'."\n"
- ."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'LastSuccessfulInvocationId' => [
- 'description' => '修正最近一次执行成功的ID。',
- 'type' => 'string',
- 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****',
- ],
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-6b4a626622af0012****',
- ],
- 'LastSuccessfulInvocationType' => [
- 'description' => '修正最近一次执行成功的方式。取值:'."\n"
- ."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-6b7c626622af0026****',
- ],
- 'InvokeType' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-6b7c626622af00b4****',
- ],
- 'LastSuccessfulInvocationTime' => [
- 'description' => '修正最近一次执行成功的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625451393589',
- ],
- 'RemediaitonOriginParams' => [
- 'description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。',
- 'type' => 'string',
- 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}',
- ],
+ 'RemediationTemplateId' => ['description' => '修正模板ID。', 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'],
+ 'RemediationSourceType' => ['description' => '执行修正的模板来源。取值:'."\n"
+ ."\n"
+ .'- ALIYUN:官网模板。'."\n"
+ .'- CUSTOM:自定义模板。'."\n"
+ .'- NONE:无。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'RemediationType' => ['description' => '修正类型。取值:'."\n"
+ ."\n"
+ .'- OOS:运维编排(官方修正)。'."\n"
+ ."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'example' => 'OOS'],
+ 'LastSuccessfulInvocationId' => ['description' => '修正最近一次执行成功的ID。', 'type' => 'string', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-6b4a626622af0012****'],
+ 'LastSuccessfulInvocationType' => ['description' => '修正最近一次执行成功的方式。取值:'."\n"
+ ."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-6b7c626622af0026****'],
+ 'InvokeType' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6b7c626622af00b4****'],
+ 'LastSuccessfulInvocationTime' => ['description' => '修正最近一次执行成功的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625451393589'],
+ 'RemediaitonOriginParams' => ['description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。', 'type' => 'string', 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'],
],
],
],
@@ -22378,18 +13188,10 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询账号组的修正设置列表',
@@ -22399,12 +13201,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateRemediations',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediations'],
],
],
'ramActions' => [
@@ -22415,12 +13212,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -22429,14 +13221,8 @@
],
'ListAggregateResourceEvaluationResults' => [
'summary' => '从资源维度查询指定账号组内规则对资源的评估结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22448,62 +13234,35 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS::RAM::User',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::RAM::User'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源类型ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '23642660635396****',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源类型ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '23642660635396****'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '合规包风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '默认不传值。当前支持:`LastNonCompliantRecordTimestamp-Asc`,越早开始出现不合规的资源则排序越靠前。应配合设置`ComplianceType`字段为`NON_COMPLIANT`使用。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'LastNonCompliantRecordTimestamp-Asc',
- ],
+ 'schema' => ['description' => '默认不传值。当前支持:`LastNonCompliantRecordTimestamp-Asc`,越早开始出现不合规的资源则排序越靠前。应配合设置`ComplianceType`字段为`NON_COMPLIANT`使用。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'LastNonCompliantRecordTimestamp-Asc'],
],
[
'name' => 'ComplianceType',
@@ -22518,65 +13277,32 @@
'type' => 'string',
'required' => false,
'example' => 'NON_COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- '',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID,例如:`global`表示全球,`cn-hangzhou`表示华东1(杭州)。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'global',
- ],
+ 'schema' => ['description' => '资源归属的地域ID,例如:`global`表示全球,`cn-hangzhou`表示华东1(杭州)。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => false, 'example' => 'global'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-7f00626622af0041****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-7f00626622af0041****'],
],
],
'responses' => [
@@ -22585,26 +13311,13 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4'],
'EvaluationResults' => [
'description' => '资源评估结果。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '每页最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '每页最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'EvaluationResultList' => [
'description' => '资源评估结果列表。',
'type' => 'array',
@@ -22612,137 +13325,53 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。'."\n"
- .'- IGNORED:已忽略。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'ResultRecordedTimestamp' => [
- 'description' => '产生资源评估结果的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227595',
- ],
- 'Annotation' => [
- 'description' => '不合规资源的补充信息。',
- 'type' => 'string',
- 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}',
- ],
- 'ConfigRuleInvokedTimestamp' => [
- 'description' => '调用规则评估资源的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227157',
- ],
- 'InvokingEventMessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。',
- 'type' => 'string',
- 'example' => 'ScheduledNotification',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。'."\n"
+ .'- IGNORED:已忽略。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'ResultRecordedTimestamp' => ['description' => '产生资源评估结果的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227595'],
+ 'Annotation' => ['description' => '不合规资源的补充信息。', 'type' => 'string', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}'],
+ 'ConfigRuleInvokedTimestamp' => ['description' => '调用规则评估资源的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227157'],
+ 'InvokingEventMessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。', 'type' => 'string', 'example' => 'ScheduledNotification'],
'EvaluationResultIdentifier' => [
'description' => '资源评估结果标识符。',
'type' => 'object',
'properties' => [
- 'OrderingTimestamp' => [
- 'description' => '时间轴展示的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227157',
- ],
+ 'OrderingTimestamp' => ['description' => '时间轴展示的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227157'],
'EvaluationResultQualifier' => [
'description' => '资源评估结果中的资源信息。',
'type' => 'object',
'properties' => [
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RAM::User',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'ram-user-mfa-check',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => '23642660635396****',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-7f7d626622af0041****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'rd_member',
- ],
- 'RegionId' => [
- 'description' => '资源归属的地域ID。',
- 'type' => 'string',
- 'example' => 'global',
- ],
- 'IgnoreDate' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'example' => '2022-06-01',
- ],
- 'ResourceOwnerId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '120886317861****',
- ],
+ 'ConfigRuleArn' => ['description' => '规则ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::User'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ram-user-mfa-check'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => '23642660635396****'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-7f7d626622af0041****'],
+ 'ResourceName' => ['description' => '资源名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'rd_member'],
+ 'RegionId' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'global'],
+ 'IgnoreDate' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'example' => '2022-06-01'],
+ 'ResourceOwnerId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '120886317861****'],
],
],
],
],
- 'RemediationEnabled' => [
- 'description' => '是否启用修正设置。取值:'."\n"
- ."\n"
- .'- true:启用修正设置。'."\n"
- .'- false:不启用修正设置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EvaluationId' => [
- 'title' => '评估结果的唯一ID',
- 'description' => '评估结果的唯一ID',
- 'type' => 'string',
- 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3',
- ],
- 'LastNonCompliantRecordTimestamp' => [
- 'title' => '最近一次不合规的起始时间',
- 'description' => '最近一次不合规的起始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1744696665000',
- ],
+ 'RemediationEnabled' => ['description' => '是否启用修正设置。取值:'."\n"
+ ."\n"
+ .'- true:启用修正设置。'."\n"
+ .'- false:不启用修正设置。', 'type' => 'boolean', 'example' => 'false'],
+ 'EvaluationId' => ['title' => '评估结果的唯一ID', 'description' => '评估结果的唯一ID', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'],
+ 'LastNonCompliantRecordTimestamp' => ['title' => '最近一次不合规的起始时间', 'description' => '最近一次不合规的起始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696665000'],
],
],
],
@@ -22754,35 +13383,15 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'CloudConfigServiceRoleNotExisted',
- 'errorMessage' => 'The CloudConfigServiceRole does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"25C89DDB-BB79-487D-88C3-4A561F21EFC4\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624932227595,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.LoginProfile.MFABindRequired\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624932227157,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624932227157,\\n \\"EvaluationResultQualifier\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ResourceType\\": \\"ACS::RAM::User\\",\\n \\"ConfigRuleName\\": \\"ram-user-mfa-check\\",\\n \\"ResourceId\\": \\"23642660635396****\\",\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ResourceName\\": \\"rd_member\\",\\n \\"RegionId\\": \\"global\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696665000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateResourceEvaluationResultsResponse>\\n\\t<code>200</code>\\n\\t<data>\\n\\t\\t<RequestId>25C89DDB-BB79-487D-88C3-4A561F21EFC4</RequestId>\\n\\t\\t<EvaluationResults>\\n\\t\\t\\t<EvaluationResultList>\\n\\t\\t\\t\\t<ConfigRuleInvokedTimestamp>1624932227157</ConfigRuleInvokedTimestamp>\\n\\t\\t\\t\\t<ComplianceType>NON_COMPLIANT</ComplianceType>\\n\\t\\t\\t\\t<ResultRecordedTimestamp>1624932227595</ResultRecordedTimestamp>\\n\\t\\t\\t\\t<InvokingEventMessageType>ScheduledNotification</InvokingEventMessageType>\\n\\t\\t\\t\\t<EvaluationResultIdentifier>\\n\\t\\t\\t\\t\\t<EvaluationResultQualifier>\\n\\t\\t\\t\\t\\t\\t<ConfigRuleId>cr-7f7d626622af0041****</ConfigRuleId>\\n\\t\\t\\t\\t\\t\\t<ConfigRuleArn>acs:config::100931896542****:rule/cr-7f7d626622af0041****</ConfigRuleArn>\\n\\t\\t\\t\\t\\t\\t<ResourceId>23642660635396****</ResourceId>\\n\\t\\t\\t\\t\\t\\t<ResourceName>rd_member</ResourceName>\\n\\t\\t\\t\\t\\t\\t<ConfigRuleName>RAM用户开启MFA</ConfigRuleName>\\n\\t\\t\\t\\t\\t\\t<ResourceType>ACS::RAM::User</ResourceType>\\n\\t\\t\\t\\t\\t\\t<RegionId>global</RegionId>\\n\\t\\t\\t\\t\\t</EvaluationResultQualifier>\\n\\t\\t\\t\\t\\t<OrderingTimestamp>1624932227157</OrderingTimestamp>\\n\\t\\t\\t\\t</EvaluationResultIdentifier>\\n\\t\\t\\t\\t<RiskLevel>1</RiskLevel>\\n\\t\\t\\t\\t<RemediationEnabled>false</RemediationEnabled>\\n\\t\\t\\t\\t<Annotation>{\\\\\\"configuration\\\\\\":\\\\\\"false\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"True\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"StringEquals\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.LoginProfile.MFABindRequired\\\\\\"}</Annotation>\\n\\t\\t\\t</EvaluationResultList>\\n\\t\\t\\t<MaxResults>10</MaxResults>\\n\\t\\t</EvaluationResults>\\n\\t</data>\\n\\t<httpStatusCode>200</httpStatusCode>\\n\\t<requestId>25C89DDB-BB79-487D-88C3-4A561F21EFC4</requestId>\\n</ListAggregateResourceEvaluationResultsResponse>\\t","errorExample":""}]',
@@ -22791,12 +13400,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateResourceEvaluationResults',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceEvaluationResults'],
],
],
'ramActions' => [
@@ -22807,12 +13411,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -22820,14 +13419,8 @@
],
'ListAggregateResourceRelations' => [
'summary' => '查询账号组内指定资源的相关资源列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22839,105 +13432,53 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'i-j6cajg9yrfoh4sas****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所在地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源所在地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-856a626622af0033****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-856a626622af0033****'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组内待查询资源所属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '100931896542****',
- ],
+ 'schema' => ['description' => '账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100931896542****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AcBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'AcBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'TargetResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '关联资源的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Disk',
- ],
+ 'schema' => ['description' => '关联资源的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk'],
],
[
'name' => 'TargetResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '关联资源的资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd-j6c8k731qbrc7fxi****',
- ],
+ 'schema' => ['description' => '关联资源的资源ID。', 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****'],
],
[
'name' => 'RelationType',
@@ -22946,12 +13487,7 @@
'description' => '资源关系类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'IsContained' => '包含在',
- 'IsAttachedTo' => '挂载到',
- 'IsAssociatedIn' => '关联到',
- 'Contains' => '包含',
- ],
+ 'enumValueTitles' => ['IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含'],
'example' => 'IsAttachedTo',
],
],
@@ -22961,11 +13497,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1'],
'ResourceRelations' => [
'description' => '资源关系结果。',
'type' => 'object',
@@ -22977,63 +13509,23 @@
'description' => '资源关系列表。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'SourceResourceType' => [
- 'description' => '当前资源的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'SourceResourceRegionId' => [
- 'description' => '当前资源的资源所属地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'SourceResourceId' => [
- 'description' => '当前资源的资源ID。',
- 'type' => 'string',
- 'example' => 'i-j6cajg9yrfoh4sas****',
- ],
- 'TargetResourceType' => [
- 'description' => '关联资源的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Disk',
- ],
- 'TargetResourceId' => [
- 'description' => '关联资源的资源ID。',
- 'type' => 'string',
- 'example' => 'd-j6c8k731qbrc7fxi****',
- ],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'SourceResourceType' => ['description' => '当前资源的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'SourceResourceRegionId' => ['description' => '当前资源的资源所属地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'SourceResourceId' => ['description' => '当前资源的资源ID。', 'type' => 'string', 'example' => 'i-j6cajg9yrfoh4sas****'],
+ 'TargetResourceType' => ['description' => '关联资源的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Disk'],
+ 'TargetResourceId' => ['description' => '关联资源的资源ID。', 'type' => 'string', 'example' => 'd-j6c8k731qbrc7fxi****'],
'RelationType' => [
'description' => '资源关系类型。',
'type' => 'string',
- 'enumValueTitles' => [
- 'IsContained' => '包含在',
- 'IsAttachedTo' => '挂载到',
- 'IsAssociatedIn' => '关联到',
- 'Contains' => '包含',
- ],
+ 'enumValueTitles' => ['IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含'],
'example' => 'IsAttachedTo',
],
],
],
],
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AcBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'required' => false, 'example' => 'AcBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
@@ -23042,30 +13534,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1\\",\\n \\"ResourceRelations\\": {\\n \\"ResourceRelationList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"SourceResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"SourceResourceRegionId\\": \\"cn-shanghai\\",\\n \\"SourceResourceId\\": \\"i-j6cajg9yrfoh4sas****\\",\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"TargetResourceId\\": \\"d-j6c8k731qbrc7fxi****\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"NextToken\\": \\"AcBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]',
@@ -23080,12 +13556,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -23093,14 +13564,8 @@
],
'ListAggregateResourcesByAdvancedSearch' => [
'summary' => '通过SQL的Select语句根据资源属性中的字段精确搜索指定账号组内的资源。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23112,31 +13577,19 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQ01U20',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQ01U20'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Sql',
'in' => 'query',
- 'schema' => [
- 'description' => 'SQL查询语句。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'',
- ],
+ 'schema' => ['description' => 'SQL查询语句。', 'type' => 'string', 'required' => true, 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\''],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-4b05626622af000c****',
- ],
+ 'schema' => ['description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-4b05626622af000c****'],
],
],
'responses' => [
@@ -23144,11 +13597,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153'],
'QueryResults' => [
'description' => '查询结果。',
'type' => 'object',
@@ -23160,23 +13609,15 @@
'Columns' => [
'description' => '搜索返回的字段名称列表。',
'type' => 'array',
- 'items' => [
- 'description' => '搜索返回的字段名称。',
- 'type' => 'string',
- 'example' => '["ResourceId", "ResourceName"]',
- ],
+ 'items' => ['description' => '搜索返回的字段名称。', 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]'],
],
'Values' => [
'description' => '搜索返回的资源数据列表。',
'type' => 'array',
- 'items' => [
- 'description' => '搜索返回的资源数据。',
- 'type' => 'any',
- 'example' => '['."\n"
- .' "eni-2ze5lq7xaluy5kb5****",'."\n"
- .' "test-resource"'."\n"
- .']',
- ],
+ 'items' => ['description' => '搜索返回的资源数据。', 'type' => 'any', 'example' => '['."\n"
+ .' "eni-2ze5lq7xaluy5kb5****",'."\n"
+ .' "test-resource"'."\n"
+ .']'],
],
],
],
@@ -23189,23 +13630,13 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '应用高级搜索查询账号组内资源列表',
'description' => '当您写SQL的`Select`语句时,需要从目标资源类型的属性文件中获取搜索字段及其类型。关于资源属性文件,请参见[alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema)。'."\n"
."\n"
@@ -23216,12 +13647,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateResourcesByAdvancedSearch',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourcesByAdvancedSearch'],
],
],
'ramActions' => [
@@ -23232,12 +13658,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -23247,14 +13668,8 @@
],
'ListAggregators' => [
'summary' => '查询当前管理账号或委派管理员账号下的所有账号组列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23266,39 +13681,19 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigB2MNLG',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0',
- 'maxLength' => 100,
- 'minLength' => 1,
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', 'maxLength' => 100, 'minLength' => 1],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10'],
],
[
'name' => 'Tag',
@@ -23315,22 +13710,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。N的取值范围:**1~20**。一旦输入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '账号组的标签值。N的取值范围为1~20。该值可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能包含`http://`或`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。N的取值范围:**1~20**。一旦输入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '账号组的标签值。N的取值范围为1~20。该值可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能包含`http://`或`https://`。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -23345,20 +13730,12 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '20C8526D-12C5-4336-BC72-EBD5D1BA732F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '20C8526D-12C5-4336-BC72-EBD5D1BA732F'],
'AggregatorsResult' => [
'description' => '账号组结果列表。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0',
- ],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0'],
'Aggregators' => [
'description' => '账号组列表。',
'type' => 'array',
@@ -23366,61 +13743,21 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'AggregatorCreateTimestamp' => [
- 'description' => '创建账号组的时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1623036305000',
- ],
- 'AggregatorAccountCount' => [
- 'description' => '账号组内的成员账号数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'Description' => [
- 'description' => '账号组描述。',
- 'type' => 'string',
- 'example' => '测试组',
- ],
- 'AggregatorName' => [
- 'description' => '账号组名称。',
- 'type' => 'string',
- 'example' => 'Test_Group',
- ],
- 'AggregatorStatus' => [
- 'description' => '账号组状态。取值:'."\n"
- .'- 0:创建中。'."\n"
- .'- 1:创建完成。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AggregatorType' => [
- 'description' => '账号组类型。取值:'."\n"
- .'- RD:全局账号组。'."\n"
- .'- FOLDER:资源夹账号组。'."\n"
- .'- CUSTOM:自定义账号组。',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'AccountId' => [
- 'description' => '创建账号组的企业管理账号ID。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-88ea626622af0055****',
- ],
- 'FolderId' => [
- 'description' => '资源夹id',
- 'type' => 'string',
- 'example' => 'fd-AAMJnCA***',
- ],
+ 'AggregatorCreateTimestamp' => ['description' => '创建账号组的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1623036305000'],
+ 'AggregatorAccountCount' => ['description' => '账号组内的成员账号数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'Description' => ['description' => '账号组描述。', 'type' => 'string', 'example' => '测试组'],
+ 'AggregatorName' => ['description' => '账号组名称。', 'type' => 'string', 'example' => 'Test_Group'],
+ 'AggregatorStatus' => ['description' => '账号组状态。取值:'."\n"
+ .'- 0:创建中。'."\n"
+ .'- 1:创建完成。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AggregatorType' => ['description' => '账号组类型。取值:'."\n"
+ .'- RD:全局账号组。'."\n"
+ .'- FOLDER:资源夹账号组。'."\n"
+ .'- CUSTOM:自定义账号组。', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'AccountId' => ['description' => '创建账号组的企业管理账号ID。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-88ea626622af0055****'],
+ 'FolderId' => ['description' => '资源夹id', 'type' => 'string', 'example' => 'fd-AAMJnCA***'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -23428,16 +13765,8 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
@@ -23452,42 +13781,23 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询账号组列表',
'description' => '本文将提供一个示例,查询账号组列表,单次最多返回10条数据。返回结果显示,账号组名称为`Test_Group`、账号组描述为`测试组`、账号组类型为`CUSTOM`(自定义账号组)、账号组内成员账号个数为2等。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '120',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregators',
- ],
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregators'],
],
],
'ramActions' => [
@@ -23498,12 +13808,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'],
],
],
],
@@ -23512,14 +13817,8 @@
],
'ListCompliancePackTemplates' => [
'summary' => '查询配置审计提供的所有合规包模板及其详细信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23531,91 +13830,48 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig79P8GJ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig79P8GJ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'CompliancePackTemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
+ 'schema' => ['description' => '合规包模板ID。', 'type' => 'string', 'required' => false, 'example' => 'ct-5f26ff4e06a300c4****'],
],
[
'name' => 'RuleRiskLevel',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '合规包中规则模板的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '合规包中规则模板的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '规则评估的资源类型。输入该参数时,只返回合规包模板中包括该资源类型的规则。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '规则评估的资源类型。输入该参数时,只返回合规包模板中包括该资源类型的规则。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'FilterType',
'in' => 'query',
- 'schema' => [
- 'title' => '查询过滤字段。',
- 'description' => '查询过滤字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LAW',
- ],
+ 'schema' => ['title' => '查询过滤字段。', 'description' => '查询过滤字段。', 'type' => 'string', 'required' => false, 'example' => 'LAW'],
],
],
'responses' => [
@@ -23628,24 +13884,9 @@
'description' => '合规包模板详情。',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '合规包模板总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '合规包模板总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'CompliancePackTemplates' => [
'description' => '合规包模板列表。',
'type' => 'array',
@@ -23653,21 +13894,12 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '合规包中规则模板的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '合规包描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.',
- ],
+ 'RiskLevel' => ['description' => '合规包中规则模板的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '合规包描述。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.'],
'ConfigRules' => [
'description' => '合规包中默认规则列表。',
'type' => 'array',
@@ -23675,21 +13907,9 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => 'If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.',
- ],
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。',
- 'type' => 'string',
- 'example' => 'ecs-instance-updated-security-vul',
- ],
- 'ManagedRuleName' => [
- 'description' => '规则模板名称。',
- 'type' => 'string',
- 'example' => 'ecs-instance-updated-security-vul',
- ],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.'],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。', 'type' => 'string', 'example' => 'ecs-instance-updated-security-vul'],
+ 'ManagedRuleName' => ['description' => '规则模板名称。', 'type' => 'string', 'example' => 'ecs-instance-updated-security-vul'],
'ConfigRuleParameters' => [
'description' => '规则模板参数信息。',
'type' => 'array',
@@ -23697,120 +13917,54 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'Required' => [
- 'description' => '规则模板中参数是否必填。取值:'."\n"
- ."\n"
- .'- true:参数必填。'."\n"
- ."\n"
- .'- false:参数非必填。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ParameterName' => [
- 'description' => '规则模板的参数名称。',
- 'type' => 'string',
- 'example' => 'necessity',
- ],
- 'ParameterValue' => [
- 'description' => '规则模板的参数值。',
- 'type' => 'string',
- 'example' => 'asap',
- ],
+ 'Required' => ['description' => '规则模板中参数是否必填。取值:'."\n"
+ ."\n"
+ .'- true:参数必填。'."\n"
+ ."\n"
+ .'- false:参数非必填。', 'type' => 'boolean', 'example' => 'true'],
+ 'ParameterName' => ['description' => '规则模板的参数名称。', 'type' => 'string', 'example' => 'necessity'],
+ 'ParameterValue' => ['description' => '规则模板的参数值。', 'type' => 'string', 'example' => 'asap'],
],
],
],
- 'RiskLevel' => [
- 'description' => '规则模板的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'ControlId' => [
- 'description' => '法规条例ID。'."\n"
- ."\n"
- .'> 仅法规类合规包显示该参数。',
- 'type' => 'string',
- 'example' => '8.1.4.4',
- ],
- 'ControlDescription' => [
- 'description' => '法规类条目原文描述,只有法规类合规包包含此信息。',
- 'type' => 'string',
- 'example' => 'e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.',
- ],
- 'DefaultEnable' => [
- 'description' => '规则是否支持快速启用。取值:'."\n"
- .'- true:支持。'."\n"
- .'- false:不支持。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'RiskLevel' => ['description' => '规则模板的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'ControlId' => ['description' => '法规条例ID。'."\n"
+ ."\n"
+ .'> 仅法规类合规包显示该参数。', 'type' => 'string', 'example' => '8.1.4.4'],
+ 'ControlDescription' => ['description' => '法规类条目原文描述,只有法规类合规包包含此信息。', 'type' => 'string', 'example' => 'e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.'],
+ 'DefaultEnable' => ['description' => '规则是否支持快速启用。取值:'."\n"
+ .'- true:支持。'."\n"
+ .'- false:不支持。', 'type' => 'boolean', 'example' => 'false'],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
],
],
],
- 'CompliancePackTemplateName' => [
- 'description' => '合规包模板名称。',
- 'type' => 'string',
- 'example' => 'ClassifiedProtectionPreCheck',
- ],
- 'CompliancePackTemplateId' => [
- 'description' => '合规包模板ID。',
- 'type' => 'string',
- 'example' => 'ct-5f26ff4e06a300c4****',
- ],
- 'Labels' => [
- 'description' => '合规包的分类标签。',
- 'type' => 'string',
- 'example' => 'Regulation',
- ],
- 'LastUpdate' => [
- 'description' => '合规包最后更新的时间戳。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1747983081',
- ],
+ 'CompliancePackTemplateName' => ['description' => '合规包模板名称。', 'type' => 'string', 'example' => 'ClassifiedProtectionPreCheck'],
+ 'CompliancePackTemplateId' => ['description' => '合规包模板ID。', 'type' => 'string', 'example' => 'ct-5f26ff4e06a300c4****'],
+ 'Labels' => ['description' => '合规包的分类标签。', 'type' => 'string', 'example' => 'Regulation'],
+ 'LastUpdate' => ['description' => '合规包最后更新的时间戳。', 'type' => 'integer', 'format' => 'int32', 'example' => '1747983081'],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D67FC82F-25AE-4268-A94C-3348340748F9',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D67FC82F-25AE-4268-A94C-3348340748F9'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询合规包模板',
@@ -23819,26 +13973,15 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListCompliancePackTemplates',
- ],
+ ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePackTemplates'],
],
],
'ramActions' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackTemplatesResult\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"CompliancePackTemplates\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.\\",\\n \\"ConfigRules\\": [\\n {\\n \\"Description\\": \\"If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.\\",\\n \\"ManagedRuleIdentifier\\": \\"ecs-instance-updated-security-vul\\",\\n \\"ManagedRuleName\\": \\"ecs-instance-updated-security-vul\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"necessity\\",\\n \\"ParameterValue\\": \\"asap\\"\\n }\\n ],\\n \\"RiskLevel\\": 2,\\n \\"ControlId\\": \\"8.1.4.4\\",\\n \\"ControlDescription\\": \\"e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\\\\\\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.\\",\\n \\"DefaultEnable\\": false,\\n \\"ResourceTypesScope\\": \\"ACS::ECS::Instance\\"\\n }\\n ],\\n \\"CompliancePackTemplateName\\": \\"ClassifiedProtectionPreCheck\\",\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"Labels\\": \\"Regulation\\",\\n \\"LastUpdate\\": 1747983081\\n }\\n ]\\n },\\n \\"RequestId\\": \\"D67FC82F-25AE-4268-A94C-3348340748F9\\"\\n}","errorExample":""},{"type":"xml","example":"<ListCompliancePackTemplatesResponse>\\n <CompliancePackTemplatesResult>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <CompliancePackTemplates>\\n <RiskLevel>1</RiskLevel>\\n <Description>持续检测网络架构、负载额度、网络安全设置的合规性,避免网络安全风险。</Description>\\n <ConfigRules>\\n <Description>SLB证书的到期时间距离当前时间大于参数设定的时间范围,视为“合规”。默认值:90天。</Description>\\n <ManagedRuleIdentifier>slb-servercertificate-expired-check</ManagedRuleIdentifier>\\n <ManagedRuleName>SLB证书到期检查</ManagedRuleName>\\n <ConfigRuleParameters>\\n <Required>true</Required>\\n <ParameterName>days</ParameterName>\\n <ParameterValue>90</ParameterValue>\\n </ConfigRuleParameters>\\n </ConfigRules>\\n <CompliancePackTemplateName>网络合规管理最佳实践</CompliancePackTemplateName>\\n <CompliancePackTemplateId>ct-d254ff4e06a300cf****</CompliancePackTemplateId>\\n </CompliancePackTemplates>\\n </CompliancePackTemplatesResult>\\n <RequestId>D67FC82F-25AE-4268-A94C-3348340748F9</RequestId>\\n</ListCompliancePackTemplatesResponse>","errorExample":""}]',
],
'ListCompliancePacks' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23850,69 +13993,39 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig3B4J5L',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig3B4J5L'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACTIVE',
- ],
+ 'schema' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'required' => false, 'example' => 'ACTIVE'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '合规包的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'Tag',
@@ -23929,22 +14042,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -23959,11 +14062,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
'CompliancePacksResult' => [
'description' => '合规包列表查询结果。',
'type' => 'object',
@@ -23975,48 +14074,18 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '合规包状态。取值:'."\n"
- .'- ACTIVE:正常。'."\n"
- .'- CREATING:创建中。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'RiskLevel' => [
- 'description' => '合规包的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '合规包描述。',
- 'type' => 'string',
- 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'example' => 'BestPracticesForResourceStability',
- ],
- 'AccountId' => [
- 'description' => '合规包归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'CompliancePackTemplateId' => [
- 'description' => '合规包模板ID。',
- 'type' => 'string',
- 'example' => 'ct-484cff4e06a30062****',
- ],
+ 'Status' => ['description' => '合规包状态。取值:'."\n"
+ .'- ACTIVE:正常。'."\n"
+ .'- CREATING:创建中。', 'type' => 'string', 'example' => 'ACTIVE'],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'RiskLevel' => ['description' => '合规包的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '合规包描述。', 'type' => 'string', 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.'],
+ 'CompliancePackName' => ['description' => '合规包名称。', 'type' => 'string', 'example' => 'BestPracticesForResourceStability'],
+ 'AccountId' => ['description' => '合规包归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'CompliancePackTemplateId' => ['description' => '合规包模板ID。', 'type' => 'string', 'example' => 'ct-484cff4e06a30062****'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -24024,46 +14093,18 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'value-1'],
],
],
],
- 'CreateTimestamp' => [
- 'description' => '创建合规包的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621325046000',
- ],
+ 'CreateTimestamp' => ['description' => '创建合规包的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621325046000'],
],
],
],
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '合规包总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '合规包总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -24072,25 +14113,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询合规包列表',
@@ -24100,12 +14129,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListCompliancePacks',
- ],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePacks'],
],
],
'ramActions' => [
@@ -24116,12 +14140,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'],
],
],
],
@@ -24130,14 +14149,8 @@
],
'ListConfigDeliveryChannels' => [
'summary' => '查询投递渠道列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24149,20 +14162,13 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'DeliveryChannelIds',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。多个投递渠道ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
+ 'schema' => ['description' => '投递渠道ID。多个投递渠道ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cdc-d9106457e0d900b1****'],
],
],
'responses' => [
@@ -24178,158 +14184,80 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '投递设置状态。取值:'."\n"
- .'- 0:关闭。'."\n"
- .'- 1:开启。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'myDeliveryChannel',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-d9106457e0d900b1****',
- ],
- 'DeliveryChannelType' => [
- 'description' => '投递渠道类型。取值:'."\n"
- .'- OSS:对象存储。 '."\n"
- .'- MNS:轻量消息队列(原 MNS)。'."\n"
- .'- SLS:日志服务。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'DeliveryChannelTargetArn' => [
- 'description' => '投递渠道目标地址的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
- ."\n"
- .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket',
- ],
- 'DeliveryChannelAssumeRoleArn' => [
- 'description' => '投递渠道扮演角色ARN。',
- 'type' => 'string',
- 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig',
- ],
- 'DeliveryChannelCondition' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
- 'OversizedDataOSSTargetArn' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
- 'Description' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'My OSS delivery.',
- ],
- 'CompliantSnapshot' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationSnapshot' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false:不接收资源定时快照。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ConfigurationItemChangeNotification' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false:不接收资源配置变更历史。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NonCompliantNotification' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false:不接收资源不合规事件。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AccountId' => [
- 'description' => '当前阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'DeliverySnapshotTime' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。',
- 'type' => 'string',
- 'example' => '09:10Z',
- ],
+ 'Status' => ['description' => '投递设置状态。取值:'."\n"
+ .'- 0:关闭。'."\n"
+ .'- 1:开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'myDeliveryChannel'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'],
+ 'DeliveryChannelType' => ['description' => '投递渠道类型。取值:'."\n"
+ .'- OSS:对象存储。 '."\n"
+ .'- MNS:轻量消息队列(原 MNS)。'."\n"
+ .'- SLS:日志服务。', 'type' => 'string', 'example' => 'OSS'],
+ 'DeliveryChannelTargetArn' => ['description' => '投递渠道目标地址的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为OSS时,该参数为Bucket的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为MNS时,该参数为Topic的ARN。'."\n"
+ ."\n"
+ .'- 当DeliveryChannelType为SLS时,该参数为Logstore的ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'],
+ 'DeliveryChannelAssumeRoleArn' => ['description' => '投递渠道扮演角色ARN。', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'],
+ 'DeliveryChannelCondition' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
+ 'OversizedDataOSSTargetArn' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
+ 'Description' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'My OSS delivery.'],
+ 'CompliantSnapshot' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationSnapshot' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false:不接收资源定时快照。', 'type' => 'boolean', 'example' => 'false'],
+ 'ConfigurationItemChangeNotification' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false:不接收资源配置变更历史。', 'type' => 'boolean', 'example' => 'true'],
+ 'NonCompliantNotification' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false:不接收资源不合规事件。', 'type' => 'boolean', 'example' => 'false'],
+ 'AccountId' => ['description' => '当前阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'DeliverySnapshotTime' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。', 'type' => 'string', 'example' => '09:10Z'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '投递渠道不存在。',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"Status\\": 1,\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<ListConfigDeliveryChannelsResponse>\\n <DeliveryChannels>\\n <Status>1</Status>\\n <DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n <DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n <DeliveryChannelType>OSS</DeliveryChannelType>\\n <DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n <DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n <DeliveryChannelCondition>[{\\"filterType\\":\\"ResourceType\\",\\"values\\":[\\"ACS::ActionTrail::Trail\\",\\"ACS::CBWP::CommonBandwidthPackage\\",\\"ACS::CDN::Domain\\",\\"ACS::CEN::CenBandwidthPackage\\",\\"ACS::CEN::CenInstance\\",\\"ACS::CEN::Flowlog\\",\\"ACS::DdosCoo::Instance\\"],\\"multiple\\":true}]</DeliveryChannelCondition>\\n <OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n <Description>My OSS delivery.</Description>\\n <ConfigurationSnapshot>false</ConfigurationSnapshot>\\n <ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n <NonCompliantNotification>false</NonCompliantNotification>\\n <DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n </DeliveryChannels>\\n <RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</ListConfigDeliveryChannelsResponse>","errorExample":""}]',
@@ -24338,12 +14266,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigDeliveryChannels',
- ],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigDeliveryChannels'],
],
],
'ramActions' => [
@@ -24354,26 +14277,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListConfigRuleEvaluationResults' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24385,9 +14297,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
@@ -24404,94 +14314,47 @@
'type' => 'string',
'required' => false,
'example' => 'NON_COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'default' => '10'],
],
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-cac56457e0d900d3****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-cac56457e0d900d3****'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-f1e3326622af00cb****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => false, 'example' => 'cp-f1e3326622af00cb****'],
],
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源所属地域,多个地域之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '评估资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源的资源类型,多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '评估资源的资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'ResourceGroupIds',
'in' => 'query',
- 'schema' => [
- 'description' => '评估资源所属的资源组ID,多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aek2indxn3g****',
- ],
+ 'schema' => ['description' => '评估资源所属的资源组ID,多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2indxn3g****'],
],
],
'responses' => [
@@ -24499,26 +14362,13 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2A4A33BD-8186-4D60-91B9-42174EED75B5',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2A4A33BD-8186-4D60-91B9-42174EED75B5'],
'EvaluationResults' => [
'description' => '规则评估结果。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'EvaluationResultList' => [
'description' => '规则评估结果列表。',
'type' => 'array',
@@ -24526,160 +14376,61 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。'."\n"
- .'- IGNORED:已忽略。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'ResultRecordedTimestamp' => [
- 'description' => '产生资源评估结果的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1622802307150',
- ],
- 'Annotation' => [
- 'description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
- ."\n"
- .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
- .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
- .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
- .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
- .'- `reason`:资源不合规原因。',
- 'type' => 'string',
- 'example' => '{\\"configuration\\":\\"\\",\\"desiredValue\\":\\"\\",\\"operator\\":\\"IsNotStringEmpty\\",\\"property\\":\\"$.KeyPairName\\",\\"reason\\":\\"No property contains.\\"}',
- ],
- 'ConfigRuleInvokedTimestamp' => [
- 'description' => '规则被触发执行评估的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1622802307081',
- ],
- 'InvokingEventMessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。'."\n"
- .'- Manual:手动触发。',
- 'type' => 'string',
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。'."\n"
+ .'- IGNORED:已忽略。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'ResultRecordedTimestamp' => ['description' => '产生资源评估结果的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307150'],
+ 'Annotation' => ['description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
+ ."\n"
+ .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
+ .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
+ .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
+ .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
+ .'- `reason`:资源不合规原因。', 'type' => 'string', 'example' => '{\\"configuration\\":\\"\\",\\"desiredValue\\":\\"\\",\\"operator\\":\\"IsNotStringEmpty\\",\\"property\\":\\"$.KeyPairName\\",\\"reason\\":\\"No property contains.\\"}'],
+ 'ConfigRuleInvokedTimestamp' => ['description' => '规则被触发执行评估的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307081'],
+ 'InvokingEventMessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。'."\n"
+ .'- Manual:手动触发。', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification'],
'EvaluationResultIdentifier' => [
'description' => '规则评估结果标识符。',
'type' => 'object',
'properties' => [
- 'OrderingTimestamp' => [
- 'description' => '时间轴展示的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1622802307081',
- ],
+ 'OrderingTimestamp' => ['description' => '时间轴展示的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307081'],
'EvaluationResultQualifier' => [
'description' => '规则评估结果中的资源信息。',
'type' => 'object',
'properties' => [
- 'ResourceOwnerId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '120886317861****',
- ],
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::120886317861****:rule/cr-cac56457e0d900d3****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'ECS实例CPU核数满足最低要求',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源归属资源组ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-aek3tprgnnc****',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-cac56457e0d900d3****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'iZuf6j91r34rnwawoox****',
- ],
- 'RegionId' => [
- 'description' => '资源归属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'CompliancePackId' => [
- 'description' => '规则所属的合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-bcc33457e0d900d5****',
- ],
- 'IgnoreDate' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'example' => '2022-06-01',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'i-hp3e4kvhzqn2s11t****',
- ],
+ 'ResourceOwnerId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'],
+ 'ConfigRuleArn' => ['description' => '规则ARN。', 'type' => 'string', 'example' => 'acs:config::120886317861****:rule/cr-cac56457e0d900d3****'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ECS实例CPU核数满足最低要求'],
+ 'ResourceGroupId' => ['description' => '资源归属资源组ID', 'type' => 'string', 'required' => true, 'example' => 'rg-aek3tprgnnc****'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-cac56457e0d900d3****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'iZuf6j91r34rnwawoox****'],
+ 'RegionId' => ['description' => '资源归属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CompliancePackId' => ['description' => '规则所属的合规包ID。', 'type' => 'string', 'example' => 'cp-bcc33457e0d900d5****'],
+ 'IgnoreDate' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'example' => '2022-06-01'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'i-hp3e4kvhzqn2s11t****'],
],
],
],
],
- 'RemediationEnabled' => [
- 'description' => '是否启用修正设置。取值:'."\n"
- .'- true:启用修正设置。'."\n"
- .'- false:不启用修正设置。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'EvaluationId' => [
- 'title' => '评估结果的唯一ID',
- 'description' => '评估结果的唯一ID',
- 'type' => 'string',
- 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3',
- ],
- 'LastNonCompliantRecordTimestamp' => [
- 'title' => '最近一次不合规的开始时间',
- 'description' => '最近一次不合规的开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1744696665000',
- ],
- 'LastCompliantFixedTimestamp' => [
- 'title' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录',
- 'description' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1768788515723',
- ],
+ 'RemediationEnabled' => ['description' => '是否启用修正设置。取值:'."\n"
+ .'- true:启用修正设置。'."\n"
+ .'- false:不启用修正设置。', 'type' => 'boolean', 'example' => 'false'],
+ 'EvaluationId' => ['title' => '评估结果的唯一ID', 'description' => '评估结果的唯一ID', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'],
+ 'LastNonCompliantRecordTimestamp' => ['title' => '最近一次不合规的开始时间', 'description' => '最近一次不合规的开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696665000'],
+ 'LastCompliantFixedTimestamp' => ['title' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录', 'description' => '最近一次修复为合规状态的时间,新资源或规则首次评估为合规时该值不会被记录', 'type' => 'integer', 'format' => 'int64', 'example' => '1768788515723'],
],
],
],
@@ -24692,47 +14443,24 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'CloudConfigServiceRoleNotExisted',
- 'errorMessage' => 'The CloudConfigServiceRole does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询规则评估结果',
'summary' => '从规则维度查询规则对资源的评估结果。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRuleEvaluationResults',
- ],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationResults'],
],
],
'ramActions' => [
@@ -24743,12 +14471,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -24758,14 +14481,8 @@
],
'ListConfigRuleEvaluationStatistics' => [
'summary' => '查询当前账号的合规统计趋势。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24777,9 +14494,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -24788,46 +14503,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4FF2B787-347E-5299-A196-2C0448DEA341',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4FF2B787-347E-5299-A196-2C0448DEA341'],
'EvaluationResults' => [
'description' => '合规统计结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'NonCompliantResourceCnt' => [
- 'description' => '不合规的资源数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'TotalResourceCnt' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '91',
- ],
- 'NonCompliantRuleCnt' => [
- 'description' => '不合规的规则数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalRuleCnt' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
- 'StatisticDate' => [
- 'description' => '统计日期。',
- 'type' => 'string',
- 'example' => '2023-06-27',
- ],
+ 'NonCompliantResourceCnt' => ['description' => '不合规的资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'TotalResourceCnt' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '91'],
+ 'NonCompliantRuleCnt' => ['description' => '不合规的规则数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalRuleCnt' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
+ 'StatisticDate' => ['description' => '统计日期。', 'type' => 'string', 'example' => '2023-06-27'],
],
'description' => '',
],
@@ -24839,30 +14526,17 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.ResourceOwnerId.Value',
- 'errorMessage' => 'The specified ResourceOwnerId is invalid.',
- 'description' => '该账号不存在或不在目标账号组内。',
- ],
+ ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => '该账号不存在或不在目标账号组内。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询当前账号合规统计趋势',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRuleEvaluationStatistics',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationStatistics'],
],
],
'ramActions' => [
@@ -24873,12 +14547,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -24887,13 +14556,8 @@
],
'ListConfigRuleOperators' => [
'summary' => '本接口用于获取配置审计规则检测支持的操作符列表。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24905,9 +14569,7 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -24918,69 +14580,48 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB****'],
'Operators' => [
'description' => '操作符列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '操作符名称。',
- 'type' => 'string',
- 'example' => 'StringEquals',
- ],
- 'Operator' => [
- 'description' => '规则入参的操作符。通过SelectPath获取到的不同数据类型,对应不同的操作符。 '."\n"
- ."\n"
- .'- 当数据类型为String时,取值:'."\n"
- .' - StringEquals:等于。'."\n"
- .' - NotStringEquals:不等于。'."\n"
- .' - StringIn:存在。'."\n"
- .' - NotStringIn:不存在。'."\n"
- .' - StringContains:包含。'."\n"
- .' - NotStringContains:不包含。'."\n"
- ."\n"
- .'- 当数据类型为Number时,取值:'."\n"
- .' - Equals:等于。'."\n"
- .' - NotEquals:不等于。'."\n"
- .' - Less:小于。'."\n"
- .' - LessOrEquals:小于等于。'."\n"
- .' - Greater:大于。'."\n"
- .' - GreaterOrEquals:大于等于。'."\n"
- ."\n"
- .'- 当数据类型为基于Base64进制编码的Base64 String时,取值:'."\n"
- .' - Base64Contains:包含。'."\n"
- .' - NotBase64Contains:不包含。'."\n"
- .' - Base64ContainsAll:包含全部。'."\n"
- .' - Base64ExcludeAll:排除全部。 '."\n"
- ."\n"
- .'- 当数据类型为Array时,取值:'."\n"
- .' - Contains:包含。'."\n"
- .' - NotContains:不包含。'."\n"
- .' - In:存在。'."\n"
- .' - NotIn:不存在。'."\n"
- .' - ContainsAll:包含全部。'."\n"
- .' - ExcludeAll:排除全部。 '."\n"
- .' - IsEmpty:为空。 ',
- 'type' => 'string',
- 'example' => 'StringEquals',
- ],
- 'Description' => [
- 'description' => '操作符描述,可用于解释不合规原因。',
- 'type' => 'string',
- 'example' => 'The current value must equal the target value (case insensitive)',
- ],
- 'DataType' => [
- 'description' => '作用于何种数据类型。',
- 'type' => 'string',
- 'example' => 'String',
- ],
+ 'Name' => ['description' => '操作符名称。', 'type' => 'string', 'example' => 'StringEquals'],
+ 'Operator' => ['description' => '规则入参的操作符。通过SelectPath获取到的不同数据类型,对应不同的操作符。 '."\n"
+ ."\n"
+ .'- 当数据类型为String时,取值:'."\n"
+ .' - StringEquals:等于。'."\n"
+ .' - NotStringEquals:不等于。'."\n"
+ .' - StringIn:存在。'."\n"
+ .' - NotStringIn:不存在。'."\n"
+ .' - StringContains:包含。'."\n"
+ .' - NotStringContains:不包含。'."\n"
+ ."\n"
+ .'- 当数据类型为Number时,取值:'."\n"
+ .' - Equals:等于。'."\n"
+ .' - NotEquals:不等于。'."\n"
+ .' - Less:小于。'."\n"
+ .' - LessOrEquals:小于等于。'."\n"
+ .' - Greater:大于。'."\n"
+ .' - GreaterOrEquals:大于等于。'."\n"
+ ."\n"
+ .'- 当数据类型为基于Base64进制编码的Base64 String时,取值:'."\n"
+ .' - Base64Contains:包含。'."\n"
+ .' - NotBase64Contains:不包含。'."\n"
+ .' - Base64ContainsAll:包含全部。'."\n"
+ .' - Base64ExcludeAll:排除全部。 '."\n"
+ ."\n"
+ .'- 当数据类型为Array时,取值:'."\n"
+ .' - Contains:包含。'."\n"
+ .' - NotContains:不包含。'."\n"
+ .' - In:存在。'."\n"
+ .' - NotIn:不存在。'."\n"
+ .' - ContainsAll:包含全部。'."\n"
+ .' - ExcludeAll:排除全部。 '."\n"
+ .' - IsEmpty:为空。 ', 'type' => 'string', 'example' => 'StringEquals'],
+ 'Description' => ['description' => '操作符描述,可用于解释不合规原因。', 'type' => 'string', 'example' => 'The current value must equal the target value (case insensitive)'],
+ 'DataType' => ['description' => '作用于何种数据类型。', 'type' => 'string', 'example' => 'String'],
],
'description' => '',
],
@@ -24989,9 +14630,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '列出配置审计规则检测支持的操作符',
'changeSet' => [],
'flowControl' => [
@@ -25005,12 +14644,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -25018,14 +14652,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A68DD98C-DE65-46AC-B2D2-04A4A9AB****\\",\\n \\"Operators\\": [\\n {\\n \\"Name\\": \\"StringEquals\\",\\n \\"Operator\\": \\"StringEquals\\",\\n \\"Description\\": \\"The current value must equal the target value (case insensitive)\\",\\n \\"DataType\\": \\"String\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListConfigRules' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25037,9 +14665,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
'autoTest' => true,
'tenantRelevance' => 'publicInformation',
],
@@ -25047,40 +14673,19 @@
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'default' => '10'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-fe416457e0d90022****',
- ],
+ 'schema' => ['description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'],
],
[
'name' => 'ComplianceType',
@@ -25094,44 +14699,22 @@
'type' => 'string',
'required' => false,
'example' => 'COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字。'."\n"
- ."\n"
- .'支持对规则ID、规则名称、规则描述和规则模板标识等进行模糊查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ecs',
- 'maxLength' => 1000,
- ],
+ 'schema' => ['description' => '查询关键字。'."\n"
+ ."\n"
+ .'支持对规则ID、规则名称、规则描述和规则模板标识等进行模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'maxLength' => 1000],
],
[
'name' => 'ConfigRuleState',
@@ -25145,48 +14728,27 @@
'type' => 'string',
'required' => false,
'example' => 'ACTIVE',
- 'enum' => [
- 'ACTIVE',
- 'DELETING',
- 'EVALUATING',
- 'INACTIVE',
- ],
+ 'enum' => ['ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE'],
],
],
[
'name' => 'ConfigRuleName',
'in' => 'query',
- 'schema' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'The name of the rule.',
- ],
+ 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => 'The name of the rule.'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'SortBy',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateDate-Desc',
- ],
+ 'schema' => ['description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。', 'type' => 'string', 'required' => false, 'example' => 'CreateDate-Desc'],
],
[
'name' => 'Tag',
@@ -25203,18 +14765,8 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -25228,11 +14780,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7'],
'ConfigRules' => [
'description' => '规则列表。',
'type' => 'object',
@@ -25244,106 +14792,47 @@
'description' => '规则列表详细信息。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SourceOwner' => [
- 'description' => '规则来源的归属。取值:'."\n"
- .'- CUSTOM_FC:自定义规则。'."\n"
- .'- ALIYUN:规则模板。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'AccountId' => [
- 'description' => '规则归属的账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'ConfigRuleState' => [
- 'description' => '规则运行状态。取值:'."\n"
- .'- ACTIVE:应用中。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- EVALUATING:评估中。'."\n"
- .'- INACTIVE:已停用。',
- 'type' => 'string',
- 'example' => 'ACTIVE',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SourceOwner' => ['description' => '规则来源的归属。取值:'."\n"
+ .'- CUSTOM_FC:自定义规则。'."\n"
+ .'- ALIYUN:规则模板。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'AccountId' => ['description' => '规则归属的账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'ConfigRuleState' => ['description' => '规则运行状态。取值:'."\n"
+ .'- ACTIVE:应用中。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- EVALUATING:评估中。'."\n"
+ .'- INACTIVE:已停用。', 'type' => 'string', 'example' => 'ACTIVE'],
'Compliance' => [
'description' => '规则的合规聚合结果。',
'type' => 'object',
'properties' => [
- 'ComplianceType' => [
- 'description' => '规则合规评估的摘要结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。',
- 'type' => 'string',
- 'example' => 'COMPLIANT',
- ],
- 'Count' => [
- 'description' => '规则评估的摘要结果对应的评估数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'ComplianceType' => ['description' => '规则合规评估的摘要结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'example' => 'COMPLIANT'],
+ 'Count' => ['description' => '规则评估的摘要结果对应的评估数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
- 'SourceIdentifier' => [
- 'description' => '规则标识符。'."\n"
- .'- 如果是规则模板,该参数为规则模板标识。'."\n"
- .'- 如果是自定义规则,该参数为函数ARN。',
- 'type' => 'string',
- 'example' => 'eip-bandwidth-limit',
- ],
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。',
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => 'The description of the rule.',
- ],
+ 'SourceIdentifier' => ['description' => '规则标识符。'."\n"
+ .'- 如果是规则模板,该参数为规则模板标识。'."\n"
+ .'- 如果是自定义规则,该参数为函数ARN。', 'type' => 'string', 'example' => 'eip-bandwidth-limit'],
+ 'ConfigRuleArn' => ['description' => '规则ARN。', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'The description of the rule.'],
'CreateBy' => [
'description' => '创建规则的信息。',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-fdc8626622af00f9****',
- ],
- 'CompliancePackName' => [
- 'description' => '合规包名称。',
- 'type' => 'string',
- 'example' => 'The name of the compliance package.',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'],
+ 'CompliancePackName' => ['description' => '合规包名称。', 'type' => 'string', 'example' => 'The name of the compliance package.'],
],
],
- 'AutomationType' => [
- 'description' => '修正类型。仅支持OOS(运维编排)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'The name of the rule.',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-fdc8626622af00f9****',
- ],
+ 'AutomationType' => ['description' => '修正类型。仅支持OOS(运维编排)。', 'type' => 'string', 'example' => 'OOS'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'The name of the rule.'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-fdc8626622af00f9****'],
'Tags' => [
'description' => '规则的标签。',
'type' => 'array',
@@ -25351,51 +14840,19 @@
'description' => '规则的标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '规则的标签键。',
- 'type' => 'string',
- 'example' => 'env',
- ],
- 'Value' => [
- 'description' => '规则的标签值。',
- 'type' => 'string',
- 'example' => 'prod',
- ],
+ 'Key' => ['description' => '规则的标签键。', 'type' => 'string', 'example' => 'env'],
+ 'Value' => ['description' => '规则的标签值。', 'type' => 'string', 'example' => 'prod'],
],
],
],
- 'ResourceTypesScope' => [
- 'description' => '规则评估的资源类型,多个资源类型用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'ACS::EIP::EipAddress',
- ],
- 'CreateDate' => [
- 'description' => '规则创建时间(UTC+8)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-09-19T15:51:00',
- ],
+ 'ResourceTypesScope' => ['description' => '规则评估的资源类型,多个资源类型用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'ACS::EIP::EipAddress'],
+ 'CreateDate' => ['description' => '规则创建时间(UTC+8)', 'type' => 'string', 'required' => false, 'example' => '2025-09-19T15:51:00'],
],
],
],
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -25404,47 +14861,24 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询规则列表',
'summary' => '查询规则列表中的所有规则。',
'description' => '本文将提供一个示例,查询当前账号内的规则列表。返回结果显示,规则列表中规则总数为1条,评估资源数为3条,评估结果为COMPLIANT(合规)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRules',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRules'],
],
],
'ramActions' => [
@@ -25455,12 +14889,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'],
],
],
],
@@ -25469,14 +14898,8 @@
],
'ListDiscoveredResources' => [
'summary' => '获取当前账号下跨地域聚合的资源列表信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25488,9 +14911,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -25498,119 +14919,62 @@
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eni-hp31cqoba96jagtz****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp31cqoba96jagtz****'],
],
[
'name' => 'ResourceName',
'in' => 'query',
- 'schema' => [
- 'description' => '资源名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-resource-name',
- ],
+ 'schema' => ['description' => '资源名称', 'type' => 'string', 'required' => false, 'example' => 'test-resource-name'],
],
[
'name' => 'ResourceDeleted',
'in' => 'query',
- 'schema' => [
- 'description' => '资源状态。取值:'."\n"
- ."\n"
- .'- 0:已删除。如果您已在目标云产品中删除某个资源,则在配置审计的资源列表中显示该资源为**已删除**。'."\n"
- .'- 1(默认值):保有中。如果您的资源被正常管理,则在配置审计的资源列表中显示该资源为**保有中**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '资源状态。取值:'."\n"
+ ."\n"
+ .'- 0:已删除。如果您已在目标云产品中删除某个资源,则在配置审计的资源列表中显示该资源为**已删除**。'."\n"
+ .'- 1(默认值):保有中。如果您的资源被正常管理,则在配置审计的资源列表中显示该资源为**保有中**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
+ 'schema' => ['description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::NetworkInterface'],
],
[
'name' => 'Regions',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID。多个地域ID之间用半角逗号(,)分隔。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源归属的地域ID。多个地域ID之间用半角逗号(,)分隔。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'StartUpdateTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '资源时间范围查询的开始时间,采用标准UTC时间戳。取值限制:'."\n"
- .'- 必须是毫秒时间戳。'."\n"
- .'- 不能大于EndUpdateTimestamp,且与EndUpdateTimestamp间隔范围小于等于30天。'."\n"
- .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1722441600000',
- ],
+ 'schema' => ['description' => '资源时间范围查询的开始时间,采用标准UTC时间戳。取值限制:'."\n"
+ .'- 必须是毫秒时间戳。'."\n"
+ .'- 不能大于EndUpdateTimestamp,且与EndUpdateTimestamp间隔范围小于等于30天。'."\n"
+ .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1722441600000'],
],
[
'name' => 'EndUpdateTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '资源时间范围查询的截止时间,采用标准UTC时间戳。取值限制:'."\n"
- .'- 必须是毫秒时间戳。'."\n"
- .'- 不能小于StartUpdateTimestamp,且与StartUpdateTimestamp间隔范围小于等于30天。'."\n"
- .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1724947200000',
- ],
+ 'schema' => ['description' => '资源时间范围查询的截止时间,采用标准UTC时间戳。取值限制:'."\n"
+ .'- 必须是毫秒时间戳。'."\n"
+ .'- 不能小于StartUpdateTimestamp,且与StartUpdateTimestamp间隔范围小于等于30天。'."\n"
+ .'- StartUpdateTimestamp与EndUpdateTimestamp必须同时填写或同时不填写。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724947200000'],
],
[
'name' => 'ExcludeResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface',
- ],
+ 'schema' => ['description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'],
],
],
'responses' => [
@@ -25630,158 +14994,51 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '161259599160****',
- ],
- 'AvailabilityZone' => [
- 'description' => '可用区。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-h',
- ],
- 'Region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceCreationTime' => [
- 'description' => '资源创建时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1618675206000',
- ],
- 'ResourceDeleted' => [
- 'description' => '资源状态。取值:'."\n"
- .'- 0:已删除。'."\n"
- .'- 1:保有中。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'eni-hp31cqoba96jagtz****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'Cloud Firewall',
- ],
- 'ResourceStatus' => [
- 'description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
- .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
- .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。',
- 'type' => 'string',
- 'example' => 'InUse',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
- 'Tags' => [
- 'description' => '资源标签。',
- 'type' => 'string',
- 'example' => '{\\"key1\\":[\\"value2\\"]}',
- ],
- 'UpdateTime' => [
- 'description' => '资源的最近一次更新时间,毫秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1722441600000',
- ],
- 'Version' => [
- 'description' => '资源变更的版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'VpcId' => [
- 'title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpc-t4nhheyvay74fp7n0hxxx',
- ],
- 'VSwitchId' => [
- 'title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx',
- ],
- 'ResourceGroupId' => [
- 'title' => '资源所属的资源组ID,例如:rg-acfmvoh45rhxxxx',
- 'description' => '资源所属的资源组ID,例如:rg-acfmvoh45rhxxxx',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-acfmvoh45rhxxxx',
- ],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '161259599160****'],
+ 'AvailabilityZone' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'],
+ 'Region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceCreationTime' => ['description' => '资源创建时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1618675206000'],
+ 'ResourceDeleted' => ['description' => '资源状态。取值:'."\n"
+ .'- 0:已删除。'."\n"
+ .'- 1:保有中。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'eni-hp31cqoba96jagtz****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'Cloud Firewall'],
+ 'ResourceStatus' => ['description' => '资源状态。资源的状态取决于各云服务对其的定义,该参数可能为空。例如:'."\n"
+ .'- 当资源类型为ACS::ECS::Instance时,由于ECS实例有状态,因此该参数为Running或Stopped。'."\n"
+ .'- 当资源类型为ACS::OSS::Bucket时,由于OSS Bucket无状态,因此该参数为空。', 'type' => 'string', 'example' => 'InUse'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface'],
+ 'Tags' => ['description' => '资源标签。', 'type' => 'string', 'example' => '{\\"key1\\":[\\"value2\\"]}'],
+ 'UpdateTime' => ['description' => '资源的最近一次更新时间,毫秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1722441600000'],
+ 'Version' => ['description' => '资源变更的版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'VpcId' => ['title' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'description' => '所属的 vpc ID,格式:vpc-t4nhheyvay74fp7n0hxxx,无所属VPC时返回空字符串: ""', 'type' => 'string', 'required' => true, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'],
+ 'VSwitchId' => ['title' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'description' => '所属的 vSwitch ID,格式:vsw-t4n7pokxxxxxxxxxxxxxx,多值时逗号分隔,如 vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx,无所属VSWITCH时返回为空字符串:""', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'],
+ 'ResourceGroupId' => ['title' => '资源所属的资源组ID,例如:rg-acfmvoh45rhxxxx', 'description' => '资源所属的资源组ID,例如:rg-acfmvoh45rhxxxx', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmvoh45rhxxxx'],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'TotalCount' => [
- 'description' => '资源总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'TotalCount' => ['description' => '资源总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1618675206000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"eni-hp31cqoba96jagtz****\\",\\n \\"ResourceName\\": \\"Cloud Firewall\\",\\n \\"ResourceStatus\\": \\"InUse\\",\\n \\"ResourceType\\": \\"ACS::ECS::NetworkInterface\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"]}\\",\\n \\"UpdateTime\\": 1722441600000,\\n \\"Version\\": 1,\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\",\\n \\"ResourceGroupId\\": \\"rg-acfmvoh45rhxxxx\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"TotalCount\\": 8\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","errorExample":""},{"type":"xml","example":"<ListDiscoveredResourcesResponse>\\n <DiscoveredResourceProfiles>\\n <DiscoveredResourceProfileList>\\n <ResourceType>ACS::ECS::NetworkInterface</ResourceType>\\n <Region>cn-hangzhou</Region>\\n <ResourceCreationTime>1618675206000</ResourceCreationTime>\\n <Tags>{\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}</Tags>\\n <ResourceId>eni-hp31cqoba96jagtz****</ResourceId>\\n <ResourceName>Cloud Firewall</ResourceName>\\n <ResourceDeleted>1</ResourceDeleted>\\n <ResourceStatus>InUse</ResourceStatus>\\n <AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n </DiscoveredResourceProfileList>\\n <NextToken>161259599160****</NextToken>\\n <MaxResults>10</MaxResults>\\n <TotalCount>8</TotalCount>\\n </DiscoveredResourceProfiles>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n</ListDiscoveredResourcesResponse>","errorExample":""}]',
'title' => '获取资源列表信息',
'description' => '### 使用限制'."\n"
@@ -25793,12 +15050,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '4000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListDiscoveredResources',
- ],
+ ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListDiscoveredResources'],
],
],
'ramActions' => [
@@ -25809,26 +15061,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListIntegratedService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25840,9 +15081,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -25851,11 +15090,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9'],
'Data' => [
'title' => 'data',
'description' => '可集成服务信息。',
@@ -25864,48 +15099,25 @@
'description' => '可集成服务信息。',
'type' => 'object',
'properties' => [
- 'ServiceName' => [
- 'title' => '云产品名称',
- 'description' => '可集成服务名称。',
- 'type' => 'string',
- 'example' => '云监控',
- ],
- 'ServiceCode' => [
- 'title' => '云产品code',
- 'description' => '可集成云服务标识。取值:'."\n"
- ."\n"
- .'- eventbridge:事件总线。'."\n"
- ."\n"
- .'- cms:云监控。'."\n"
- ."\n"
- .'- bpstudio:云速搭。',
- 'type' => 'string',
- 'example' => 'cms',
- ],
- 'Status' => [
- 'title' => '集成状态',
- 'description' => '云服务的集成状态。取值:'."\n"
- ."\n"
- .'- true:已集成。'."\n"
- ."\n"
- .'- false:未集成。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'IntegratedTypes' => [
- 'description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'example' => 'NonCompliantNotification',
- ],
- 'AggregatorDeliveryDataType' => [
- 'description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'example' => 'NonCompliantNotification',
- ],
+ 'ServiceName' => ['title' => '云产品名称', 'description' => '可集成服务名称。', 'type' => 'string', 'example' => '云监控'],
+ 'ServiceCode' => ['title' => '云产品code', 'description' => '可集成云服务标识。取值:'."\n"
+ ."\n"
+ .'- eventbridge:事件总线。'."\n"
+ ."\n"
+ .'- cms:云监控。'."\n"
+ ."\n"
+ .'- bpstudio:云速搭。', 'type' => 'string', 'example' => 'cms'],
+ 'Status' => ['title' => '集成状态', 'description' => '云服务的集成状态。取值:'."\n"
+ ."\n"
+ .'- true:已集成。'."\n"
+ ."\n"
+ .'- false:未集成。', 'type' => 'boolean', 'example' => 'true'],
+ 'IntegratedTypes' => ['description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'example' => 'NonCompliantNotification'],
+ 'AggregatorDeliveryDataType' => ['description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'example' => 'NonCompliantNotification'],
],
],
],
@@ -25916,11 +15128,7 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'title' => '查询集成服务列表及其状态',
@@ -25928,12 +15136,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListIntegratedService',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegratedService'],
],
],
'ramActions' => [
@@ -25944,12 +15147,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -25957,14 +15155,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DB52A5-0C25-505A-96D5-9BAE1EFA00B9\\",\\n \\"Data\\": [\\n {\\n \\"ServiceName\\": \\"云监控\\",\\n \\"ServiceCode\\": \\"cms\\",\\n \\"Status\\": true,\\n \\"IntegratedTypes\\": \\"NonCompliantNotification\\",\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListManagedRules' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25976,79 +15168,42 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigIPWFR3',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigIPWFR3'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '规则模板关键字。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'CDN',
- ],
+ 'schema' => ['description' => '规则模板关键字。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'CDN'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'取值范围:1~100。起始值:1。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '300',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'取值范围:1~100。起始值:1。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '300', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '规则模板的风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '规则模板的风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ResourceTypes',
'in' => 'query',
- 'schema' => [
- 'description' => '规则评估的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'FilterType',
@@ -26062,10 +15217,7 @@
.'- ALL 全部'."\n"
.'- UNCOVERED_RESOURCE 筛选有资源未覆盖的托管规则',
'default' => 'ALL',
- 'enum' => [
- 'ALL',
- 'UNCOVERED_RESOURCE',
- ],
+ 'enum' => ['ALL', 'UNCOVERED_RESOURCE'],
],
],
],
@@ -26075,35 +15227,16 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B3E605AB-63D5-1EE0-BFA6-0BAC247B0461',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B3E605AB-63D5-1EE0-BFA6-0BAC247B0461'],
'ManagedRules' => [
'description' => '规则模板。',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数。取值范围:1~500。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageNumber' => [
- 'description' => '规则模板列表的页码。'."\n"
- ."\n"
- .'起始值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '规则模板总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '21',
- ],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数。取值范围:1~500。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageNumber' => ['description' => '规则模板列表的页码。'."\n"
+ ."\n"
+ .'起始值:1。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'TotalCount' => ['description' => '规则模板总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '21'],
'ManagedRuleList' => [
'description' => '规则模板详情列表。',
'type' => 'array',
@@ -26111,44 +15244,19 @@
'description' => '规则模板列表。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '规则模板描述。',
- 'type' => 'string',
- 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '规则模板描述。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。'],
'Labels' => [
'description' => '规则模板分类信息列表。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板分类信息。',
- 'type' => 'string',
- 'example' => 'CDN',
- ],
- ],
- 'Identifier' => [
- 'description' => '规则模板唯一标识。',
- 'type' => 'string',
- 'example' => 'cdn-domain-https-enabled',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则模板名称。',
- 'type' => 'string',
- 'example' => 'CDN域名开启HTTPS加密',
- ],
- 'HelpUrls' => [
- 'description' => '规则模板修正指导的文档链接。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com',
+ 'items' => ['description' => '规则模板分类信息。', 'type' => 'string', 'example' => 'CDN'],
],
+ 'Identifier' => ['description' => '规则模板唯一标识。', 'type' => 'string', 'example' => 'cdn-domain-https-enabled'],
+ 'ConfigRuleName' => ['description' => '规则模板名称。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS加密'],
+ 'HelpUrls' => ['description' => '规则模板修正指导的文档链接。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com'],
'Scope' => [
'description' => '规则模板的评估范围。',
'type' => 'object',
@@ -26156,32 +15264,16 @@
'ComplianceResourceTypes' => [
'description' => '规则模板评估的资源类型范围。',
'type' => 'array',
- 'items' => [
- 'description' => '规则模板评估的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::CDN::Domain',
- ],
+ 'items' => ['description' => '规则模板评估的资源类型。', 'type' => 'string', 'example' => 'ACS::CDN::Domain'],
],
],
],
- 'SupportPreviewManagedRule' => [
- 'description' => '规则是否支持预检。取值:'."\n"
- ."\n"
- .'- true:支持。'."\n"
- .'- false:不支持。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RemediationTemplateIdentifier' => [
- 'description' => '支持的修正模板标识。',
- 'type' => 'string',
- 'example' => 'ACS-CDN-SetDomainServerCertificate',
- ],
- 'RemediationTemplateName' => [
- 'description' => '支持的修正模板名称。',
- 'type' => 'string',
- 'example' => '开启CDN域名HTTPS监听',
- ],
+ 'SupportPreviewManagedRule' => ['description' => '规则是否支持预检。取值:'."\n"
+ ."\n"
+ .'- true:支持。'."\n"
+ .'- false:不支持。', 'type' => 'boolean', 'example' => 'true'],
+ 'RemediationTemplateIdentifier' => ['description' => '支持的修正模板标识。', 'type' => 'string', 'example' => 'ACS-CDN-SetDomainServerCertificate'],
+ 'RemediationTemplateName' => ['description' => '支持的修正模板名称。', 'type' => 'string', 'example' => '开启CDN域名HTTPS监听'],
],
],
],
@@ -26193,18 +15285,10 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询规则模板列表',
@@ -26218,12 +15302,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListManagedRules',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListManagedRules'],
],
],
'ramActions' => [
@@ -26234,12 +15313,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -26248,13 +15322,8 @@
],
'ListPreManagedRules' => [
'summary' => '查询配置审计支持的预检规则列表。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26266,37 +15335,23 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigIPWFR3',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigIPWFR3'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'formData',
- 'schema' => [
- 'description' => '页码。'."\n"
- ."\n"
- .'起始值:1。默认值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页码。'."\n"
+ ."\n"
+ .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
- 'schema' => [
- 'description' => '分页时每页显示的数据行数。'."\n"
- ."\n"
- .'默认值:10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页时每页显示的数据行数。'."\n"
+ ."\n"
+ .'默认值:10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'ResourceTypes',
@@ -26305,12 +15360,7 @@
'schema' => [
'description' => '资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'required' => false,
],
],
@@ -26322,12 +15372,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A2A9F1BE-0712-1B26-9899-D82F7DA8476C',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A2A9F1BE-0712-1B26-9899-D82F7DA8476C'],
'ManagedRules' => [
'description' => '预检规则列表。',
'type' => 'array',
@@ -26335,56 +15380,18 @@
'description' => '预检规则。',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'example' => 'ECS实例开启释放保护,视为“合规”。',
- ],
- 'OptionalInputParameterDetails' => [
- 'description' => '规则可选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'Identifier' => [
- 'description' => '规则标识。',
- 'type' => 'string',
- 'example' => 'ecs-instance-deletion-protection-enabled',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'ECS实例开启释放保护',
- ],
- 'HelpUrls' => [
- 'description' => '预检规则修正指导的文档链接。',
- 'type' => 'string',
- 'example' => 'https://example.aliyundoc.com',
- ],
- 'CompulsoryInputParameterDetails' => [
- 'description' => '规则必选参数详情。',
- 'type' => 'object',
- 'example' => '{}',
- ],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'ECS实例开启释放保护,视为“合规”。'],
+ 'OptionalInputParameterDetails' => ['description' => '规则可选参数详情。', 'type' => 'object', 'example' => '{}'],
+ 'Identifier' => ['description' => '规则标识。', 'type' => 'string', 'example' => 'ecs-instance-deletion-protection-enabled'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'ECS实例开启释放保护'],
+ 'HelpUrls' => ['description' => '预检规则修正指导的文档链接。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com'],
+ 'CompulsoryInputParameterDetails' => ['description' => '规则必选参数详情。', 'type' => 'object', 'example' => '{}'],
],
],
],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页时每页显示的数据行数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
@@ -26397,25 +15404,15 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListPreManagedRules',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPreManagedRules'],
],
],
'ramActions' => [],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A2A9F1BE-0712-1B26-9899-D82F7DA8476C\\",\\n \\"ManagedRules\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Description\\": \\"ECS实例开启释放保护,视为“合规”。\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"Identifier\\": \\"ecs-instance-deletion-protection-enabled\\",\\n \\"ConfigRuleName\\": \\"ECS实例开启释放保护\\",\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\",\\n \\"CompulsoryInputParameterDetails\\": {}\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1\\n}","errorExample":""},{"type":"xml","example":"<ListPreManagedRulesResponse>\\n <RequestId>A2A9F1BE-0712-1B26-9899-D82F7DA8476C</RequestId>\\n <ManagedRules>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <Description>ECS实例开启释放保护,视为“合规”。</Description>\\n <Identifier>ecs-instance-deletion-protection-enabled</Identifier>\\n <ConfigRuleName>ECS实例开启释放保护</ConfigRuleName>\\n <HelpUrls>https://example.aliyundoc.com</HelpUrls>\\n </ManagedRules>\\n <PageNumber>1</PageNumber>\\n <PageSize>1</PageSize>\\n</ListPreManagedRulesResponse>","errorExample":""}]',
],
'ListRecommendManagedRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -26427,9 +15424,7 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -26437,97 +15432,49 @@
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '标记当前开始读取的位置,置空表示从头开始',
- 'description' => '标记当前开始读取的位置,置空表示从头开始。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['title' => '标记当前开始读取的位置,置空表示从头开始', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '本次读取的最大数据记录数量',
- 'description' => '本次读取的最大数据记录数量。默认值:200。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '200',
- ],
+ 'schema' => ['title' => '本次读取的最大数据记录数量', 'description' => '本次读取的最大数据记录数量。默认值:200。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'],
],
[
'name' => 'RegionIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID范围。多个地域ID用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID范围。多个地域ID用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '23642660635687****',
- ],
+ 'schema' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n", 'type' => 'string', 'required' => false, 'example' => '23642660635687****'],
],
[
'name' => 'SelectedManagedRuleIdentifiers',
'in' => 'query',
- 'schema' => [
- 'description' => '已选择过的托管规则,多个规则用半角逗号分隔。'."\n"
- .'不会推荐已选择托管规则对应资源类型的相关托管规则。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ram-user-last-login-expired-check',
- ],
+ 'schema' => ['description' => '已选择过的托管规则,多个规则用半角逗号分隔。'."\n"
+ .'不会推荐已选择托管规则对应资源类型的相关托管规则。', 'type' => 'string', 'required' => false, 'example' => 'ram-user-last-login-expired-check'],
],
],
'responses' => [
@@ -26537,61 +15484,26 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****'],
'RecommendedManagedRules' => [
'description' => '规则列表',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。'."\n"
- ."\n"
- .'> 如果为空,则说明无下一页。',
- 'type' => 'string',
- 'example' => 'zXZXbg4Mra0kOrhpwl21****',
- ],
- 'MaxResults' => [
- 'description' => '本次请求返回结果的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'TotalCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '39',
- ],
+ 'NextToken' => ['description' => '下一个查询开始的Token。'."\n"
+ ."\n"
+ .'> 如果为空,则说明无下一页。', 'type' => 'string', 'example' => 'zXZXbg4Mra0kOrhpwl21****'],
+ 'MaxResults' => ['description' => '本次请求返回结果的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'TotalCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '39'],
'RecommendedManagedRuleList' => [
'description' => '托管规则列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceTypeScope' => [
- 'description' => '资源类型',
- 'type' => 'string',
- 'example' => 'ACS::OSS::Bucket',
- ],
- 'Identifier' => [
- 'description' => '规则标识。',
- 'type' => 'string',
- 'example' => 'oss-bucket-referer-limit',
- ],
- 'Description' => [
- 'description' => '托管规则的描述信息。',
- 'type' => 'string',
- 'example' => 'If the hotlink protection feature is enabled for the OSS bucket and the Referer is added to a specified whitelist, the configuration is considered compliant.',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'example' => 'oss-bucket-referer-limit',
- ],
+ 'ResourceTypeScope' => ['description' => '资源类型', 'type' => 'string', 'example' => 'ACS::OSS::Bucket'],
+ 'Identifier' => ['description' => '规则标识。', 'type' => 'string', 'example' => 'oss-bucket-referer-limit'],
+ 'Description' => ['description' => '托管规则的描述信息。', 'type' => 'string', 'example' => 'If the hotlink protection feature is enabled for the OSS bucket and the Referer is added to a specified whitelist, the configuration is considered compliant.'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'oss-bucket-referer-limit'],
],
'description' => '',
],
@@ -26604,16 +15516,10 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '列出推荐的托管规则',
'summary' => '本接口用于获取推荐的托管规则列表。',
'changeSet' => [],
@@ -26628,12 +15534,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -26643,14 +15544,8 @@
],
'ListRemediationExecutions' => [
'summary' => '查看指定规则的修正执行记录。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26658,60 +15553,31 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cr-5392626622af0000****',
- ],
+ 'schema' => ['description' => '规则ID。', 'type' => 'string', 'required' => true, 'example' => 'cr-5392626622af0000****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aVCjqNaSy0Ps7zSMGu25****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'aVCjqNaSy0Ps7zSMGu25****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:10~100。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '10',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:10~100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'],
],
[
'name' => 'ExecutionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '修正执行状态,取值:'."\n"
- ."\n"
- .'- Success:成功'."\n"
- ."\n"
- .'- Failed:失败',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Success',
- ],
+ 'schema' => ['description' => '修正执行状态,取值:'."\n"
+ ."\n"
+ .'- Success:成功'."\n"
+ ."\n"
+ .'- Failed:失败', 'type' => 'string', 'required' => false, 'example' => 'Success'],
],
],
'responses' => [
@@ -26719,11 +15585,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11'],
'RemediationExecutionData' => [
'description' => '修正执行记录结果。',
'type' => 'object',
@@ -26734,58 +15596,21 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ExecutionInvocationId' => [
- 'description' => '修正执行记录调用ID。',
- 'type' => 'string',
- 'example' => 'exec-befded3781994ccf****',
- ],
- 'ExecutionStatus' => [
- 'description' => '修正执行记录状态,取值:'."\n"
- ."\n"
- .'- Success:成功。'."\n"
- ."\n"
- .'- Failed:失败。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'ExecutionResourceType' => [
- 'description' => '修正资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::RDS::DBInstance',
- ],
- 'ExecutionCreateDate' => [
- 'description' => '修正执行记录创建时间。',
- 'type' => 'string',
- 'example' => '2023-06-25T11:48:15Z',
- ],
- 'ExecutionStatusMessage' => [
- 'description' => '修正执行失败的错误信息。',
- 'type' => 'string',
- 'example' => 'Invocation time out.',
- ],
- 'ExecutionResourceIds' => [
- 'description' => '修正的资源ID,多个资源ID用半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'rm-0jlk629z240l8****',
- ],
+ 'ExecutionInvocationId' => ['description' => '修正执行记录调用ID。', 'type' => 'string', 'example' => 'exec-befded3781994ccf****'],
+ 'ExecutionStatus' => ['description' => '修正执行记录状态,取值:'."\n"
+ ."\n"
+ .'- Success:成功。'."\n"
+ ."\n"
+ .'- Failed:失败。', 'type' => 'string', 'example' => 'Success'],
+ 'ExecutionResourceType' => ['description' => '修正资源类型。', 'type' => 'string', 'example' => 'ACS::RDS::DBInstance'],
+ 'ExecutionCreateDate' => ['description' => '修正执行记录创建时间。', 'type' => 'string', 'example' => '2023-06-25T11:48:15Z'],
+ 'ExecutionStatusMessage' => ['description' => '修正执行失败的错误信息。', 'type' => 'string', 'example' => 'Invocation time out.'],
+ 'ExecutionResourceIds' => ['description' => '修正的资源ID,多个资源ID用半角逗号(,)分隔。', 'type' => 'string', 'example' => 'rm-0jlk629z240l8****'],
],
],
],
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'cMbjqNaYs0Ps7zSNiu37****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '10',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'cMbjqNaYs0Ps7zSNiu37****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int64', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'],
],
],
],
@@ -26794,23 +15619,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13E67493-3165-529A-A961-BE9E4B11BA11\\",\\n \\"RemediationExecutionData\\": {\\n \\"RemediationExecutions\\": [\\n {\\n \\"ExecutionInvocationId\\": \\"exec-befded3781994ccf****\\",\\n \\"ExecutionStatus\\": \\"Success\\",\\n \\"ExecutionResourceType\\": \\"ACS::RDS::DBInstance\\",\\n \\"ExecutionCreateDate\\": \\"2023-06-25T11:48:15Z\\",\\n \\"ExecutionStatusMessage\\": \\"Invocation time out.\\",\\n \\"ExecutionResourceIds\\": \\"rm-0jlk629z240l8****\\"\\n }\\n ],\\n \\"NextToken\\": \\"cMbjqNaYs0Ps7zSNiu37****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]',
'title' => '查看规则修正执行记录',
'description' => '本文将提供一个示例,查看规则cr-5392626622af0000****的修正执行记录列表。',
@@ -26823,12 +15638,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -26837,14 +15647,8 @@
],
'ListRemediationTemplates' => [
'summary' => '获取修正模板列表信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26856,62 +15660,34 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6I2PFO',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6I2PFO'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'RemediationType',
'in' => 'query',
- 'schema' => [
- 'description' => '修正类型。仅支持OOS(运维编排)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'OOS',
- ],
+ 'schema' => ['description' => '修正类型。仅支持OOS(运维编排)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OOS'],
],
[
'name' => 'ManagedRuleIdentifier',
'in' => 'query',
'allowEmptyValue' => true,
- 'schema' => [
- 'description' => '规则模板标识。'."\n"
- ."\n"
- .'关于如何获取规则模板标识,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'oss-bucket-public-write-prohibited',
- ],
+ 'schema' => ['description' => '规则模板标识。'."\n"
+ ."\n"
+ .'关于如何获取规则模板标识,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'oss-bucket-public-write-prohibited'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '修正模板列表的页码。起始值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '修正模板列表的页码。起始值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数。'."\n"
- ."\n"
- .'取值范围:1~100,默认值:20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数。'."\n"
+ ."\n"
+ .'取值范围:1~100,默认值:20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'default' => '20'],
],
],
'responses' => [
@@ -26920,11 +15696,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'FC2C4750-7024-499C-A69F-763543D1CBE3',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FC2C4750-7024-499C-A69F-763543D1CBE3'],
'RemediationTemplates' => [
'description' => '修正模板列表。',
'type' => 'array',
@@ -26932,69 +15704,27 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RemediationType' => [
- 'description' => '修正类型。仅支持OOS(运维编排)。',
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'TemplateIdentifier' => [
- 'description' => '修正模板ID。',
- 'type' => 'string',
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
- 'TemplateName' => [
- 'description' => '修正模板名称。',
- 'type' => 'string',
- 'example' => '设置OSS Bucket的访问权限为私有。',
- ],
- 'TemplateDefinition' => [
- 'description' => '修正模板定义。',
- 'type' => 'string',
- 'example' => '{ "Parameters": { "bucketName": { "Default": "{resourceId}", "Description": { "zh-cn": "[Required]OSS Bucket名称。", "en": "[Required]OSS Bucket名称。" }, "Type": "String" }, "regionId": { "AssociationProperty": "RegionId", "Default": "{regionId}", "Description": { "zh-cn": "[Required]The id of target region.", "en": "[Required]The id of target region." }, "Type": "String" }, "permissionName": { "AllowValues": "[\\"public-read-write\\",\\"public-read\\",\\"private\\"]", "Default": "private", "Description": { "zh-cn": "[Required]ACL权限名称。", "en": "[Required]ACL权限名称。" }, "Type": "String" } } }',
- ],
- 'TemplateDescription' => [
- 'description' => '修正模板描述。',
- 'type' => 'string',
- 'example' => '通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。',
- ],
+ 'RemediationType' => ['description' => '修正类型。仅支持OOS(运维编排)。', 'type' => 'string', 'example' => 'OOS'],
+ 'TemplateIdentifier' => ['description' => '修正模板ID。', 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'],
+ 'TemplateName' => ['description' => '修正模板名称。', 'type' => 'string', 'example' => '设置OSS Bucket的访问权限为私有。'],
+ 'TemplateDefinition' => ['description' => '修正模板定义。', 'type' => 'string', 'example' => '{ "Parameters": { "bucketName": { "Default": "{resourceId}", "Description": { "zh-cn": "[Required]OSS Bucket名称。", "en": "[Required]OSS Bucket名称。" }, "Type": "String" }, "regionId": { "AssociationProperty": "RegionId", "Default": "{regionId}", "Description": { "zh-cn": "[Required]The id of target region.", "en": "[Required]The id of target region." }, "Type": "String" }, "permissionName": { "AllowValues": "[\\"public-read-write\\",\\"public-read\\",\\"private\\"]", "Default": "private", "Description": { "zh-cn": "[Required]ACL权限名称。", "en": "[Required]ACL权限名称。" }, "Type": "String" } } }'],
+ 'TemplateDescription' => ['description' => '修正模板描述。', 'type' => 'string', 'example' => '通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。'],
],
],
],
- 'PageNumber' => [
- 'description' => '修正模板列表的页码。起始值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '修正模板总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '修正模板列表的页码。起始值:1。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'TotalCount' => ['description' => '修正模板总数。', 'type' => 'string', 'example' => '1'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '获取修正模板列表',
@@ -27003,12 +15733,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListRemediationTemplates',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationTemplates'],
],
],
'ramActions' => [
@@ -27019,12 +15744,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -27033,14 +15753,8 @@
],
'ListRemediations' => [
'summary' => '获取修正列表信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27048,48 +15762,24 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'ConfigRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-6b7c626622af00b4****',
- ],
+ 'schema' => ['description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-6b7c626622af00b4****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '资源列表的页码。起始值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '资源列表的页码。起始值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数。取值范围:1~50。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数。取值范围:1~50。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
@@ -27098,11 +15788,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8'],
'Remediations' => [
'description' => '修正设置信息。',
'type' => 'array',
@@ -27110,121 +15796,50 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'LastSuccessfulInvocationType' => [
- 'description' => '修正最近一次执行成功的方式。取值:'."\n"
- ."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'RemediationTemplateId' => [
- 'description' => '修正模板ID。',
- 'type' => 'string',
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-6b7c626622af0026****',
- ],
- 'RemediationSourceType' => [
- 'description' => '执行修正的模板来源。取值:'."\n"
- ."\n"
- .'- ALIYUN:官网模板。'."\n"
- .'- CUSTOM:自定义模板。'."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'example' => 'ALIYUN',
- ],
- 'RemediationType' => [
- 'description' => '修正类型。取值:'."\n"
- ."\n"
- .'- OOS:运维编排(官方修正)。'."\n"
- ."\n"
- .'- FC:函数计算(自定义修正)。'."\n",
- 'type' => 'string',
- 'example' => 'OOS',
- ],
- 'LastSuccessfulInvocationId' => [
- 'description' => '修正最近一次执行成功的ID。',
- 'type' => 'string',
- 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****',
- ],
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'InvokeType' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'example' => 'AUTO_EXECUTION',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-6b7c626622af00b4****',
- ],
- 'LastSuccessfulInvocationTime' => [
- 'description' => '修正最近一次执行成功的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1625451393589',
- ],
- 'RemediationOriginParams' => [
- 'description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。',
- 'type' => 'string',
- 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}',
- ],
+ 'LastSuccessfulInvocationType' => ['description' => '修正最近一次执行成功的方式。取值:'."\n"
+ ."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'RemediationTemplateId' => ['description' => '修正模板ID。', 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-6b7c626622af0026****'],
+ 'RemediationSourceType' => ['description' => '执行修正的模板来源。取值:'."\n"
+ ."\n"
+ .'- ALIYUN:官网模板。'."\n"
+ .'- CUSTOM:自定义模板。'."\n"
+ .'- NONE:无。', 'type' => 'string', 'example' => 'ALIYUN'],
+ 'RemediationType' => ['description' => '修正类型。取值:'."\n"
+ ."\n"
+ .'- OOS:运维编排(官方修正)。'."\n"
+ ."\n"
+ .'- FC:函数计算(自定义修正)。'."\n", 'type' => 'string', 'example' => 'OOS'],
+ 'LastSuccessfulInvocationId' => ['description' => '修正最近一次执行成功的ID。', 'type' => 'string', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'InvokeType' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'example' => 'AUTO_EXECUTION'],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6b7c626622af00b4****'],
+ 'LastSuccessfulInvocationTime' => ['description' => '修正最近一次执行成功的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1625451393589'],
+ 'RemediationOriginParams' => ['description' => '修正设置参数的转换格式。仅用于转换OOS模板的参数。', 'type' => 'string', 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'],
],
],
],
- 'PageNumber' => [
- 'description' => '修正列表的页码。起始值:1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数。取值范围:1~50。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
- 'TotalCount' => [
- 'description' => '修正设置总数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'PageNumber' => ['description' => '修正列表的页码。起始值:1。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数。取值范围:1~50。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
+ 'TotalCount' => ['description' => '修正设置总数。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0146963A-20C0-4E75-B93A-7D622B5FD7C8\\",\\n \\"Remediations\\": [\\n {\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationId\\": \\"crr-6b7c626622af0026****\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-6b7c626622af00b4****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589,\\n \\"RemediationOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"<ListRemediationsResponse>\\n <RequestId>0146963A-20C0-4E75-B93A-7D622B5FD7C8</RequestId>\\n <Remediations>\\n <LastSuccessfulInvocationType>AUTO_EXECUTION</LastSuccessfulInvocationType>\\n <RemediationTemplateId>ACS-OSS-PutBucketAcl</RemediationTemplateId>\\n <RemediationDynamicParams>{\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"regionId\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"{regionId}\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"bucketName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"test-0521\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"permissionName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"private\\\\\\"}],\\\\\\"type\\\\\\":\\\\\\"OBJECT\\\\\\"}</RemediationDynamicParams>\\n <RemediationId>crr-6b7c626622af0026****</RemediationId>\\n <RemediationSourceType>ALIYUN</RemediationSourceType>\\n <RemediationType>OOS</RemediationType>\\n <LastSuccessfulInvocationId>bd7629fb-cac8-42fe-bcb1-e362c5a6****</LastSuccessfulInvocationId>\\n <InvokeType>AUTO_EXECUTION</InvokeType>\\n <ConfigRuleId>cr-6b7c626622af00b4****</ConfigRuleId>\\n <LastSuccessfulInvocationTime>1625451393589</LastSuccessfulInvocationTime>\\n <RemediationOriginParams>{\\"properties\\":[{\\"name\\":\\"regionId\\",\\"type\\":\\"STRING\\",\\"value\\":\\"{regionId}\\",\\"allowedValues\\":[],\\"description\\":\\"[Required]地域ID。\\"},{\\"name\\":\\"tags\\",\\"type\\":\\"OBJECT\\",\\"value\\":\\"{\\\\\\"Color\\\\\\":\\\\\\"grey\\\\\\"}\\",\\"allowedValues\\":[],\\"description\\":\\"[Required]资源标签(例:{\\\\\\"k1\\\\\\":\\\\\\"v1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"v2\\\\\\"})。\\"},{\\"name\\":\\"resourceType\\",\\"type\\":\\"STRING\\",\\"value\\":\\"{resourceType}\\",\\"allowedValues\\":[],\\"description\\":\\"[Required]资源类型。\\"},{\\"name\\":\\"resourceIds\\",\\"type\\":\\"ARRAY\\",\\"value\\":\\"[\\\\\\"{resourceId}\\\\\\"]\\",\\"allowedValues\\":[],\\"description\\":\\"[Required]资源ID。\\"}]}</RemediationOriginParams>\\n </Remediations>\\n</ListRemediationsResponse>","errorExample":""}]',
@@ -27240,12 +15855,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -27253,13 +15863,8 @@
],
'ListReportTemplates' => [
'summary' => '批量获取合规报告模版详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -27271,47 +15876,26 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时,每次显示的条目数。默认20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分批次查询时,每次显示的条目数。默认20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '20'],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字。'."\n"
- ."\n"
- .'支持对模版ID、模版名称、模版描述进行模糊查询。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'test-description',
- ],
+ 'schema' => ['description' => '查询关键字。'."\n"
+ ."\n"
+ .'支持对模版ID、模版名称、模版描述进行模糊查询。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test-description'],
],
],
'responses' => [
@@ -27319,93 +15903,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
- ],
- 'TotalCount' => [
- 'description' => '模板总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'MaxResults' => [
- 'description' => '分页大小,取值范围:1~50,默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'aVCjqNaSy0Ps7zSMGu25****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'],
+ 'TotalCount' => ['description' => '模板总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'MaxResults' => ['description' => '分页大小,取值范围:1~50,默认值:20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'aVCjqNaSy0Ps7zSMGu25****'],
'ReportTemplateList' => [
'description' => '报告模版列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'ReportTemplateName' => [
- 'description' => '报告模版名称',
- 'type' => 'string',
- 'example' => 'test-name',
- ],
- 'ReportTemplateDescription' => [
- 'description' => '报告模版描述',
- 'type' => 'string',
- 'example' => 'test-description',
- ],
- 'ReportGranularity' => [
- 'description' => '报告聚合粒度。'."\n"
- ."\n"
- .'管理账号视角支持:'."\n"
- .'- AllInOne(模版范围所有账号聚合生成一份报告)'."\n"
- .'- GroupByAggregator(按照账号组聚合生成报告,生成一个压缩文件)'."\n"
- .'- GroupByAccount(所有账号单独生成报告(默认),生成一个压缩文件)'."\n"
- ."\n"
- .'成员账号只支持 GroupByAccount。',
- 'type' => 'string',
- 'example' => 'AllInOne',
- ],
- 'ReportFileFormats' => [
- 'description' => '报告格式,当前仅支持 excel 。',
- 'type' => 'string',
- 'example' => 'excel',
- ],
- 'ReportLanguage' => [
- 'description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。',
- 'type' => 'string',
- 'example' => 'en-US',
- ],
- 'SubscriptionFrequency' => [
- 'description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
- ."\n"
- .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
- .'- 每天0点执行:0 0 0 * * ?'."\n"
- .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
- .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
- ."\n"
- .'其中:'."\n"
- .'- "*"表示任意值'."\n"
- .'- ? 用于日和周字段,表示不指定具体值'."\n"
- .'- MON 表示星期一'."\n"
- ."\n"
- .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
- ."\n"
- .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
- ."\n"
- .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
- .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)',
- 'type' => 'string',
- 'example' => '0 0 13 * * ?',
- ],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'ReportTemplateName' => ['description' => '报告模版名称', 'type' => 'string', 'example' => 'test-name'],
+ 'ReportTemplateDescription' => ['description' => '报告模版描述', 'type' => 'string', 'example' => 'test-description'],
+ 'ReportGranularity' => ['description' => '报告聚合粒度。'."\n"
+ ."\n"
+ .'管理账号视角支持:'."\n"
+ .'- AllInOne(模版范围所有账号聚合生成一份报告)'."\n"
+ .'- GroupByAggregator(按照账号组聚合生成报告,生成一个压缩文件)'."\n"
+ .'- GroupByAccount(所有账号单独生成报告(默认),生成一个压缩文件)'."\n"
+ ."\n"
+ .'成员账号只支持 GroupByAccount。', 'type' => 'string', 'example' => 'AllInOne'],
+ 'ReportFileFormats' => ['description' => '报告格式,当前仅支持 excel 。', 'type' => 'string', 'example' => 'excel'],
+ 'ReportLanguage' => ['description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。', 'type' => 'string', 'example' => 'en-US'],
+ 'SubscriptionFrequency' => ['description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
+ ."\n"
+ .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
+ .'- 每天0点执行:0 0 0 * * ?'."\n"
+ .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
+ .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
+ ."\n"
+ .'其中:'."\n"
+ .'- "*"表示任意值'."\n"
+ .'- ? 用于日和周字段,表示不指定具体值'."\n"
+ .'- MON 表示星期一'."\n"
+ ."\n"
+ .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
+ ."\n"
+ .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
+ ."\n"
+ .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
+ .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)', 'type' => 'string', 'example' => '0 0 13 * * ?'],
'ReportScope' => [
'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n"
."\n"
@@ -27415,24 +15953,12 @@
'description' => '报告范围',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '报告范围的键,当前支持:'."\n"
- .'- AggregatorId'."\n"
- .'- CompliancePackId'."\n"
- .'- RuleId',
- 'type' => 'string',
- 'example' => 'RuleId',
- ],
- 'Value' => [
- 'description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。',
- 'type' => 'string',
- 'example' => 'cr-1,cr-2',
- ],
- 'MatchType' => [
- 'description' => '匹配逻辑,当前仅支持 In。',
- 'type' => 'string',
- 'example' => 'In',
- ],
+ 'Key' => ['description' => '报告范围的键,当前支持:'."\n"
+ .'- AggregatorId'."\n"
+ .'- CompliancePackId'."\n"
+ .'- RuleId', 'type' => 'string', 'example' => 'RuleId'],
+ 'Value' => ['description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。', 'type' => 'string', 'example' => 'cr-1,cr-2'],
+ 'MatchType' => ['description' => '匹配逻辑,当前仅支持 In。', 'type' => 'string', 'example' => 'In'],
],
],
],
@@ -27447,23 +15973,13 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ReportTemplateNotExist',
- 'errorMessage' => 'Report template does not exist or invalid.',
- 'description' => '报告模版不存在,请检查输入的ReportTemplateId',
- ],
+ ['errorCode' => 'ReportTemplateNotExist', 'errorMessage' => 'Report template does not exist or invalid.', 'description' => '报告模版不存在,请检查输入的ReportTemplateId'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '批量获取合规报告模版详情',
'changeSet' => [],
'flowControl' => [
@@ -27474,14 +15990,8 @@
],
'ListResourceEvaluationResults' => [
'summary' => '从资源维度查询规则对资源的评估结果。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27492,62 +16002,35 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigJVB3GZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS::RAM::User',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::RAM::User'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '23642660635396****',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '23642660635396****'],
],
[
'name' => 'RiskLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '规则的风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '规则的风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'example' => '1'],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'description' => '默认不传值。当前支持:`LastNonCompliantRecordTimestamp-Asc`,越早开始出现不合规的资源则排序越靠前。应配合设置`ComplianceType`字段为`NON_COMPLIANT`使用。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'LastNonCompliantRecordTimestamp-Asc',
- ],
+ 'schema' => ['description' => '默认不传值。当前支持:`LastNonCompliantRecordTimestamp-Asc`,越早开始出现不合规的资源则排序越靠前。应配合设置`ComplianceType`字段为`NON_COMPLIANT`使用。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'LastNonCompliantRecordTimestamp-Asc'],
],
[
'name' => 'ComplianceType',
@@ -27562,53 +16045,25 @@
'type' => 'string',
'required' => false,
'example' => 'NON_COMPLIANT',
- 'enum' => [
- 'COMPLIANT',
- '',
- 'NON_COMPLIANT',
- 'NOT_APPLICABLE',
- 'INSUFFICIENT_DATA',
- 'IGNORED',
- ],
+ 'enum' => ['COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源归属的地域ID,例如:`global`表示全球,`cn-hangzhou`表示华东1(杭州)。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'global',
- ],
+ 'schema' => ['description' => '资源归属的地域ID,例如:`global`表示全球,`cn-hangzhou`表示华东1(杭州)。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'global'],
],
],
'responses' => [
@@ -27617,27 +16072,14 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4'],
'EvaluationResults' => [
'description' => '资源评估结果。'."\n"
."\n",
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。'."\n",
- 'type' => 'string',
- 'example' => 'IWBjqMYSy0is7zSMGu16****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。'."\n", 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'EvaluationResultList' => [
'description' => '资源评估结果列表。'."\n"
."\n",
@@ -27646,148 +16088,69 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ComplianceType' => [
- 'description' => '合规评估结果。取值:'."\n"
- .'- COMPLIANT:合规。'."\n"
- .'- NON_COMPLIANT:不合规。'."\n"
- .'- NOT_APPLICABLE:不适用。'."\n"
- .'- INSUFFICIENT_DATA:无数据。'."\n"
- .'- IGNORED:已忽略。',
- 'type' => 'string',
- 'example' => 'NON_COMPLIANT',
- ],
- 'ResultRecordedTimestamp' => [
- 'description' => '产生资源评估结果的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227595',
- ],
- 'Annotation' => [
- 'description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
- ."\n"
- .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
- .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
- .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
- .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
- .'- `reason`:资源不合规原因。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}',
- ],
- 'ConfigRuleInvokedTimestamp' => [
- 'description' => '规则被触发执行评估的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227157',
- ],
- 'InvokingEventMessageType' => [
- 'description' => '规则触发机制。取值:'."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- .'- ScheduledNotification:周期执行。'."\n"
- .'- Manual:手动触发。',
- 'type' => 'string',
- 'example' => 'ScheduledNotification',
- ],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ComplianceType' => ['description' => '合规评估结果。取值:'."\n"
+ .'- COMPLIANT:合规。'."\n"
+ .'- NON_COMPLIANT:不合规。'."\n"
+ .'- NOT_APPLICABLE:不适用。'."\n"
+ .'- INSUFFICIENT_DATA:无数据。'."\n"
+ .'- IGNORED:已忽略。', 'type' => 'string', 'example' => 'NON_COMPLIANT'],
+ 'ResultRecordedTimestamp' => ['description' => '产生资源评估结果的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227595'],
+ 'Annotation' => ['description' => '不合规资源的补充信息。可能包含以下信息:'."\n"
+ ."\n"
+ .'- `configuration`:资源当前实际配置,即资源不合规配置。'."\n"
+ .'- `desiredValue`:资源期望配置,即资源合规配置。'."\n"
+ .'- `operator`:资源当前配置和期望配置之间的比较运算符。'."\n"
+ .'- `property`:当前配置在资源属性结构体中的JSON路径。'."\n"
+ .'- `reason`:资源不合规原因。'."\n"
+ ."\n", 'type' => 'string', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}'],
+ 'ConfigRuleInvokedTimestamp' => ['description' => '规则被触发执行评估的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227157'],
+ 'InvokingEventMessageType' => ['description' => '规则触发机制。取值:'."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ .'- ScheduledNotification:周期执行。'."\n"
+ .'- Manual:手动触发。', 'type' => 'string', 'example' => 'ScheduledNotification'],
'EvaluationResultIdentifier' => [
'description' => '资源评估结果标识符。'."\n"
."\n",
'type' => 'object',
'properties' => [
- 'OrderingTimestamp' => [
- 'description' => '时间轴展示的时间戳。单位:毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1624932227157',
- ],
+ 'OrderingTimestamp' => ['description' => '时间轴展示的时间戳。单位:毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227157'],
'EvaluationResultQualifier' => [
'description' => '资源评估结果中的资源信息。'."\n"
."\n",
'type' => 'object',
'properties' => [
- 'ConfigRuleArn' => [
- 'description' => '规则ARN。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n",
- 'type' => 'string',
- 'example' => 'ACS::RAM::User',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ram-user-mfa-check',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '23642660635396****',
- ],
- 'ConfigRuleId' => [
- 'description' => '规则ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cr-7f7d626622af0041****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Alice',
- ],
- 'RegionId' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'global',
- ],
- 'IgnoreDate' => [
- 'description' => '已忽略评估结果的自动恢复日期。'."\n"
- ."\n"
- .'> 为空表示不会自动恢复,需要您手动恢复。',
- 'type' => 'string',
- 'example' => '2022-06-01',
- ],
+ 'ConfigRuleArn' => ['description' => '规则ARN。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n", 'type' => 'string', 'example' => 'ACS::RAM::User'],
+ 'ConfigRuleName' => ['description' => '规则名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ram-user-mfa-check'],
+ 'ResourceId' => ['description' => '资源ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => '23642660635396****'],
+ 'ConfigRuleId' => ['description' => '规则ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cr-7f7d626622af0041****'],
+ 'ResourceName' => ['description' => '资源名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Alice'],
+ 'RegionId' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'global'],
+ 'IgnoreDate' => ['description' => '已忽略评估结果的自动恢复日期。'."\n"
+ ."\n"
+ .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'example' => '2022-06-01'],
],
],
],
],
- 'RemediationEnabled' => [
- 'description' => '是否启用修正设置。取值:'."\n"
- ."\n"
- .'- true:启用修正设置。'."\n"
- .'- false:不启用修正设置。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EvaluationId' => [
- 'title' => '评估结果的唯一ID',
- 'description' => '评估结果的唯一ID',
- 'type' => 'string',
- 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3',
- ],
- 'LastNonCompliantRecordTimestamp' => [
- 'title' => '最近一次不合规的起始时间',
- 'description' => '最近一次不合规的起始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1744696393000',
- ],
+ 'RemediationEnabled' => ['description' => '是否启用修正设置。取值:'."\n"
+ ."\n"
+ .'- true:启用修正设置。'."\n"
+ .'- false:不启用修正设置。', 'type' => 'boolean', 'example' => 'true'],
+ 'EvaluationId' => ['title' => '评估结果的唯一ID', 'description' => '评估结果的唯一ID', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'],
+ 'LastNonCompliantRecordTimestamp' => ['title' => '最近一次不合规的起始时间', 'description' => '最近一次不合规的起始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696393000'],
],
],
],
@@ -27799,30 +16162,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'CloudConfigServiceRoleNotExisted',
- 'errorMessage' => 'The CloudConfigServiceRole does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"25C89DDB-BB79-487D-88C3-4A561F21EFC4\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624932227595,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.LoginProfile.MFABindRequired\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624932227157,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624932227157,\\n \\"EvaluationResultQualifier\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ResourceType\\": \\"ACS::RAM::User\\",\\n \\"ConfigRuleName\\": \\"ram-user-mfa-check\\",\\n \\"ResourceId\\": \\"23642660635396****\\",\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ResourceName\\": \\"Alice\\",\\n \\"RegionId\\": \\"global\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\"\\n }\\n },\\n \\"RemediationEnabled\\": true,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696393000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateResourceEvaluationResultsResponse>\\n <code>200</code>\\n <data>\\n <RequestId>25C89DDB-BB79-487D-88C3-4A561F21EFC4</RequestId>\\n <EvaluationResults>\\n <EvaluationResultList>\\n <ConfigRuleInvokedTimestamp>1624932227157</ConfigRuleInvokedTimestamp>\\n <ComplianceType>NON_COMPLIANT</ComplianceType>\\n <ResultRecordedTimestamp>1624932227595</ResultRecordedTimestamp>\\n <InvokingEventMessageType>ScheduledNotification</InvokingEventMessageType>\\n <EvaluationResultIdentifier>\\n <EvaluationResultQualifier>\\n <ConfigRuleId>cr-7f7d626622af0041****</ConfigRuleId>\\n <ConfigRuleArn>acs:config::100931896542****:rule/cr-7f7d626622af0041****</ConfigRuleArn>\\n <ResourceId>23642660635396****</ResourceId>\\n <ResourceName>rd_member</ResourceName>\\n <ConfigRuleName>RAM用户开启MFA</ConfigRuleName>\\n <ResourceType>ACS::RAM::User</ResourceType>\\n <RegionId>global</RegionId>\\n </EvaluationResultQualifier>\\n <OrderingTimestamp>1624932227157</OrderingTimestamp>\\n </EvaluationResultIdentifier>\\n <RiskLevel>1</RiskLevel>\\n <RemediationEnabled>false</RemediationEnabled>\\n <Annotation>{\\\\\\"configuration\\\\\\":\\\\\\"false\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"True\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"StringEquals\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.LoginProfile.MFABindRequired\\\\\\"}</Annotation>\\n </EvaluationResultList>\\n <MaxResults>10</MaxResults>\\n </EvaluationResults>\\n </data>\\n <httpStatusCode>200</httpStatusCode>\\n <requestId>25C89DDB-BB79-487D-88C3-4A561F21EFC4</requestId>\\n</ListAggregateResourceEvaluationResultsResponse>","errorExample":""}]',
@@ -27831,12 +16178,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListResourceEvaluationResults',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceEvaluationResults'],
],
],
'ramActions' => [
@@ -27847,12 +16189,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -27860,14 +16197,8 @@
],
'ListResourceRelations' => [
'summary' => '查询指定资源的相关资源列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27875,83 +16206,42 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'i-j6cajg9yrfoh4sas****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '资源所在地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源所在地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'C2DjqMYSy0is7zSMGf21****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'C2DjqMYSy0is7zSMGf21****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。取值范围:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'TargetResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '关联资源的资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Disk',
- ],
+ 'schema' => ['description' => '关联资源的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk'],
],
[
'name' => 'TargetResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '关联资源的资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd-j6c8k731qbrc7fxi****',
- ],
+ 'schema' => ['description' => '关联资源的资源ID。', 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****'],
],
[
'name' => 'RelationType',
@@ -27960,12 +16250,7 @@
'description' => '资源关系类型。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'IsContained' => '包含在',
- 'IsAttachedTo' => '挂载到',
- 'IsAssociatedIn' => '关联到',
- 'Contains' => '包含',
- ],
+ 'enumValueTitles' => ['IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含'],
'example' => 'IsAttachedTo',
],
],
@@ -27975,11 +16260,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2'],
'ResourceRelations' => [
'description' => '资源关系结果。',
'type' => 'object',
@@ -27991,64 +16272,23 @@
'description' => '资源关系列表。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源拥有者的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100931896542****',
- ],
- 'SourceResourceType' => [
- 'description' => '当前资源的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'SourceResourceRegionId' => [
- 'description' => '当前资源的资源所属地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'SourceResourceId' => [
- 'description' => '当前资源的资源ID。',
- 'type' => 'string',
- 'example' => 'i-j6cajg9yrfoh4sas****',
- ],
- 'TargetResourceType' => [
- 'description' => '关联资源的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Disk',
- ],
- 'TargetResourceId' => [
- 'description' => '关联资源的资源ID。',
- 'type' => 'string',
- 'example' => 'd-j6c8k731qbrc7fxi****',
- ],
+ 'AccountId' => ['description' => '资源拥有者的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'],
+ 'SourceResourceType' => ['description' => '当前资源的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'SourceResourceRegionId' => ['description' => '当前资源的资源所属地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'SourceResourceId' => ['description' => '当前资源的资源ID。', 'type' => 'string', 'example' => 'i-j6cajg9yrfoh4sas****'],
+ 'TargetResourceType' => ['description' => '关联资源的资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Disk'],
+ 'TargetResourceId' => ['description' => '关联资源的资源ID。', 'type' => 'string', 'example' => 'd-j6c8k731qbrc7fxi****'],
'RelationType' => [
'description' => '资源关系类型。',
'type' => 'string',
- 'enumValueTitles' => [
- 'IsContained' => '包含在',
- 'IsAttachedTo' => '挂载到',
- 'IsAssociatedIn' => '关联到',
- 'Contains' => '包含',
- ],
+ 'enumValueTitles' => ['IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含'],
'example' => 'IsAttachedTo',
],
],
],
],
- 'NextToken' => [
- 'description' => '查询下一页使用的Token。',
- 'type' => 'string',
- 'example' => 'C2DjqMYSy0is7zSMGf21****',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'maximum' => '100',
- 'minimum' => '10',
- 'example' => '10',
- ],
+ 'NextToken' => ['description' => '查询下一页使用的Token。', 'type' => 'string', 'example' => 'C2DjqMYSy0is7zSMGf21****'],
+ 'MaxResults' => ['description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '10', 'example' => '10'],
],
],
],
@@ -28057,30 +16297,14 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2\\",\\n \\"ResourceRelations\\": {\\n \\"ResourceRelationList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"SourceResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"SourceResourceRegionId\\": \\"cn-shanghai\\",\\n \\"SourceResourceId\\": \\"i-j6cajg9yrfoh4sas****\\",\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"TargetResourceId\\": \\"d-j6c8k731qbrc7fxi****\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"NextToken\\": \\"C2DjqMYSy0is7zSMGf21****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]',
@@ -28097,12 +16321,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -28110,14 +16329,8 @@
],
'ListResourcesByAdvancedSearch' => [
'summary' => '通过SQL的Select语句根据资源属性中的字段精确搜索资源。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28129,21 +16342,14 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQ01U20',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQ01U20'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Sql',
'in' => 'query',
- 'schema' => [
- 'description' => 'SQL查询语句。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'',
- ],
+ 'schema' => ['description' => 'SQL查询语句。', 'type' => 'string', 'required' => true, 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\''],
],
],
'responses' => [
@@ -28151,11 +16357,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850'],
'QueryResults' => [
'description' => '查询结果。',
'type' => 'object',
@@ -28167,20 +16369,12 @@
'Columns' => [
'description' => '搜索返回的字段名称列表。',
'type' => 'array',
- 'items' => [
- 'description' => '搜索返回的字段名称。',
- 'type' => 'string',
- 'example' => '["ResourceId", "ResourceName"]',
- ],
+ 'items' => ['description' => '搜索返回的字段名称。', 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]'],
],
'Values' => [
'description' => '搜索返回的资源数据列表。',
'type' => 'array',
- 'items' => [
- 'description' => '搜索返回的资源数据。',
- 'type' => 'any',
- 'example' => '["eni-2ze5lq7xaluy5kb5****", "test-resource"]',
- ],
+ 'items' => ['description' => '搜索返回的资源数据。', 'type' => 'any', 'example' => '["eni-2ze5lq7xaluy5kb5****", "test-resource"]'],
],
],
],
@@ -28193,23 +16387,13 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '应用高级搜索查询资源列表',
'description' => '当您写SQL的`Select`语句时,需要从目标资源类型的属性文件中获取搜索字段及其类型。关于资源属性文件,请参见[alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema)。'."\n"
."\n"
@@ -28220,12 +16404,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListResourcesByAdvancedSearch',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourcesByAdvancedSearch'],
],
],
'ramActions' => [
@@ -28236,12 +16415,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -28251,13 +16425,8 @@
],
'ListSupportedProducts' => [
'summary' => '查询配置审计服务支持的云产品和资源类型列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -28269,37 +16438,21 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig8049ON',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig8049ON'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'D3AjqMNSy0ls7zBNCf3a****',
- ],
+ 'schema' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'D3AjqMNSy0ls7zBNCf3a****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '单次请求返回结果的最大条数。'."\n"
- ."\n"
- .'取值范围:1~500。默认值:200。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '200',
- 'default' => '200',
- ],
+ 'schema' => ['description' => '单次请求返回结果的最大条数。'."\n"
+ ."\n"
+ .'取值范围:1~500。默认值:200。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '200', 'default' => '200'],
],
],
'responses' => [
@@ -28314,64 +16467,28 @@
'description' => '支持的云产品信息。',
'type' => 'object',
'properties' => [
- 'ProductNameEn' => [
- 'description' => '云产品英文名称。',
- 'type' => 'string',
- 'example' => 'Elastic Compute Service',
- ],
+ 'ProductNameEn' => ['description' => '云产品英文名称。', 'type' => 'string', 'example' => 'Elastic Compute Service'],
'ResourceTypeList' => [
'description' => '支持的云产品资源类型列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型标识。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
- 'TypeNameEn' => [
- 'description' => '资源类型英文名称。',
- 'type' => 'string',
- 'example' => 'Ecs Instance',
- ],
- 'TypeNameZh' => [
- 'description' => '资源类型中文名称。',
- 'type' => 'string',
- 'example' => 'ECS实例',
- ],
- 'TypePageLink' => [
- 'description' => '资源类型控制台跳转链接。',
- 'type' => 'string',
- 'example' => 'https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}',
- ],
+ 'ResourceType' => ['description' => '资源类型标识。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
+ 'TypeNameEn' => ['description' => '资源类型英文名称。', 'type' => 'string', 'example' => 'Ecs Instance'],
+ 'TypeNameZh' => ['description' => '资源类型中文名称。', 'type' => 'string', 'example' => 'ECS实例'],
+ 'TypePageLink' => ['description' => '资源类型控制台跳转链接。', 'type' => 'string', 'example' => 'https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}'],
],
'description' => '',
],
],
- 'ProductNameZh' => [
- 'description' => '云产品中文名称。',
- 'type' => 'string',
- 'example' => '云服务器ECS',
- ],
+ 'ProductNameZh' => ['description' => '云产品中文名称。', 'type' => 'string', 'example' => '云服务器ECS'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '610B0276-ABEE-57DF-9C13-C2415FADA7D6',
- ],
- 'NextToken' => [
- 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。',
- 'type' => 'string',
- 'example' => 'D99AjqMNSy0ls7zBNCfcs****',
- ],
- 'MaxResults' => [
- 'description' => '单次请求返回结果的最大条数。取值范围:1~500。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '610B0276-ABEE-57DF-9C13-C2415FADA7D6'],
+ 'NextToken' => ['description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'D99AjqMNSy0ls7zBNCfcs****'],
+ 'MaxResults' => ['description' => '单次请求返回结果的最大条数。取值范围:1~500。', 'type' => 'string', 'example' => '200'],
],
'description' => '',
],
@@ -28379,11 +16496,7 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '查询配置审计支持的云产品列表',
@@ -28391,12 +16504,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListSupportedProducts',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSupportedProducts'],
],
],
'ramActions' => [],
@@ -28404,13 +16512,8 @@
],
'ListTagResources' => [
'summary' => '查询配置审计中资源绑定的标签。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28421,48 +16524,28 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigNPMEKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域',
- 'description' => '标签所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['title' => '地域', 'description' => '标签所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'NextToken',
'in' => 'formData',
- 'schema' => [
- 'title' => '下一个查询开始Token',
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****',
- ],
+ 'schema' => ['title' => '下一个查询开始Token', 'description' => '下一个查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '配置审计的资源类型。取值:'."\n"
- .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
- .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
- .'- `ACS::Config::Aggregator`:账号组。'."\n"
- .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
- .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::Config::Rule',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '配置审计的资源类型。取值:'."\n"
+ .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
+ .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
+ .'- `ACS::Config::Aggregator`:账号组。'."\n"
+ .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
+ .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'],
],
[
'name' => 'ResourceId',
@@ -28474,14 +16557,9 @@
."\n"
.'最多支持为50个资源绑定标签。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'最多支持为50个资源绑定标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-115b626622af0060****',
- ],
+ 'items' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'最多支持为50个资源绑定标签。', 'type' => 'string', 'required' => false, 'example' => 'cr-115b626622af0060****'],
'required' => false,
'maxItems' => 51,
],
@@ -28502,24 +16580,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Env',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'prod',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'Env'],
+ 'Value' => ['title' => '标签值', 'description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'prod'],
],
'required' => false,
],
@@ -28534,19 +16600,10 @@
'description' => '查询结果。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'title' => '下一个查询开始Token,NextToken为空说明没有下一个',
- 'description' => '下一个查询开始的Token。'."\n"
- ."\n"
- .'> 如果为空,则说明无下一页。',
- 'type' => 'string',
- 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551****',
- ],
+ 'NextToken' => ['title' => '下一个查询开始Token,NextToken为空说明没有下一个', 'description' => '下一个查询开始的Token。'."\n"
+ ."\n"
+ .'> 如果为空,则说明无下一页。', 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551****'],
'TagResources' => [
'type' => 'object',
'itemNode' => true,
@@ -28558,26 +16615,10 @@
'description' => '资源绑定的标签列表。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'Env',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'prod',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'cr-115b626622af0060****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::Config::Rule',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'Env'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'prod'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'cr-115b626622af0060****'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::Config::Rule'],
],
],
],
@@ -28592,12 +16633,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagResources',
- ],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
],
],
'ramActions' => [
@@ -28608,12 +16644,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -28622,12 +16653,8 @@
],
'PutEvaluations' => [
'summary' => '函数计算通过PutEvaluations接口将资源评估结果返回给配置审计。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -28635,49 +16662,29 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Evaluations',
'in' => 'formData',
- 'schema' => [
- 'description' => '评估结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"accountId":120886317861****,"annotation":"The flow log is not enabled.","complianceResourceId":"flowlog-o6wdfo1yvgo4i8****","complianceResourceType":"ACS::CEN::Flowlog","complianceRegionId":"cn-shanghai","complianceType":"NON_COMPLIANT","orderingTimestamp":1588907220408}]',
- ],
+ 'schema' => ['description' => '评估结果。', 'type' => 'string', 'required' => false, 'example' => '[{"accountId":120886317861****,"annotation":"The flow log is not enabled.","complianceResourceId":"flowlog-o6wdfo1yvgo4i8****","complianceResourceType":"ACS::CEN::Flowlog","complianceRegionId":"cn-shanghai","complianceType":"NON_COMPLIANT","orderingTimestamp":1588907220408}]'],
],
[
'name' => 'DeleteMode',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否启用删除模式。取值:'."\n"
- ."\n"
- .'- true:启用。'."\n"
- .'- false(默认值):不启用。'."\n"
- ."\n"
- .'> 仅当您手动触发或周期触发自定义函数规则评估资源时,该参数有效。如果启用删除模式,会自动删除本次评估期间未更新的评估结果。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否启用删除模式。取值:'."\n"
+ ."\n"
+ .'- true:启用。'."\n"
+ .'- false(默认值):不启用。'."\n"
+ ."\n"
+ .'> 仅当您手动触发或周期触发自定义函数规则评估资源时,该参数有效。如果启用删除模式,会自动删除本次评估期间未更新的评估结果。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ResultToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '回调令牌。当配置审计触发自定义函数计算规则评估时,会将令牌信息作为参数传递给函数计算,用于提交评估结果时输入回调令牌。'."\n"
- ."\n"
- .'> `ResultToken`从[函数入参](~~127405~~)中获取。关于如何从函数计算中获取函数入参,请参见[查看调用日志](~~73349~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '=lAUbfkWp7GL9AFoQEIStinqBMc4FC8sHvip/1F1npkWUDNS2GEm6xwL6Zl/fSr0bbkWY+aiCLjTJxnp4H/yp/8p/Q8VCAtqG5uhRii4sfnYRnTPnE****',
- ],
+ 'schema' => ['description' => '回调令牌。当配置审计触发自定义函数计算规则评估时,会将令牌信息作为参数传递给函数计算,用于提交评估结果时输入回调令牌。'."\n"
+ ."\n"
+ .'> `ResultToken`从[函数入参](~~127405~~)中获取。关于如何从函数计算中获取函数入参,请参见[查看调用日志](~~73349~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '=lAUbfkWp7GL9AFoQEIStinqBMc4FC8sHvip/1F1npkWUDNS2GEm6xwL6Zl/fSr0bbkWY+aiCLjTJxnp4H/yp/8p/Q8VCAtqG5uhRii4sfnYRnTPnE****'],
],
],
'responses' => [
@@ -28685,50 +16692,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EDB324E2-A202-5FE4-A9BC-31E2C34F78A4',
- ],
- 'Result' => [
- 'description' => '自定义函数规则评估结果的提交状态。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- fasle:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EDB324E2-A202-5FE4-A9BC-31E2C34F78A4'],
+ 'Result' => ['description' => '自定义函数规则评估结果的提交状态。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- fasle:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EDB324E2-A202-5FE4-A9BC-31E2C34F78A4\\",\\n \\"Result\\": true\\n}","type":"json"}]',
'title' => '提交自定义函数规则评估结果',
'description' => '### 前提条件'."\n"
@@ -28745,12 +16730,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -28759,13 +16739,8 @@
],
'RevertAggregateEvaluationResults' => [
'summary' => '恢复已忽略账号组内某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28773,20 +16748,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组规则ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7e72626622af0051****',
- ],
+ 'schema' => ['description' => '账号组规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'],
],
[
'name' => 'Resources',
@@ -28799,39 +16766,18 @@
'description' => '待恢复的资源列表。',
'type' => 'object',
'properties' => [
- 'ResourceAccountId' => [
- 'description' => '资源归属的阿里云账号ID。'."\n"
- ."\n"
- .'> 该账号只能是当前管理账号或当前管理账号中的成员账号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '120886317861****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::SLB::LoadBalancer',
- ],
- 'Region' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-hp3a3b4ztyfm2plgm****',
- ],
+ 'ResourceAccountId' => ['description' => '资源归属的阿里云账号ID。'."\n"
+ ."\n"
+ .'> 该账号只能是当前管理账号或当前管理账号中的成员账号。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '120886317861****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'],
+ 'Region' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ResourceId' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListAggregateDiscoveredResources](~~265983~~)。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'],
],
'required' => false,
],
@@ -28841,14 +16787,9 @@
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-5b6c626622af008f****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-5b6c626622af008f****'],
],
],
'responses' => [
@@ -28856,34 +16797,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BB11CBF2-0B0B-59F2-9E84-07B38267AD12',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BB11CBF2-0B0B-59F2-9E84-07B38267AD12'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB11CBF2-0B0B-59F2-9E84-07B38267AD12\\"\\n}","type":"json"}]',
@@ -28904,12 +16829,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -28917,13 +16837,8 @@
],
'RevertEvaluationResults' => [
'summary' => '恢复已忽略的某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -28935,23 +16850,15 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-7e72626622af0051****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'],
],
[
'name' => 'Resources',
@@ -28964,37 +16871,16 @@
'description' => '待恢复的资源列表。',
'type' => 'object',
'properties' => [
- 'ResourceAccountId' => [
- 'description' => '资源归属的阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '100931896542****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::SLB::LoadBalancer',
- ],
- 'Region' => [
- 'description' => '资源归属的地域ID。'."\n"
- ."\n"
- .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-hp3a3b4ztyfm2plgm****',
- ],
+ 'ResourceAccountId' => ['description' => '资源归属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100931896542****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'],
+ 'Region' => ['description' => '资源归属的地域ID。'."\n"
+ ."\n"
+ .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ResourceId' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'],
],
'required' => false,
],
@@ -29007,29 +16893,17 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '01ACCBF2-0B0B-59F2-9E84-07B38267BCA1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '01ACCBF2-0B0B-59F2-9E84-07B38267BCA1'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"01ACCBF2-0B0B-59F2-9E84-07B38267BCA1\\"\\n}","errorExample":""},{"type":"xml","example":"<RevertEvaluationResultsResponse>\\n <RequestId>01ACCBF2-0B0B-59F2-9E84-07B38267BCA1</RequestId>\\n</RevertEvaluationResultsResponse>","errorExample":""}]',
@@ -29050,12 +16924,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -29063,14 +16932,8 @@
],
'StartAggregateConfigRuleEvaluation' => [
'summary' => '重新审计指定账号组内的某条规则或某个合规包中的所有规则。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29082,66 +16945,42 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
- ."\n"
- .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-c169626622af009f****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
+ ."\n"
+ .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-c169626622af009f****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-3a58626622af0005****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-3a58626622af0005****'],
],
[
'name' => 'RevertEvaluation',
'in' => 'query',
- 'schema' => [
- 'description' => '是否恢复已忽略的评估结果。取值:'."\n"
- ."\n"
- .'- true:恢复已忽略的评估结果。'."\n"
- ."\n"
- .'- false(默认值):不恢复已忽略的评估结果。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否恢复已忽略的评估结果。取值:'."\n"
+ ."\n"
+ .'- true:恢复已忽略的评估结果。'."\n"
+ ."\n"
+ .'- false(默认值):不恢复已忽略的评估结果。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
- ."\n"
- .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-ac16626622af0053****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n"
+ ."\n"
+ .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。', 'type' => 'string', 'required' => false, 'example' => 'cp-ac16626622af0053****'],
],
],
'responses' => [
@@ -29150,62 +16989,30 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212',
- ],
- 'Result' => [
- 'description' => '规则执行结果。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212'],
+ 'Result' => ['description' => '规则执行结果。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => ''],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartAggregateConfigRuleEvaluationResponse>\\n <RequestId>ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212</RequestId>\\n <Result>true</Result>\\n</StartAggregateConfigRuleEvaluationResponse>","errorExample":""}]',
@@ -29223,27 +17030,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'StartAggregateRemediation' => [
- 'summary' => '手动执行指定的账号组规则修正。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29255,49 +17050,44 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-6b7c626622af00b4****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6b7c626622af00b4****'],
],
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-6b4a626622af0012****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'vpc-xxx'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'ACS::VPC::VPC'],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceAccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '要执行修正的资源归属的阿里云账号ID,该参数为空时表示修正账号组内所有账号的不合规资源。'."\n"
- ."\n"
- .'> 该账号只能是当前企业管理账号或当前企业管理账号中的成员账号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '100271897542****',
- ],
+ 'schema' => ['description' => '要执行修正的资源归属的阿里云账号ID,该参数为空时表示修正账号组内所有账号的不合规资源。'."\n"
+ ."\n"
+ .'> 该账号只能是当前企业管理账号或当前企业管理账号中的成员账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100271897542****'],
],
],
'responses' => [
@@ -29306,52 +17096,37 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'Data' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'Data' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartAggregateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartAggregateRemediationResponse>","errorExample":""}]',
'title' => '手动执行账号组的修正设置',
+ 'summary' => '手动执行指定的账号组规则修正。',
'description' => '本文将提供一个示例,使账号组`ca-6b4a626622af0012****`内的规则`cr-6b7c626622af00b4****`手动执行一次修正。返回结果显示,手动执行修正成功。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateRemediation'],
+ ],
+ ],
'ramActions' => [
[
'operationType' => 'none',
@@ -29360,25 +17135,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartAggregateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartAggregateRemediationResponse>","errorExample":""}]',
],
'StartConfigRuleEvaluation' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -29390,53 +17156,35 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~609222~~)。'."\n"
- ."\n"
- .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cr-9920626622af0035****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~609222~~)。'."\n"
+ ."\n"
+ .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-9920626622af0035****'],
],
[
'name' => 'RevertEvaluation',
'in' => 'query',
- 'schema' => [
- 'description' => '是否恢复已忽略的评估结果。取值:'."\n"
- ."\n"
- .'- true:恢复已忽略的评估结果。'."\n"
- ."\n"
- .'- false(默认值):不恢复已忽略的评估结果。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否恢复已忽略的评估结果。取值:'."\n"
+ ."\n"
+ .'- true:恢复已忽略的评估结果。'."\n"
+ ."\n"
+ .'- false(默认值):不恢复已忽略的评估结果。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CompliancePackId',
'in' => 'query',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~606968~~)。'."\n"
- ."\n\n"
- .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cp-ac16626622af0053****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~606968~~)。'."\n"
+ ."\n\n"
+ .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。', 'type' => 'string', 'required' => false, 'example' => 'cp-ac16626622af0053****'],
],
],
'responses' => [
@@ -29444,43 +17192,23 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D31EEAD7-BF1E-5927-977A-AFF9342A7273',
- ],
- 'Result' => [
- 'description' => '规则执行结果。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D31EEAD7-BF1E-5927-977A-AFF9342A7273'],
+ 'Result' => ['description' => '规则执行结果。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '重新审计规则或合规包',
@@ -29489,12 +17217,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartConfigRuleEvaluation',
- ],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigRuleEvaluation'],
],
],
'ramActions' => [
@@ -29505,12 +17228,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -29519,13 +17237,8 @@
],
'StartConfigRuleEvaluationByResource' => [
'summary' => '触发单资源重新评估。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29533,24 +17246,14 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-bp151g9tpto890zr****',
- ],
+ 'schema' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'关于如何获取资源ID,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-bp151g9tpto890zr****'],
],
],
'responses' => [
@@ -29558,58 +17261,28 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ConfigRuleId' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'example' => 'cr-2da35180a8d1008e****',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'example' => 'cr-2da35180a8d1008e****'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'ConfigRuleExists',
- 'errorMessage' => 'The ConfigRule already exists.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '单资源维度执行评估',
'changeSet' => [],
'flowControl' => [
@@ -29623,12 +17296,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -29637,13 +17305,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]',
],
'StartConfigurationRecorder' => [
- 'summary' => '开启配置审计服务并设置资源监控范围为全部。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -29655,9 +17318,7 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigI0TIO6',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigI0TIO6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -29666,75 +17327,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4D994662-6B27-536F-B320-38F4B3D58705',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4D994662-6B27-536F-B320-38F4B3D58705'],
'ConfigurationRecorder' => [
'description' => '资源监控信息。',
'type' => 'object',
'properties' => [
- 'ConfigurationRecorderStatus' => [
- 'description' => '资源监控状态。取值:'."\n"
- ."\n"
- .'- REGISTRABLE:未注册。'."\n"
- ."\n"
- .'- BUILDING:构建中。'."\n"
- ."\n"
- .'- REGISTERED:已注册。'."\n"
- ."\n"
- .'- REBUILDING:重新构建中。',
- 'type' => 'string',
- 'example' => 'REGISTERED',
- ],
+ 'ConfigurationRecorderStatus' => ['description' => '资源监控状态。取值:'."\n"
+ ."\n"
+ .'- REGISTRABLE:未注册。'."\n"
+ ."\n"
+ .'- BUILDING:构建中。'."\n"
+ ."\n"
+ .'- REGISTERED:已注册。'."\n"
+ ."\n"
+ .'- REBUILDING:重新构建中。', 'type' => 'string', 'example' => 'REGISTERED'],
'ResourceTypes' => [
'description' => '监控资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
],
],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ProcessIsRunning',
- 'errorMessage' => 'The process is running.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'ProcessIsRunning', 'errorMessage' => 'The process is running.', 'description' => '进程还在执行中。'],
],
500 => [
- [
- 'errorCode' => 'CreateSLRFail',
- 'errorMessage' => 'Failed to create SLR.',
- 'description' => '',
- ],
+ ['errorCode' => 'CreateSLRFail', 'errorMessage' => 'Failed to create SLR.', 'description' => '创建角色失败。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D994662-6B27-536F-B320-38F4B3D58705\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '开启配置审计服务',
+ 'summary' => '开启配置审计服务并设置资源监控范围为全部。',
'description' => '本文将提供一个示例, 为当前账号启用配置审计服务。',
'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigurationRecorder'],
+ ],
+ ],
'ramActions' => [
[
'operationType' => 'create',
@@ -29743,27 +17382,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D994662-6B27-536F-B320-38F4B3D58705\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]',
],
'StartRemediation' => [
- 'summary' => '手动执行指定的规则修正。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29775,24 +17403,31 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ConfigRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-8a973ac2e2be00a2****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-8a973ac2e2be00a2****'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'vpc-xxx'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'ACS::VPC::VPC'],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -29801,50 +17436,35 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'Data' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'Data' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'RemediationTemplateNotExist',
- 'errorMessage' => 'The remediation template does not exist or is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'RemediationInputParamInConsistentWithRule',
- 'errorMessage' => 'The remediation parameter does not match the rule parameter.',
- 'description' => '',
- ],
+ ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => '修正模板不存在或不适用。'],
+ ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => '修正设置参数与规则参数不一致。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateRemediationSLR',
- 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartRemediationResponse>","errorExample":""}]',
'title' => '手动执行规则修正',
+ 'summary' => '手动执行指定的规则修正。',
'description' => '本文将提供一个示例,使规则`cr-8a973ac2e2be00a2****`手动执行一次修正。返回结果显示,手动执行修正成功。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartRemediation'],
+ ],
+ ],
'ramActions' => [
[
'operationType' => 'none',
@@ -29853,26 +17473,17 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartRemediationResponse>","errorExample":""}]',
],
'StopConfigurationRecorder' => [
'summary' => '关闭配置审计服务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29884,9 +17495,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigI0TIO6',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigI0TIO6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -29895,39 +17504,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D',
- ],
- 'StopConfigurationRecorderResult' => [
- 'description' => '关闭配置审计服务的结果。取值:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D'],
+ 'StopConfigurationRecorderResult' => ['description' => '关闭配置审计服务的结果。取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'AdminStopSLRFail',
- 'errorMessage' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberStopSLRFail',
- 'errorMessage' => 'The member exists in the aggregator, and it is forbidden to close the service.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'StopSLRFail',
- 'errorMessage' => 'Stop config service fail.',
- 'description' => '',
- ],
+ ['errorCode' => 'AdminStopSLRFail', 'errorMessage' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', 'description' => ''],
+ ['errorCode' => 'MemberStopSLRFail', 'errorMessage' => 'The member exists in the aggregator, and it is forbidden to close the service.', 'description' => ''],
+ ['errorCode' => 'StopSLRFail', 'errorMessage' => 'Stop config service fail.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D\\",\\n \\"StopConfigurationRecorderResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopConfigurationRecorderResponse>\\n <RequestId>AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D</RequestId>\\n <StopConfigurationRecorderResult>true</StopConfigurationRecorderResult>\\n</StopConfigurationRecorderResponse>","errorExample":""}]',
@@ -29943,12 +17532,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -29956,13 +17540,8 @@
],
'TagResources' => [
'summary' => '为配置审计的规则、账号组和合规包绑定标签。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29973,37 +17552,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig6XGW41',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig6XGW41'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域',
- 'description' => '标签所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['title' => '地域', 'description' => '标签所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '配置审计的资源类型。取值:'."\n"
- .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
- .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
- .'- `ACS::Config::Aggregator`:账号组。'."\n"
- .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
- .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::Config::Rule',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '配置审计的资源类型。取值:'."\n"
+ .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
+ .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
+ .'- `ACS::Config::Aggregator`:账号组。'."\n"
+ .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
+ .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'],
],
[
'name' => 'ResourceId',
@@ -30013,14 +17578,9 @@
'title' => '资源ID,最多 50个子项',
'description' => '资源ID。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。'."\n"
- ."\n"
- .'N的取值范围:1~50。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cr-115b626622af0060****',
- ],
+ 'items' => ['description' => '资源ID。'."\n"
+ ."\n"
+ .'N的取值范围:1~50。', 'type' => 'string', 'required' => true, 'example' => 'cr-115b626622af0060****'],
'required' => true,
'maxItems' => 51,
],
@@ -30041,24 +17601,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Env',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'prod',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'Env'],
+ 'Value' => ['title' => '标签值', 'description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'prod'],
],
'required' => false,
],
@@ -30073,11 +17621,7 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380'],
],
],
],
@@ -30087,12 +17631,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'TagResources',
- ],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
],
],
'ramActions' => [
@@ -30103,12 +17642,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -30117,12 +17651,8 @@
],
'TriggerReportSend' => [
'summary' => '实时测试通知。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -30134,20 +17664,13 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'ReportTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx'],
],
],
'responses' => [
@@ -30155,11 +17678,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B'],
],
'description' => '',
],
@@ -30167,11 +17686,7 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '根据模版ID实时测试通知已完成的最新报告',
@@ -30184,13 +17699,8 @@
],
'UntagResources' => [
'summary' => '为配置审计中的资源解绑标签。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -30201,37 +17711,23 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigWLDOIT',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域',
- 'description' => '标签所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['title' => '地域', 'description' => '标签所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceType',
'in' => 'formData',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '配置审计的资源类型。取值:'."\n"
- .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
- .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
- .'- `ACS::Config::Aggregator`:账号组。'."\n"
- .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
- .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::Config::Rule',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '配置审计的资源类型。取值:'."\n"
+ .'- `ACS::Config::Rule`:单账号下的规则。'."\n"
+ .'- `ACS::Config::AggregateConfigRule`:多账号下的规则。'."\n"
+ .'- `ACS::Config::Aggregator`:账号组。'."\n"
+ .'- `ACS::Config::CompliancePack`:单账号下的合规包。'."\n"
+ .'- `ACS::Config::AggregateCompliancePack`:多账号下的合规包。', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'],
],
[
'name' => 'ResourceId',
@@ -30243,12 +17739,7 @@
."\n"
.'单次最多支持为50个资源解绑标签。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cr-115b626622af0060****',
- ],
+ 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'cr-115b626622af0060****'],
'required' => true,
'maxItems' => 51,
],
@@ -30260,12 +17751,7 @@
'schema' => [
'description' => '资源的标签。',
'type' => 'array',
- 'items' => [
- 'description' => '资源的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Env',
- ],
+ 'items' => ['description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'Env'],
'required' => false,
'maxItems' => 21,
'minItems' => 0,
@@ -30274,16 +17760,11 @@
[
'name' => 'All',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否解绑资源上全部的标签。取值:'."\n"
- ."\n"
- .'- true:解绑资源上全部的标签。'."\n"
- ."\n"
- .'- false(默认值):解绑资源上指定的标签。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否解绑资源上全部的标签。取值:'."\n"
+ ."\n"
+ .'- true:解绑资源上全部的标签。'."\n"
+ ."\n"
+ .'- false(默认值):解绑资源上指定的标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -30291,11 +17772,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380'],
],
],
],
@@ -30305,12 +17782,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UntagResources',
- ],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
],
],
'ramActions' => [
@@ -30321,12 +17793,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -30335,13 +17802,8 @@
],
'UpdateAggregateCompliancePack' => [
'summary' => '修改指定账号组内的合规包信息。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -30353,34 +17815,20 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-fdc8626622af00f9****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', 'maxLength' => 500],
],
[
'name' => 'RiskLevel',
@@ -30398,11 +17846,7 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
@@ -30418,14 +17862,9 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取托管规则标识,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-bandwidth-limit',
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取托管规则标识,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit'],
'ConfigRuleParameters' => [
'description' => '规则参数信息。',
'type' => 'array',
@@ -30433,58 +17872,27 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ParameterName' => [
- 'description' => '规则参数名称。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数名称,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数值,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'ParameterName' => ['description' => '规则参数名称。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数名称,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数值,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
'required' => false,
],
'required' => false,
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-e918626622af000f****',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '检测闲置弹性公网IP',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => '检测闲置弹性公网IP'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -30494,119 +17902,63 @@
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-f632626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'],
],
[
'name' => 'CompliancePackName',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包名称。'."\n"
- ."\n"
- .'关于如何获取合规包名称,请参见[ListAggregateCompliancePacks](~~262059~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '等保三级预检合规包',
- ],
+ 'schema' => ['description' => '合规包名称。'."\n"
+ ."\n"
+ .'关于如何获取合规包名称,请参见[ListAggregateCompliancePacks](~~262059~~)。', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-8vbf3x310fn56ijfd****',
- ],
+ 'schema' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
- .'> TagValueScope需结合TagKeyScope一起使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n"
+ .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagsScope',
@@ -30618,20 +17970,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
],
@@ -30647,18 +17990,8 @@
'description' => '排除的标签范围',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
],
@@ -30680,22 +18013,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -30711,101 +18034,41 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'ca-f632626622af0079****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'ca-f632626622af0079****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
- [
- 'errorCode' => 'CompliancePackExceedMaxCount',
- 'errorMessage' => 'The maximum number of compliance pack is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Empty',
- 'errorMessage' => 'You must specify ConfigRules.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Value',
- 'errorMessage' => 'The specified ConfigRules is invalid.',
- 'description' => '合规包规则中参数输入错误。',
- ],
- [
- 'errorCode' => 'ConfigRuleExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of config rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'CompliancePackAlreadyPending',
- 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.',
- 'description' => '如果合规包状态非“正常”,不能被更新。',
- ],
- [
- 'errorCode' => 'CompliancePackExists',
- 'errorMessage' => 'The compliance pack already exists.',
- 'description' => '合规包名称重复。',
- ],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
+ ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => '合规包规则中参数输入错误。'],
+ ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'CompliancePackAlreadyPending', 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', 'description' => '如果合规包状态非“正常”,不能被更新。'],
+ ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => '合规包名称重复。'],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregateCompliancePackResponse>\\n\\t<CompliancePackId>ca-f632626622af0079****</CompliancePackId>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</UpdateAggregateCompliancePackResponse>","errorExample":""}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改账号组合规包信息',
'description' => '本文将提供一个示例,将账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`中规则模板`eip-bandwidth-limit`的参数值修改为`20`。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateCompliancePack',
- ],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateCompliancePack'],
],
],
'ramActions' => [
@@ -30816,27 +18079,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregateCompliancePackResponse>\\n\\t<CompliancePackId>ca-f632626622af0079****</CompliancePackId>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</UpdateAggregateCompliancePackResponse>","errorExample":""}]',
],
'UpdateAggregateConfigDeliveryChannel' => [
'summary' => '修改指定账号组内的投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -30848,211 +18101,135 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigRIQA8M',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListAggregateConfigDeliveryChannels](~~429842~~)。', 'type' => 'string', 'required' => true, 'example' => 'cdc-8e45ff4e06a3a8****'],
],
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'testoss',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss'],
],
[
'name' => 'DeliveryChannelTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道目标地址的ARN。取值:'."\n"
- ."\n"
- .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
- ."\n"
- .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
- ."\n"
- .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '投递渠道目标地址的ARN。取值:'."\n"
+ ."\n"
+ .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
+ ."\n"
+ .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
+ ."\n"
+ .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'DeliveryChannelCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
+ 'schema' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
],
[
'name' => 'OversizedDataOSSTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
- ."\n"
- .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
+ ."\n"
+ .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'My OSS delivery.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
- ."\n"
- .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
+ ."\n"
+ .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'ConfigurationSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false(默认值):不接收资源定时快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS和轻量消息队列(原 MNS)投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false(默认值):不接收资源定时快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CompliantSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ConfigurationItemChangeNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- ."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false(默认值):不接收资源配置变更历史。'."\n"
- ."\n"
- .'> 支持投递渠道OSS、SLS和MNS。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ ."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false(默认值):不接收资源配置变更历史。'."\n"
+ ."\n"
+ .'> 支持投递渠道OSS、SLS和MNS。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'NonCompliantNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- ."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false(默认值):不接收资源不合规事件。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ ."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false(默认值):不接收资源不合规事件。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道状态。取值:'."\n"
- .'- 0:关闭。配置审计保留最近一次投递配置,停止资源数据投递。'."\n"
- .'- 1(默认值):开启。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '投递渠道状态。取值:'."\n"
+ .'- 0:关闭。配置审计保留最近一次投递配置,停止资源数据投递。'."\n"
+ .'- 1(默认值):开启。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'DeliverySnapshotTime',
'in' => 'query',
- 'schema' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。'."\n"
- ."\n"
- .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:10Z',
- ],
+ 'schema' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。'."\n"
+ ."\n"
+ .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z'],
],
],
'responses' => [
@@ -31061,74 +18238,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregateConfigDeliveryChannelResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG</RequestId>\\n <DeliveryChannelId>cdc-8e45ff4e06a3a8****</DeliveryChannelId>\\n</UpdateAggregateConfigDeliveryChannelResponse>","errorExample":""}]',
@@ -31144,25 +18273,16 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
],
],
'UpdateAggregateConfigRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '修改指定账号组内规则的描述信息、规则入参和风险等级等。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31174,9 +18294,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -31184,39 +18302,23 @@
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-4e3d626622af0080****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4e3d626622af0080****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则描述。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
- ],
+ 'schema' => ['description' => '规则描述。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。'],
],
[
'name' => 'InputParameters',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '规则参数。'."\n"
- ."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"tag1Key":"ECS","tag1Value":"test"}',
- ],
+ 'schema' => ['description' => '规则参数。'."\n"
+ ."\n", 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}'],
],
[
'name' => 'MaximumExecutionFrequency',
@@ -31233,13 +18335,7 @@
'type' => 'string',
'required' => false,
'example' => 'One_Hour',
- 'enum' => [
- 'One_Hour',
- 'Three_Hours',
- 'Six_Hours',
- 'Twelve_Hours',
- 'TwentyFour_Hours',
- ],
+ 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'],
],
],
[
@@ -31249,12 +18345,7 @@
'schema' => [
'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
'type' => 'array',
- 'items' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'required' => false,
'example' => 'ACS::ECS::Instance',
],
@@ -31275,148 +18366,86 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '3',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-t4nbowvtbkss7t326****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ConfigRuleTriggerTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则触发机制。取值:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- ."\n"
- .'- ScheduledNotification:周期执行。'."\n"
- ."\n"
- .'> 仅自定义规则能修改该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'schema' => ['description' => '规则触发机制。取值:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ ."\n"
+ .'- ScheduledNotification:周期执行。'."\n"
+ ."\n"
+ .'> 仅自定义规则能修改该参数。', 'type' => 'string', 'required' => false, 'example' => 'ConfigurationItemChangeNotification'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-a4e5626622af0079****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagsScope',
@@ -31428,18 +18457,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
'description' => '',
@@ -31457,18 +18476,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
'description' => '',
@@ -31479,14 +18488,9 @@
[
'name' => 'ConfigRuleName',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则名称。'."\n"
- ."\n"
- .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '存在所有指定标签',
- ],
+ 'schema' => ['description' => '规则名称。'."\n"
+ ."\n"
+ .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签'],
],
[
'name' => 'TagKeyLogicScope',
@@ -31504,76 +18508,50 @@
'type' => 'string',
'deprecated' => false,
'required' => false,
- 'enumValueTitles' => [
- 'OR' => 'OR',
- 'AND' => 'AND',
- ],
+ 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'example' => 'AND',
- 'enum' => [
- 'AND',
- 'OR',
- ],
+ 'enum' => ['AND', 'OR'],
],
],
[
'name' => 'FolderIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源目录ID中成员账号内的资源生效。'."\n"
- ."\n"
- .'> - 该参数仅作用于全局账号组的规则。'."\n"
- .'> - 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd-ZtHsRH****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源目录ID中成员账号内的资源生效。'."\n"
+ ."\n"
+ .'> - 该参数仅作用于全局账号组的规则。'."\n"
+ .'> - 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'fd-ZtHsRH****'],
],
[
'name' => 'ExcludeFolderIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> - 该参数仅作用于全局账号组的规则。'."\n"
- .'> - 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd-pWmkqZ****',
- ],
+ 'schema' => ['description' => '规则对指定资源目录ID中成员账号内的资源无效,即不对该资源目录ID中成员账号内的资源执行评估。多个资源目录ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> - 该参数仅作用于全局账号组的规则。'."\n"
+ .'> - 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'fd-pWmkqZ****'],
],
[
'name' => 'ExcludeAccountIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '120886317861****',
- ],
+ 'schema' => ['description' => '规则对指定成员账号内的资源无效,即不对该账号内的资源执行评估。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => '120886317861****'],
],
[
'name' => 'AccountIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '115748125982****',
- ],
+ 'schema' => ['description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => '115748125982****'],
+ ],
+ [
+ 'name' => 'Conditions',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'title' => '自定义条件规则的条件,JSON格式', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'description' => '自定义条件规则的条件,JSON格式'],
],
[
'name' => 'ResourceNameScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx'],
],
[
'name' => 'Tag',
@@ -31590,22 +18568,12 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'最多支持绑定20个标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。'."\n"
- ."\n"
- .'最多支持绑定20个标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。'."\n"
+ ."\n"
+ .'最多支持绑定20个标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -31621,83 +18589,39 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ConfigRuleId' => [
- 'description' => '规则ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cr-4e3d626622af0080****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cr-4e3d626622af0080****'],
+ 'RequestId' => ['description' => '请求ID。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'ConfigRuleExists',
- 'errorMessage' => 'The ConfigRule already exists.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
+ ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改账号组规则',
- 'summary' => '修改指定账号组内规则的描述信息、规则入参和风险等级等。',
'description' => '本文将提供一个示例,将账号组`ca-a4e5626622af0079****`内规则`cr-4e3d626622af0080****`的风险等级修改为`3`(低风险)。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateConfigRule',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateConfigRule'],
],
],
'ramActions' => [
@@ -31708,12 +18632,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
@@ -31721,13 +18640,8 @@
'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregateConfigRuleResponse>\\n\\t<ConfigRuleId>cr-4e3d626622af0080****</ConfigRuleId>\\n\\t<RequestId>5895065A-196C-4254-8AD8-14EFC31EEF50</RequestId>\\n</UpdateAggregateConfigRuleResponse>\\t","errorExample":""}]',
],
'UpdateAggregateRemediation' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31739,101 +18653,59 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'RemediationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置ID。'."\n"
- ."\n"
- .'关于如何获取修正设置ID,请参见[ListAggregateRemediations](~~270036~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'schema' => ['description' => '修正设置ID。'."\n"
+ ."\n"
+ .'关于如何获取修正设置ID,请参见[ListAggregateRemediations](~~270036~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****'],
],
[
'name' => 'RemediationType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正类型。取值:'."\n"
- .'- OOS:运维编排(模板修正)。'."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'OOS',
- ],
+ 'schema' => ['description' => '修正类型。取值:'."\n"
+ .'- OOS:运维编排(模板修正)。'."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OOS'],
],
[
'name' => 'RemediationTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正模板ID。'."\n"
- ."\n"
- .'关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~270066~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
+ 'schema' => ['description' => '修正模板ID。'."\n"
+ ."\n"
+ .'关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~270066~~)。'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS-OSS-PutBucketAcl'],
],
[
'name' => 'InvokeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'AUTO_EXECUTION',
- ],
+ 'schema' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'AUTO_EXECUTION'],
],
[
'name' => 'SourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '执行修正的规则来源。取值:'."\n"
- .'- ALIYUN:规则模板。'."\n"
- .'- CUSTOM:自定义修正。'."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALIYUN',
- ],
+ 'schema' => ['description' => '执行修正的规则来源。取值:'."\n"
+ .'- ALIYUN:规则模板。'."\n"
+ .'- CUSTOM:自定义修正。'."\n"
+ .'- NONE:无。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN'],
],
[
'name' => 'Params',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}',
- ],
+ 'schema' => ['description' => '修正设置参数。', 'type' => 'string', 'required' => false, 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}'],
],
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-6b4a626622af0012****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****'],
],
],
'responses' => [
@@ -31842,56 +18714,24 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'RDMemberNoPermission',
- 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.',
- 'description' => '您无权进行此操作,原因可能是:'."\n"
- .'1、您未启用资源目录服务。'."\n"
- .'2、您使用的不是资源目录的企业管理账号。',
- ],
- [
- 'errorCode' => 'RemediationInputParamInConsistentWithRule',
- 'errorMessage' => 'The remediation parameter does not match the rule parameter.',
- 'description' => '修正设置参数与规则参数不一致。',
- ],
- [
- 'errorCode' => 'RemediationTemplateNotExist',
- 'errorMessage' => 'The remediation template does not exist or is invalid.',
- 'description' => '修正模板不存在或不适用。',
- ],
- [
- 'errorCode' => 'Invalid.Params.Value',
- 'errorMessage' => 'The specified parameter value is invalid.',
- 'description' => '输入的模板参数值非法。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'RDMemberNoPermission', 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'description' => '您无权进行此操作,原因可能是:'."\n"
+ .'1、您未启用资源目录服务。'."\n"
+ .'2、您使用的不是资源目录的企业管理账号。'],
+ ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => '修正设置参数与规则参数不一致。'],
+ ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => '修正模板不存在或不适用。'],
+ ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => '输入的模板参数值非法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateRemediationSLR',
- 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'description' => '无权创建服务关联角色。',
- ],
+ ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。'],
],
],
'title' => '更新账号组的修正设置',
@@ -31901,12 +18741,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateRemediation',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateRemediation'],
],
],
'ramActions' => [
@@ -31917,12 +18752,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -31931,13 +18761,8 @@
],
'UpdateAggregator' => [
'summary' => '资源目录中的管理账号或委派管理员账号可以修改账号组的名称和描述,也可以添加或移除成员。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31949,61 +18774,34 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigB2MNLG',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'],
],
'parameters' => [
[
'name' => 'AggregatorId',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组ID。'."\n"
- ."\n"
- .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ca-dacf86d8314e00eb****',
- ],
+ 'schema' => ['description' => '账号组ID。'."\n"
+ ."\n"
+ .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-dacf86d8314e00eb****'],
],
[
'name' => 'AggregatorName',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组名称。'."\n"
- ."\n"
- .'关于如何获取账号组名称,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'Test_Group',
- ],
+ 'schema' => ['description' => '账号组名称。'."\n"
+ ."\n"
+ .'关于如何获取账号组名称,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Test_Group'],
],
[
'name' => 'FolderId',
'in' => 'formData',
- 'schema' => [
- 'title' => 'FolderId, 支持半角逗号分隔的多值输入',
- 'description' => 'FolderId, 支持半角逗号分隔的多值输入',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'fd-brHdgv****,fd-brHdgk****',
- ],
+ 'schema' => ['title' => 'FolderId, 支持半角逗号分隔的多值输入', 'description' => 'FolderId, 支持半角逗号分隔的多值输入', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'fd-brHdgv****,fd-brHdgk****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '账号组描述。'."\n"
- ."\n"
- .'关于如何获取账号组描述,请参见[ListAggregators](~~255797~~)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '测试组',
- ],
+ 'schema' => ['description' => '账号组描述。'."\n"
+ ."\n"
+ .'关于如何获取账号组描述,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '测试组'],
],
[
'name' => 'AggregatorAccounts',
@@ -32018,35 +18816,19 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '成员ID。'."\n"
- ."\n"
- .'关于如何获取成员ID,请参见[ListAccounts](~~160016~~)。 '."\n"
- ."\n"
- .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '173808452267****',
- ],
- 'AccountName' => [
- 'description' => '成员名称。'."\n"
- ."\n"
- .'关于如何获取成员名称,请参见[ListAccounts](~~160016~~)。'."\n"
- ."\n"
- .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Tony',
- ],
- 'AccountType' => [
- 'description' => '成员归属。仅支持ResourceDirectory(资源目录)。'."\n"
- ."\n"
- .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceDirectory',
- ],
+ 'AccountId' => ['description' => '成员ID。'."\n"
+ ."\n"
+ .'关于如何获取成员ID,请参见[ListAccounts](~~160016~~)。 '."\n"
+ ."\n"
+ .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '173808452267****'],
+ 'AccountName' => ['description' => '成员名称。'."\n"
+ ."\n"
+ .'关于如何获取成员名称,请参见[ListAccounts](~~160016~~)。'."\n"
+ ."\n"
+ .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。', 'type' => 'string', 'required' => false, 'example' => 'Tony'],
+ 'AccountType' => ['description' => '成员归属。仅支持ResourceDirectory(资源目录)。'."\n"
+ ."\n"
+ .'> 如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。', 'type' => 'string', 'required' => false, 'example' => 'ResourceDirectory'],
],
'required' => false,
],
@@ -32057,12 +18839,7 @@
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'Tag',
@@ -32079,20 +18856,10 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。N的取值范围:**1~20**。一旦输入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '实例的标签键。N的取值范围:**1~20**。一旦输入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -32108,93 +18875,33 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
- ],
- 'AggregatorId' => [
- 'description' => '账号组ID。',
- 'type' => 'string',
- 'example' => 'ca-dacf86d8314e00eb****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'],
+ 'AggregatorId' => ['description' => '账号组ID。', 'type' => 'string', 'example' => 'ca-dacf86d8314e00eb****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.AggregatorAccounts.Empty',
- 'errorMessage' => 'You must specify AggregatorAccounts.',
- 'description' => '账号组内的成员账号列表不能为空。',
- ],
- [
- 'errorCode' => 'AggregatorAccountExceedMaxCount',
- 'errorMessage' => 'The maximum number of aggregator account is exceeded.',
- 'description' => '账号组内的成员账号数量超出限制。',
- ],
- [
- 'errorCode' => 'AggregatorAccountListDuplicated',
- 'errorMessage' => 'The aggregator account list is duplicated.',
- 'description' => '存在相同成员账号的账号组。',
- ],
- [
- 'errorCode' => 'AggregatorAccountListItemDuplicated',
- 'errorMessage' => 'The aggregator account list item is duplicated.',
- 'description' => '账号组内的成员账号重复。',
- ],
- [
- 'errorCode' => 'AggregatorAlreadyPending',
- 'errorMessage' => 'The aggregator has a pending operation and cannot be updated.',
- 'description' => '如果账号组的状态非“创建完成”,不能被更新。',
- ],
- [
- 'errorCode' => 'AggregatorNameDuplicated',
- 'errorMessage' => 'The aggregator name is duplicated.',
- 'description' => '账号组名称重复。',
- ],
- [
- 'errorCode' => 'DefaultAggregatorDeleteNotSupport',
- 'errorMessage' => 'The default aggregator cannot be deleted.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorId.Value',
- 'errorMessage' => 'The specified AggregatorId is invalid.',
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'errorCode' => 'Invalid.AccountType.Value',
- 'errorMessage' => 'The specified AccountType is invalid.',
- 'description' => '账号来源类型不符合要求。',
- ],
- [
- 'errorCode' => 'Invalid.AggregatorAccounts.Value',
- 'errorMessage' => 'The specified AggregatorAccounts is invalid.',
- 'description' => '账号组内成员账号信息错误。',
- ],
+ ['errorCode' => 'Invalid.AggregatorAccounts.Empty', 'errorMessage' => 'You must specify AggregatorAccounts.', 'description' => '账号组内的成员账号列表不能为空。'],
+ ['errorCode' => 'AggregatorAccountExceedMaxCount', 'errorMessage' => 'The maximum number of aggregator account is exceeded.', 'description' => '账号组内的成员账号数量超出限制。'],
+ ['errorCode' => 'AggregatorAccountListDuplicated', 'errorMessage' => 'The aggregator account list is duplicated.', 'description' => '存在相同成员账号的账号组。'],
+ ['errorCode' => 'AggregatorAccountListItemDuplicated', 'errorMessage' => 'The aggregator account list item is duplicated.', 'description' => '账号组内的成员账号重复。'],
+ ['errorCode' => 'AggregatorAlreadyPending', 'errorMessage' => 'The aggregator has a pending operation and cannot be updated.', 'description' => '如果账号组的状态非“创建完成”,不能被更新。'],
+ ['errorCode' => 'AggregatorNameDuplicated', 'errorMessage' => 'The aggregator name is duplicated.', 'description' => '账号组名称重复。'],
+ ['errorCode' => 'DefaultAggregatorDeleteNotSupport', 'errorMessage' => 'The default aggregator cannot be deleted.', 'description' => ''],
+ ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['errorCode' => 'Invalid.AccountType.Value', 'errorMessage' => 'The specified AccountType is invalid.', 'description' => '账号来源类型不符合要求。'],
+ ['errorCode' => 'Invalid.AggregatorAccounts.Value', 'errorMessage' => 'The specified AggregatorAccounts is invalid.', 'description' => '账号组内成员账号信息错误。'],
],
403 => [
- [
- 'errorCode' => 'AggregatorMemberNoPermission',
- 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
+ ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => '账号组内的成员账号无权限执行此操作。'],
],
[
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregatorResponse>\\n <RequestId>8195B664-9565-4685-89AC-8B5F04B44B92</RequestId>\\n <AggregatorId>ca-dacf86d8314e00eb****</AggregatorId>\\n</UpdateAggregatorResponse>","errorExample":""}]',
@@ -32204,12 +18911,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregator',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregator'],
],
],
'ramActions' => [
@@ -32220,26 +18922,15 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
],
],
'UpdateCompliancePack' => [
- 'summary' => '修改当前账号指定合规包的信息。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -32251,34 +18942,20 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigX57QP8',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigX57QP8'],
],
'parameters' => [
[
'name' => 'CompliancePackId',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包ID。'."\n"
- ."\n"
- .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cp-a8a8626622af0082****',
- ],
+ 'schema' => ['description' => '合规包ID。'."\n"
+ ."\n"
+ .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-a8a8626622af0082****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', 'maxLength' => 500],
],
[
'name' => 'RiskLevel',
@@ -32296,11 +18973,7 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '1',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
@@ -32316,14 +18989,9 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ManagedRuleIdentifier' => [
- 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则模板标识,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-bandwidth-limit',
- ],
+ 'ManagedRuleIdentifier' => ['description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则模板标识,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit'],
'ConfigRuleParameters' => [
'description' => '规则参数信息。',
'type' => 'array',
@@ -32331,58 +18999,27 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ParameterName' => [
- 'description' => '规则参数名称。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数名称,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bandwidth',
- ],
- 'ParameterValue' => [
- 'description' => '规则参数值。'."\n"
- ."\n"
- .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数值,请参见[ListCompliancePackTemplates](~~261176~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'ParameterName' => ['description' => '规则参数名称。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数名称,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'bandwidth'],
+ 'ParameterValue' => ['description' => '规则参数值。'."\n"
+ ."\n"
+ .'参数`ParameterName`和`ParameterValue`必须同时设置,或同时不设置。如果规则模板存在参数,且无默认取值,则您必须设置该参数。关于如何获取规则模板的参数值,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
'required' => false,
],
'required' => false,
],
- 'ConfigRuleId' => [
- 'description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
- ."\n"
- .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-e918626622af000f****',
- ],
- 'ConfigRuleName' => [
- 'description' => '规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '检测闲置弹性公网IP',
- ],
- 'Description' => [
- 'description' => '规则描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。',
- ],
- 'RiskLevel' => [
- 'description' => '规则风险等级。取值:'."\n"
- ."\n"
- .'- 1:高风险。'."\n"
- .'- 2:中风险。'."\n"
- .'- 3:低风险。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。配置审计将已有规则加入到当前合规包中。'."\n"
+ ."\n"
+ .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****'],
+ 'ConfigRuleName' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => '检测闲置弹性公网IP'],
+ 'Description' => ['description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。'],
+ 'RiskLevel' => ['description' => '规则风险等级。取值:'."\n"
+ ."\n"
+ .'- 1:高风险。'."\n"
+ .'- 2:中风险。'."\n"
+ .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
'required' => false,
],
@@ -32392,105 +19029,55 @@
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'CompliancePackName',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包名称。'."\n"
- ."\n"
- .'关于如何获取合规包名称,请参见[ListCompliancePacks](~~263332~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '等保三级预检合规包',
- ],
+ 'schema' => ['description' => '合规包名称。'."\n"
+ ."\n"
+ .'关于如何获取合规包名称,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '合规包仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '23642660635687****',
- ],
+ 'schema' => ['description' => '合规包对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n", 'type' => 'string', 'required' => false, 'example' => '23642660635687****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzdibsjjc****',
- ],
+ 'schema' => ['description' => '合规包仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzdibsjjc****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '合规包仅对绑定指定标签键值的资源生效。'."\n"
- .'> TagValueScope需结合TagKeyScope一起使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '合规包仅对绑定指定标签键值的资源生效。'."\n"
+ .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagsScope',
@@ -32503,18 +19090,8 @@
'description' => '生效标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -32532,18 +19109,8 @@
'description' => '排除标签。',
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
],
@@ -32565,24 +19132,14 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。'."\n"
- ."\n"
- .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
- ."\n"
- .'一次最多支持输入20个标签的标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '资源的标签键。'."\n"
+ ."\n"
+ .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n"
+ ."\n"
+ .'一次最多支持输入20个标签的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -32598,89 +19155,38 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'CompliancePackId' => [
- 'description' => '合规包ID。',
- 'type' => 'string',
- 'example' => 'cp-a8a8626622af0082****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'CompliancePackId' => ['description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-a8a8626622af0082****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Invalid.CompliancePackId.Value',
- 'errorMessage' => 'The specified CompliancePackId does not exist.',
- 'description' => '合规包ID不存在。',
- ],
- [
- 'errorCode' => 'CompliancePackExceedMaxCount',
- 'errorMessage' => 'The maximum number of compliance pack is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Empty',
- 'errorMessage' => 'You must specify ConfigRules.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'Invalid.ConfigRules.Value',
- 'errorMessage' => 'The specified ConfigRules is invalid.',
- 'description' => '合规包规则中参数输入错误。',
- ],
- [
- 'errorCode' => 'ConfigRuleExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of config rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'CompliancePackAlreadyPending',
- 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.',
- 'description' => '如果合规包状态非“正常”,不能被更新。',
- ],
- [
- 'errorCode' => 'CompliancePackExists',
- 'errorMessage' => 'The compliance pack already exists.',
- 'description' => '合规包名称重复。',
- ],
+ ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。'],
+ ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''],
+ ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => '合规包规则中参数输入错误。'],
+ ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'CompliancePackAlreadyPending', 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', 'description' => '如果合规包状态非“正常”,不能被更新。'],
+ ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => '合规包名称重复。'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCompliancePackResponse>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</UpdateCompliancePackResponse>","errorExample":""}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改合规包信息',
+ 'summary' => '修改当前账号指定合规包的信息。',
'description' => '本文将提供一个示例,将合规包`cp-a8a8626622af0082****`中规则`eip-bandwidth-limit`的参数值修改为`20`。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '30',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateCompliancePack',
- ],
+ ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateCompliancePack'],
],
],
'ramActions' => [
@@ -32691,27 +19197,17 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCompliancePackResponse>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</UpdateCompliancePackResponse>","errorExample":""}]',
],
'UpdateConfigDeliveryChannel' => [
'summary' => '本接口用于当前账号修改投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -32723,199 +19219,128 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigL91U0A',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigL91U0A'],
],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。'."\n"
- ."\n"
- .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'schema' => ['description' => '投递渠道ID。'."\n"
+ ."\n"
+ .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。', 'type' => 'string', 'required' => true, 'example' => 'cdc-8e45ff4e06a3a8****'],
],
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'testoss',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss'],
],
[
'name' => 'DeliveryChannelTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道目标地址的ARN。取值:'."\n"
- ."\n"
- .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
- ."\n"
- .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
- ."\n"
- .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '投递渠道目标地址的ARN。取值:'."\n"
+ ."\n"
+ .'- 当投递渠道为OSS时,格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`,例如:`acs:oss:cn-shanghai:100931896542****:new-bucket`。'."\n"
+ ."\n"
+ .'- 当投递渠道为MNS时,格式为`acs:mns:{RegionId}:{accountId}:/topics/{topicName}`,例如:`acs:mns:cn-shanghai:100931896542****:/topics/topic1`。'."\n"
+ ."\n"
+ .'- 当投递渠道为SLS时,格式为`acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`,例如:`acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'DeliveryChannelCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
- ."\n"
- .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
- ."\n"
- .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
- ."\n"
- .' '."\n"
- .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
- ."\n"
- .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
- ."\n"
- .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
- .' '."\n"
- .' '."\n"
- .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
- .' 例如:'."\n"
- .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]',
- ],
+ 'schema' => ['description' => '投递渠道附加规则。当前支持MNS渠道的所有投递和SLS渠道的快照投递。'."\n"
+ ."\n"
+ .'- 如果您指定MNS订阅事件的最低风险等级和资源类型,具体如下:'."\n"
+ ."\n"
+ .' - 订阅事件的最低风险等级为`{"filterType":"RuleRiskLevel","value":"1","multiple":false}`。'."\n"
+ ."\n"
+ .' '."\n"
+ .' `value`表示您需要过滤的风险等级。取值:1表示高风险,2表示中风险,3表示低风险。'."\n"
+ ."\n"
+ .' - 订阅事件的资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要订阅事件的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n"
+ ."\n"
+ .'- 如果您指定SLS快照投递的资源类型,资源类型为`{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`。'."\n"
+ .' '."\n"
+ .' '."\n"
+ .' `values`表示您需要投递的资源类型,是一个资源类型的JSON数组。'."\n"
+ .' 例如:'."\n"
+ .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'],
],
[
'name' => 'OversizedDataOSSTargetArn',
'in' => 'query',
- 'schema' => [
- 'description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
- ."\n"
- .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket',
- ],
+ 'schema' => ['description' => '当投递数据超过投递渠道限制时,投递数据转存到对象存储OSS的目标存储空间。格式为`acs:oss:{RegionId}:{accountId}:{bucketName}`。'."\n"
+ ."\n"
+ .'如果您未设置该参数,配置审计仅投递概要信息。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。日志服务SLS的投递渠道限制是1 MB,轻量消息队列(原 MNS)的投递渠道限制是64 KB。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'My OSS delivery.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
- ."\n"
- .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。'."\n"
+ ."\n"
+ .'`ClientToken`只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'ConfigurationSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
- .'- true:接收资源定时快照。'."\n"
- .'- false(默认值):不接收资源定时快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源定时快照。每天`04:00Z`和`16:00Z`(UTC时间),配置审计定时向对象存储OSS或SLS投递资源定时快照。取值:'."\n"
+ .'- true:接收资源定时快照。'."\n"
+ .'- false(默认值):不接收资源定时快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CompliantSnapshot',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
- .'- true:接收合规快照。'."\n"
- .'- false:不接收合规快照。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收合规快照。配置审计向日志服务SLS投递资源合规和不合规信息。取值:'."\n"
+ .'- true:接收合规快照。'."\n"
+ .'- false:不接收合规快照。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ConfigurationItemChangeNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
- ."\n"
- .'- true:接收资源配置变更历史。'."\n"
- .'- false(默认值):不接收资源配置变更历史。'."\n"
- ."\n"
- .'> 支持投递渠道OSS、SLS和MNS。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源配置变更历史。当资源配置变更时,配置审计向对象存储OSS、日志服务SLS或轻量消息队列(原 MNS)投递资源配置变更历史。取值:'."\n"
+ ."\n"
+ .'- true:接收资源配置变更历史。'."\n"
+ .'- false(默认值):不接收资源配置变更历史。'."\n"
+ ."\n"
+ .'> 支持投递渠道OSS、SLS和MNS。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'NonCompliantNotification',
'in' => 'query',
- 'schema' => [
- 'description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
- ."\n"
- .'- true:接收资源不合规事件。'."\n"
- .'- false(默认值):不接收资源不合规事件。'."\n"
- ."\n"
- .'> 仅支持投递渠道SLS和MNS。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否接收资源不合规事件。当资源不合规时,配置审计向日志服务SLS或轻量消息队列(原 MNS)投递资源不合规事件。取值: '."\n"
+ ."\n"
+ .'- true:接收资源不合规事件。'."\n"
+ .'- false(默认值):不接收资源不合规事件。'."\n"
+ ."\n"
+ .'> 仅支持投递渠道SLS和MNS。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道状态。取值:'."\n"
- .'- 0:关闭。配置审计保留最近一次投递配置,停止资源数据投递。'."\n"
- .'- 1(默认值):开启。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '投递渠道状态。取值:'."\n"
+ .'- 0:关闭。配置审计保留最近一次投递配置,停止资源数据投递。'."\n"
+ .'- 1(默认值):开启。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'DeliverySnapshotTime',
'in' => 'query',
- 'schema' => [
- 'description' => '资源定时快照每日开始投递的时间。'."\n"
- ."\n"
- .'格式为`HH:mmZ`(UTC时间)。'."\n"
- ."\n"
- .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:10Z',
- ],
+ 'schema' => ['description' => '资源定时快照每日开始投递的时间。'."\n"
+ ."\n"
+ .'格式为`HH:mmZ`(UTC时间)。'."\n"
+ ."\n"
+ .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z'],
],
],
'responses' => [
@@ -32924,74 +19349,26 @@
'description' => '无。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'cdc-8e45ff4e06a3a8****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DeliveryChannelNotExists',
- 'errorMessage' => 'The delivery channel does not exist.',
- 'description' => '投递渠道不存在。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'description' => '参数DeliveryChannelTargetArn格式错误。',
- ],
- [
- 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
- 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'description' => '参数DeliveryChannelCondition格式错误。',
- ],
- [
- 'errorCode' => 'MemberNotBelongToMaster',
- 'errorMessage' => 'The specified member does not belong to your organization.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DeliveryChannelAccountNotSupport',
- 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
- 'description' => '暂不支持非资源目录内的跨账号投递。',
- ],
- [
- 'errorCode' => 'DeliveryChannelMnsUnreachable',
- 'errorMessage' => 'The MNS topic is unreachable.',
- 'description' => 'MNS Topic尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelOssUnreachable',
- 'errorMessage' => 'The OSS bucket is unreachable.',
- 'description' => 'OSS Bucket尝试投递失败。',
- ],
- [
- 'errorCode' => 'DeliveryChannelSlsUnreachable',
- 'errorMessage' => 'SLS logstore is unreachable.',
- 'description' => '',
- ],
+ ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。'],
+ ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => '参数DeliveryChannelTargetArn格式错误。'],
+ ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => '参数DeliveryChannelCondition格式错误。'],
+ ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''],
+ ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => '暂不支持非资源目录内的跨账号投递。'],
+ ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'MNS Topic尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'OSS Bucket尝试投递失败。'],
+ ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateConfigDeliveryChannelResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG</RequestId>\\n <DeliveryChannelId>cdc-8e45ff4e06a3a8****</DeliveryChannelId>\\n</UpdateConfigDeliveryChannelResponse>","errorExample":""}]',
@@ -33001,12 +19378,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateConfigDeliveryChannel',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConfigDeliveryChannel'],
],
],
'ramActions' => [
@@ -33017,25 +19389,16 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
],
],
'UpdateConfigRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '修改规则的描述信息、规则入参和风险等级等。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33047,9 +19410,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigQMX28I',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigQMX28I'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -33057,37 +19418,21 @@
[
'name' => 'ConfigRuleId',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则ID。'."\n"
- ."\n"
- .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cr-a260626622af0005****',
- ],
+ 'schema' => ['description' => '规则ID。'."\n"
+ ."\n"
+ .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a260626622af0005****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则描述。最多输入500个字符。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
- ],
+ 'schema' => ['description' => '规则描述。最多输入500个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。'],
],
[
'name' => 'InputParameters',
'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'description' => '规则参数。'."\n",
- 'type' => 'object',
- 'required' => false,
- 'example' => '{"tag1Key":"ECS","tag1Value":"test"}',
- ],
+ 'schema' => ['description' => '规则参数。'."\n", 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}'],
],
[
'name' => 'MaximumExecutionFrequency',
@@ -33104,13 +19449,7 @@
'type' => 'string',
'required' => false,
'example' => 'One_Hour',
- 'enum' => [
- 'One_Hour',
- 'Three_Hours',
- 'Six_Hours',
- 'Twelve_Hours',
- 'TwentyFour_Hours',
- ],
+ 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'],
],
],
[
@@ -33120,12 +19459,7 @@
'schema' => [
'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。'."\n",
'type' => 'array',
- 'items' => [
- 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance'],
'required' => false,
'example' => 'ACS::ECS::Instance',
],
@@ -33146,135 +19480,79 @@
'minimum' => '1',
'exclusiveMinimum' => false,
'example' => '3',
- 'enum' => [
- '1',
- '2',
- '3',
- ],
+ 'enum' => ['1', '2', '3'],
],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
- ."\n\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n"
+ ."\n\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'],
],
[
'name' => 'RegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '规则仅对指定地域ID中的资源生效。多个地域ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ExcludeRegionIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '规则对指定地域内资源无效,即不对该地域内资源执行评估。多个地域ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
'name' => 'ExcludeResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-t4nbowvtbkss7t326****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID无效,即不对该资源执行评估。多个资源ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****'],
],
[
'name' => 'ResourceIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-5cmbowstbkss9ta03****',
- ],
+ 'schema' => ['description' => '规则对指定资源ID生效。多个资源ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****'],
],
[
'name' => 'ConfigRuleTriggerTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则触发机制。取值:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:配置变更。'."\n"
- ."\n"
- .'- ScheduledNotification:周期执行。'."\n"
- ."\n"
- .'> 仅自定义规则能修改该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ConfigurationItemChangeNotification',
- ],
+ 'schema' => ['description' => '规则触发机制。取值:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:配置变更。'."\n"
+ ."\n"
+ .'- ScheduledNotification:周期执行。'."\n"
+ ."\n"
+ .'> 仅自定义规则能修改该参数。', 'type' => 'string', 'required' => false, 'example' => 'ConfigurationItemChangeNotification'],
],
[
'name' => 'ResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
- ."\n"
- .'> 仅适用于规则模板。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzc7r7rhx****',
- ],
+ 'schema' => ['description' => '规则仅对指定资源组ID中的资源生效。多个资源组ID之间用半角逗号(,)分隔。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****'],
],
[
'name' => 'ExcludeResourceGroupIdsScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-bnczc6r7rml****',
- ],
+ 'schema' => ['description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****'],
],
[
'name' => 'TagKeyScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'ECS',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS'],
],
[
'name' => 'TagValueScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
- ."\n"
- .'规则仅对绑定指定标签的资源生效。'."\n"
- ."\n"
- .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '已废弃,请使用 `TagsScope` 字段。'."\n"
+ ."\n"
+ .'规则仅对绑定指定标签的资源生效。'."\n"
+ ."\n"
+ .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test'],
],
[
'name' => 'TagKeyLogicScope',
@@ -33292,15 +19570,9 @@
'type' => 'string',
'deprecated' => false,
'required' => false,
- 'enumValueTitles' => [
- 'OR' => 'OR',
- 'AND' => 'AND',
- ],
+ 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'],
'example' => 'AND',
- 'enum' => [
- 'AND',
- 'OR',
- ],
+ 'enum' => ['AND', 'OR'],
],
],
[
@@ -33313,20 +19585,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
],
@@ -33341,20 +19604,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-2',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-2',
- ],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2'],
],
'required' => false,
+ 'description' => '',
],
'required' => false,
],
@@ -33362,24 +19616,19 @@
[
'name' => 'ConfigRuleName',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则名称。'."\n"
- ."\n"
- .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '存在所有指定标签',
- ],
+ 'schema' => ['description' => '规则名称。'."\n"
+ ."\n"
+ .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签'],
+ ],
+ [
+ 'name' => 'Conditions',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'title' => '自定义条件规则的条件,JSON格式', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'description' => '自定义条件规则的条件,JSON格式'],
],
[
'name' => 'ExtendContent',
'in' => 'formData',
- 'schema' => [
- 'description' => '选填,扩展内容,与24h周期触发配合使用,用于设置触发时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"fixedHour":"12"}',
- ],
+ 'schema' => ['description' => '选填,扩展内容,与24h周期触发配合使用,用于设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"12"}'],
],
[
'name' => 'Tag',
@@ -33396,18 +19645,8 @@
.'最多支持绑定20个标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key-1',
- ],
- 'Value' => [
- 'description' => '标签值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'value-1',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1'],
+ 'Value' => ['description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value-1'],
],
'required' => false,
],
@@ -33419,12 +19658,7 @@
[
'name' => 'ResourceNameScope',
'in' => 'formData',
- 'schema' => [
- 'description' => '规则仅对指定资源名称的资源生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-xxx',
- ],
+ 'schema' => ['description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx'],
],
],
'responses' => [
@@ -33433,69 +19667,33 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'ConfigRuleId' => [
- 'description' => '规则ID。',
- 'type' => 'string',
- 'example' => 'cr-a260626622af0005****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
- ],
+ 'ConfigRuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a260626622af0005****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ExceedMaxRuleCount',
- 'errorMessage' => 'The maximum number of rules is exceeded.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'ConfigRuleExists',
- 'errorMessage' => 'The ConfigRule already exists.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改规则',
- 'summary' => '修改规则的描述信息、规则入参和风险等级等。',
'description' => '本文将提供一个示例,将规则`cr-a260626622af0005****`的风险等级修改为`3`(低风险)。',
'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateConfigRule',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigRule'],
],
],
'ramActions' => [
@@ -33506,12 +19704,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -33520,13 +19713,8 @@
],
'UpdateConfigurationRecorder' => [
'summary' => '修改当前账号的资源监控范围。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -33538,23 +19726,14 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfig56XT35',
- 'FEATUREconfigI0TIO6',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfig56XT35', 'FEATUREconfigI0TIO6'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ResourceTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'schema' => ['description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance'],
],
],
'responses' => [
@@ -33562,34 +19741,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2A1D5095-D1F9-56B6-A712-EA495608E79A',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2A1D5095-D1F9-56B6-A712-EA495608E79A'],
'ConfigurationRecorder' => [
'description' => '资源监控信息。',
'type' => 'object',
'properties' => [
- 'ConfigurationRecorderStatus' => [
- 'description' => '资源监控状态。取值:'."\n"
- ."\n"
- .'- REGISTRABLE:未注册。'."\n"
- ."\n"
- .'- BUILDING:构建中。'."\n"
- .'- REGISTERED:已注册。'."\n"
- .'- REBUILDING:重新构建中。',
- 'type' => 'string',
- 'example' => 'REGISTERED',
- ],
+ 'ConfigurationRecorderStatus' => ['description' => '资源监控状态。取值:'."\n"
+ ."\n"
+ .'- REGISTRABLE:未注册。'."\n"
+ ."\n"
+ .'- BUILDING:构建中。'."\n"
+ .'- REGISTERED:已注册。'."\n"
+ .'- REBUILDING:重新构建中。', 'type' => 'string', 'example' => 'REGISTERED'],
'ResourceTypes' => [
'description' => '监控资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
- ],
+ 'items' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
],
],
],
@@ -33600,28 +19767,12 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '您无权执行此操作。',
- ],
- [
- 'errorCode' => 'Invalid.ResourceTypes.Value',
- 'errorMessage' => 'The specified resourceTypes is invalid.',
- 'description' => '输入的资源类型为非法值。',
- ],
- [
- 'errorCode' => 'ProcessIsRunning',
- 'errorMessage' => 'The process is running.',
- 'description' => '进程还在执行中。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。'],
+ ['errorCode' => 'Invalid.ResourceTypes.Value', 'errorMessage' => 'The specified resourceTypes is invalid.', 'description' => '输入的资源类型为非法值。'],
+ ['errorCode' => 'ProcessIsRunning', 'errorMessage' => 'The process is running.', 'description' => '进程还在执行中。'],
],
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
'title' => '修改资源监控范围',
@@ -33629,12 +19780,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateConfigurationRecorder',
- ],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigurationRecorder'],
],
],
'ramActions' => [
@@ -33645,12 +19791,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -33658,13 +19799,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A1D5095-D1F9-56B6-A712-EA495608E79A\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]',
],
'UpdateIntegratedServiceStatus' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33676,65 +19812,39 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigL91U0A',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigL91U0A'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'ServiceCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '云产品code',
- 'description' => '集成的云服务标识。取值:'."\n"
- ."\n"
- .'- eventbridge:事件总线。'."\n"
- .'- cms:云监控。'."\n"
- .'- bpstudio:云速搭。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'bpstudio',
- ],
+ 'schema' => ['title' => '云产品code', 'description' => '集成的云服务标识。取值:'."\n"
+ ."\n"
+ .'- eventbridge:事件总线。'."\n"
+ .'- cms:云监控。'."\n"
+ .'- bpstudio:云速搭。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'bpstudio'],
],
[
'name' => 'Status',
'in' => 'formData',
- 'schema' => [
- 'title' => '状态, true:开启;false:关闭',
- 'description' => '云产品的集成状态。取值:'."\n"
- .'- true:开启。 '."\n"
- .'- false:关闭。',
- 'type' => 'boolean',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['title' => '状态, true:开启;false:关闭', 'description' => '云产品的集成状态。取值:'."\n"
+ .'- true:开启。 '."\n"
+ .'- false:关闭。', 'type' => 'boolean', 'required' => true, 'docRequired' => false, 'example' => 'true'],
],
[
'name' => 'IntegratedTypes',
'in' => 'formData',
- 'schema' => [
- 'description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
- ."\n"
- .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NonCompliantNotification',
- ],
+ 'schema' => ['description' => '集成的事件类型,多个事件类型用半角逗号(,)分隔。支持的事件类型有:'."\n"
+ ."\n"
+ .'- ConfigurationItemChangeNotification:资源变更事件。'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'required' => false, 'example' => 'NonCompliantNotification'],
],
[
'name' => 'AggregatorDeliveryDataType',
'in' => 'formData',
- 'schema' => [
- 'description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
- .'- NonCompliantNotification:不合规事件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NonCompliantNotification',
- ],
+ 'schema' => ['description' => '跨账号集成的事件类型。支持的事件类型有:'."\n"
+ .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'required' => false, 'example' => 'NonCompliantNotification'],
],
],
'responses' => [
@@ -33742,11 +19852,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D'],
],
'description' => '',
],
@@ -33754,18 +19860,10 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'IntegratedDeliveryNotSupported',
- 'errorMessage' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.',
- 'description' => '当前集成服务多账号投递仅支持通过云监控或者事件总线投递不合规事件',
- ],
+ ['errorCode' => 'IntegratedDeliveryNotSupported', 'errorMessage' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', 'description' => '当前集成服务多账号投递仅支持通过云监控或者事件总线投递不合规事件'],
],
404 => [
- [
- 'errorCode' => 'AccountNotExisted',
- 'errorMessage' => 'Your account does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''],
],
],
'title' => '开启指定集成服务',
@@ -33774,12 +19872,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateIntegratedServiceStatus',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIntegratedServiceStatus'],
],
],
'ramActions' => [
@@ -33790,12 +19883,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -33804,13 +19892,8 @@
],
'UpdateRemediation' => [
'summary' => '更新指定的修正设置。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33822,100 +19905,58 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigOH65M0',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigOH65M0'],
],
'parameters' => [
[
'name' => 'RemediationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置ID。'."\n"
- ."\n"
- .'关于如何获取修正设置ID,请参见[ListRemediations](~~270772~~)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'crr-909ba2d4716700eb****',
- ],
+ 'schema' => ['description' => '修正设置ID。'."\n"
+ ."\n"
+ .'关于如何获取修正设置ID,请参见[ListRemediations](~~270772~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****'],
],
[
'name' => 'RemediationType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正类型。取值:'."\n"
- .'- OOS:运维编排(模板修正)。'."\n"
- .'- FC:函数计算(自定义修正)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'OOS',
- ],
+ 'schema' => ['description' => '修正类型。取值:'."\n"
+ .'- OOS:运维编排(模板修正)。'."\n"
+ .'- FC:函数计算(自定义修正)。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'OOS'],
],
[
'name' => 'RemediationTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正模板ID。'."\n"
- ."\n"
- .'关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~270066~~)。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'ACS-OSS-PutBucketAcl',
- ],
+ 'schema' => ['description' => '修正模板ID。'."\n"
+ ."\n"
+ .'关于如何获取修正模板ID,请参见[ListRemediationTemplates](~~270066~~)。'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl'],
],
[
'name' => 'InvokeType',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正执行方式。取值:'."\n"
- .'- NON_EXECUTION:不执行。'."\n"
- .'- AUTO_EXECUTION:自动执行。'."\n"
- .'- MANUAL_EXECUTION:手动执行。'."\n"
- .'- NOT_CONFIG:未设置。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'AUTO_EXECUTION',
- ],
+ 'schema' => ['description' => '修正执行方式。取值:'."\n"
+ .'- NON_EXECUTION:不执行。'."\n"
+ .'- AUTO_EXECUTION:自动执行。'."\n"
+ .'- MANUAL_EXECUTION:手动执行。'."\n"
+ .'- NOT_CONFIG:未设置。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'AUTO_EXECUTION'],
],
[
'name' => 'SourceType',
'in' => 'formData',
- 'schema' => [
- 'description' => '执行修正来源。取值:'."\n"
- .'- ALIYUN:官方修正。'."\n"
- ."\n"
- .'- CUSTOM:自定义修正。'."\n"
- ."\n"
- .'- NONE:无。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALIYUN',
- ],
+ 'schema' => ['description' => '执行修正来源。取值:'."\n"
+ .'- ALIYUN:官方修正。'."\n"
+ ."\n"
+ .'- CUSTOM:自定义修正。'."\n"
+ ."\n"
+ .'- NONE:无。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN'],
],
[
'name' => 'Params',
'in' => 'formData',
- 'schema' => [
- 'description' => '修正设置参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}',
- ],
+ 'schema' => ['description' => '修正设置参数。', 'type' => 'string', 'required' => false, 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}'],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'title' => '业务参数',
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2014295338-e7361358-5822-4276-8d30-b5183fac****',
- ],
+ 'schema' => ['title' => '业务参数', 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '2014295338-e7361358-5822-4276-8d30-b5183fac****'],
],
],
'responses' => [
@@ -33924,56 +19965,24 @@
'description' => '无',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
- ],
- 'RemediationId' => [
- 'description' => '修正设置ID。',
- 'type' => 'string',
- 'example' => 'crr-7c2ba2d0236700a3****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'],
+ 'RemediationId' => ['description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-7c2ba2d0236700a3****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'ConfigRuleNotExists',
- 'errorMessage' => 'The ConfigRule does not exist.',
- 'description' => '此规则不存在。',
- ],
- [
- 'errorCode' => 'RDMemberNoPermission',
- 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.',
- 'description' => '您无权进行此操作,原因可能是:'."\n"
- .'1、您未启用资源目录服务。'."\n"
- .'2、您使用的不是资源目录的企业管理账号。',
- ],
- [
- 'errorCode' => 'RemediationInputParamInConsistentWithRule',
- 'errorMessage' => 'The remediation parameter does not match the rule parameter.',
- 'description' => '修正设置参数与规则参数不一致。',
- ],
- [
- 'errorCode' => 'RemediationTemplateNotExist',
- 'errorMessage' => 'The remediation template does not exist or is invalid.',
- 'description' => '修正模板不存在或不适用。',
- ],
- [
- 'errorCode' => 'Invalid.Params.Value',
- 'errorMessage' => 'The specified parameter value is invalid.',
- 'description' => '输入的模板参数值非法。',
- ],
+ ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => '此规则不存在。'],
+ ['errorCode' => 'RDMemberNoPermission', 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'description' => '您无权进行此操作,原因可能是:'."\n"
+ .'1、您未启用资源目录服务。'."\n"
+ .'2、您使用的不是资源目录的企业管理账号。'],
+ ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => '修正设置参数与规则参数不一致。'],
+ ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => '修正模板不存在或不适用。'],
+ ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => '输入的模板参数值非法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermissionCreateRemediationSLR',
- 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'description' => '无权创建服务关联角色。',
- ],
+ ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。'],
],
],
'title' => '更新修正设置',
@@ -33982,12 +19991,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateRemediation',
- ],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateRemediation'],
],
],
'ramActions' => [
@@ -33998,12 +20002,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -34012,12 +20011,8 @@
],
'UpdateReportTemplate' => [
'summary' => '更新合规报告模版。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -34029,109 +20024,67 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREconfigZWSOST',
- ],
+ 'abilityTreeNodes' => ['FEATUREconfigZWSOST'],
],
'parameters' => [
[
'name' => 'ReportTemplateName',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版名称',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'test-name',
- 'maxLength' => 100,
- ],
+ 'schema' => ['description' => '报告模版名称', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test-name', 'maxLength' => 100],
],
[
'name' => 'ReportTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => false,
- 'example' => 'crt-xxx',
- ],
+ 'schema' => ['description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx'],
],
[
'name' => 'ReportTemplateDescription',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告模版描述',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-description',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '报告模版描述', 'type' => 'string', 'required' => false, 'example' => 'test-description', 'maxLength' => 500],
],
[
'name' => 'ReportLanguage',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- 'maxLength' => 500,
- ],
+ 'schema' => ['description' => '报告语言。支持 zh-CN、en-US。空值默认 en-US。', 'type' => 'string', 'required' => false, 'example' => 'en-US', 'maxLength' => 500],
],
[
'name' => 'ReportGranularity',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告聚合粒度。'."\n"
- ."\n"
- .'管理账号视角支持:'."\n"
- .'- AllInOne(模版范围所有账号聚合生成一份报告)'."\n"
- .'- GroupByAggregator(按照账号组聚合生成报告,生成一个压缩文件)'."\n"
- .'- GroupByAccount(所有账号单独生成报告(默认),生成一个压缩文件)'."\n"
- ."\n"
- .'成员账号只支持 GroupByAccount。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AllInOne',
- ],
+ 'schema' => ['description' => '报告聚合粒度。'."\n"
+ ."\n"
+ .'管理账号视角支持:'."\n"
+ .'- AllInOne(模版范围所有账号聚合生成一份报告)'."\n"
+ .'- GroupByAggregator(按照账号组聚合生成报告,生成一个压缩文件)'."\n"
+ .'- GroupByAccount(所有账号单独生成报告(默认),生成一个压缩文件)'."\n"
+ ."\n"
+ .'成员账号只支持 GroupByAccount。', 'type' => 'string', 'required' => false, 'example' => 'AllInOne'],
],
[
'name' => 'ReportFileFormats',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'excel',
- ],
+ 'schema' => ['description' => '报告格式', 'type' => 'string', 'required' => false, 'example' => 'excel'],
],
[
'name' => 'SubscriptionFrequency',
'in' => 'formData',
- 'schema' => [
- 'description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
- ."\n"
- .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
- .'- 每天0点执行:0 0 0 * * ?'."\n"
- .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
- .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
- ."\n"
- .'其中:'."\n"
- .'- "*"表示任意值'."\n"
- .'- ? 用于日和周字段,表示不指定具体值'."\n"
- .'- MON 表示星期一'."\n"
- ."\n"
- .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
- ."\n"
- .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
- ."\n"
- .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
- .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0 0 0 * * ?',
- ],
+ 'schema' => ['description' => '报告订阅频率。如果此字段非空,则为订阅通知触发的 Quartz 格式的 Cron 表达式。'."\n"
+ ."\n"
+ .'格式为:秒 分 时 日 月 周。以下是常用的 Cron 表达式示例:'."\n"
+ .'- 每天0点执行:0 0 0 * * ?'."\n"
+ .'- 每周一15点30执行:0 30 15 ? * MON'."\n"
+ .'- 每月1号2点执行:0 0 2 1 * ?'."\n"
+ ."\n"
+ .'其中:'."\n"
+ .'- "*"表示任意值'."\n"
+ .'- ? 用于日和周字段,表示不指定具体值'."\n"
+ .'- MON 表示星期一'."\n"
+ ."\n"
+ .'> 触发时间为 UTC+8,可自行根据时区转换 cron 表达式的设置。'."\n"
+ ."\n"
+ .'> 只能保证尽量按照 cron 表达式时间进行触发,可能由于报告生产状态有所延迟。cron 表达式会限制同一模版每天最多触发一次通知。'."\n"
+ ."\n"
+ .'> 除了用 MON 表示星期一以外,也可以用数字。不过需要注意,在 Quartz 框架中:'."\n"
+ .'1 代表星期日(Sunday);2 代表星期一(Monday);3 代表星期二(Tuesday);4 代表星期三(Wednesday);5 代表星期四(Thursday);6 代表星期五(Friday);7 代表星期六(Saturday)', 'type' => 'string', 'required' => false, 'example' => '0 0 0 * * ?'],
],
[
'name' => 'ReportScope',
@@ -34146,27 +20099,12 @@
'description' => '报告范围',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '报告范围的键,当前支持:'."\n"
- .'- AggregatorId'."\n"
- .'- CompliancePackId'."\n"
- .'- RuleId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RuleId',
- ],
- 'Value' => [
- 'description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cr-1,cr-2',
- ],
- 'MatchType' => [
- 'description' => '匹配逻辑,当前仅支持 In。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'In',
- ],
+ 'Key' => ['description' => '报告范围的键,当前支持:'."\n"
+ .'- AggregatorId'."\n"
+ .'- CompliancePackId'."\n"
+ .'- RuleId', 'type' => 'string', 'required' => false, 'example' => 'RuleId'],
+ 'Value' => ['description' => '报告范围的值。多个同类项,如多个 规则 Id 支持用英文半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cr-1,cr-2'],
+ 'MatchType' => ['description' => '匹配逻辑,当前仅支持 In。', 'type' => 'string', 'required' => false, 'example' => 'In'],
],
'required' => false,
],
@@ -34180,16 +20118,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ReportTemplateId' => [
- 'description' => '报告模版 Id',
- 'type' => 'string',
- 'example' => 'crt-xxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
- ],
+ 'ReportTemplateId' => ['description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7'],
],
'description' => '',
],
@@ -34197,16 +20127,10 @@
],
'errorCodes' => [
503 => [
- [
- 'errorCode' => 'ServiceUnavailable',
- 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
- 'description' => '服务不可用。',
- ],
+ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '更新合规报告模版',
'changeSet' => [],
'flowControl' => [
@@ -34217,1450 +20141,257 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-southeast-1',
- 'regionName' => '新加坡',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'config.ap-southeast-1.aliyuncs.com',
- 'endpoint' => 'config.ap-southeast-1.aliyuncs.com',
- 'vpc' => 'config-vpc.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'regionName' => '华东2(上海)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'config.cn-shanghai.aliyuncs.com',
- 'endpoint' => 'config.cn-shanghai.aliyuncs.com',
- 'vpc' => 'config-vpc.cn-shanghai.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'config.cn-shanghai.aliyuncs.com', 'endpoint' => 'config.cn-shanghai.aliyuncs.com', 'vpc' => 'config-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'config.ap-southeast-1.aliyuncs.com', 'endpoint' => 'config.ap-southeast-1.aliyuncs.com', 'vpc' => 'config-vpc.ap-southeast-1.aliyuncs.com'],
],
'errorCodes' => [
- [
- 'code' => 'AccountNotExisted',
- 'message' => 'Your account is not existed.',
- 'http_code' => 400,
- 'description' => '你的账号不存在',
- ],
- [
- 'code' => 'AdminStopSLRFail',
- 'message' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.',
- 'http_code' => 400,
- 'description' => '在未完全删除账号组的情况下,禁止管理员账户关闭服务。',
- ],
- [
- 'code' => 'AggregatorAccountExceedMaxCount',
- 'message' => 'The maximum number of aggregator account is exceeded.',
- 'http_code' => 400,
- 'description' => '账号组内的成员账号数量超出限制。',
- ],
- [
- 'code' => 'AggregatorAccountListDuplicated',
- 'message' => 'The aggregator account list is duplicated.',
- 'http_code' => 400,
- 'description' => '存在相同成员账号的账号组。',
- ],
- [
- 'code' => 'AggregatorAccountListItemDuplicated',
- 'message' => 'The aggregator account list item is duplicated.',
- 'http_code' => 400,
- 'description' => '账号组内的成员账号重复。',
- ],
- [
- 'code' => 'AggregatorAlreadyPending',
- 'message' => 'The aggregator has a pending operation and cannot be updated.',
- 'http_code' => 400,
- 'description' => '如果账号组的状态非“创建完成”,不能被更新。',
- ],
- [
- 'code' => 'AggregatorExceedMaxCount',
- 'message' => 'The maximum number of aggregator is exceeded.',
- 'http_code' => 400,
- 'description' => '创建的账号组数量超出限制。',
- ],
- [
- 'code' => 'AggregatorMemberNoPermission',
- 'message' => 'The aggregator member is not authorized to perform the operation.',
- 'http_code' => 403,
- 'description' => '账号组内的成员账号无权限执行此操作。',
- ],
- [
- 'code' => 'AggregatorNameDuplicated',
- 'message' => 'The aggregator name is duplicated.',
- 'http_code' => 400,
- 'description' => '账号组名称重复。',
- ],
- [
- 'code' => 'CompliancePackAlreadyPending',
- 'message' => 'The compliance pack has a pending operation and cannot be updated.',
- 'http_code' => 400,
- 'description' => '如果合规包状态非“正常”,不能被更新。',
- ],
- [
- 'code' => 'CompliancePackCopyLimit',
- 'message' => 'The number of replication compliance packages must be less or equal than 5.',
- 'http_code' => 400,
- 'description' => '合规包的复制数量必须小于等于5',
- ],
- [
- 'code' => 'CompliancePackExists',
- 'message' => 'The compliance pack already exists.',
- 'http_code' => 400,
- 'description' => '合规包名称重复。',
- ],
- [
- 'code' => 'ConfigExceedMaxQuotaCount',
- 'message' => 'Exceed max quota, need to modify in quota center .',
- 'http_code' => 400,
- 'description' => '配额超限,需要至配额中心修改',
- ],
- [
- 'code' => 'ConfigRuleCopyLimit',
- 'message' => 'The number of replication config rule must be less or equal than 100.',
- 'http_code' => 400,
- 'description' => '复制规则的数量限制必须小于等于100',
- ],
- [
- 'code' => 'ConfigRuleNotExists',
- 'message' => 'The ConfigRule does not exist.',
- 'http_code' => 400,
- 'description' => '此规则不存在。',
- ],
- [
- 'code' => 'ConfigRulePendingCanNotUpdate',
- 'message' => 'ConfigRule is pending and cannot be updated.',
- 'http_code' => 400,
- 'description' => '当前规则有正在执行的操作,不能被更新。',
- ],
- [
- 'code' => 'ConfigRuleReportCreating',
- 'message' => 'The config rule report is being created.',
- 'http_code' => 400,
- 'description' => '规则的合规报告正在创建中。',
- ],
- [
- 'code' => 'ConfigRuleStatusNotActive',
- 'message' => 'The ConfigRule is inactive.',
- 'http_code' => 400,
- 'description' => '此规则处于停用状态。',
- ],
- [
- 'code' => 'ConfigRuleStatusNotActive',
- 'message' => 'The status of the config rule is not active.',
- 'http_code' => 400,
- 'description' => '当前规则不是启用状态。',
- ],
- [
- 'code' => 'ConfigRuleStatusNotInActive',
- 'message' => 'The status of the config rule is not inactive.',
- 'http_code' => 400,
- 'description' => '当前规则不是停用状态。',
- ],
- [
- 'code' => 'ConfigServiceNotEnabled',
- 'message' => 'The Cloud Config service is not activated.',
- 'http_code' => 404,
- 'description' => '配置审计服务未开通',
- ],
- [
- 'code' => 'CreateSLRFail',
- 'message' => 'Failed to create SLR.',
- 'http_code' => 500,
- 'description' => '创建角色失败。',
- ],
- [
- 'code' => 'DeliveryChannelAccountNotSupport',
- 'message' => 'Cross-account delivery that is not in the RD is not supported.',
- 'http_code' => 400,
- 'description' => '暂不支持非资源目录内的跨账号投递。',
- ],
- [
- 'code' => 'DeliveryChannelMnsUnreachable',
- 'message' => 'The MNS topic is unreachable.',
- 'http_code' => 400,
- 'description' => 'MNS Topic尝试投递失败。',
- ],
- [
- 'code' => 'DeliveryChannelNotExists',
- 'message' => 'The delivery channel does not exist.',
- 'http_code' => 400,
- 'description' => '投递渠道不存在。',
- ],
- [
- 'code' => 'DeliveryChannelOssUnreachable',
- 'message' => 'The OSS bucket is unreachable.',
- 'http_code' => 400,
- 'description' => 'OSS Bucket尝试投递失败。',
- ],
- [
- 'code' => 'DeliveryChannelTargetAlreadyUsed',
- 'message' => 'Delivery channel target already used.',
- 'http_code' => 400,
- 'description' => '目标投递渠道已经使用',
- ],
- [
- 'code' => 'EnterpriseEditionAllResourceTypesDefault',
- 'message' => 'The Enterprise Edition monitor all resource types by default.',
- 'http_code' => 400,
- 'description' => '企业版配置审计默认监控全部资源类型。',
- ],
- [
- 'code' => 'ExistsChannelResourcesInAggregator',
- 'message' => 'Exists some channel resources in the aggregator.',
- 'http_code' => 400,
- 'description' => '账号组内存在一些渠道规则',
- ],
- [
- 'code' => 'IntegratedDeliveryNotSupported',
- 'message' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.',
- 'http_code' => 400,
- 'description' => '当前集成服务多账号投递仅支持通过云监控或者事件总线投递不合规事件',
- ],
- [
- 'code' => 'Invalid.AccountType.Value',
- 'message' => 'The specified AccountType is invalid.',
- 'http_code' => 400,
- 'description' => '账号来源类型不符合要求。',
- ],
- [
- 'code' => 'Invalid.AggregatorAccounts.Empty',
- 'message' => 'You must specify AggregatorAccounts.',
- 'http_code' => 400,
- 'description' => '账号组内的成员账号列表不能为空。',
- ],
- [
- 'code' => 'Invalid.AggregatorAccounts.SizeExceed',
- 'message' => 'The maximum number of AggregatorAccounts is 200.',
- 'http_code' => 400,
- 'description' => '账号组内的成员账号不能超过200个。',
- ],
- [
- 'code' => 'Invalid.AggregatorAccounts.Value',
- 'message' => 'The specified AggregatorAccounts is invalid.',
- 'http_code' => 400,
- 'description' => '账号组内成员账号信息错误。',
- ],
- [
- 'code' => 'Invalid.AggregatorId.Value',
- 'message' => 'The specified AggregatorId is invalid.',
- 'http_code' => 400,
- 'description' => '账号组ID不存在或无权限使用该账号组。',
- ],
- [
- 'code' => 'Invalid.AggregatorIds.Empty',
- 'message' => 'You must specify AggregatorIds.',
- 'http_code' => 400,
- 'description' => '账号组ID列表不能为空。',
- ],
- [
- 'code' => 'Invalid.AggregatorIds.SizeExceed',
- 'message' => 'The maximum number of AggregatorIds is 5.',
- 'http_code' => 400,
- 'description' => '账号组ID不能超过5个。',
- ],
- [
- 'code' => 'Invalid.Api.Value',
- 'message' => 'Specified Api value is not valid.',
- 'http_code' => 400,
- 'description' => '指定的Api参数无效。',
- ],
- [
- 'code' => 'Invalid.Arn.Format',
- 'message' => 'Your ARN is not in the correct format.',
- 'http_code' => 400,
- 'description' => '您的 ARN 格式不正确。',
- ],
- [
- 'code' => 'Invalid.AssumeRoleArn.Empty',
- 'message' => 'You must specify AssumeRoleArn.',
- 'http_code' => 400,
- 'description' => 'AssumeroleArn参数不能为空。',
- ],
- [
- 'code' => 'Invalid.AssumeRoleArn.Format',
- 'message' => 'The specified format of AssumeRoleArn is invalid.',
- 'http_code' => 400,
- 'description' => 'AssumeRoleArn参数格式有误。',
- ],
- [
- 'code' => 'Invalid.ClientToken.Value',
- 'message' => 'Your ClientToken field value is not valid.',
- 'http_code' => 400,
- 'description' => '您的 ClientToken 字段值无效。',
- ],
- [
- 'code' => 'Invalid.CompliancePackId.Value',
- 'message' => 'The specified CompliancePackId does not exist.',
- 'http_code' => 400,
- 'description' => '合规包ID不存在。',
- ],
- [
- 'code' => 'Invalid.CompliancePackIds.SizeExceed',
- 'message' => 'The maximum number of CompliancePackIds is 5.',
- 'http_code' => 400,
- 'description' => '合规包ID不能超过5个。',
- ],
- [
- 'code' => 'Invalid.CompliancePackName.Empty',
- 'message' => 'You must specify CompliancePackName.',
- 'http_code' => 400,
- 'description' => '合规包名称不能为空。',
- ],
- [
- 'code' => 'Invalid.CompliancePackName.Value',
- 'message' => 'The specified CompliancePackName is invalid.',
- 'http_code' => 400,
- 'description' => '合规包名称格式不符合要求。',
- ],
- [
- 'code' => 'Invalid.CompliancePackTemplateId.Value',
- 'message' => 'The specified CompliancePackTemplateId does not exist.',
- 'http_code' => 400,
- 'description' => '合规包模板ID不存在。',
- ],
- [
- 'code' => 'Invalid.ConfigRuleId.Value',
- 'message' => 'Your ConfigRuleId is incorrect.',
- 'http_code' => 400,
- 'description' => '您填写的 ConfigRuleId 值不正确。',
- ],
- [
- 'code' => 'Invalid.ConfigRuleIds.SizeExceed',
- 'message' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
- 'http_code' => 400,
- 'description' => '输入的规则ID不能超过20个。',
- ],
- [
- 'code' => 'Invalid.ConfigRules.Value',
- 'message' => 'The specified ConfigRules is invalid.',
- 'http_code' => 400,
- 'description' => '合规包规则中参数输入错误。',
- ],
- [
- 'code' => 'Invalid.ConfigRuleTriggerTypes.Value',
- 'message' => 'Your ConfigRuleTriggerTypes error.',
- 'http_code' => 400,
- 'description' => '规则触发类型错误',
- ],
- [
- 'code' => 'Invalid.Date.Value',
- 'message' => 'Specified Date value is not valid.',
- 'http_code' => 400,
- 'description' => '指定的Date参数无效。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelAssumeRoleArn.Empty',
- 'message' => 'You must specify DeliveryChannelAssumeRoleArn.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelAssumeRoleArn不能为空。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
- 'message' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelCondition.Format',
- 'message' => 'The specified format of DeliveryChannelCondition is invalid.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelCondition格式错误。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelTargetArn.Empty',
- 'message' => 'You must specify DeliveryChannelTargetArn.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelTargetArn不能为空。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelTargetArn.Format',
- 'message' => 'The specified format of DeliveryChannelTargetArn is invalid.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelTargetArn格式错误。',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelTargetArn.Value',
- 'message' => 'The target delivery channel ARN value is incorrect.',
- 'http_code' => 400,
- 'description' => '目标投递渠道ARN值错误',
- ],
- [
- 'code' => 'Invalid.DeliveryChannelType.Empty',
- 'message' => 'You must specify DeliveryChannelType.',
- 'http_code' => 400,
- 'description' => '参数DeliveryChannelType不能为空。',
- ],
- [
- 'code' => 'Invalid.InputParameters.Value',
- 'message' => 'The specified parameter is invalid.',
- 'http_code' => 400,
- 'description' => '输入的参数值非法。',
- ],
- [
- 'code' => 'Invalid.InputParameters.Value',
- 'message' => 'Input parameter error.',
- 'http_code' => 400,
- 'description' => '输入参数错误。',
- ],
- [
- 'code' => 'Invalid.MaximumExecutionFrequency.Empty',
- 'message' => 'The maximum rule execution frequency is empty.',
- 'http_code' => 400,
- 'description' => '规则最大执行频率为空。',
- ],
- [
- 'code' => 'Invalid.MnsArn.Format',
- 'message' => 'The specified format of MnsArn is invalid.',
- 'http_code' => 400,
- 'description' => 'MnsArn参数格式有误。',
- ],
- [
- 'code' => 'Invalid.MnsFilter.Format',
- 'message' => 'The specified format of MnsFilter is invalid.',
- 'http_code' => 400,
- 'description' => 'MnsFilter参数格式有误。',
- ],
- [
- 'code' => 'Invalid.OssArn.Format',
- 'message' => 'The specified format of OssArn is invalid.',
- 'http_code' => 400,
- 'description' => 'OssArn参数格式有误。',
- ],
- [
- 'code' => 'Invalid.OssBucketName.Value',
- 'message' => 'The specified OssBucketName does not exist.',
- 'http_code' => 400,
- 'description' => '参数OssBucketName对应的OSS Bucket不存在。',
- ],
- [
- 'code' => 'Invalid.Params.Value',
- 'message' => 'The specified parameter value is invalid.',
- 'http_code' => 400,
- 'description' => '输入的模板参数值非法。',
- ],
- [
- 'code' => 'Invalid.region.Value',
- 'message' => 'Region information is not valid.',
- 'http_code' => 400,
- 'description' => '地域信息不有效。',
- ],
- [
- 'code' => 'Invalid.ResourceAccountId.Empty',
- 'message' => 'The resource account ID is empty.',
- 'http_code' => 400,
- 'description' => '资源归属账号 ID 为空',
- ],
- [
- 'code' => 'Invalid.ResourceId.Value',
- 'message' => 'The specified resourceId is invalid.',
- 'http_code' => 400,
- 'description' => ' 输入的资源ID为非法值。',
- ],
- [
- 'code' => 'Invalid.ResourceOwnerId.Value',
- 'message' => 'The specified ResourceOwnerId is invalid.',
- 'http_code' => 400,
- 'description' => '该账号不存在或不在目标账号组内。',
- ],
- [
- 'code' => 'Invalid.ResourceType.Empty',
- 'message' => 'The resource type cannot be empty.',
- 'http_code' => 400,
- 'description' => '资源类型不能为空。',
- ],
- [
- 'code' => 'Invalid.ResourceTypes.Value',
- 'message' => 'The specified resourceTypes is invalid.',
- 'http_code' => 400,
- 'description' => '输入的资源类型为非法值。',
- ],
- [
- 'code' => 'Invalid.ResourceTypesScope.Value',
- 'message' => 'The resource type range value is not valid.',
- 'http_code' => 400,
- 'description' => '资源类型范围值不有效。',
- ],
- [
- 'code' => 'Invalid.SlsArn.Format',
- 'message' => 'The specified format of SlsArn is invalid.',
- 'http_code' => 400,
- 'description' => 'SlsArn参数格式有误。',
- ],
- [
- 'code' => 'MemberStopSLRFail',
- 'message' => 'The member exists in the aggregator, and it is forbidden to close the service.',
- 'http_code' => 400,
- 'description' => '成员账号存在于账号组中,不能关闭服务。',
- ],
- [
- 'code' => 'NoChannelPermission',
- 'message' => 'The current operation has no channel permission.',
- 'http_code' => 400,
- 'description' => '当前操作未被渠道允许。',
- ],
- [
- 'code' => 'NoData',
- 'message' => 'not found data.',
- 'http_code' => 404,
- 'description' => '没有数据',
- ],
- [
- 'code' => 'NoPermission',
- 'message' => 'You are not authorized to perform this operation.',
- 'http_code' => 400,
- 'description' => '您无权执行此操作。',
- ],
- [
- 'code' => 'NoPermissionCreateAggregator',
- 'message' => 'You are not authorized to create the aggregator.',
- 'http_code' => 403,
- 'description' => '无权限创建账号组。',
- ],
- [
- 'code' => 'NoPermissionCreateRemediationSLR',
- 'message' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
- 'http_code' => 403,
- 'description' => '无权创建服务关联角色。',
- ],
- [
- 'code' => 'ProcessIsRunning',
- 'message' => 'The process is running.',
- 'http_code' => 400,
- 'description' => '进程还在执行中。',
- ],
- [
- 'code' => 'RDAggregatorAlreadyExist',
- 'message' => 'The resource directory aggregator already exists.',
- 'http_code' => 400,
- 'description' => '全局账号组已存在。',
- ],
- [
- 'code' => 'RDAggregatorUpdateNotSupport',
- 'message' => 'The resource directory aggregator cannot be updated.',
- 'http_code' => 400,
- 'description' => '全局账号组不能更新。',
- ],
- [
- 'code' => 'RDEnableConfigAccessFail',
- 'message' => 'Failed to enable Config access Resource Directory.',
- 'http_code' => 400,
- 'description' => '当您开启企业版本配置审计时,集成资源目录失败。',
- ],
- [
- 'code' => 'RDMemberNoPermission',
- 'message' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.',
- 'http_code' => 400,
- 'description' => '您无权进行此操作,原因可能是:'."\n"
- .'1、您未启用资源目录服务。'."\n"
- .'2、您使用的不是资源目录的企业管理账号。',
- ],
- [
- 'code' => 'RemediationInputParamInConsistentWithRule',
- 'message' => 'The remediation parameter does not match the rule parameter.',
- 'http_code' => 400,
- 'description' => '修正设置参数与规则参数不一致。',
- ],
- [
- 'code' => 'RemediationTemplateNotExist',
- 'message' => 'The remediation template does not exist or is invalid.',
- 'http_code' => 400,
- 'description' => '修正模板不存在或不适用。',
- ],
- [
- 'code' => 'RuleInputParametersAreInvalid',
- 'message' => 'Rule input parameters are invalid.',
- 'http_code' => 400,
- 'description' => '规则输入参数不正确',
- ],
- [
- 'code' => 'ServiceUnavailable',
- 'message' => 'The request has failed due to a temporary failure of the server.',
- 'http_code' => 503,
- 'description' => '服务不可用。',
- ],
- [
- 'code' => 'StopSLRFail',
- 'message' => 'Stop config service fail.',
- 'http_code' => 400,
- 'description' => '停用配置审计服务失败。',
- ],
- [
- 'code' => 'TagNotMatch',
- 'message' => 'Your specific tags are not match any resource.',
- 'http_code' => 404,
- 'description' => '您指定的标签未匹配到任何资源。',
- ],
- [
- 'code' => 'TemplateContentFormatError',
- 'message' => 'Cause Reason: %s.',
- 'http_code' => 400,
- 'description' => 'TemplateContent JSON信息中存在的异常值',
- ],
- [
- 'code' => 'TimelineQueryPageNumberExceedMaxCount',
- 'message' => 'Page number exceed max count',
- 'http_code' => 404,
- 'description' => '页码超出最大范围',
- ],
- [
- 'code' => 'TokenInvalid',
- 'message' => 'The token is invalid.',
- 'http_code' => 400,
- 'description' => '令牌无效。',
- ],
- [
- 'code' => 'ReportTemplateNotExist',
- 'message' => 'Report template does not exist or invalid.',
- 'http_code' => 400,
- 'description' => '报告模版不存在,请检查输入的ReportTemplateId',
- ],
- [
- 'code' => 'RemediationNotExist',
- 'message' => 'Remediation does not exist or invalid.',
- 'http_code' => 400,
- 'description' => '修正配置不存在',
- ],
+ ['code' => 'AccountNotExisted', 'message' => 'Your account is not existed.', 'http_code' => 400, 'description' => '你的账号不存在'],
+ ['code' => 'AdminStopSLRFail', 'message' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', 'http_code' => 400, 'description' => '在未完全删除账号组的情况下,禁止管理员账户关闭服务。'],
+ ['code' => 'AggregatorAccountExceedMaxCount', 'message' => 'The maximum number of aggregator account is exceeded.', 'http_code' => 400, 'description' => '账号组内的成员账号数量超出限制。'],
+ ['code' => 'AggregatorAccountListDuplicated', 'message' => 'The aggregator account list is duplicated.', 'http_code' => 400, 'description' => '存在相同成员账号的账号组。'],
+ ['code' => 'AggregatorAccountListItemDuplicated', 'message' => 'The aggregator account list item is duplicated.', 'http_code' => 400, 'description' => '账号组内的成员账号重复。'],
+ ['code' => 'AggregatorAlreadyPending', 'message' => 'The aggregator has a pending operation and cannot be updated.', 'http_code' => 400, 'description' => '如果账号组的状态非“创建完成”,不能被更新。'],
+ ['code' => 'AggregatorExceedMaxCount', 'message' => 'The maximum number of aggregator is exceeded.', 'http_code' => 400, 'description' => '创建的账号组数量超出限制。'],
+ ['code' => 'AggregatorMemberNoPermission', 'message' => 'The aggregator member is not authorized to perform the operation.', 'http_code' => 403, 'description' => '账号组内的成员账号无权限执行此操作。'],
+ ['code' => 'AggregatorNameDuplicated', 'message' => 'The aggregator name is duplicated.', 'http_code' => 400, 'description' => '账号组名称重复。'],
+ ['code' => 'CompliancePackAlreadyPending', 'message' => 'The compliance pack has a pending operation and cannot be updated.', 'http_code' => 400, 'description' => '如果合规包状态非“正常”,不能被更新。'],
+ ['code' => 'CompliancePackCopyLimit', 'message' => 'The number of replication compliance packages must be less or equal than 5.', 'http_code' => 400, 'description' => '合规包的复制数量必须小于等于5'],
+ ['code' => 'CompliancePackExists', 'message' => 'The compliance pack already exists.', 'http_code' => 400, 'description' => '合规包名称重复。'],
+ ['code' => 'ConfigExceedMaxQuotaCount', 'message' => 'Exceed max quota, need to modify in quota center .', 'http_code' => 400, 'description' => '配额超限,需要至配额中心修改'],
+ ['code' => 'ConfigRuleCopyLimit', 'message' => 'The number of replication config rule must be less or equal than 100.', 'http_code' => 400, 'description' => '复制规则的数量限制必须小于等于100'],
+ ['code' => 'ConfigRuleNotExists', 'message' => 'The ConfigRule does not exist.', 'http_code' => 400, 'description' => '此规则不存在。'],
+ ['code' => 'ConfigRulePendingCanNotUpdate', 'message' => 'ConfigRule is pending and cannot be updated.', 'http_code' => 400, 'description' => '当前规则有正在执行的操作,不能被更新。'],
+ ['code' => 'ConfigRuleReportCreating', 'message' => 'The config rule report is being created.', 'http_code' => 400, 'description' => '规则的合规报告正在创建中。'],
+ ['code' => 'ConfigRuleStatusNotActive', 'message' => 'The ConfigRule is inactive.', 'http_code' => 400, 'description' => '此规则处于停用状态。'],
+ ['code' => 'ConfigRuleStatusNotActive', 'message' => 'The status of the config rule is not active.', 'http_code' => 400, 'description' => '当前规则不是启用状态。'],
+ ['code' => 'ConfigRuleStatusNotInActive', 'message' => 'The status of the config rule is not inactive.', 'http_code' => 400, 'description' => '当前规则不是停用状态。'],
+ ['code' => 'ConfigServiceNotEnabled', 'message' => 'The Cloud Config service is not activated.', 'http_code' => 404, 'description' => '配置审计服务未开通'],
+ ['code' => 'CreateSLRFail', 'message' => 'Failed to create SLR.', 'http_code' => 500, 'description' => '创建角色失败。'],
+ ['code' => 'DeliveryChannelAccountNotSupport', 'message' => 'Cross-account delivery that is not in the RD is not supported.', 'http_code' => 400, 'description' => '暂不支持非资源目录内的跨账号投递。'],
+ ['code' => 'DeliveryChannelMnsUnreachable', 'message' => 'The MNS topic is unreachable.', 'http_code' => 400, 'description' => 'MNS Topic尝试投递失败。'],
+ ['code' => 'DeliveryChannelNotExists', 'message' => 'The delivery channel does not exist.', 'http_code' => 400, 'description' => '投递渠道不存在。'],
+ ['code' => 'DeliveryChannelOssUnreachable', 'message' => 'The OSS bucket is unreachable.', 'http_code' => 400, 'description' => 'OSS Bucket尝试投递失败。'],
+ ['code' => 'DeliveryChannelTargetAlreadyUsed', 'message' => 'Delivery channel target already used.', 'http_code' => 400, 'description' => '目标投递渠道已经使用'],
+ ['code' => 'EnterpriseEditionAllResourceTypesDefault', 'message' => 'The Enterprise Edition monitor all resource types by default.', 'http_code' => 400, 'description' => '企业版配置审计默认监控全部资源类型。'],
+ ['code' => 'ExistsChannelResourcesInAggregator', 'message' => 'Exists some channel resources in the aggregator.', 'http_code' => 400, 'description' => '账号组内存在一些渠道规则'],
+ ['code' => 'IntegratedDeliveryNotSupported', 'message' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', 'http_code' => 400, 'description' => '当前集成服务多账号投递仅支持通过云监控或者事件总线投递不合规事件'],
+ ['code' => 'Invalid.AccountType.Value', 'message' => 'The specified AccountType is invalid.', 'http_code' => 400, 'description' => '账号来源类型不符合要求。'],
+ ['code' => 'Invalid.AggregatorAccounts.Empty', 'message' => 'You must specify AggregatorAccounts.', 'http_code' => 400, 'description' => '账号组内的成员账号列表不能为空。'],
+ ['code' => 'Invalid.AggregatorAccounts.SizeExceed', 'message' => 'The maximum number of AggregatorAccounts is 200.', 'http_code' => 400, 'description' => '账号组内的成员账号不能超过200个。'],
+ ['code' => 'Invalid.AggregatorAccounts.Value', 'message' => 'The specified AggregatorAccounts is invalid.', 'http_code' => 400, 'description' => '账号组内成员账号信息错误。'],
+ ['code' => 'Invalid.AggregatorId.Value', 'message' => 'The specified AggregatorId is invalid.', 'http_code' => 400, 'description' => '账号组ID不存在或无权限使用该账号组。'],
+ ['code' => 'Invalid.AggregatorIds.Empty', 'message' => 'You must specify AggregatorIds.', 'http_code' => 400, 'description' => '账号组ID列表不能为空。'],
+ ['code' => 'Invalid.AggregatorIds.SizeExceed', 'message' => 'The maximum number of AggregatorIds is 5.', 'http_code' => 400, 'description' => '账号组ID不能超过5个。'],
+ ['code' => 'Invalid.Api.Value', 'message' => 'Specified Api value is not valid.', 'http_code' => 400, 'description' => '指定的Api参数无效。'],
+ ['code' => 'Invalid.Arn.Format', 'message' => 'Your ARN is not in the correct format.', 'http_code' => 400, 'description' => '您的 ARN 格式不正确。'],
+ ['code' => 'Invalid.AssumeRoleArn.Empty', 'message' => 'You must specify AssumeRoleArn.', 'http_code' => 400, 'description' => 'AssumeroleArn参数不能为空。'],
+ ['code' => 'Invalid.AssumeRoleArn.Format', 'message' => 'The specified format of AssumeRoleArn is invalid.', 'http_code' => 400, 'description' => 'AssumeRoleArn参数格式有误。'],
+ ['code' => 'Invalid.ClientToken.Value', 'message' => 'Your ClientToken field value is not valid.', 'http_code' => 400, 'description' => '您的 ClientToken 字段值无效。'],
+ ['code' => 'Invalid.CompliancePackId.Value', 'message' => 'The specified CompliancePackId does not exist.', 'http_code' => 400, 'description' => '合规包ID不存在。'],
+ ['code' => 'Invalid.CompliancePackIds.SizeExceed', 'message' => 'The maximum number of CompliancePackIds is 5.', 'http_code' => 400, 'description' => '合规包ID不能超过5个。'],
+ ['code' => 'Invalid.CompliancePackName.Empty', 'message' => 'You must specify CompliancePackName.', 'http_code' => 400, 'description' => '合规包名称不能为空。'],
+ ['code' => 'Invalid.CompliancePackName.Value', 'message' => 'The specified CompliancePackName is invalid.', 'http_code' => 400, 'description' => '合规包名称格式不符合要求。'],
+ ['code' => 'Invalid.CompliancePackTemplateId.Value', 'message' => 'The specified CompliancePackTemplateId does not exist.', 'http_code' => 400, 'description' => '合规包模板ID不存在。'],
+ ['code' => 'Invalid.ConfigRuleId.Value', 'message' => 'Your ConfigRuleId is incorrect.', 'http_code' => 400, 'description' => '您填写的 ConfigRuleId 值不正确。'],
+ ['code' => 'Invalid.ConfigRuleIds.SizeExceed', 'message' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'http_code' => 400, 'description' => '输入的规则ID不能超过20个。'],
+ ['code' => 'Invalid.ConfigRules.Value', 'message' => 'The specified ConfigRules is invalid.', 'http_code' => 400, 'description' => '合规包规则中参数输入错误。'],
+ ['code' => 'Invalid.ConfigRuleTriggerTypes.Value', 'message' => 'Your ConfigRuleTriggerTypes error.', 'http_code' => 400, 'description' => '规则触发类型错误'],
+ ['code' => 'Invalid.Date.Value', 'message' => 'Specified Date value is not valid.', 'http_code' => 400, 'description' => '指定的Date参数无效。'],
+ ['code' => 'Invalid.DeliveryChannelAssumeRoleArn.Empty', 'message' => 'You must specify DeliveryChannelAssumeRoleArn.', 'http_code' => 400, 'description' => '参数DeliveryChannelAssumeRoleArn不能为空。'],
+ ['code' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'message' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'http_code' => 400, 'description' => '参数DeliveryChannelAssumeRoleArn格式错误。'],
+ ['code' => 'Invalid.DeliveryChannelCondition.Format', 'message' => 'The specified format of DeliveryChannelCondition is invalid.', 'http_code' => 400, 'description' => '参数DeliveryChannelCondition格式错误。'],
+ ['code' => 'Invalid.DeliveryChannelTargetArn.Empty', 'message' => 'You must specify DeliveryChannelTargetArn.', 'http_code' => 400, 'description' => '参数DeliveryChannelTargetArn不能为空。'],
+ ['code' => 'Invalid.DeliveryChannelTargetArn.Format', 'message' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'http_code' => 400, 'description' => '参数DeliveryChannelTargetArn格式错误。'],
+ ['code' => 'Invalid.DeliveryChannelTargetArn.Value', 'message' => 'The target delivery channel ARN value is incorrect.', 'http_code' => 400, 'description' => '目标投递渠道ARN值错误'],
+ ['code' => 'Invalid.DeliveryChannelType.Empty', 'message' => 'You must specify DeliveryChannelType.', 'http_code' => 400, 'description' => '参数DeliveryChannelType不能为空。'],
+ ['code' => 'Invalid.InputParameters.Value', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '输入的参数值非法。'],
+ ['code' => 'Invalid.InputParameters.Value', 'message' => 'Input parameter error.', 'http_code' => 400, 'description' => '输入参数错误。'],
+ ['code' => 'Invalid.MaximumExecutionFrequency.Empty', 'message' => 'The maximum rule execution frequency is empty.', 'http_code' => 400, 'description' => '规则最大执行频率为空。'],
+ ['code' => 'Invalid.MnsArn.Format', 'message' => 'The specified format of MnsArn is invalid.', 'http_code' => 400, 'description' => 'MnsArn参数格式有误。'],
+ ['code' => 'Invalid.MnsFilter.Format', 'message' => 'The specified format of MnsFilter is invalid.', 'http_code' => 400, 'description' => 'MnsFilter参数格式有误。'],
+ ['code' => 'Invalid.OssArn.Format', 'message' => 'The specified format of OssArn is invalid.', 'http_code' => 400, 'description' => 'OssArn参数格式有误。'],
+ ['code' => 'Invalid.OssBucketName.Value', 'message' => 'The specified OssBucketName does not exist.', 'http_code' => 400, 'description' => '参数OssBucketName对应的OSS Bucket不存在。'],
+ ['code' => 'Invalid.Params.Value', 'message' => 'The specified parameter value is invalid.', 'http_code' => 400, 'description' => '输入的模板参数值非法。'],
+ ['code' => 'Invalid.region.Value', 'message' => 'Region information is not valid.', 'http_code' => 400, 'description' => '地域信息不有效。'],
+ ['code' => 'Invalid.ResourceAccountId.Empty', 'message' => 'The resource account ID is empty.', 'http_code' => 400, 'description' => '资源归属账号 ID 为空'],
+ ['code' => 'Invalid.ResourceId.Value', 'message' => 'The specified resourceId is invalid.', 'http_code' => 400, 'description' => ' 输入的资源ID为非法值。'],
+ ['code' => 'Invalid.ResourceOwnerId.Value', 'message' => 'The specified ResourceOwnerId is invalid.', 'http_code' => 400, 'description' => '该账号不存在或不在目标账号组内。'],
+ ['code' => 'Invalid.ResourceType.Empty', 'message' => 'The resource type cannot be empty.', 'http_code' => 400, 'description' => '资源类型不能为空。'],
+ ['code' => 'Invalid.ResourceTypes.Value', 'message' => 'The specified resourceTypes is invalid.', 'http_code' => 400, 'description' => '输入的资源类型为非法值。'],
+ ['code' => 'Invalid.ResourceTypesScope.Value', 'message' => 'The resource type range value is not valid.', 'http_code' => 400, 'description' => '资源类型范围值不有效。'],
+ ['code' => 'Invalid.SlsArn.Format', 'message' => 'The specified format of SlsArn is invalid.', 'http_code' => 400, 'description' => 'SlsArn参数格式有误。'],
+ ['code' => 'MemberStopSLRFail', 'message' => 'The member exists in the aggregator, and it is forbidden to close the service.', 'http_code' => 400, 'description' => '成员账号存在于账号组中,不能关闭服务。'],
+ ['code' => 'NoChannelPermission', 'message' => 'The current operation has no channel permission.', 'http_code' => 400, 'description' => '当前操作未被渠道允许。'],
+ ['code' => 'NoData', 'message' => 'not found data.', 'http_code' => 404, 'description' => '没有数据'],
+ ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 400, 'description' => '您无权执行此操作。'],
+ ['code' => 'NoPermissionCreateAggregator', 'message' => 'You are not authorized to create the aggregator.', 'http_code' => 403, 'description' => '无权限创建账号组。'],
+ ['code' => 'NoPermissionCreateRemediationSLR', 'message' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'http_code' => 403, 'description' => '无权创建服务关联角色。'],
+ ['code' => 'ProcessIsRunning', 'message' => 'The process is running.', 'http_code' => 400, 'description' => '进程还在执行中。'],
+ ['code' => 'RDAggregatorAlreadyExist', 'message' => 'The resource directory aggregator already exists.', 'http_code' => 400, 'description' => '全局账号组已存在。'],
+ ['code' => 'RDAggregatorUpdateNotSupport', 'message' => 'The resource directory aggregator cannot be updated.', 'http_code' => 400, 'description' => '全局账号组不能更新。'],
+ ['code' => 'RDEnableConfigAccessFail', 'message' => 'Failed to enable Config access Resource Directory.', 'http_code' => 400, 'description' => '当您开启企业版本配置审计时,集成资源目录失败。'],
+ ['code' => 'RDMemberNoPermission', 'message' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'http_code' => 400, 'description' => '您无权进行此操作,原因可能是:'."\n"
+ .'1、您未启用资源目录服务。'."\n"
+ .'2、您使用的不是资源目录的企业管理账号。'],
+ ['code' => 'RemediationInputParamInConsistentWithRule', 'message' => 'The remediation parameter does not match the rule parameter.', 'http_code' => 400, 'description' => '修正设置参数与规则参数不一致。'],
+ ['code' => 'RemediationTemplateNotExist', 'message' => 'The remediation template does not exist or is invalid.', 'http_code' => 400, 'description' => '修正模板不存在或不适用。'],
+ ['code' => 'RuleInputParametersAreInvalid', 'message' => 'Rule input parameters are invalid.', 'http_code' => 400, 'description' => '规则输入参数不正确'],
+ ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => '服务不可用。'],
+ ['code' => 'StopSLRFail', 'message' => 'Stop config service fail.', 'http_code' => 400, 'description' => '停用配置审计服务失败。'],
+ ['code' => 'TagNotMatch', 'message' => 'Your specific tags are not match any resource.', 'http_code' => 404, 'description' => '您指定的标签未匹配到任何资源。'],
+ ['code' => 'TemplateContentFormatError', 'message' => 'Cause Reason: %s.', 'http_code' => 400, 'description' => 'TemplateContent JSON信息中存在的异常值'],
+ ['code' => 'TimelineQueryPageNumberExceedMaxCount', 'message' => 'Page number exceed max count', 'http_code' => 404, 'description' => '页码超出最大范围'],
+ ['code' => 'TokenInvalid', 'message' => 'The token is invalid.', 'http_code' => 400, 'description' => '令牌无效。'],
+ ['code' => 'ReportTemplateNotExist', 'message' => 'Report template does not exist or invalid.', 'http_code' => 400, 'description' => '报告模版不存在,请检查输入的ReportTemplateId'],
+ ['code' => 'RemediationNotExist', 'message' => 'Remediation does not exist or invalid.', 'http_code' => 400, 'description' => '修正配置不存在'],
],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '300',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteAggregateConfigRules',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRules',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListPreManagedRules',
- ],
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UntagResources',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRulesReport',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceInventory',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceGroupByResourceType',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateRemediations',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregator',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetRemediationTemplate',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateAggregateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetSupportedResourceRelationConfig',
- ],
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRuleEvaluationResults',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAdvancedSearchFile',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteCompliancePacks',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteConfigDeliveryChannel',
- ],
- [
- 'threshold' => '120',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregators',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateCompliancePack',
- ],
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'PutEvaluations',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateConfigRulesReport',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ActiveAggregateConfigRules',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetIntegratedServiceStatus',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateRemediation',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateResourcesByAdvancedSearch',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateAccountComplianceByPack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateRemediationExecutions',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListResourcesByAdvancedSearch',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteAggregators',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateRemediation',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetCompliancePack',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceConfigurationTimeline',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregator',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateAggregateResourceInventory',
- ],
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRules',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'IgnoreEvaluationResults',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateConfigRule',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartConfigurationRecorder',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartAggregateConfigRuleEvaluation',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartConfigRuleEvaluation',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateAggregateCompliancePackReport',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetCompliancePackReport',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListResourceEvaluationResults',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateResourceEvaluationResults',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetConfigRule',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeactiveConfigRules',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateCompliancePack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DetachAggregateConfigRuleToCompliancePack',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateConfigurationRecorder',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DryRunConfigRule',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListIntegratedService',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'IgnoreAggregateEvaluationResults',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 86400,
- 'regionId' => '*',
- 'api' => 'StopConfigurationRecorder',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DescribeRemediation',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListSupportedProducts',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceTimeline',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateConfigRule',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceCountsGroupByResourceType',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigRuleSummaryByRiskLevel',
- ],
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'TagResources',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateCompliancePackReport',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigRuleEvaluationStatistics',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartAggregateRemediation',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'AttachAggregateConfigRuleToCompliancePack',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregator',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceGroupByResourceType',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeactiveAggregateConfigRules',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateComplianceSummary',
- ],
- [
- 'threshold' => '1000',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagResources',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRuleEvaluationResults',
- ],
- [
- 'threshold' => '1000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetManagedRule',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceGroupByRegion',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceTimeline',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'RevertAggregateEvaluationResults',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateIntegratedServiceStatus',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigRuleEvaluationStatistics',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateAggregateConfigRulesReport',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DetachConfigRuleToCompliancePack',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'AttachConfigRuleToCompliancePack',
- ],
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateCompliancePacks',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListRemediationTemplates',
- ],
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateResourceRelations',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CopyConfigRules',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateRemediation',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceGroupByRegion',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteAggregateCompliancePacks',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'EvaluatePreConfigRules',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateCompliancePack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteAggregateRemediations',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateAggregateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceByPack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DeleteRemediations',
- ],
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListCompliancePacks',
- ],
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateConfigDeliveryChannels',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceByPack',
- ],
- [
- 'threshold' => '4000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetDiscoveredResource',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListCompliancePackTemplates',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateConfigRule',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceConfigurationTimeline',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GenerateResourceInventory',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CopyCompliancePacks',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigRulesReport',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'RevertEvaluationResults',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetDiscoveredResourceCountsGroupByResourceType',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAdvancedSearchFile',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateRemediation',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateAdvancedSearchFile',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetConfigDeliveryChannel',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigurationRecorder',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '180',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListConfigDeliveryChannels',
- ],
- [
- 'threshold' => '3000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateDiscoveredResource',
- ],
- [
- 'threshold' => '200',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceComplianceByConfigRule',
- ],
- [
- 'threshold' => '30',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateCompliancePack',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListManagedRules',
- ],
- [
- 'threshold' => '4000',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListDiscoveredResources',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetDiscoveredResourceCountsGroupByRegion',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteAggregateConfigDeliveryChannel',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListAggregateDiscoveredResources',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListRemediationExecutions',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRuleComplianceByPack',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceComplianceByConfigRule',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRuleSummaryByRiskLevel',
- ],
- [
- 'threshold' => '500',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ActiveConfigRules',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceInventory',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'UpdateConfigRule',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateAdvancedSearchFile',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListResourceRelations',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateCompliancePackReport',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetComplianceSummary',
- ],
- [
- 'threshold' => '60',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'CreateAggregateCompliancePack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetAggregateConfigRule',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetAggregateResourceCountsGroupByRegion',
- ],
- [
- 'threshold' => '600',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'GetConfigRuleComplianceByPack',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'StartRemediation',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteConfigRules',
- ],
- [
- 'threshold' => '300',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'ListRemediations',
- ],
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggregateConfigRules'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRules'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPreManagedRules'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRulesReport'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceInventory'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceGroupByResourceType'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediations'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregator'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRemediationTemplate'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggregateConfigDeliveryChannel'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSupportedResourceRelationConfig'],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationResults'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAdvancedSearchFile'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCompliancePacks'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConfigDeliveryChannel'],
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregators'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePack'],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutEvaluations'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateConfigRulesReport'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ActiveAggregateConfigRules'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegratedServiceStatus'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateRemediation'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourcesByAdvancedSearch'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateAccountComplianceByPack'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediationExecutions'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourcesByAdvancedSearch'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregators'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRemediation'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePack'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceConfigurationTimeline'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregator'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateResourceInventory'],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRules'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreEvaluationResults'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateConfigRule'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigurationRecorder'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateConfigRuleEvaluation'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigRuleEvaluation'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfigDeliveryChannel'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateCompliancePackReport'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePackReport'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceEvaluationResults'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceEvaluationResults'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigRule'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactiveConfigRules'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCompliancePack'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachAggregateConfigRuleToCompliancePack'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigurationRecorder'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DryRunConfigRule'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegratedService'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreAggregateEvaluationResults'],
+ ['threshold' => '10', 'countWindow' => 86400, 'regionId' => '*', 'api' => 'StopConfigurationRecorder'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRemediation'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSupportedProducts'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceTimeline'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateConfigRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceCountsGroupByResourceType'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleSummaryByRiskLevel'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConfigDeliveryChannel'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateCompliancePackReport'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationStatistics'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateRemediation'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachAggregateConfigRuleToCompliancePack'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregator'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceGroupByResourceType'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactiveAggregateConfigRules'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateComplianceSummary'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationResults'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetManagedRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceGroupByRegion'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceTimeline'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RevertAggregateEvaluationResults'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIntegratedServiceStatus'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationStatistics'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateConfigRulesReport'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachConfigRuleToCompliancePack'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachConfigRuleToCompliancePack'],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateCompliancePacks'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationTemplates'],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceRelations'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CopyConfigRules'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateRemediation'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceGroupByRegion'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateCompliancePacks'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvaluatePreConfigRules'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateCompliancePack'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateRemediations'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggregateConfigDeliveryChannel'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByPack'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteRemediations'],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePacks'],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigDeliveryChannels'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceByPack'],
+ ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResource'],
+ ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePackTemplates'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfigRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceConfigurationTimeline'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateResourceInventory'],
+ ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CopyCompliancePacks'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRulesReport'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RevertEvaluationResults'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResourceCountsGroupByResourceType'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAdvancedSearchFile'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateRemediation'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateAdvancedSearchFile'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigDeliveryChannel'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigurationRecorder'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigDeliveryChannel'],
+ ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigDeliveryChannels'],
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateDiscoveredResource'],
+ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceComplianceByConfigRule'],
+ ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateCompliancePack'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListManagedRules'],
+ ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListDiscoveredResources'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResourceCountsGroupByRegion'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggregateConfigDeliveryChannel'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateDiscoveredResources'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationExecutions'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleComplianceByPack'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByConfigRule'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleSummaryByRiskLevel'],
+ ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ActiveConfigRules'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateResourceInventory'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigRule'],
+ ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateAdvancedSearchFile'],
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceRelations'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePackReport'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComplianceSummary'],
+ ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateCompliancePack'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceCountsGroupByRegion'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleComplianceByPack'],
+ ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartRemediation'],
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConfigRules'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediations'],
],
],
'ram' => [
'productCode' => 'Config',
'productName' => '配置审计',
- 'ramCodes' => [
- 'config',
- ],
+ 'ramCodes' => ['config'],
'ramLevel' => '资源级',
'ramConditions' => [],
'ramActions' => [
@@ -35673,12 +20404,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'],
],
],
],
@@ -35691,12 +20417,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'],
],
],
],
@@ -35710,12 +20431,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35729,12 +20445,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35747,12 +20458,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35765,12 +20471,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35783,12 +20484,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35801,12 +20497,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'],
],
],
],
@@ -35820,12 +20511,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35839,12 +20525,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35857,12 +20538,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35875,12 +20551,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35893,12 +20564,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35911,12 +20577,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35929,12 +20590,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -35947,12 +20603,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
@@ -35965,12 +20616,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -35983,12 +20629,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36001,12 +20642,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36019,12 +20655,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36037,12 +20668,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36055,12 +20681,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36073,12 +20694,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36091,12 +20707,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'],
],
],
],
@@ -36109,12 +20720,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -36127,12 +20733,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -36145,12 +20746,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36163,12 +20759,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'],
],
],
],
@@ -36182,12 +20773,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36200,12 +20786,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36218,12 +20799,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'],
],
],
],
@@ -36236,12 +20812,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36254,12 +20825,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36272,12 +20838,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36290,12 +20851,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36308,12 +20864,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36326,12 +20877,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36344,12 +20890,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'],
],
],
],
@@ -36362,12 +20903,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36380,12 +20916,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36398,12 +20929,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36416,12 +20942,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36434,12 +20955,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
@@ -36452,12 +20968,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36470,12 +20981,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36488,12 +20994,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
@@ -36506,12 +21007,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36524,12 +21020,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36542,12 +21033,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36560,12 +21046,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36578,12 +21059,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36597,12 +21073,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36615,12 +21086,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36633,12 +21099,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36651,12 +21112,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
@@ -36669,12 +21125,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36687,12 +21138,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -36705,12 +21151,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'],
],
],
],
@@ -36724,12 +21165,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36742,12 +21178,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36761,12 +21192,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36779,12 +21205,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
@@ -36797,12 +21218,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -36815,12 +21231,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36833,12 +21244,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36851,12 +21257,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36870,12 +21271,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36889,12 +21285,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36907,12 +21298,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -36926,12 +21312,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36944,12 +21325,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36962,12 +21338,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36980,12 +21351,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -36998,12 +21364,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
@@ -37016,12 +21377,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37035,12 +21391,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37053,12 +21404,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -37071,12 +21417,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'],
],
],
],
@@ -37089,12 +21430,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -37107,12 +21443,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Resource',
- 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'],
],
],
],
@@ -37126,12 +21457,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37144,12 +21470,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37162,12 +21483,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'],
],
],
],
@@ -37180,12 +21496,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
@@ -37198,12 +21509,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
@@ -37216,12 +21522,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37235,12 +21536,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37253,12 +21549,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37271,12 +21562,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37289,12 +21575,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -37307,12 +21588,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37326,12 +21602,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37344,12 +21615,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37362,12 +21628,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37380,12 +21641,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'],
],
],
],
@@ -37398,12 +21654,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37416,12 +21667,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -37434,12 +21680,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'],
],
],
],
@@ -37452,12 +21693,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -37470,12 +21706,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37488,12 +21719,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37506,12 +21732,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37524,12 +21745,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37543,12 +21759,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37561,12 +21772,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37579,12 +21785,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37597,12 +21798,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37615,12 +21811,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -37633,12 +21824,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37651,12 +21837,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37669,12 +21850,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37687,12 +21863,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37705,12 +21876,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37723,12 +21889,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37741,12 +21902,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37759,12 +21915,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37777,12 +21928,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37795,12 +21941,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37813,12 +21954,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37831,12 +21967,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37849,12 +21980,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'],
],
],
],
@@ -37867,12 +21993,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37885,12 +22006,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
],
],
],
@@ -37903,12 +22019,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
],
],
],
@@ -37922,12 +22033,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37941,12 +22047,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37959,12 +22060,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37977,12 +22073,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -37995,12 +22086,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38013,12 +22099,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38031,12 +22112,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
],
],
],
@@ -38049,12 +22125,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -38067,12 +22138,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38086,12 +22152,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38104,12 +22165,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -38122,12 +22178,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38140,12 +22191,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
],
],
],
@@ -38158,12 +22204,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
],
],
],
@@ -38176,12 +22217,7 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
],
],
],
@@ -38194,12 +22230,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38212,12 +22243,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -38230,102 +22256,29 @@
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'Config',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
+ ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
],
],
],
],
'resourceTypes' => [
- [
- 'validationType' => 'always',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateCompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateDelivery',
- 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Rule',
- 'arn' => 'acs:config:*:{#accountId}:rule/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'AggregateConfigRule',
- 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
- ],
- [
- 'validationType' => 'conditional',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregtorId}',
- ],
- [
- 'validationType' => 'conditional',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Aggregator',
- 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Delivery',
- 'arn' => 'acs:config:*:{#accountId}:delivery/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'CompliancePack',
- 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
- ],
- [
- 'validationType' => 'always',
- 'resourceType' => 'Resource',
- 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}',
- ],
+ ['validationType' => 'always', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'],
+ ['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'],
+ ['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'],
+ ['validationType' => 'always', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregtorId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'],
+ ['validationType' => 'always', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'],
+ ['validationType' => 'always', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'],
+ ['validationType' => 'always', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'],
+ ['validationType' => 'always', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'],
+ ['validationType' => 'always', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'],
],
],
];