'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Config', 'version' => '2020-09-07', ], 'directories' => [ [ 'children' => [ 'CreateAggregator', 'UpdateAggregator', 'DeleteAggregators', 'ListAggregators', 'GetAggregator', ], 'type' => 'directory', 'title' => '账号组', 'id' => 35241, ], [ 'children' => [ [ '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', ], 'type' => 'directory', 'title' => '多账号', 'id' => 35084, ], 'GetSupportedResourceRelationConfig', 'ListSupportedProducts', ], 'type' => 'directory', 'title' => '资源', 'id' => 35083, ], [ 'children' => [ [ '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', ], 'type' => 'directory', 'title' => '多账号', 'id' => 35137, ], 'ListManagedRules', 'GetManagedRule', 'PutEvaluations', 'ListPreManagedRules', 'EvaluatePreConfigRules', ], 'type' => 'directory', 'title' => '规则', 'id' => 35125, ], [ 'children' => [ [ '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', ], 'type' => 'directory', 'title' => '多账号', 'id' => 35199, ], 'ListCompliancePackTemplates', ], 'type' => 'directory', 'title' => '合规包', 'id' => 35197, ], [ 'children' => [ [ 'children' => [ 'CreateRemediation', 'UpdateRemediation', 'ListRemediations', 'DeleteRemediations', 'StartRemediation', 'ListRemediationExecutions', 'DescribeRemediation', ], 'type' => 'directory', 'title' => '单账号', 'id' => 35064, ], [ 'children' => [ 'CreateAggregateRemediation', 'UpdateAggregateRemediation', 'ListAggregateRemediations', 'DeleteAggregateRemediations', 'StartAggregateRemediation', 'ListAggregateRemediationExecutions', ], 'type' => 'directory', 'title' => '多账号', 'id' => 35057, ], 'ListRemediationTemplates', 'GetRemediationTemplate', ], 'type' => 'directory', 'title' => '修正设置', 'id' => 35055, ], [ 'children' => [ [ 'children' => [ 'CreateConfigDeliveryChannel', 'UpdateConfigDeliveryChannel', 'DeleteConfigDeliveryChannel', 'ListConfigDeliveryChannels', 'GetConfigDeliveryChannel', ], 'type' => 'directory', 'title' => '单账号', 'id' => 35233, ], [ 'children' => [ 'CreateAggregateConfigDeliveryChannel', 'UpdateAggregateConfigDeliveryChannel', 'DeleteAggregateConfigDeliveryChannel', 'ListAggregateConfigDeliveryChannels', 'GetAggregateConfigDeliveryChannel', ], 'type' => 'directory', 'title' => '多账号', 'id' => 35227, ], ], 'type' => 'directory', 'title' => '投递渠道', 'id' => 35226, ], [ 'children' => [ 'ListTagResources', 'TagResources', 'UntagResources', ], 'type' => 'directory', 'title' => '标签', 'id' => 35051, ], [ 'children' => [ 'GetIntegratedServiceStatus', 'UpdateIntegratedServiceStatus', 'ListIntegratedService', ], 'type' => 'directory', 'title' => '集成服务', 'id' => 35073, ], [ 'children' => [ 'GetConfigurationRecorder', 'StartConfigurationRecorder', 'UpdateConfigurationRecorder', 'StopConfigurationRecorder', ], 'type' => 'directory', 'title' => '服务设置', 'id' => 35077, ], [ 'children' => [ 'CreateReportTemplate', 'GetReportTemplate', 'UpdateReportTemplate', 'ListReportTemplates', 'DeleteReportTemplate', 'GenerateReportFromTemplate', 'GetReportFromTemplate', 'TriggerReportSend', ], 'type' => 'directory', 'title' => '报告模版', 'id' => 391147, ], [ 'children' => [ 'DryRunConfigRule', 'DescribeDiscoveredResourceBatch', 'DescribeIntegratedServiceStatus', 'GetResourceConfigurationSample', 'GetResourceTypeProperties', 'ListAggregateRecommendManagedRules', 'ListConfigRuleOperators', 'ListRecommendManagedRules', 'StartConfigRuleEvaluationByResource', ], 'type' => 'directory', 'title' => '其他', 'id' => 75465, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ActiveAggregateConfigRules' => [ 'summary' => '启用指定账号组内的规则。启用规则后,规则继续按照触发机制自动对资源进行评估。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'OperateRuleResult' => [ 'description' => '启用规则的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '启用规则的操作列表。', 'type' => 'array', 'items' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您启用规则成功时,该参数为空。'."\n" ."\n" .'- 当您启用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', '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****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n \\n ConfigRuleNotExists\\n false\\n cr-5772ba41209e007b****\\n \\n \\n","errorExample":""}]', 'title' => '启用账号组规则', 'description' => '### 前提条件'."\n" .'请您确保规则的运行状态为`INACTIVE`(已停用)。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,启用账号组`ca-a4e5626622af0079****`内的规则`cr-5772ba41209e007b****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:ActiveAggregateConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ActiveConfigRules' => [ 'summary' => '启用规则后,规则继续按照触发机制自动对资源进行评估。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2', ], 'OperateRuleResult' => [ 'description' => '启用规则的结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '启用规则的结果。', 'type' => 'array', '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**** ', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '', ], ], ], '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" .'请您确保规则的运行状态为`INACTIVE`(已停用)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:ActiveConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'AttachAggregateConfigRuleToCompliancePack' => [ 'summary' => '将指定账号组规则加入指定账号组合规包。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3', ], 'OperateRuleResult' => [ 'description' => '规则加入合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '规则加入合规包的操作结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当规则加入合规包操作成功时,该参数为空。'."\n" ."\n" .'- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleNotExists', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'true', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a124626622af00e7****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3\\n \\n \\n \\n true\\n cr-a124626622af00e7****\\n \\n \\n","errorExample":""}]', 'title' => '将账号组规则加入合规包', 'description' => '本文将提供一个示例,将账号组`ca-75b4626622af00c3****`中的规则`cr-6cc4626622af00e7****`加入合规包`cp-5bb1626622af00bd****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:AttachAggregateConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'AttachConfigRuleToCompliancePack' => [ 'summary' => '将指定规则加入指定合规包。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A', ], 'OperateRuleResult' => [ 'description' => '规则加入合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '规则加入合规包的操作结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当规则加入合规包操作成功时,该参数为空。'."\n" ."\n" .'- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当规则加入合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleNotExists', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'true', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6cc4626622af00e7****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB12A\\n \\n \\n \\n true\\n cr-6cc4626622af00e7****\\n \\n \\n","errorExample":""}]', 'title' => '将规则加入合规包', 'description' => '本文将提供一个示例,将规则`cr-6cc4626622af00e7****`加入合规包`cp-5bb1626622af00bd****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:AttachConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CopyCompliancePacks' => [ 'summary' => '管理账号或配置审计委派管理员可以将一个账号组中的合规包复制到另外一个账号组中,高效地管理多个账号组内成员的规则集。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'SrcAggregatorId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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":"\\n 9E1E69DE-BDED-581E-B559-0C15690901D0\\n true\\n","errorExample":""}]', 'title' => '复制合规包', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CopyCompliancePacks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CopyConfigRules' => [ 'summary' => '将一个账号组中的规则复制到另外一个账号组中。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQMX28I', ], ], 'parameters' => [ [ 'name' => 'SrcConfigRuleIds', 'in' => 'query', '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****', ], ], [ 'name' => 'DesAggregatorIds', 'in' => 'query', 'schema' => [ 'description' => '规则复制到的账号组ID。多个账号组ID之间用半角逗号(,)分隔。'."\n" ."\n" .'> 该值为空,表示将规则复制到当前账号。', 'type' => 'string', 'required' => false, 'example' => 'ca-4b4e626622af005d****', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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":"\\n 7BD81ECF-3194-5A6B-8719-9FC283167AD4\\n true\\n","errorExample":""}]', 'title' => '复制规则', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:CopyConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CreateAdvancedSearchFile' => [ 'summary' => '为当前账号创建资源高级搜索下载文件。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQ01U20', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', 'schema' => [ 'description' => '资源高级搜索SQL语句。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D', ], ], ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D231366D-E2AD-559E-9C29-58FF7F4B1F5D\\"\\n}","type":"json"}]', 'title' => '创建资源高级搜索下载文件', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CreateAggregateAdvancedSearchFile' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '5F290373-2BE6-534B-8724-A33F1116958B', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => '', ], ], ], 'title' => '为目标账号组创建资源高级搜索下载文件', 'summary' => '为目标账号组创建资源高级搜索下载文件。', 'description' => '本文将提供一个示例,查询账号组`ca-edd3626622af00b3****`内ECS实例,并创建搜索结果下载文件。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateAdvancedSearchFile', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F290373-2BE6-534B-8724-A33F1116958B\\"\\n}","type":"json"}]', ], 'CreateAggregateCompliancePack' => [ 'summary' => '为指定账号组创建合规包。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', 'schema' => [ 'description' => '合规包名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '等保三级预检合规包', 'maxLength' => 100, ], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => [ 'description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '基于等保三级的部分要求,对阿里云上资源的合规性做检测。', 'maxLength' => 500, ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '合规包风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2(默认值):中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '2', '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****', ], ], [ 'name' => 'ConfigRules', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '合规包中的规则列表。'."\n" ."\n" .'> 本参数和`TemplateContent`必须设置其中一个。', 'type' => 'array', 'items' => [ '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, ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。', 'type' => 'array', 'items' => [ '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', ], ], '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', ], ], 'required' => false, ], 'required' => false, ], ], [ '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, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n" .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '生效标签。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'tagKey1', ], 'TagValue' => [ 'description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'tagValue1', ], ], 'required' => false, 'description' => '', ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除标签。', 'type' => 'array', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => '4', ], 'TagValue' => [ 'description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'user', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建账号组合规包', 'description' => '合规包是一组规则的集合。新建合规包时,您可以选择合规包模板中的默认规则,也可以选择规则模板和已有规则列表中的规则。 '."\n" ."\n" .'新建合规包后,这些规则默认会执行一次评估,后续将根据规则的触发机制自动触发评估,也可以手动执行评估。'."\n" ."\n" .'合规包模板是配置审计根据合规场景定制的一组规则的集合。'."\n" ."\n" .'本文将提供一个示例,为账号组`ca-f632626622af0079****`通过合规包模板`ClassifiedProtectionPreCheck`(等保三级预检合规包)创建一个合规包。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-fc56626622af00f9****\\",\\n \\"RequestId\\": \\"CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\tcp-fc56626622af00f9****\\n\\tCC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F\\n","errorExample":""}]', ], 'CreateAggregateConfigDeliveryChannel' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigL91U0A', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', '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', ], ], [ 'name' => 'DeliveryChannelType', 'in' => 'query', 'schema' => [ 'description' => '投递渠道类型。取值:'."\n" .'- OSS:对象存储。'."\n" .'- MNS:轻量消息队列(原 MNS)。'."\n" .'- SLS:日志服务。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OSS', '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', ], ], [ '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}]', ], ], [ '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', ], ], [ 'name' => 'Description', 'in' => 'query', '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****', ], ], [ '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', ], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', 'schema' => [ 'description' => '资源定时快照每日开始投递的时间。'."\n" ."\n" .'格式为`HH:mmZ`(UTC时间)。'."\n" ."\n" .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ 'errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => '', ], ], ], 'title' => '为指定账号组创建投递渠道', 'summary' => '为指定账号组创建投递渠道,将资源数据投递到日志服务SLS、对象存储OSS或轻量消息队列(原 MNS)进行储存。', 'description' => '### 背景信息'."\n" ."\n" .'- 投递到日志服务SLS'."\n" ."\n" .' 当您将资源的配置变更历史、不合规事件和定时快照投递到日志服务SLS的日志库时,需要先创建日志项目(Project)和日志库(Logstore),才能查询和分析日志。关于JSON格式文件的内容示例,请参见[资源配置变更历史内容示例](~~308347~~)、[资源不合规事件内容示例](~~307122~~)和[资源定时快照内容示例](~~611894~~)。'."\n" .' '."\n" .'- 投递到对象存储OSS'."\n" .' '."\n" .' 当您将资源的定时快照或配置变更历史投递到对象存储OSS的指定地址时,需要先创建存储空间(Bucket),才能查看或下载JSON格式文件。关于JSON格式文件的内容示例,请参见[资源定时快照内容示例](~~305669~~)和[资源配置变更历史内容示例](~~189738~~)。'."\n" ."\n" .'- 投递到轻量消息队列(原 MNS)'."\n" .' '."\n" .' 当您将资源配置变更历史和资源不合规事件投递到轻量消息队列(原 MNS)的指定主题时,需要先创建主题,才能设置主题的推送方式和内容。关于JSON格式文件的内容示例,请参见[资源配置变更历史内容示例](~~309462~~)和[资源不合规事件内容示例](~~309463~~)。'."\n" ."\n" .'### 使用限制'."\n" .'每个账号组中最多可以创建5个投递渠道。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,为账号组`ca-a4e5626622af0079****`创建一个投递渠道类型为`OSS`和投递渠道目标地址ARN为`acs:oss:cn-shanghai:100931896542****:new-bucket`的投递渠道。返回结果显示创建投递渠道成功,投递渠道ID为`cdc-8e45ff4e06a3a8****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggregateConfigDeliveryChannel', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\n cdc-8e45ff4e06a3a8****\\n","errorExample":""}]', ], 'CreateAggregateConfigRule' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQMX28I', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ConfigRuleName', 'in' => 'formData', '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组标签。如果资源同时具有指定的所有标签,则视为“合规”。', ], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', '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', ], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ 'description' => '规则执行周期。取值:'."\n" .'- One_Hour:1小时。'."\n" .'- Three_Hours:3小时。'."\n" .'- Six_Hours:6小时。'."\n" .'- Twelve_Hours:12小时。'."\n" .'- TwentyFour_Hours(默认值):24小时。'."\n" ."\n" .'> 当`ConfigRuleTriggerTypes`设置为`ScheduledNotification`时,需要设置该参数。'."\n", 'type' => 'string', 'required' => false, 'example' => 'One_Hour', 'enum' => [ 'One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours', ], ], ], [ 'name' => 'ResourceTypesScope', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'array', 'items' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '规则风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n" ."\n" .'规则仅对绑定指定标签的资源生效。'."\n" ."\n" .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ 'description' => '参数`TagsScope` 取多值时的逻辑关系,例如:当参数`TagsScope`取值为`"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`a:a`和`b:b`的资源生效。不填写取默认逻辑`OR`。'."\n" ."\n" .'也可以用于已废弃字段`TagKeyScope`字段(不推荐),例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n" ."\n" .'取值:'."\n" ."\n" .'- AND:与。'."\n" ."\n" .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'required' => false, 'enumValueTitles' => [ 'OR' => 'OR', 'AND' => 'AND', ], 'example' => 'AND', 'enum' => [ 'AND', 'OR', ], ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, 'description' => '', ], 'required' => false, 'docRequired' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '要排除的资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '要排除的资源的标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, 'description' => '', ], 'required' => false, 'docRequired' => false, ], ], [ 'name' => 'SourceOwner', 'in' => 'formData', 'schema' => [ 'description' => '规则类型。取值:'."\n" .'- ALIYUN:规则模板。'."\n" .'- CUSTOM_FC:自定义规则。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALIYUN', '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', ], ], [ 'name' => 'FolderIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeAccountIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExtendContent', 'in' => 'formData', 'schema' => [ 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"12"}', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '创建出的规则的标签', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'ResourceNameScope', 'in' => 'query', 'schema' => [ 'description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建账号组规则', 'summary' => '为指定账号组基于模板创建规则或基于函数计算创建自定义规则,通过规则检测资源的合规性。新建规则后,规则会自动执行一次评估,后续配置审计将根据规则的触发机制自动触发评估,您也可以手动执行评估。', 'description' => '### 使用限制'."\n" .'每个管理账号和委派管理员账号最多可以创建200条规则。'."\n" ."\n" .'### 背景信息'."\n" ."\n" .'配置审计支持通过以下方法创建规则:'."\n" .'- 基于模板创建规则'."\n" .' '."\n" .' 规则模板是配置审计已在函数计算中构建的规则函数,您可以通过规则模板快速创建规则。关于规则的更多信息,请参见[规则的定义及运行原理](~~128273~~)。'."\n" ."\n" .'- 基于函数计算创建规则'."\n" ."\n" .' 自定义函数规则是配置审计通过函数计算服务的函数来承载规则代码的自定义规则。当配置审计预置的规则模板不能满足检测资源合规性的需求时,您可以通过编写函数代码,完成复杂场景的合规检测。关于自定义函数规则的更多信息,请参见[自定义函数规则定义和运行原理](~~127405~~)。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,通过规则模板“存在所有指定标签”为账号组`ca-a4e5626622af0079****`创建一条规则。返回结果显示规则创建成功,规则ID为`cr-4e3d626622af0080****`。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ '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":"\\n\\tcr-4e3d626622af0080****\\n\\t5895065A-196C-4254-8AD8-14EFC31EEF50\\n\\t","errorExample":""}]', ], 'CreateAggregateRemediation' => [ 'summary' => '为指定账号组规则创建修正。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'RemediationType', 'in' => 'formData', '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', ], ], [ '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', ], ], [ 'name' => 'SourceType', 'in' => 'formData', '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"}', ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '输入的模板参数值非法。', ], ], 403 => [ [ '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":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n crr-909ba2d4716700eb****\\n","errorExample":""}]', 'title' => '创建账号组的修正设置', 'description' => '### 背景信息'."\n" ."\n" .'- 模板修正:通过运维编排OOS提供的公共模板快速修正不合规资源。'."\n" ."\n" .' 一条规则只能设置一个修正,且仅通过部分模板创建的规则支持模板修正。'."\n" ."\n" .'- 自定义修正:通过函数计算FC运行自定义代码快速修正不合规资源。'."\n" ."\n" .' 一条规则只能设置一个修正,即支持通过模板创建的规则,也支持自定义创建的规则。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,为账号组`ca-6b4a626622af0012****`内的规则`cr-6b7c626622af00b4****`创建修正设置。返回结果显示,创建修正设置成功,修正设置ID为`crr-909ba2d4716700eb****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateRemediation', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CreateAggregator' => [ 'summary' => '资源目录中的管理账号或委派管理员账号可以创建账号组,在账号组中集中地管理多个成员的资源、合规包和规则。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigXKWS51', 'FEATUREconfigJVB3GZ', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorName', 'in' => 'formData', '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.', ], ], [ 'name' => 'AggregatorAccounts', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '账号组内的所有成员账号。'."\n" ."\n" .'> - 当`AggregatorType`为`RD时,该参数可以为空,表示将资源目录中的所有成员添加至全局账号组。'."\n" .'> - 当`AggregatorType`为`FOLDER`时,该参数可以为空,表示将资源目录中某个资源夹中的所有成员添加至资源夹账号组。', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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', ], ], [ 'name' => 'FolderId', 'in' => 'formData', 'schema' => [ 'description' => '绑定的资源夹ID。支持多值,多个资源夹ID之间用半角逗号(,)分隔'."\n" ."\n" .'当`AggregatorType`为`FOLDER`时,必须设置本参数。', 'type' => 'string', 'required' => false, 'example' => 'fd-brHdgv****,fd-brHdgk****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '账号组名称重复。', ], ], 403 => [ [ 'errorCode' => 'NoPermissionCreateAggregator', 'errorMessage' => 'You are not authorized to create the aggregator.', '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建账号组', 'description' => '### 使用限制'."\n" .'管理账号或委派管理员账号最多可以创建5个账号组,每个账号组中最多包含200个成员账号。'."\n" ."\n" .'### 背景信息'."\n" ."\n" .'关于账号组的概念、应用场景、资源目录和账号组中成员账号变更对配置审计的影响,请参见[概览](~~211534~~)。'."\n" ."\n" .'配置审计支持的账号组类型如下:'."\n" ."\n" .'- 全局账号组:全局账号组包含资源目录中的所有成员,能自动感知并同步资源目录中成员的变更。管理账号或委派管理员账号只能创建一个全局账号组。'."\n" ."\n" .'- 自定义账号组:管理账号或委派管理员账号创建自定义账号组时,主动从资源目录中选择所有或部分成员账号。'."\n" .' '."\n" .' - 当资源目录中新增成员时,自定义账号组不会自动同步,需要管理账号或委派管理员账号手动将新增的成员加入该账号组。'."\n" ."\n" .' - 当从资源目录中移除成员时,管理账号或委派管理员账号无权对该成员进行合规管理,自定义账号组自动感知该变化,并将该成员从自定义账号组中移除。'."\n" ."\n" .'- 资源夹账号组:管理账号或委派管理员账号选择某个资源夹创建账号组之后,该账号组自动感知并同步资源夹中成员的变更,资源夹账号组中的成员始终与资源夹保持一致。'."\n" .' '."\n" .' 管理账号或委派管理员账号每次创建资源夹账号组时,只能选择一个非空的资源夹。'."\n" ."\n" .'### 使用说明'."\n" ."\n" .'本文将提供一个示例,管理账号创建一个自定义账号组`CUSTOM`,账号组名称为`Test_Group`,账号组描述为`测试组`,成员账号信息如下:'."\n" ."\n" .'- 成员账号ID为`171322098523****`,成员账号名称为`Alice`。'."\n" ."\n" .'- 成员账号ID为`100532098349****`,成员账号名称为`Tom`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregator', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\t0093E9C4-F871-4C1F-80C5-7534D287B023\\n\\tca-8bde626622af00a9****\\n\\t","errorExample":""}]', ], 'CreateCompliancePack' => [ 'summary' => '为当前账号创建合规包。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CompliancePackTemplateId', 'in' => 'formData', '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, ], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => [ 'description' => '合规包描述。', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包', 'maxLength' => 500, ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '合规包风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2(默认值):中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '2', 'enum' => [ '1', '2', '3', ], ], ], [ 'name' => 'ConfigRules', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '合规包中的规则列表。'."\n" ."\n" .'> 本参数和`TemplateContent`必须设置其中一个。', 'type' => 'array', 'items' => [ '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实例带宽满足最低要求', ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。', 'type' => 'array', 'items' => [ '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', ], ], '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', ], ], 'required' => false, ], 'required' => false, ], ], [ '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, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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", ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n" .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '资源的标签。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, 'description' => '', ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '合规包名称重复。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建合规包', 'description' => '合规包是一组规则的集合。新建合规包时,您可以选择合规包模板中的默认规则,也可以选择规则模板和已有规则列表中的规则。'."\n" .'新建合规包后,这些规则默认会执行一次评估,后续将根据规则的触发机制自动触发评估,也可以手动执行评估。'."\n" ."\n" .'合规包模板是配置审计根据合规场景定制的一组规则的集合。'."\n" ."\n" .'本文将提供一个示例,通过合规包模板`ClassifiedProtectionPreCheck`(等保三级预检合规包)创建一个合规包。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n cp-a8a8626622af0082****\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', ], 'CreateConfigDeliveryChannel' => [ 'summary' => '创建投递渠道,将资源数据投递到日志服务SLS、对象存储 OSS 或轻量消息队列(原 MNS)进行储存。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigL91U0A', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelName', 'in' => 'query', 'schema' => [ 'description' => '投递渠道名称。'."\n" ."\n" .'> 如果未设置该参数,默认为空。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss', ], ], [ 'name' => 'DeliveryChannelType', 'in' => 'query', 'schema' => [ 'description' => '投递渠道类型。取值:'."\n" .'- OSS:对象存储。'."\n" .'- MNS:轻量消息队列(原 MNS)'."\n" .'- SLS:日志服务。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OSS', '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', ], ], [ '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}]', ], ], [ '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', ], ], [ 'name' => 'Description', 'in' => 'query', '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****', ], ], [ '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', ], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', 'schema' => [ 'description' => '资源定时快照每日开始投递的时间。'."\n" ."\n" .'格式为`HH:mmZ`(UTC时间)。'."\n" ."\n" .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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":"\\n A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\n cdc-8e45ff4e06a3a8****\\n","errorExample":""}]', 'title' => '创建投递渠道', 'description' => '### 背景信息'."\n" ."\n" .'- 投递到日志服务SLS'."\n" ."\n" .' 当您将资源的配置变更历史、不合规事件和定时快照投递到日志服务SLS的日志库时,需要先创建日志项目(Project)和日志库(Logstore),才能查询和分析日志。关于JSON格式文件的内容示例,请参见[资源配置变更历史内容示例](~~308347~~)、[资源不合规事件内容示例](~~307122~~)和[资源定时快照内容示例](~~611894~~)。'."\n" .' '."\n" .'- 投递到对象存储OSS'."\n" .' '."\n" .' 当您将资源的定时快照或配置变更历史投递到对象存储OSS的指定地址时,需要先创建存储空间(Bucket),才能查看或下载JSON格式文件。关于JSON格式文件的内容示例,请参见[资源定时快照内容示例](~~305669~~)和[资源配置变更历史内容示例](~~189738~~)。'."\n" ."\n" .'- 投递到轻量消息队列(原 MNS)'."\n" .' '."\n" .' 当您将资源配置变更历史和资源不合规事件投递到轻量消息队列(原 MNS)的指定主题时,需要先创建主题,才能设置主题的推送方式和内容。关于JSON格式文件的内容示例,请参见[资源配置变更历史内容示例](~~309462~~)和[资源不合规事件内容示例](~~309463~~)。'."\n" ."\n" .'### 使用限制'."\n" .'最多可以创建5个投递渠道。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,创建一个投递渠道类型为`OSS`和投递渠道目标地址ARN为`acs:oss:cn-shanghai:100931896542****:new-bucket`的投递渠道。返回结果显示创建投递渠道成功,投递渠道ID为`cdc-8e45ff4e06a3a8****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfigDeliveryChannel', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*', ], ], ], ], ], ], 'CreateConfigRule' => [ 'summary' => '基于模板创建规则或基于函数计算创建自定义规则,通过规则检测资源的合规性。新建规则后,规则会自动执行一次评估,后续配置审计将根据规则的触发机制自动触发评估,您也可以手动执行评估。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', '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', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n" ."\n" .'规则仅对绑定指定标签值的资源生效。'."\n" .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ 'description' => '参数`TagsScope` 取多值时的逻辑关系,例如:当参数`TagsScope`取值为`"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`a:a`和`b:b`的资源生效。不填写取默认逻辑`OR`。'."\n" ."\n" .'也可以用于已废弃字段`TagKeyScope`字段(不推荐),例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n" ."\n" .'取值:'."\n" ."\n" .'- AND:与。'."\n" ."\n" .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'required' => false, 'example' => 'AND', 'enum' => [ 'AND', 'OR', ], ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => [ 'description' => '规则描述。', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', ], ], [ 'name' => 'SourceOwner', 'in' => 'formData', 'schema' => [ 'description' => '创建的规则类型。取值:'."\n" .'- ALIYUN:规则模板。'."\n" .'- CUSTOM_FC:自定义规则。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALIYUN', 'enum' => [ 'ALIYUN', 'CUSTOM_FC', 'CUSTOM_CONFIGURATION', ], ], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ 'description' => '规则执行周期。取值:'."\n" .'- One_Hour:1小时。'."\n" .'- Three_Hours:3小时。'."\n" .'- Six_Hours:6小时。'."\n" .'- Twelve_Hours:12小时。'."\n" .'- TwentyFour_Hours(默认值):24小时。'."\n" ."\n" .'> 当ConfigRuleTriggerTypes设置为ScheduledNotification时,需要设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'One_Hour', 'enum' => [ 'One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours', ], ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', '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****', ], ], [ '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"}', ], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', '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****', ], ], [ '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', ], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', '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' => '存在所有指定标签', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。'."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', ], ], [ 'name' => 'ResourceTypesScope', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'array', 'items' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '规则风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '1', 'enum' => [ '1', '2', '3', ], ], ], [ 'name' => 'ExtendContent', 'in' => 'formData', 'schema' => [ 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"13"}', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '创建出的规则的标签', 'description' => '创建出的规则的标签', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'ResourceNameScope', 'in' => 'formData', 'schema' => [ 'description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建规则', 'description' => '### 使用限制'."\n" .'每个账号最多可以创建200条规则。'."\n" ."\n" .'### 背景信息'."\n" ."\n" .'配置审计支持通过以下方法创建规则:'."\n" .'- 基于模板创建规则'."\n" .' '."\n" .' 规则模板是配置审计已在函数计算中构建的规则函数,您可以通过规则模板快速创建规则。关于规则的更多信息,请参见[规则的定义及运行原理](~~128273~~)。'."\n" ."\n" .'- 基于函数计算创建规则'."\n" ."\n" .' 自定义函数规则是配置审计通过函数计算服务的函数来承载规则代码的自定义规则。当配置审计预置的规则模板不能满足检测资源合规性的需求时,您可以通过编写函数代码,完成复杂场景的合规检测。关于自定义函数规则的更多信息,请参见[自定义函数规则定义和运行原理](~~127405~~)。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,通过规则模板“存在所有指定标签”创建一条规则。返回结果显示规则创建成功,规则ID为`cr-5772ba41209e007b****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ '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":"\\n cr-5772ba41209e007b****\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', ], 'CreateRemediation' => [ 'summary' => '为已有规则设置修正。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'RemediationType', 'in' => 'formData', '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', ], ], [ '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', ], ], [ 'name' => 'SourceType', 'in' => 'formData', '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"}', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。`ClientToken`只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '输入的模板参数值非法。', ], ], 403 => [ [ '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":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n crr-909ba2d4716700eb****\\n","errorExample":""}]', 'title' => '创建修正设置', 'description' => '### 背景信息'."\n" ."\n" .'- 模板修正:通过运维编排OOS提供的公共模板快速修正不合规资源。'."\n" ."\n" .' 一条规则只能设置一个修正,且仅通过部分模板创建的规则支持模板修正。'."\n" ."\n" .'- 自定义修正:通过函数计算FC运行自定义代码快速修正不合规资源。'."\n" ."\n" .' 一条规则只能设置一个修正,即支持通过模板创建的规则,也支持自定义创建的规则。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,为规则`cr-8a973ac2e2be00a2****`创建修正设置。返回结果显示,创建修正设置成功,修正设置ID为`crr-909ba2d4716700eb****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRemediation', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CreateReportTemplate' => [ 'summary' => '为当前UID创建合规报告模版。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ReportTemplateName', 'in' => 'formData', '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, ], ], [ 'name' => 'ReportGranularity', 'in' => 'formData', 'schema' => [ 'description' => '报告聚合粒度。'."\n" ."\n" .'管理账号视角支持:'."\n" .'- AllInOne(模版范围所有账号聚合生成一份报告)'."\n" .'- GroupByAggregator(按照账号组聚合生成报告,生成一个压缩文件)'."\n" .'- GroupByAccount(所有账号单独生成报告(默认),生成一个压缩文件)'."\n" ."\n" .'成员账号只支持 GroupByAccount。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'AllInOne' => '模版范围所有账号聚合生成一份报告', 'GroupByAggregator' => '按照账号组聚合生成报告,生成一个压缩文件', 'GroupByAccount' => '所有账号单独生成报告(默认),生成一个压缩文件', ], 'example' => 'GroupByAccount', ], ], [ 'name' => 'ReportFileFormats', 'in' => 'formData', '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', ], ], [ '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 * * ?', ], ], [ 'name' => 'ReportScope', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n" ."\n" .'> 如数组大小为2,第一个 ReportScope 指定规则 In cr-1,第二个 ReportScope 指定规则 In cr-2,则此报告圈定的规则范围为 cr-1和cr-2。', 'type' => 'array', 'items' => [ 'description' => '报告范围', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '报告范围的键,当前支持:'."\n" .'- AggregatorId'."\n" .'- CompliancePackId'."\n" .'- RuleId', 'type' => 'string', 'required' => false, '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', ], ], 'required' => false, ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回结果', 'type' => 'object', 'properties' => [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建报告模版', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX\\"\\n}","type":"json"}]', ], 'DeactiveAggregateConfigRules' => [ 'summary' => '停用指定账号组内的规则。停用规则后,不再对资源进行评估,仍显示停用前的合规评估结果。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'OperateRuleResult' => [ 'description' => '停用规则的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '停用规则的操作列表。', 'type' => 'array', 'items' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您停用规则成功时,该参数为空。'."\n" ."\n" .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', '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****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n \\n ConfigRuleNotExists\\n false\\n cr-5772ba41209e007b****\\n \\n \\n","errorExample":""}]', 'title' => '停用账号组规则', 'description' => '### 前提条件'."\n" .'请您确保规则的运行状态为`ACTIVE`(应用中)。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,停用账号组`ca-04b3fd170e340007****`内的规则`cr-5772ba41209e007b****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DeactiveAggregateConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DeactiveConfigRules' => [ 'summary' => '停用规则后,不再对资源进行评估,仍显示停用前的合规评估结果。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B', ], 'OperateRuleResult' => [ 'description' => '停用规则的操作结果。'."\n" ."\n", 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '停用规则的操作列表。'."\n" ."\n", 'type' => 'array', 'items' => [ 'description' => '停用规则的操作列表。', 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您停用规则成功时,该参数为空。'."\n" ."\n" .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleStatusNotActive', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" .'- true:成功。'."\n" .'- false:失败。'."\n" ."\n", 'type' => 'boolean', 'example' => 'false', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-19a56457e0d90058****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B\\n\\t\\n\\t\\t\\n\\t\\t\\tcr-19a56457e0d90058****\\n\\t\\t\\t\\n\\t\\t\\ttrue\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]', 'title' => '停用规则', 'description' => '### 前提条件'."\n" .'请您确保规则的运行状态为`ACTIVE`(应用中)。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,停用规则`cr-19a56457e0d90058****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DeactiveConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DeleteAggregateCompliancePacks' => [ 'summary' => '删除指定账号组内的合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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****', ], ], [ 'name' => 'DeleteRule', 'in' => 'formData', 'schema' => [ 'description' => '删除合规包时是否同时删除规则。取值:'."\n" ."\n" .'- true:删除规则。'."\n" ."\n" .'- false(默认值):不删除规则。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'OperateCompliancePacksResult' => [ 'description' => '删除合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateCompliancePacks' => [ 'description' => '删除合规包的列表。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'CompliancePackId' => [ 'description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****', ], 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您删除合规包成功时,该参数为空。'."\n" ."\n" .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'CompliancePackAlreadyPending', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。'."\n" ."\n", 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n \\n cp-541e626622af0087****\\n CompliancePackAlreadyPending\\n false\\n \\n \\n","errorExample":""}]', 'title' => '删除账号组合规包', 'description' => '本文将提供一个示例,删除账号组`ca-04b3fd170e340007****`内的合规包`cp-541e626622af0087****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}', ], ], ], ], ], ], 'DeleteAggregateConfigDeliveryChannel' => [ 'summary' => '删除投递渠道后,投递到日志服务SLS、对象存储OSS和轻量消息队列(原 MNS)的资源数据同步被删除,且不可恢复。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigL91U0A', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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":"\\n FCC2F05C-F672-5665-8102-0020DF66B9B9\\n cdc-38c3013b46c9002c****\\n","errorExample":""}]', 'title' => '删除账号组投递渠道', 'description' => '本文将提供一个示例,删除账号组`ca-23c6626622af0041****`的投递渠道`cdc-38c3013b46c9002c****`。返回结果显示删除投递渠道`cdc-38c3013b46c9002c****`成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'DeleteAggregateConfigRules' => [ 'summary' => '删除指定账号组内的规则。删除规则后,其配置信息不再保留。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'OperateRuleResult' => [ 'description' => '删除规则的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '删除规则的操作列表。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您删除规则成功时,该参数为空。'."\n" ."\n" .'- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当您删除规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'false', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-4e3d626622af0080****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], '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":"\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t\\n\\t\\t\\n\\t\\t\\tConfigRuleCanNotDelete\\n\\t\\t\\tfalse\\n\\t\\t\\tcr-4e3d626622af0080****\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]', 'title' => '删除规则', 'description' => '本文将提供一个示例,删除账号组`ca-a4e5626622af0079****`内的规则`cr-4e3d626622af0080****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], ], ], 'DeleteAggregateRemediations' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441', ], 'RemediationDeleteResults' => [ 'description' => '删除修正设置的操作结果。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RemediationId' => [ 'description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****', ], 'ErrorMessage' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您删除修正设置成功时,该参数为空。'."\n" ."\n" .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。'."\n", 'type' => 'string', 'example' => 'RemediationConfigNotExist', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。'."\n" ."\n", 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '删除账号组的修正设置', 'summary' => '删除指定账号组规则的修正设置。', 'description' => '本文将提供一个示例,删除账号组`ca-6b4a626622af0012****`内规则的修正设置`crr-909ba2d4716700eb****`。返回结果显示,删除修正设置`crr-909ba2d4716700eb****`成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateRemediations', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4BE28FB1-616A-5586-82E4-F34FB2AF7441\\",\\n \\"RemediationDeleteResults\\": [\\n {\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\",\\n \\"ErrorMessage\\": \\"RemediationConfigNotExist\\",\\n \\"Success\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t4BE28FB1-616A-5586-82E4-F34FB2AF7441\\n\\t\\n\\t\\tcrr-909ba2d4716700eb****\\n\\t\\t\\n\\t\\ttrue\\n\\t\\n\\t","errorExample":""}]', ], 'DeleteAggregators' => [ 'summary' => '资源目录中的管理账号或委派管理员账号可以删除账号组。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigB2MNLG', ], ], 'parameters' => [ [ 'name' => 'AggregatorIds', 'in' => 'formData', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', ], 'OperateAggregatorsResult' => [ 'description' => '删除账号组的操作结果。', 'type' => 'object', 'properties' => [ 'OperateAggregators' => [ 'description' => '账号组信息。', 'type' => 'array', 'items' => [ '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****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], '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":"\\n\\t95B23BAB-ABB2-43C8-9475-2DC42EA60CAA\\n\\t\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tca-9190626622af00a9****\\n\\t\\t\\ttrue\\n\\t\\t\\n\\t\\n","errorExample":""}]', 'title' => '删除账号组', 'description' => '### 背景信息'."\n" .'删除账号组之后,配置审计变化如下:'."\n" ."\n" .'- 账号组中的规则和合规包自动被删除,且不可恢复。'."\n" ."\n" .'- 账号组中产生的所有合规结果自动被删除,且不可恢复。'."\n" ."\n" .'- 账号组中成员的配置审计服务关联角色被保留。'."\n" ."\n" .'- 如果某个成员所属的账号组均被删除,则该成员作为独立的阿里云账号使用配置审计服务。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,删除账号组`ca-9190626622af00a9****`。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregators', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], ], ], 'DeleteCompliancePacks' => [ 'summary' => '删除指定合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'OperateCompliancePacksResult' => [ 'description' => '删除合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateCompliancePacks' => [ 'description' => '删除合规包的列表。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'CompliancePackId' => [ 'description' => '合规包ID。', 'type' => 'string', 'example' => 'cp-541e626622af0087****', ], 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您删除合规包成功时,该参数为空。'."\n" ."\n" .'- 当您删除合规包失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。'."\n" ."\n\n" ."\n\n", 'type' => 'string', 'example' => 'CompliancePackAlreadyPending', ], 'Success' => [ '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' => 'Invalid.CompliancePackIds.SizeExceed', 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t\\n\\t\\t\\n\\t\\t\\tcp-541e626622af0087****\\n\\t\\t\\t\\n\\t\\t\\ttrue\\n\\t\\t\\n\\t\\n","errorExample":""}]', 'title' => '删除合规包', 'description' => '本文将提供一个示例,删除合规包`cp-541e626622af0087****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'DeleteConfigDeliveryChannel' => [ 'summary' => '删除投递渠道后,投递到日志服务SLS、对象存储OSS和轻量消息队列(原 MNS)的资源数据同步被删除,且不可恢复。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。'."\n" ."\n" .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。', 'type' => 'string', 'required' => true, 'example' => 'cdc-38c32e87cadb002c****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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":"\\n 35F1DA37-ECB5-54E9-AC22-0D9111A665AA\\n cdc-38c32e87cadb002c****\\n","errorExample":""}]', 'title' => '删除投递渠道', 'description' => '本文将提供一个示例,删除投递渠道`cdc-38c3013b46c9002c****`。返回结果显示删除投递渠道`cdc-38c3013b46c9002c****`成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'DeleteConfigRules' => [ 'summary' => '删除指定规则。删除规则后,其配置信息不再保留。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6721BBD3-F2A6-5349-9051-EE0111036D3F', ], 'OperateRuleResult' => [ 'description' => '删除规则的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '删除规则的操作列表。', 'type' => 'array', 'items' => [ 'description' => '错误码。', 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您停用规则成功时,该参数为空。'."\n" ."\n" .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.aliyun.com/document/Config/2020-09-07/errorCode)。'."\n" ."\n" .'- 当您停用规则失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://api.alibabacloud.com/document/Config/2020-09-07/errorCode)。', 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'false', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-9908626622af0035****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '删除规则', 'description' => '本文将提供一个示例,删除规则ID为cr-9908626622af0035****的规则。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], ], ], 'DeleteRemediations' => [ 'summary' => '删除指定修正设置。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441', ], 'RemediationDeleteResults' => [ 'description' => '删除修正设置的操作结果。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RemediationId' => [ 'description' => '修正设置ID。', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****', ], 'ErrorMessage' => [ 'description' => '错误码。'."\n" ."\n" .'- 当您删除修正设置成功时,该参数为空。'."\n" ."\n" .'- 当您删除修正设置失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'RemediationConfigNotExist', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '删除修正设置', 'description' => '本文将提供一个示例,删除规则的修正设置`crr-909ba2d4716700eb****`。返回结果显示,删除修正设置`crr-909ba2d4716700eb****`成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteRemediations', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4BE28FB1-616A-5586-82E4-F34FB2AF7441\\",\\n \\"RemediationDeleteResults\\": [\\n {\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\",\\n \\"ErrorMessage\\": \\"RemediationConfigNotExist\\",\\n \\"Success\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n\\t4BE28FB1-616A-5586-82E4-F34FB2AF7441\\n\\t\\n\\t\\tcrr-909ba2d4716700eb****\\n\\t\\t\\n\\t\\ttrue\\n\\t\\n\\t","errorExample":""}]', ], 'DeleteReportTemplate' => [ 'summary' => '删除合规报告模版。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', 'schema' => [ 'description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ReportTemplateId' => [ 'description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '删除合规报告模版', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\"\\n}","type":"json"}]', ], 'DescribeDiscoveredResourceBatch' => [ 'summary' => '本接口用于批量获取资源详情。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceIds', 'in' => 'query', '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', ], ], [ 'name' => 'Regions', 'in' => 'query', 'schema' => [ 'title' => '资源region,多个以逗号分隔', 'description' => '资源所属地域。多个地域之间使用半角逗号(`,`)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai,cn-hongkong,cn-zhangjiakou,cn-hangzhou', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '批量获取资源详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeDiscoveredResourceBatch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D46****\\"\\n}","type":"json"}]', ], 'DescribeIntegratedServiceStatus' => [ 'summary' => '查询用户集成云产品的授权状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', 'schema' => [ 'title' => '云产品code', 'description' => '云产品code', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'cadt', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => '', ], ], ], 'title' => '查询指定云服务的集成状态', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E265A38-84D9-5083-A333-B33A2B46D139\\",\\n \\"Data\\": false,\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n}","type":"json"}]', ], 'DescribeRemediation' => [ 'summary' => '本文将提供一个示例,查询修正设置crr-f381cf0c1c2f004e****的详情。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79BE07A7-46A5-5D3C-B378-0ACDA979****\\",\\n \\"Remediation\\": {\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\",\\n \\"RemediationId\\": \\"crr-f381cf0c1c2f004e****\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-3184626622af003****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589\\n }\\n}","type":"json"}]', 'title' => '查询修正设置', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DetachAggregateConfigRuleToCompliancePack' => [ 'summary' => '将指定账号组规则从指定账号组合规包中移出。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A', ], 'OperateRuleResult' => [ 'description' => '规则移出合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '规则移出合规包的操作结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当规则移出合规包操作成功时,该参数为空。'."\n" ."\n" .'- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleNotExists', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'true', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-a124626622af00e7****', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '将账号组规则从合规包中移出', 'description' => '### 前提条件'."\n" .'请您确保目标合规包中存在规则。'."\n" ."\n" .'### 使用说明'."\n" ."\n" .'本文将提供一个示例,将账号组`ca-75b4626622af00c3****`中的规则`cr-6cc4626622af00e7****`移出合规包`cp-5bb1626622af00bd****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DetachAggregateConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DetachConfigRuleToCompliancePack' => [ 'summary' => '本接口用于从指定合规包中移出指定规则。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '1AC7AED1-172F-42AE-9C12-295BC2ADB12A', ], 'OperateRuleResult' => [ 'description' => '规则移出合规包的操作结果。', 'type' => 'object', 'properties' => [ 'OperateRuleItemList' => [ 'description' => '规则移出合规包的操作结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ErrorCode' => [ 'description' => '错误码。'."\n" ."\n" .'- 当规则移出合规包操作成功时,该参数为空。'."\n" ."\n" .'- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.aliyun.com/status/product/Config)。'."\n" ."\n" .'- 当规则移出合规包操作失败时,该参数显示错误码。错误码详情,请参见[错误中心](https://error-center.alibabacloud.com/status/product/Config)。', 'type' => 'string', 'example' => 'ConfigRuleNotExists', ], 'Success' => [ 'description' => '操作是否成功。取值:'."\n" ."\n" .'- true:成功。'."\n" ."\n" .'- false:失败。', 'type' => 'boolean', 'example' => 'true', ], 'ConfigRuleId' => [ 'description' => '规则ID。', 'type' => 'string', 'example' => 'cr-6cc4626622af00e7****', ], ], ], ], ], ], ], ], ], ], '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个。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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"}]', 'title' => '将规则从合规包中移出', 'description' => '### 前提条件'."\n" .'请您确保目标合规包中存在规则。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,将规则`cr-6cc4626622af00e7****`移出合规包`cp-5bb1626622af00bd****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachConfigRuleToCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DetachConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DryRunConfigRule' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', '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" .'}', ], ], [ 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ 'description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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" .'}', ], 'ComplianceType' => [ 'description' => '规则的合规类型。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:数据不充分。', 'type' => 'string', 'enumValueTitles' => [ 'NOT_APPLICABLE' => '不适用', 'COMPLIANT' => '合规', 'NON_COMPLIANT' => '不合规', 'INSUFFICIENT_DATA' => '数据不充分', ], 'example' => 'COMPLIANT', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '试运行事前合规预检的规则', 'summary' => '本接口用于试运行事前合规预检的规则。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DryRunConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:DryRunConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C32EEAD7-BF64-5927-977A-AFF9342B****\\",\\n \\"RuleConditionContext\\": \\"{\\\\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}\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\"\\n}","type":"json"}]', ], 'EvaluatePreConfigRules' => [ 'summary' => '执行预检规则对资源进行合规预检。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceTypeFormat', 'in' => 'formData', 'schema' => [ 'title' => '下一个查询开始Token', 'description' => '查询开始Token', 'type' => 'string', 'required' => false, 'example' => 'ros', ], ], [ 'name' => 'ResourceEvaluateItems', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '预检规则评估项列表。', 'type' => 'array', 'items' => [ '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', ], 'Rules' => [ 'description' => '预检规则列表。', 'type' => 'array', 'items' => [ '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' => '{}', ], ], '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}', ], ], 'required' => false, ], 'required' => true, 'maxItems' => 20, ], ], [ 'name' => 'EnableManagedRules', 'in' => 'formData', 'schema' => [ 'description' => '是否启用规则模板。取值:'."\n" ."\n" .'- true:启用规则模板。'."\n" ."\n" .'- false(默认值):不启用规则模板。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '129ECF1C-7897-1131-BD0F-4B588AC05400', ], 'ResourceEvaluations' => [ 'description' => '资源评估结果列表。', 'type' => 'array', 'items' => [ 'description' => '资源评估结果。', 'type' => 'object', 'properties' => [ 'ResourceLogicalId' => [ 'description' => '资源逻辑ID。'."\n" ."\n" .'> 如果请求参数为空,则自动根据`ResourceProperties`的Base64位生成。', 'type' => 'string', 'example' => 'ResourceLogicId-test', ], 'ResourceType' => [ 'description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance', ], 'Rules' => [ 'description' => '预检规则列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '执行预检规则评估资源', 'description' => '关于预检规则的概念、运行原理和集成过程,请参见[预检规则的定义与运行原理](~~470802~~)。'."\n" ."\n" .'预检规则和规则模板是同源规则,当您创建资源后,预检规则可以持续检测资源的合规性。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'responseParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvaluatePreConfigRules', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:EvaluatePreConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"129ECF1C-7897-1131-BD0F-4B588AC05400\\",\\n \\"ResourceEvaluations\\": [\\n {\\n \\"ResourceLogicalId\\": \\"ResourceLogicId-test\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Rules\\": [\\n {\\n \\"Identifier\\": \\"ecs-instance-deletion-protection-enabled\\",\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.DeletionProtection\\\\\\\\\\\\\\"}\\",\\n \\"HelpUrl\\": \\"https://example.aliyundoc.com\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n \\n ResourceLogicId-test\\n ACS::ECS::Instance\\n \\n ecs-instance-deletion-protection-enabled\\n NON_COMPLIANT\\n {\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DeletionProtection\\"}\\n https://example.aliyundoc.com\\n \\n \\n 129ECF1C-7897-1131-BD0F-4B588AC05400\\n","errorExample":""}]', ], 'GenerateAggregateCompliancePackReport' => [ 'summary' => '为指定账号组内的指定合规包生成评估报告。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigX57QP8', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\tcp-fdc8626622af00f9****\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t","errorExample":""}]', 'title' => '生成账号组合规包评估报告', 'description' => '> 调用本接口仅生成最新评估报告,您还需要调用GetAggregateCompliancePackReport接口下载该评估报告。更多信息,请参见[GetAggregateCompliancePackReport](~~262699~~)。'."\n" ."\n" .'本文将提供一个示例,为账号组`ca-f632626622af0079****`内的合规包`cp-fdc8626622af00f9****`生成评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateAggregateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GenerateAggregateConfigRulesReport' => [ 'summary' => '为指定账号组内规则列表中的规则生成评估报告。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', '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****', ], ], [ 'name' => 'ConfigRuleIds', 'in' => 'formData', 'schema' => [ 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。'."\n" ."\n" .'关于如何获取规则ID,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => 'cr-25d86457e0d900b5****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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****', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], 503 => [ [ '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n ca-f632626622af0079****\\n crp-88176457e0d900c9****\\n","errorExample":""}]', 'title' => '生成账号组规则评估报告', 'description' => '> 调用本接口仅生成最新评估报告,您还需要调用GetAggregateConfigRulesReport接口下载该评估报告。更多信息,请参见[GetAggregateConfigRulesReport](~~262706~~)。'."\n" ."\n" .'本文将提供一个示例,为账号组`ca-f632626622af0079****`内规则列表中的所有规则生成评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateAggregateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GenerateAggregateResourceInventory' => [ 'summary' => '生成指定的账号组内全局资源下载清单。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'Regions', 'in' => 'query', 'schema' => [ 'description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'AccountIds', 'in' => 'query', 'schema' => [ 'description' => '账号组内成员账号ID,多个成员账号ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '126672004088****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****', ], ], [ 'name' => 'ResourceDeleted', 'in' => 'query', 'schema' => [ 'description' => '资源状态。取值:'."\n" ."\n" .'- 1(默认值):保有中。'."\n" ."\n" .'- 0:已删除。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', 'enum' => [ '0', '1', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '生成账号组内全局资源下载清单', 'description' => '本文将提供一个示例,生成账号组ca-a91d626622af0035****内全局资源的下载清单。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateResourceInventory', ], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:GenerateAggregateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5111CBA6-6485-57EB-BCDD-85D8BB31E7A7\\"\\n}","type":"json"}]', ], 'GenerateCompliancePackReport' => [ 'summary' => '生成合规包的评估报告。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigX57QP8', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n cp-a8a8626622af0082****\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', 'title' => '生成合规包评估报告', 'description' => '> 调用本接口仅生成最新评估报告,您还需要调用GetCompliancePackReport接口下载该评估报告。更多信息,请参见[GetCompliancePackReport](~~263347~~)。'."\n" ."\n" .'本文将提供一个示例,生成合规包`cp-a8a8626622af0082****`的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'GenerateConfigRulesReport' => [ 'summary' => '生成规则的合规评估报告。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n crp-88176457e0d900c9****\\n","errorExample":""}]', 'title' => '生成规则评估报告', 'description' => '> 调用本接口仅生成最新评估报告,您还需要调用GetConfigRulesReport接口下载该评估报告。更多信息,请参见[GetConfigRulesReport](~~263608~~)。'."\n" ."\n" .'本文将提供一个示例,生成规则列表中所有规则的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GenerateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GenerateReportFromTemplate' => [ 'summary' => '基于报告模版生成报告Id。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', 'schema' => [ 'description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '基于报告模版生成报告', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD\\"\\n}","type":"json"}]', ], 'GenerateResourceInventory' => [ 'summary' => '生成全局资源下载清单。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Regions', 'in' => 'query', 'schema' => [ 'description' => '资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '资源类型,多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'ResourceDeleted', 'in' => 'query', 'schema' => [ 'description' => '资源状态。取值:'."\n" ."\n" .'- 1(默认值):保有中。'."\n" ."\n" .'- 0:已删除。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => [ '已删除', '保有中', ], 'example' => '1', 'default' => '1', 'enum' => [ '0', '1', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'ResourceInventoryExceedMaxLimit', 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', 'description' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '生成全局资源下载清单', 'description' => '本文将提供一个示例,生成当前账号下全局资源的下载清单。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateResourceInventory', ], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:GenerateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E1225EEA-B5F8-538F-8E37-A943986B6290\\"\\n}","type":"json"}]', ], 'GetAdvancedSearchFile' => [ 'summary' => '查询当前账号下最近一次生成的资源高级搜索下载文件(即获取下载文件地址)。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQ01U20', ], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '查询资源高级搜索下载文件', 'description' => '### 前提条件'."\n" .'请先调用[CreateAdvancedSearchFile](~~2511967~~)接口创建资源高级搜索下载文件,再调用本接口获取下线文件地址。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateAccountComplianceByPack' => [ 'summary' => '查询指定账号组内指定合规包中成员账号的合规结果。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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', ], 'AccountCompliances' => [ 'description' => '成员账号的合规结果列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t\\n\\t\\tcp-541e626622af0087****\\n\\t\\t2\\n\\t\\t0\\n\\t\\t\\n\\t\\t\\t100931896542****\\n\\t\\t\\tCOMPLIANT\\n\\t\\t\\tAlice\\n\\t\\t\\n\\t\\t\\n\\t\\t\\t171322098523****\\n\\t\\t\\tCOMPLIANT\\n\\t\\t\\tJim\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]', 'title' => '查询账号组合规包中成员合规结果', 'description' => '本文将提供一个示例,查询账号组`ca-04b3fd170e340007****`内合规包`cp-541e626622af0087****`中成员账号的合规结果。返回结果显示,成员账号总数为2个,不合规成员账号数为0个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateAccountComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GetAggregateAdvancedSearchFile' => [ 'summary' => '查询指定账号组下最近一次生成的资源高级搜索下载文件。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQ01U20', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-4b1b626622af000c****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '查询账号组内资源高级搜索下载文件', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateCompliancePack' => [ 'summary' => '查询指定账号组内合规包详情。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', ], 'ConfigRules' => [ 'description' => '合规包中的规则列表。'."\n" ."\n", 'type' => 'array', 'items' => [ '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****', ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。'."\n" ."\n", 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], '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****', ], 'TagsScope' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], 'ExcludeTagsScope' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-2', ], ], ], ], ], ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], ], ], ], ], ], ], '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不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n ACTIVE\\n 1\\n cp-fdc8626622af00f9****\\n 基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\n \\n eip-bandwidth-limit\\n 弹性IP实例带宽满足最低要求\\n cr-a260626622af0005****\\n \\n true\\n bandwidth\\n 10\\n \\n 弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\n 1\\n \\n 等保三级预检合规包\\n ca-f632626622af0079****\\n ct-5f26ff4e06a300c4****\\n 1624243657000\\n \\n cn-hangzhou\\n eip-8vbf3x310fn56ijfd****\\n rg-aekzc7r7rhx****\\n ECS\\n test\\n \\n \\n","errorExample":""}]', 'title' => '查询账号组合规包详情', 'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`的详情。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GetAggregateCompliancePackReport' => [ 'summary' => '获取指定账号组内指定合规包的评估报告。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t0D234DAC-1ABD-42E8-9475-BE317857E29B\\n\\t\\n\\t\\tcp-fdc8626622af00f9****\\n\\t\\t100931896542****\\n\\t\\thttps://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\\t\\tCOMPLETE\\n\\t\\t1624330246640\\n\\t\\n\\t","errorExample":""}]', 'title' => '获取账号组合规包评估报告', 'description' => '> 调用本接口下载评估报告之前,您需要先调用GenerateAggregateCompliancePackReport接口生成最新评估报告。更多信息,请参见[GenerateAggregateCompliancePackReport](~~262687~~)。'."\n" ."\n" .'本文将提供一个示例,下载账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GetAggregateComplianceSummary' => [ 'summary' => '查询指定账号组的合规统计概览信息。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'ca-a91d626622af0035****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769', ], 'ComplianceSummary' => [ 'description' => '合规结果统计概览。', 'type' => 'object', 'properties' => [ 'ComplianceSummaryByResource' => [ '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', ], ], ], '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', ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], '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"}]', 'title' => '查询账号组内合规统计概览信息', 'description' => '本文将提供一个示例,查询账号组ca-a91d626622af0035****内资源及规则维度的合规统计概览信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateComplianceSummary', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateComplianceSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateConfigDeliveryChannel' => [ 'summary' => '查询指定账号组内的指定投递渠道信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DeliveryChannel' => [ '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', ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t\\n\\t\\t1\\n\\t\\tcdc-d9106457e0d900b1****\\n\\t\\tmyDeliveryChannel\\n\\t\\tOSS\\n\\t\\tacs:oss:cn-shanghai:120886317861****:new-bucket\\n\\t\\tacs:ram::120886317861****:role/aliyunserviceroleforconfig\\n\\t\\t[{\\\\\\"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\\t\\tacs:oss:cn-shanghai:100931896542****:new-bucket\\n\\t\\tMy OSS delivery.\\n\\t\\tfalse\\n\\t\\ttrue\\n\\t\\tfalse\\n\\t\\tca-a4e5626622af0079****\\n\\t\\t120886317861****\\n\\t\\t09:10Z\\n\\t\\n\\tDC300244-FCE3-5061-8214-C27ECB668487\\n\\t\\n","errorExample":""}]', 'title' => '查询指定账号组内的指定投递渠道信息', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'GetAggregateConfigRule' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', '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****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '标签'."\n" .'该入参已弃用,请忽略,传入不会生效。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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"}', ], 'Source' => [ 'description' => '规则来源信息。'."\n" ."\n", 'type' => 'object', 'properties' => [ 'SourceDetails' => [ 'description' => '规则来源详情。'."\n" ."\n", 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], 'ManagedRule' => [ 'description' => '规则模板详情。', 'type' => 'object', 'properties' => [ 'SourceDetails' => [ 'description' => '规则模板来源详情。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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' => '{}', ], ], ], '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****', ], ], ], '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', ], ], ], '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', ], ], 'description' => '', ], ], 'ExcludeTagsScope' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], ], ], 'AccountId' => [ 'description' => '规则归属阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****', ], 'ExtendContent' => [ 'description' => '扩展内容,暂时仅用于配合24小时周期触发设置触发时间。', 'type' => 'string', 'example' => '{"fixedHour":"12"}', ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], 'AccountIdsScope' => [ 'description' => '规则仅对指定成员账号内的资源生效。多个成员账号ID之间用半角逗号(,)分隔。', 'type' => 'string', 'example' => '120886317861****'."\n", ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询账号组规则详情', 'summary' => '查询指定账号组内指定规则详情。', 'description' => '本文将提供一个示例,查询账号组`ca-7f00626622af0041****`内规则`cr-7f7d626622af0041****`的详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"811234F4-C3AB-4D15-B90B-F55016D1B5AA\\",\\n \\"ConfigRule\\": {\\n \\"RiskLevel\\": 1,\\n \\"InputParameters\\": {\\n \\"tag1Key\\": \\"ECS\\",\\n \\"tag1Value\\": \\"test\\"\\n },\\n \\"Source\\": {\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\"\\n }\\n ],\\n \\"Owner\\": \\"ALIYUN\\",\\n \\"Identifier\\": \\"acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\"\\n },\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"ManagedRule\\": {\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\"\\n }\\n ],\\n \\"Description\\": \\"ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\",\\n \\"Labels\\": [\\n \\"[\\\\\\"RAM\\\\\\",\\\\\\"USer\\\\\\"]\\"\\n ],\\n \\"Identifier\\": \\"ram-user-mfa-check\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"ManagedRuleName\\": \\"RAM用户开启MFA\\",\\n \\"CompulsoryInputParameterDetails\\": {}\\n },\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"Description\\": \\"RAM用户开启MFA,视为“合规”。\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af008****\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"CompliancePackName\\": \\"OSS合规基线\\",\\n \\"CreatorName\\": \\"Alice\\",\\n \\"CreatorType\\": \\"AGGREGATOR\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"AggregatorId\\": \\"ca-04b3fd170e340007****\\"\\n },\\n \\"ConfigRuleName\\": \\"RAM用户开启MFA\\",\\n \\"ConfigRuleEvaluationStatus\\": {\\n \\"LastErrorCode\\": \\"TimeOut\\",\\n \\"LastSuccessfulEvaluationTimestamp\\": 1624932227486,\\n \\"FirstActivatedTimestamp\\": 1624932221993,\\n \\"FirstEvaluationStarted\\": true,\\n \\"LastSuccessfulInvocationTimestamp\\": 1624932227476,\\n \\"LastErrorMessage\\": \\"time out\\",\\n \\"LastFailedEvaluationTimestamp\\": 1614687022000,\\n \\"LastFailedInvocationTimestamp\\": 1614687022000\\n },\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ModifiedTimestamp\\": 1614687022000,\\n \\"CreateTimestamp\\": 1604684022000,\\n \\"ResourceTypesScope\\": \\"ACS::RAM::User\\",\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"RegionIdsScope\\": \\"global\\",\\n \\"ExcludeResourceIdsScope\\": \\"23642660635687****\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"TagKeyScope\\": \\"RAM\\",\\n \\"TagValueScope\\": \\"MFA\\",\\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 \\"ConfigRuleTriggerTypes\\": \\"ConfigurationItemChangeNotification\\",\\n \\"TagKeyLogicScope\\": \\"AND\\",\\n \\"FolderIdsScope\\": \\"fd-ZtHsRH****\\",\\n \\"ExcludeFolderIdsScope\\": \\"fd-pWmkqZ****\\",\\n \\"ExcludeAccountIdsScope\\": \\"120886317861****\\",\\n \\"ResourceNameScope\\": \\"i-xxx\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Count\\": 3\\n },\\n \\"AccountId\\": 0,\\n \\"ExtendContent\\": \\"{\\\\\\"fixedHour\\\\\\":\\\\\\"12\\\\\\"}\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"AccountIdsScope\\": \\"120886317861****\\\\n\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 811234F4-C3AB-4D15-B90B-F55016D1B5AA\\n \\n 1\\n \\n \\n ConfigurationItemChangeNotification\\n aliyun.config\\n One_Hour\\n \\n ALIYUN\\n acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\n \\n ACTIVE\\n One_Hour\\n \\n \\n ConfigurationItemChangeNotification\\n aliyun.config\\n One_Hour\\n \\n ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\n [\\"RAM\\",\\"USer\\"]\\n ram-user-mfa-check\\n RAM用户开启MFA\\n \\n acs:config::100931896542****:rule/cr-7f7d626622af0041****\\n RAM用户开启MFA,视为“合规”。\\n \\n cp-541e626622af008****\\n Test_Group\\n OSS合规基线\\n Alice\\n AGGREGATOR\\n 100931896542****\\n ca-04b3fd170e340007****\\n \\n RAM用户开启MFA\\n \\n TimeOut\\n 1624932227486\\n 1624932221993\\n true\\n 1624932227476\\n time out\\n 1614687022000\\n 1614687022000\\n \\n cr-7f7d626622af0041****\\n 1614687022000\\n 1604684022000\\n ACS::RAM::User\\n global\\n 23642660635687****\\n rg-aekzdibsjjc****\\n RAM\\n MFA\\n ConfigurationItemChangeNotification\\n AND\\n fd-ZtHsRH****\\n fd-pWmkqZ****\\n 120886317861****\\n \\n NON_COMPLIANT\\n 3\\n \\n \\n","errorExample":""}]', ], 'GetAggregateConfigRuleComplianceByPack' => [ 'summary' => '查询指定账号组内指定合规包中规则的合规结果。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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', ], 'ConfigRuleCompliances' => [ 'description' => '规则合规包列表。', 'type' => 'array', 'items' => [ '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****', ], ], ], ], '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', ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\tC6B0C0A8-3245-48F1-AEAB-BC1A446E99D0\\n\\t\\n\\t\\tcp-541e626622af0087****\\n\\t\\t\\n\\t\\t\\tcr-fdc8626622af00f9****\\n\\t\\t\\tCOMPLIANT\\n\\t\\t\\t弹性IP实例带宽满足最低要求\\n\\t\\t\\n\\t\\t1\\n\\t\\t0\\n\\t\\n\\t","errorExample":""}]', 'title' => '查询账号组合规包规规则合规结果', 'description' => '本文将提供一个示例,查询账号组`ca-04b3fd170e340007****`内合规包`cp-541e626622af0087****`中规则的合规结果。返回结果显示规则总数`1`个,不合规规则数`0`个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleComplianceByPack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRuleComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GetAggregateConfigRuleSummaryByRiskLevel' => [ 'summary' => '从指定账号组内规则的风险等级维度查询合规概要。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ConfigRuleSummaries' => [ 'description' => '不同风险等级规则的合规概要。', 'type' => 'array', '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', ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], ], '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":"\\n A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73\\n \\n 1\\n 3\\n 1\\n \\n","errorExample":""}]', 'title' => '查询账号组规则风险等级维度的合规概要', 'description' => '本文将提供一个示例,查询账号组`ca-3a58626622af0005****`内不同风险等级规则的合规概要。返回结果显示,在高风险的规则中,有3条合规,有1条不合规。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRuleSummaryByRiskLevel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateConfigRulesReport' => [ 'summary' => '下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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****', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31\\n \\n 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 CREATING\\n ca-f632626622af0079****\\n 1624332329593\\n crp-88176457e0d900c9****\\n \\n","errorExample":""}]', 'title' => '下载账号组规则评估报告', 'description' => '> 调用本接口下载评估报告之前,您需要先调用GenerateAggregateConfigRulesReport接口生成最新评估报告。更多信息,请参见[GenerateAggregateConfigRulesReport](~~262701~~)。'."\n" ."\n" .'本文将提供一个示例,下载账号组`ca-f632626622af0079****`内规则列表中所有规则的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateDiscoveredResource' => [ 'summary' => '获取账号组内指定资源的资源详情。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', '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', ], ], [ 'name' => 'Region', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', 'schema' => [ 'description' => '必填,账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****', ], ], [ 'name' => 'ComplianceOption', 'in' => 'query', 'schema' => [ 'description' => '查询资源合规结果。取值:'."\n" ."\n" .'- 0(默认值):不查询。'."\n" ."\n" .'- 1:查询。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'enum' => [ '0', '1', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n E4D71ACE-6B0A-46E0-8352-56952378CC7F\\n \\n cn-hangzhou-h\\n ACS::OSS::BucketACS::CDN::Domain\\n {\\\\\\"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\\\\\\"}\\n cn-hangzhou\\n 1624961112000\\n {\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n new-bucket\\n 1\\n new-bucket\\n offline\\n \\n","errorExample":""}]', 'title' => '获取账号组内指定资源的资源详情', 'description' => '本文将提供一个示例,查询账号组`ca-5885626622af0008****`内杭州地域的ECS实例`i-bp12g4xbl4i0brkn****`的详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateDiscoveredResource', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateDiscoveredResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}', ], ], ], ], ], ], 'GetAggregateResourceComplianceByConfigRule' => [ 'summary' => '从指定账号组内规则的合规评估结果维度查询合规概要。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'required' => false, 'example' => 'COMPLIANT', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '资源的评估结果。', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'description' => '规则评估的资源总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'Compliances' => [ 'description' => '资源的评估结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB754C', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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个资源合规。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceByConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'GetAggregateResourceComplianceByPack' => [ 'summary' => '查询指定账号组内的指定合规包中资源的合规统计。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'ResourceComplianceResult' => [ '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', ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n \\n cp-fdc8626622af00f9****\\n 7\\n 10\\n \\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', 'title' => '查询账号组合规包资源合规统计', 'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`中资源的合规结果。返回结果显示资源总数`10`个,不合规资源数`7`个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByPack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'GetAggregateResourceComplianceGroupByRegion' => [ 'summary' => '查询指定账号组内规则对资源的评估结果,评估结果按资源所属地域进行分组展示。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '评估数据统计结果。', 'type' => 'object', 'properties' => [ 'ComplianceResultList' => [ 'description' => '按资源所属地域分组的评估结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '5E3A847A-5D40-54A1-A2CE-77A87823ED07', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n \\n cn-beijing\\n \\n COMPLIANT\\n 1\\n \\n \\n \\n 5E3A847A-5D40-54A1-A2CE-77A87823ED07\\n","errorExample":""}]', 'title' => '查询指定账号组内规则的按资源所属地域进行分组的评估结果', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceComplianceGroupByResourceType' => [ 'summary' => '查询指定账号组内规则对资源的评估结果,评估结果按资源类型进行分组展示。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '评估数据统计结果。', 'type' => 'object', 'properties' => [ 'ComplianceResultList' => [ 'description' => '按资源类型分组的评估结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0CE6AEE1-B3D8-530A-9302-6606B20503BB', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n \\n ACS::ECS::Instance\\n \\n COMPLIANT\\n 1\\n \\n \\n \\n 0CE6AEE1-B3D8-530A-9302-6606B20503BB\\n","errorExample":""}]', 'title' => '获取指定账号组规则的按资源类型进行分组的评估结果', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceComplianceTimeline' => [ 'summary' => '查询指定账号组内指定资源的合规检测历史。合规检测历史是资源的一组合规评估记录,包括合规检测历史上的点和合规检测历史的内容。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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', ], ], [ 'name' => 'StartTime', 'in' => 'query', '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', ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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****', ], ], [ 'name' => 'Region', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', 'schema' => [ 'description' => '账号组内待查询资源所属的阿里云账号ID。'."\n" .'> 参数ResourceAccountId和ResourceOwnerId必须设置其中一个,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], 'ComplianceList' => [ 'description' => '资源合规检测历史列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], ], ], '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' => '该账号不存在或不在目标账号组内。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\t8D53A78F-1EB8-4264-A554-72F07E34FAE6\\n\\t\\n\\t\\t5OVS5J4I1/UKTkHV5oNs****\\n\\t\\t\\n\\t\\t\\t100931896542****\\n\\t\\t\\t1625200295276\\n\\t\\t\\t{\\\\\\"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\\t\\t\\t{\\\\\\"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\\t\\t\\tnew-bucket\\n\\t\\t\\tnew-bucket\\n\\t\\t\\tcn-hangzhou-f\\n\\t\\t\\tcn-hangzhou\\n\\t\\t\\tACS::OSS::Bucket\\n\\t\\t\\t1624961112000\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n\\t\\t\\n\\t\\t\\n\\t\\t\\t100931896542****\\n\\t\\t\\t1625200228510\\n\\t\\t\\t{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}\\n\\t\\t\\t{\\\\\\"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}]}\\n\\t\\t\\tnew-bucket\\n\\t\\t\\tnew-bucket\\n\\t\\t\\tcn-hangzhou-f\\n\\t\\t\\tcn-hangzhou\\n\\t\\t\\tACS::OSS::Bucket\\n\\t\\t\\t1624961112000\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n\\t\\t\\n\\t\\t10\\n\\t\\n\\t","errorExample":""}]', 'title' => '查询账号组资源合规检测历史', 'description' => '在配置审计中,每个资源都有属于自己的合规检测历史。当规则被触发评估资源时,产生合规评估记录,持续的合规评估形成了资源的合规检测历史。规则触发方式包括:配置变更、周期执行和手动执行。'."\n" ."\n" .'本文将提供一个示例,查询账号组`ca-5885626622af0008****`内的成员账号`100931896542****`的地域`cn-hangzhou`中资源`new-bucket`(存储空间)的合规检测历史。返回结果显示,资源的合规检测历史为`1625200295276`(北京时间:2021-07-02 12:31:35)和`1625200228510`(北京时间:2021-07-02 12:30:28)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceTimeline', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceConfigurationTimeline' => [ 'summary' => '查询指定账号组内指定资源的配置变更历史。配置审计记录资源的每一次配置变更和资源关系变更,并整理为配置变更历史。您开通配置审计服务后,配置审计开始记录资源的配置变更和资源关系变更历史,并默认保存10年。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigWLDOIT', ], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', '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', ], ], [ 'name' => 'EndTime', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceType', 'in' => 'query', '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', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', 'schema' => [ 'description' => '必填,账号组内待查询资源所属的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ConfigurationList' => [ 'description' => '资源配置变更历史列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], ], ], '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' => '该账号不存在或不在目标账号组内。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\tED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\n\\t\\n\\t\\t10\\n\\t\\t\\n\\t\\t\\t100931896542****\\n\\t\\t\\tnew-bucket\\n\\t\\t\\tcn-hangzhou-h\\n\\t\\t\\tACS::OSS::Bucket\\n\\t\\t\\tDISCOVERED\\n\\t\\t\\t1624961112000\\n\\t\\t\\t1624961156000\\n\\t\\t\\t{\\\\\\"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\\t\\t\\tnew-bucket\\n\\t\\t\\tcn-hangzhou\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n\\t\\t\\n\\t\\n","errorExample":""}]', 'title' => '查询账号组资源配置变更历史', 'description' => '配置审计为您提供每个监控范围内资源的配置变更历史,具体如下:'."\n" ."\n" .'- 对于您开通配置审计服务时已保有的资源,配置变更历史的起点是服务开通时间。'."\n" .'- 对于您开通配置审计服务后新建的资源,配置变更历史的起点是资源新建时间。配置审计每10分钟记录一次资源的配置变更。当资源的配置变更时,会在配置变更历史出现一个节点,显示该时间点的资源配置详情、变更详情,以及该变更涉及的操作事件。'."\n" ."\n" .'本文将提供一个示例,查询账号组`ca-5885626622af0008****`内的成员账号`100931896542****`的地域`cn-hangzhou`中资源`new-bucket`(存储空间)的配置变更历史。返回结果显示,资源的配置变更历史为`1624961112000`(北京时间:2021-06-29 18:05:12)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceConfigurationTimeline', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetAggregateResourceConfigurationTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceCountsGroupByRegion' => [ 'summary' => '从地域维度查询指定账号组内资源的统计结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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****', ], ], [ 'name' => 'FolderId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595', ], 'DiscoveredResourceCountsSummary' => [ 'description' => '资源统计结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t399BD94C-D20C-4D27-88D4-89E8D75C0595\\n\\t\\n\\t\\tcn-hangzhou\\n\\t\\t10\\n\\t\\n\\t","errorExample":""}]', 'title' => '从地域维度查询指定账号组内资源的统计结果', 'description' => '本文将提供一个示例,从地域维度查询账号组`ca-a260626622af0005****`内资源的统计结果。返回结果显示,地域`cn-hangzhou`中资源总数为`10`条。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceCountsGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceCountsGroupByResourceType' => [ 'summary' => '从资源类型维度查询指定账号组内资源的统计结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', '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****', ], ], [ 'name' => 'FolderId', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '99114B22-1EFF-47DF-B906-1CCE82FF9D60', ], 'DiscoveredResourceCountsSummary' => [ 'description' => '资源统计结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t99114B22-1EFF-47DF-B906-1CCE82FF9D60\\n\\t\\n\\t\\tACS::RAM::Role\\n\\t\\t7\\n\\t\\n\\t","errorExample":""}]', 'title' => '从资源类型维度查询指定账号组内资源的统计结果', 'description' => '本文将提供一个示例,从资源类型维度查询账号组`ca-a260626622af0005****`内资源的统计结果。返回结果显示,资源类型`ACS::RAM::Role`中资源总数为`7`条。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceCountsGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregateResourceInventory' => [ 'summary' => '获取指定的账号组内最近一次生成的全局资源下载清单信息。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '查询账号组的全局资源下载清单信息', 'description' => '### 前提条件'."\n" .'请先调用[GenerateAggregateResourceInventory](~~2398353~~)接口生成全局资源下载清单,再调用本接口获取全局资源下载清单的地址。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,查询账号组ca-a91d626622af0035****内最新生成的全局资源下载清单信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetAggregator' => [ 'summary' => '查询账号组的名称、创建时间、成员和账号组类型等。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigB2MNLG', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-88ea626622af0055****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '733DD93C-2277-4905-AE0C-0BA95C04B8BC', ], 'Aggregator' => [ 'description' => '账号组信息。', 'type' => 'object', 'properties' => [ 'AggregatorCreateTimestamp' => [ 'description' => '创建账号组的时间戳。'."\n" ."\n" .'单位:毫秒。', 'type' => 'string', 'example' => '1623034091000', ], 'AggregatorAccounts' => [ 'description' => '账号组内的成员信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], 'FolderId' => [ 'description' => '资源夹账号组绑定的资源夹ID。', 'type' => 'string', 'example' => 'fd-brHdgv****', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '账号组ID不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\t733DD93C-2277-4905-AE0C-0BA95C04B8BC\\n\\t\\n\\t\\tTest_Group\\n\\t\\t100931896542****\\n\\t\\t测试组\\n\\t\\t\\n\\t\\t\\t171322098523****\\n\\t\\t\\tREGISTERED\\n\\t\\t\\tResourceDirectory\\n\\t\\t\\tAlice\\n\\t\\t\\n\\t\\t\\n\\t\\t\\t100532098349****\\n\\t\\t\\tREGISTERED\\n\\t\\t\\tResourceDirectory\\n\\t\\t\\tTom\\n\\t\\t\\n\\t\\t1623034091000\\n\\t\\t2\\n\\t\\t1\\n\\t\\tCUSTOM\\n\\t\\tca-88ea626622af0055****\\n\\t\\n\\t","errorExample":""}]', 'title' => '查询账号组详情', 'description' => '本文将提供一个示例,查询账号组`ca-88ea626622af0055****`的详情。返回结果显示,账号组名称为`Test_Group`、账号组描述为`测试组`、账号组类型为`CUSTOM`(自定义账号组)、账号组状态为`1 `(创建完成)等。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregator', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], ], ], 'GetCompliancePack' => [ 'summary' => '查询指定的合规包详情。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', ], 'ConfigRules' => [ 'description' => '合规包中的规则列表。', 'type' => 'array', 'items' => [ '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****', ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], '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', ], 'TagsScope' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'description' => '标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], 'required' => true, ], 'ExcludeTagsScope' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ '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****', ], ], ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n ACTIVE\\n cp-a8a8626622af0082****\\n 1\\n 基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\n \\n eip-bandwidth-limit\\n 弹性IP实例带宽满足最低要求\\n cr-a260626622af0005****\\n \\n true\\n bandwidth\\n 10\\n \\n 弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\n 1\\n \\n 等保三级预检合规包\\n ct-5f26ff4e06a300c4****\\n 1624245766000\\n \\n cn-hangzhou\\n eip-8vbf3x310fn56ijfd****\\n rg-aekzc7r7rhx****\\n ECS\\n test\\n \\n \\n","errorExample":""}]', 'title' => '查询合规包详情', 'description' => '本文将提供一个示例,查询合规包`cp-fdc8626622af00f9****`的详情。返回结果显示,合规包名称为`等保三级预检合规包`、合规包状态为`ACTIVE`(正常)、合规包中规则的风险等级为`1`(高风险)等。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'GetCompliancePackReport' => [ 'summary' => '获取合规包的评估报告。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t\\n\\t\\tcp-fdc8626622af00f9****\\n\\t\\t120886317861****\\n\\t\\thttps://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\\t\\tCOMPLETE\\n\\t\\t1624329965857\\n\\t\\n\\t","errorExample":""}]', 'title' => '获取合规包评估报告', 'description' => '> 调用本接口下载评估报告之前,您需要先调用GenerateCompliancePackReport接口生成最新评估报告。更多信息,请参见[GenerateCompliancePackReport](~~263525~~)。'."\n" ."\n" .'本文将提供一个示例,下载合规包`cp-fdc8626622af00f9****`的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'GetComplianceSummary' => [ 'summary' => '查询当前账号下合规统计概览信息。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737', ], 'ComplianceSummary' => [ 'description' => '合规结果统计概览。', 'type' => 'object', 'properties' => [ 'ComplianceSummaryByResource' => [ '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', ], ], ], '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', ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 503 => [ [ '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"}]', 'title' => '查询合规统计概览信息', 'description' => '本文将提供一个示例,查询当前账号组下资源及规则维度的合规统计概览信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComplianceSummary', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetComplianceSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetConfigDeliveryChannel' => [ 'summary' => '查询指定投递渠道信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。'."\n" ."\n" .'关于如何获取投递渠道ID,请参见[ListConfigDeliveryChannels](~~429841~~)。'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-d9106457e0d900b1****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DeliveryChannel' => [ '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', ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\t\\n\\t\\t1\\n\\t\\tcdc-d9106457e0d900b1****\\n\\t\\tmyDeliveryChannel\\n\\t\\tOSS\\n\\t\\tacs:oss:cn-shanghai:120886317861****:new-bucket\\n\\t\\tacs:ram::120886317861****:role/aliyunserviceroleforconfig\\n\\t\\t[{\\\\\\"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\\t\\tacs:oss:cn-shanghai:100931896542****:new-bucket\\n\\t\\tMy OSS delivery.\\n\\t\\tfalse\\n\\t\\ttrue\\n\\t\\tfalse\\n\\t\\t09:10Z\\n\\t\\n\\tDC300244-FCE3-5061-8214-C27ECB668487\\n\\t","errorExample":""}]', 'title' => '查询指定投递渠道信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigDeliveryChannel', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'GetConfigRule' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ConfigRule' => [ 'description' => '规则详情。', 'type' => 'object', 'properties' => [ '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', ], ], ], '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', ], ], ], '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', ], ], ], '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', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-2', ], ], ], ], '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', ], 'Labels' => [ 'description' => '规则标签列表。', 'type' => 'array', 'items' => [ 'description' => '规则模板标签。', 'type' => 'string', 'example' => '["RAM","User"]', ], ], 'ManagedRuleName' => [ 'description' => '规则模板名称。', 'type' => 'string', 'example' => 'RAM用户开启MFA', ], 'OptionalInputParameterDetails' => [ 'description' => '规则模板可选参数详情。', 'type' => 'object', 'example' => '{}', ], 'SourceDetails' => [ 'description' => '规则模板来源详情。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], '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', 'properties' => [ 'ComplianceResourceTypes' => [ 'description' => '规则评估的资源类型列表。也可使用ResourceTypesScope字段进行查看。', 'type' => 'array', 'items' => [ 'description' => '规则评估的资源类型。', 'type' => 'string', 'example' => 'ACS::RAM::User', ], ], ], ], 'Source' => [ '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', ], 'SourceDetails' => [ 'description' => '规则来源详情。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], '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', 'items' => [ 'description' => '标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ '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"}', ], ], ], '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' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询规则详情', 'summary' => '查询指定规则详情。', 'description' => '本文将提供一个示例,查询规则`cr-7f7d626622af0041****`的详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRule\\": {\\n \\"AccountId\\": 0,\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Count\\": 3\\n },\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ConfigRuleEvaluationStatus\\": {\\n \\"FirstActivatedTimestamp\\": 1624932221993,\\n \\"FirstEvaluationStarted\\": true,\\n \\"LastErrorCode\\": \\"TimeOut\\",\\n \\"LastErrorMessage\\": \\"Time out\\",\\n \\"LastFailedEvaluationTimestamp\\": 1614687022000,\\n \\"LastFailedInvocationTimestamp\\": 1614687022000,\\n \\"LastSuccessfulEvaluationTimestamp\\": 1624932227486,\\n \\"LastSuccessfulInvocationTimestamp\\": 1624932227476\\n },\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ConfigRuleName\\": \\"RAM用户开启MFA\\",\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"ConfigRuleTriggerTypes\\": \\"ConfigurationItemChangeNotification\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af008****\\",\\n \\"CompliancePackName\\": \\"OSS合规基线\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"CreatorName\\": \\"Alice\\"\\n },\\n \\"CreateTimestamp\\": 1604684022000,\\n \\"Description\\": \\"RAM用户开启MFA,视为“合规”。\\",\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ExcludeResourceIdsScope\\": \\"23642660635687****\\",\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ],\\n \\"InputParameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"ManagedRule\\": {\\n \\"CompulsoryInputParameterDetails\\": {},\\n \\"Description\\": \\"ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\",\\n \\"Identifier\\": \\"ram-user-mfa-check\\",\\n \\"Labels\\": [\\n \\"[\\\\\\"RAM\\\\\\",\\\\\\"User\\\\\\"]\\"\\n ],\\n \\"ManagedRuleName\\": \\"RAM用户开启MFA\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n },\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"ModifiedTimestamp\\": 1614687022000,\\n \\"RegionIdsScope\\": \\"global\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ResourceTypesScope\\": \\"ACS::RAM::User\\",\\n \\"RiskLevel\\": 1,\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::RAM::User\\"\\n ]\\n },\\n \\"Source\\": {\\n \\"Identifier\\": \\"acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\",\\n \\"Owner\\": \\"ALIYUN\\",\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n },\\n \\"TagKeyLogicScope\\": \\"OR\\",\\n \\"TagKeyScope\\": \\"RAM\\",\\n \\"TagValueScope\\": \\"MFA\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ResourceNameScope\\": \\"i-xxx\\",\\n \\"ExtendContent\\": \\"{\\\\\\"fixedHour\\\\\\":\\\\\\"12\\\\\\"}\\"\\n },\\n \\"RequestId\\": \\"811234F4-C3AB-4D15-B90B-F55016D1B5AA\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 811234F4-C3AB-4D15-B90B-F55016D1B5AA\\n \\n 1\\n \\n \\n ConfigurationItemChangeNotification\\n aliyun.config\\n One_Hour\\n \\n ALIYUN\\n acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\n \\n ACTIVE\\n One_Hour\\n \\n \\n ConfigurationItemChangeNotification\\n aliyun.config\\n One_Hour\\n \\n ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\n [\\"RAM\\",\\"User\\"]\\n ram-user-mfa-check\\n RAM用户开启MFA\\n \\n acs:config::100931896542****:rule/cr-7f7d626622af0041****\\n RAM用户开启MFA,视为“合规”。\\n \\n cp-541e626622af008****\\n OSS合规基线\\n Alice\\n 100931896542****\\n \\n RAM用户开启MFA\\n \\n TimeOut\\n 1624932227486\\n 1624932221993\\n true\\n 1624932227476\\n Time out\\n 1614687022000\\n 1614687022000\\n \\n cr-7f7d626622af0041****\\n 1614687022000\\n 1604684022000\\n ACS::RAM::User\\n global\\n 23642660635687****\\n rg-aekzdibsjjc****\\n RAM\\n MFA\\n ConfigurationItemChangeNotification\\n 120886317861****\\n \\n NON_COMPLIANT\\n 3\\n \\n \\n","errorExample":""}]', ], 'GetConfigRuleComplianceByPack' => [ 'summary' => '查询指定合规包中规则维度合规统计。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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', ], 'ConfigRuleCompliances' => [ 'description' => '合规包中的规则及合规结果列表。', 'type' => 'array', 'items' => [ '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****', ], ], ], ], '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', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => '合规包ID不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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"}]', 'title' => '查询合规包中规则维度合规统计', 'description' => '本文将提供一个示例,查询合规包`cp-541e626622af0087****`中规则的合规结果。返回结果显示规则总数为1个,不合规规则数为0个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleComplianceByPack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRuleComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'GetConfigRuleSummaryByRiskLevel' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ConfigRuleSummaries' => [ 'description' => '不同风险等级规则的合规概要。', 'type' => 'array', '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', ], ], 'description' => '', ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询规则风险等级维度的合规概要', 'summary' => '从规则的风险等级维度查询合规概要。', 'description' => '本文将提供一个示例,查询不同风险等级规则的合规概要。返回结果显示,在高风险的规则中,有3条合规,有1条不合规。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleSummaryByRiskLevel', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRuleSummaryByRiskLevel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleSummaries\\": [\\n {\\n \\"CompliantCount\\": 3,\\n \\"NonCompliantCount\\": 1,\\n \\"RiskLevel\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36\\n \\n 1\\n 3\\n 1\\n \\n","errorExample":""}]', ], 'GetConfigRulesReport' => [ 'summary' => '下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', 'schema' => [ 'description' => '评估报告ID。', 'type' => 'string', 'required' => false, 'example' => 'crp-88176457e0d900c9****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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****', ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '', ], ], ], '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":"\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n \\n CREATING\\n 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 1614687022000\\n crp-88176457e0d900c9****\\n \\n","errorExample":""}]', 'title' => '下载规则评估报告', 'description' => '> 调用本接口下载评估报告之前,您需要先调用GenerateConfigRulesReport接口生成最新评估报告。更多信息,请参见[GenerateConfigRulesReport](~~263601~~)。'."\n" ."\n" .'本文将提供一个示例,下载规则列表中所有规则的评估报告。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetConfigurationRecorder' => [ 'summary' => '查询当前账号的配置审计服务启用状态和资源监控范围。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig56XT35', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ResourceTypes' => [ 'description' => '监控的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance', ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询服务启用状态和资源监控范围', 'description' => '本文将提供一个示例,查询当前账号配置审计服务的启用状态和资源监控范围。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigurationRecorder', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE43696A-B3AF-5E55-9845-11393127E6D3\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]', ], 'GetDiscoveredResource' => [ 'summary' => '获取指定资源的资源详情。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', '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', ], ], [ 'name' => 'Region', 'in' => 'query', 'schema' => [ 'description' => '资源所在地域ID。'."\n" ."\n" .'关于如何获取资源所在地域ID,请参见[ListDiscoveredResources](~~411702~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ComplianceOption', 'in' => 'query', 'schema' => [ 'description' => '查询资源合规结果。取值:'."\n" ."\n" .'- 0(默认值):不查询。'."\n" ."\n" .'- 1:查询。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => [], 'example' => '0', 'default' => '0', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n E4D71ACE-6B0A-46E0-8352-56952378CC7F\\n \\n cn-hangzhou-h\\n ACS::OSS::BucketACS::CDN::Domain\\n {\\\\\\"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\\\\\\"}\\n cn-hangzhou\\n 1624961112000\\n {\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n new-bucket\\n 1\\n new-bucket\\n offline\\n \\n","errorExample":""}]', 'title' => '获取指定资源的资源详情', 'description' => '本文将提供一个示例,查询杭州地域的ECS实例`i-bp12g4xbl4i0brkn****`的详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResource', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetDiscoveredResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'GetDiscoveredResourceCountsGroupByRegion' => [ 'summary' => '从地域维度查询资源的统计结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。'."\n" ."\n" .'关于如何获取资源类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595', ], 'DiscoveredResourceCountsSummary' => [ 'description' => '资源统计结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n 399BD94C-D20C-4D27-88D4-89E8D75C0595\\n \\n 10\\n cn-hangzhou\\n \\n","errorExample":""}]', 'title' => '从地域维度查询资源的统计结果', 'description' => '本文将提供一个示例,从地域维度查询资源的统计结果。返回结果显示地域`cn-hangzhou`中资源总数为10条。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetDiscoveredResourceCountsGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetDiscoveredResourceCountsGroupByResourceType' => [ 'summary' => '从资源类型维度查询资源的统计结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B', ], 'DiscoveredResourceCountsSummary' => [ 'description' => '资源统计结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n AC9BD94C-D20C-4D27-88D4-89E8D75C051B\\n \\n 10\\n ACS::ECS::Instance\\n \\n","errorExample":""}]', 'title' => '从资源类型维度查询资源的统计结果', 'description' => '本文将提供一个示例,从资源类型维度查询资源的统计结果。返回结果显示资源类型`ACS::ECS::Instance`中资源总数为10条。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetDiscoveredResourceCountsGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetIntegratedServiceStatus' => [ 'summary' => '查询指定云服务的集成状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', 'schema' => [ 'title' => '云产品code', 'description' => '集成的云服务标识。取值:'."\n" ."\n" .'- eventbridge:事件总线。'."\n" .'- cms:云监控。'."\n" .'- bpstudio:云速搭。', 'type' => 'string', 'required' => true, 'docRequired' => false, 'enumValueTitles' => [ 'bpstudio' => 'bpstudio', 'eventbridge' => 'eventbridge', 'cms' => 'cms', ], 'example' => 'bpstudio', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n 2E396C84-8D50-5F95-97FA-C0367181BA8A\\n true\\n","errorExample":""}]', 'title' => '查询指定云服务的集成状态', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetManagedRule' => [ 'summary' => '查询指定规则模板的详细信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'ManagedRule' => [ 'description' => '规则模板详情。', 'type' => 'object', 'properties' => [ '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' => '{}', ], 'SourceDetails' => [ 'description' => '规则触发方式信息列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'Description' => [ 'description' => '规则模板描述。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。', ], 'ConfigRuleName' => [ 'description' => '规则模板名称。', 'type' => 'string', 'example' => 'CDN域名开启HTTPS加密', ], 'Scope' => [ 'description' => '规则模板生效范围。', 'type' => 'object', 'properties' => [ 'ComplianceResourceTypes' => [ 'description' => '规则模板生效的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '规则模板生效的资源类型。', 'type' => 'string', 'example' => 'ACS::CDN::Domain', ], ], ], ], 'HelpUrls' => [ 'description' => '规则模板修正指导的文档链接。', 'type' => 'string', 'example' => 'https://example.aliyundoc.com', ], ], ], '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' => '您无权执行此操作。', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '查询规则模板详情', 'description' => '本文将提供一个示例,查询规则模板`cdn-domain-https-enabled`的详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetManagedRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetManagedRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ManagedRule\\": {\\n \\"RiskLevel\\": 1,\\n \\"Labels\\": [\\n \\"CDN\\"\\n ],\\n \\"OptionalInputParameterDetails\\": {},\\n \\"Identifier\\": \\"cdn-domain-https-enabled\\",\\n \\"CompulsoryInputParameterDetails\\": {},\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"MaximumExecutionFrequency\\": \\"TwentyFour_Hours\\"\\n }\\n ],\\n \\"Description\\": \\"CDN域名开启HTTPS协议加密,视为“合规”。\\",\\n \\"ConfigRuleName\\": \\"CDN域名开启HTTPS加密\\",\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::CDN::Domain\\"\\n ]\\n },\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\"\\n },\\n \\"RequestId\\": \\"7E6DDC09-87C1-5310-A924-3491EAAE6F90\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\t\\n\\t\\t1\\n\\t\\tCDN\\n\\t\\tcdn-domain-https-enabled\\n\\t\\t\\n\\t\\t\\tConfigurationItemChangeNotification\\n\\t\\t\\n\\t\\tCDN域名开启HTTPS协议加密,视为“合规”。\\n\\t\\tCDN域名开启HTTPS加密\\n\\t\\t\\n\\t\\t\\tACS::CDN::Domain\\n\\t\\t\\n\\t\\thttps://example.aliyundoc.com\\n\\t\\n\\t7E6DDC09-87C1-5310-A924-3491EAAE6F90\\n\\t","errorExample":""}]', ], 'GetRemediationTemplate' => [ 'summary' => '查看自动修正模板详情。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6I2PFO', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TemplateIdentifier', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '自动修正模板标识。'."\n" ."\n" .'关于如何获取修正模板标识,请参见[合规库](~~2337741~~)。', 'type' => 'string', 'required' => false, 'example' => 'ACS-ALB-BulkyEnableDeletionProtection', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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.', ], ], 'description' => '', ], ], ], 'description' => '', ], ], ], 'errorCodes' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查看自动修正模板详情', 'description' => '本文将提供一个示例,查询`ACS-ALB-BulkyEnableDeletionProtection`自动修正模板的详细信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRemediationTemplate', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetRemediationTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E232FC35-BD40-51E3-B2EB-09416A23****\\",\\n \\"RemediationTemplates\\": [\\n {\\n \\"RemediationType\\": \\"OOS\\",\\n \\"TemplateIdentifier\\": \\"ACS-ALB-BulkyEnableDeletionProtection\\",\\n \\"TemplateName\\": \\"Enable ALB instance deletion protection\\",\\n \\"TemplateDefinition\\": \\"{\\\\\\\\\\\\\\"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\\\\\\\\\\\\\\"}}}\\",\\n \\"ManagedRuleIdentifier\\": \\"alb-delete-protection-enabled\\",\\n \\"TemplateDescription\\": \\"Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GetReportFromTemplate' => [ 'summary' => '获取基于报告模版生成的报告。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'query', 'schema' => [ 'description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '获取基于报告模版生成的最新报告', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\",\\n \\"TemplateReport\\": {\\n \\"AccountId\\": 0,\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"TemplateReportId\\": \\"crtr-xxx\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ReportCreateStartTimestamp\\": 1763540421815,\\n \\"ReportCreateEndTimestamp\\": 1763540426815,\\n \\"ReportUrl\\": \\"https://xxx\\"\\n }\\n}","type":"json"}]', ], 'GetReportTemplate' => [ 'summary' => '获取合规报告模版详情。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'query', 'schema' => [ 'description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ReportTemplate' => [ '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', ], 'ReportScope' => [ 'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n" ."\n" .'> 如数组大小为2,第一个 ReportScope 指定规则 In cr-1,第二个 ReportScope 指定规则 In cr-2,则此报告圈定的规则范围为 cr-1和cr-2。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取合规报告模版详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplate\\": {\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"ReportTemplateName\\": \\"test-name\\",\\n \\"SubscriptionFrequency\\": \\"0 0 0 * * ?\\",\\n \\"ReportTemplateDescription\\": \\"test-description\\",\\n \\"ReportGranularity\\": \\"AllInOne\\",\\n \\"ReportFileFormats\\": \\"excel\\",\\n \\"ReportLanguage\\": \\"en-US\\",\\n \\"ReportScope\\": [\\n {\\n \\"Key\\": \\"RuleId\\",\\n \\"Value\\": \\"cr-1,cr-2\\",\\n \\"MatchType\\": \\"In\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]', ], 'GetResourceComplianceByConfigRule' => [ 'summary' => '从规则的合规评估结果维度查询合规概要。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'COMPLIANT', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '资源的评估结果。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB753d', ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n 10\\n \\n COMPLIANT\\n 5\\n \\n \\n 23306AB1-34E0-468F-BD7B-68D8AEAB753d\\n","errorExample":""}]', 'title' => '查询规则合规评估结果维度的合规概要', 'description' => '本文将提供一个示例,查询规则`cr-d369626622af008e****`对资源的评估结果。返回结果显示,资源总数为10条,其中合规资源数为`5`条。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceByConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'GetResourceComplianceByPack' => [ 'summary' => '查询合规包中资源的合规结果。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListCompliancePacks](~~263332~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'ResourceComplianceResult' => [ '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', ], ], ], '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不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n \\n cp-541e626622af0087****\\n 7\\n 10\\n \\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', 'title' => '查询合规包资源合规结果', 'description' => '本文将提供一个示例,查询合规包`cp-541e626622af0087****`中资源的合规结果。返回结果显示,资源总数为10个,不合规资源数为7个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceByPack', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'GetResourceComplianceGroupByRegion' => [ 'summary' => '查询规则对资源的评估结果,评估结果按资源所属地域进行分组展示。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', 'schema' => [ 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-2541626622af0000****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '评估数据统计结果。', 'type' => 'object', 'properties' => [ 'ComplianceResultList' => [ 'description' => '按资源所属地域分组的评估结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n \\n cn-beijing\\n \\n ACS::ECS::Instance\\n 1\\n \\n \\n \\n 0FDF8006-34A0-5334-8C79-48F64EAB34F1\\n","errorExample":""}]', 'title' => '获取指定规则的按资源所属地域进行分组的评估结果', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'GetResourceComplianceGroupByResourceType' => [ 'summary' => '查询规则对资源的评估结果,评估结果按资源类型进行分组展示。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', 'schema' => [ 'description' => '规则ID。多个规则ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-a5c6626622af0058****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ComplianceResult' => [ 'description' => '评估数据统计结果。', 'type' => 'object', 'properties' => [ 'ComplianceResultList' => [ 'description' => '按资源类型分组的评估结果列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '84610B68-2DD3-5AF0-B68D-E1FA8F051F7D', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n \\n ACS::ECS::Instance\\n \\n COMPLIANT\\n 1\\n \\n \\n \\n 84610B68-2DD3-5AF0-B68D-E1FA8F051F7D\\n","errorExample":""}]', 'title' => '查询指定规则的按资源类型进行分组的评估结果', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetResourceComplianceTimeline' => [ 'summary' => '查询指定资源的合规检测历史。合规检测历史是资源的一组合规评估记录,包括合规检测历史上的点和合规检测历史的内容。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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', ], ], [ 'name' => 'StartTime', 'in' => 'query', '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', ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\r\\n\\t8D53A78F-1EB8-4264-A554-72F07E34FAE6\\r\\n\\t\\r\\n\\t\\t5OVS5J4I1/UKTkHV5oNs****\\r\\n\\t\\t\\r\\n\\t\\t\\t100931896542****\\r\\n\\t\\t\\t1625200295276\\r\\n\\t\\t\\t{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{\\\\\\"accountId\\\\\\":100931896542****,\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\"},{}]}\\r\\n\\t\\t\\t{\\\\\\"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\\\\\\"}]}\\r\\n\\t\\t\\tnew-bucket\\r\\n\\t\\t\\tnew-bucket\\r\\n\\t\\t\\tcn-hangzhou-f\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\tACS::OSS::Bucket\\r\\n\\t\\t\\t1624961112000\\r\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t100931896542****\\r\\n\\t\\t\\t1625200228510\\r\\n\\t\\t\\t{\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\":[{},{\\\\\\"annotation\\\\\\":\\\\\\"\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\",\\\\\\"configRuleId\\\\\\":\\\\\\"cr-965f626622af003d****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ScheduledNotification\\\\\\",\\\\\\"riskLevel\\\\\\":1}]}\\r\\n\\t\\t\\t{\\\\\\"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}]}\\r\\n\\t\\t\\tnew-bucket\\r\\n\\t\\t\\tnew-bucket\\r\\n\\t\\t\\tcn-hangzhou-f\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\tACS::OSS::Bucket\\r\\n\\t\\t\\t1624961112000\\r\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\r\\n\\t\\t\\r\\n\\t\\t10\\r\\n\\t\\r\\n\\t","errorExample":""}]', 'title' => '查询资源合规检测历史', 'description' => '在配置审计中,每个资源都有属于自己的合规检测历史。当规则被触发评估资源时,产生合规评估记录,持续的合规评估形成了资源的合规检测历史。规则触发方式包括:配置变更、周期执行和手动执行。'."\n" ."\n" .'本文将提供一个示例,查询地域`cn-hangzhou`中资源`new-bucket`(存储空间)的合规检测历史。返回结果显示,资源的合规检测历史为`1625200295276`(北京时间:2021-07-02 12:31:35)和`1625200228510`(北京时间:2021-07-02 12:30:28)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceTimeline', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetResourceComplianceTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetResourceConfigurationSample' => [ 'summary' => '本接口用于获取指定资源类型的配置样例。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], [ 'name' => 'MockOnly', 'in' => 'query', 'schema' => [ 'description' => '是否仅获取模拟数据,即非真实资源数据。'."\n" .'取值:'."\n" .' - true'."\n" .' - false', 'type' => 'string', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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\\"}', ], ], ], ], ], ], ], 'errorCodes' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取资源配置样例', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:GetResourceConfigurationSample', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB66****\\",\\n \\"Sample\\": {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"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\\\\\\\\\\\\\\"}\\",\\n \\"ResourceId\\": \\"i-bp1aaegapahkh880****\\",\\n \\"ResourceName\\": \\"my-ecs\\",\\n \\"ResourceStatus\\": \\"Running\\",\\n \\"ResourceDeleted\\": \\"1\\",\\n \\"ResourceCreationTime\\": \\"1646362560000\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"Version\\": \\"5\\",\\n \\"AvailabilityZone\\": \\"cn-shanghai-g\\",\\n \\"AccountId\\": \\"101339776561****\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]', ], 'GetResourceConfigurationTimeline' => [ 'summary' => '查询指定资源的配置变更历史。配置审计记录资源的每一次配置变更和资源关系变更,并整理为配置变更历史。您开通配置审计服务后,配置审计开始记录资源的配置变更和资源关系变更历史,并默认保存10年。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', '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', ], ], [ 'name' => 'EndTime', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceType', 'in' => 'query', '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], 'ConfigurationList' => [ 'description' => '资源配置变更历史列表。', 'type' => 'array', 'items' => [ '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' => '""', ], ], ], ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\tED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\n\\t\\n\\t\\t\\n\\t\\t\\t100931896542****\\n\\t\\t\\tnew-bucket\\n\\t\\t\\tcn-hangzhou-h\\n\\t\\t\\tACS::OSS::Bucket\\n\\t\\t\\tDISCOVERED\\n\\t\\t\\t1624961112000\\n\\t\\t\\t\\n\\t\\t\\t1624961156000\\n\\t\\t\\t{\\\\\\"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\\t\\t\\tnew-bucket\\n\\t\\t\\t\\n\\t\\t\\tcn-hangzhou\\n\\t\\t\\t{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}\\n\\t\\t\\n\\t\\t10\\n\\t\\n\\t","errorExample":""}]', 'title' => '查询资源配置变更历史', 'description' => '配置审计为您提供每个监控范围内资源的配置变更历史,具体如下:'."\n" ."\n" .'- 对于您开通配置审计服务时已保有的资源,配置变更历史的起点是服务开通时间。'."\n" .'- 对于您开通配置审计服务后新建的资源,配置变更历史的起点是资源新建时间。配置审计每10分钟记录一次资源的配置变更。当资源的配置变更时,会在配置变更历史出现一个节点,显示该时间点的资源配置详情、变更详情,以及该变更涉及的操作事件。'."\n" ."\n" .'本文将提供一个示例,查询地域`cn-hangzhou`中资源`new-bucket`(存储空间)的配置变更历史。返回结果显示,资源的配置变更历史为`1624961112000`(北京时间:2021-06-29 18:05:12)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceConfigurationTimeline', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetResourceConfigurationTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetResourceInventory' => [ 'summary' => '获取当前账号最近一次生成的全局资源下载清单信息。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '获取全局资源下载清单信息', 'description' => '### 前提条件'."\n" .'请先调用[GenerateResourceInventory](~~2398354~~)接口生成全局资源下载清单,再调用本接口获取全局资源下载清单的地址。'."\n" .'### 使用说明'."\n" .'本文将提供一个示例,查询当前账号最新生成的全局资源下载清单信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceInventory', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89E2F38F-4EE4-545A-BD56-92E007ECFEE9\\",\\n \\"ResourceInventory\\": {\\n \\"DownloadUrl\\": \\"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****\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1687674634220\\n }\\n}","type":"json"}]', ], 'GetResourceTypeProperties' => [ 'summary' => '本接口用于获取指定资源类型的属性描述。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigWLDOIT', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。'."\n" ."\n" .'关于如何获取类型,请参见[ListDiscoveredResources](~~169620~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ '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" .']', ], ], 'description' => '', ], ], ], 'errorCodes' => [], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取资源属性描述', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:GetResourceTypeProperties', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigWLDOIT', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ResourceRelationConfigList' => [ 'description' => '资源关系列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询指定资源类型支持的资源关系', 'summary' => '查询指定资源类型支持的资源关系。', 'description' => '本文将提供一个示例,查询资源类型ACS::ECS::Instance支持的资源关系列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSupportedResourceRelationConfig', ], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResourceRelationConfigList\\": [\\n {\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"RequestId\\": \\"409D022F-394C-5AAB-A74A-2F1DC9F6375E\\"\\n}","type":"json"}]', ], 'IgnoreAggregateEvaluationResults' => [ 'summary' => '忽略某个账号组下某条规则对某些资源的评估结果。您还可以设置规则的忽略时间,当忽略到期后,自动恢复显示该规则对资源的检测结果。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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****', ], ], [ 'name' => 'Resources', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '待忽略的资源列表。', 'type' => 'array', 'items' => [ '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****', ], ], 'required' => false, ], 'required' => true, ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', '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' => '无需检测。', ], ], [ 'name' => 'IgnoreDate', 'in' => 'formData', 'schema' => [ 'description' => '已忽略评估结果的自动恢复日期。'."\n" ."\n" .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'required' => false, 'example' => '2022-06-01', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], 503 => [ [ '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":"\\n 0132CBF2-0B0B-59F2-9E84-07B38267BC32\\n","errorExample":""}]', 'title' => '忽略账号组规则评估结果', 'description' => '忽略不合规资源后,规则仍然会对该资源进行评估,评估结果为已忽略。'."\n" ."\n" .'本文将提供一个示例,忽略账号组`ca-5b6c626622af008f****`内的成员账号`120886317861****`中规则`cr-7e72626622af0051****`对指定不合规资源的评估结果,该资源归属的地域ID为`cn-beijing`,资源类型为`ACS::SLB::LoadBalancer`,资源ID为`lb-hp3a3b4ztyfm2plgm****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:IgnoreAggregateEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'IgnoreEvaluationResults' => [ 'summary' => '忽略某条规则对某些资源的评估结果。您还可以设置规则的忽略时间,当忽略到期后,自动恢复显示该规则对资源的检测结果。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', 'schema' => [ 'description' => '规则ID。'."\n" ."\n" .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****', ], ], [ 'name' => 'Resources', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '待忽略的资源列表。', 'type' => 'array', 'items' => [ '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****', ], ], 'required' => false, ], 'required' => true, ], ], [ 'name' => 'Reason', 'in' => 'formData', 'schema' => [ 'description' => '忽略原因。', 'type' => 'string', 'required' => false, 'example' => '无需检测。', ], ], [ 'name' => 'IgnoreDate', 'in' => 'formData', 'schema' => [ 'description' => '已忽略评估结果的自动恢复日期。'."\n" ."\n" .'> 为空表示不会自动恢复,需要您手动恢复。', 'type' => 'string', 'required' => false, 'example' => '2022-06-01', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '您无权执行此操作。', ], ], 503 => [ [ '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"}]', 'title' => '忽略规则评估结果', 'description' => '忽略不合规资源后,规则仍然会对该资源进行评估,评估结果为已忽略。'."\n" ."\n" .'本文将提供一个示例,忽略当前账号`100931896542****`中规则`cr-7e72626622af0051****`对指定不合规资源的评估结果,该资源归属的地域ID为`cn-beijing`,资源类型为`ACS::SLB::LoadBalancer`,资源ID为`lb-hp3a3b4ztyfm2plgm****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreEvaluationResults', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:IgnoreEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListAggregateCompliancePacks' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig3B4J5L', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Status', 'in' => 'query', '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', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。'."\n" ."\n", 'type' => 'string', 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4', ], 'CompliancePacksResult' => [ 'description' => '合规包列表查询结果。', 'type' => 'object', 'properties' => [ 'CompliancePacks' => [ 'description' => '合规包列表。', 'type' => 'array', 'items' => [ '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', ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询账号组合规包列表', 'summary' => '查询指定账号组内的合规包列表。', 'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内的合规包列表。返回结果显示该账号组内有一条合规包记录`cp-fdc8626622af00f9****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateCompliancePacks', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B5806142-3090-4F86-A84E-12B3FE52C1C4\\",\\n \\"CompliancePacksResult\\": {\\n \\"CompliancePacks\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"RiskLevel\\": 1,\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"Description\\": \\"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.\\",\\n \\"CompliancePackName\\": \\"BestPracticesForResourceStability\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"CompliancePackTemplateId\\": \\"ct-484cff4e06a30062****\\",\\n \\"CreateTimestamp\\": 1624243657000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\tB5806142-3090-4F86-A84E-12B3FE52C1C4\\n\\t\\n\\t\\t1\\n\\t\\t10\\n\\t\\t1\\n\\t\\t\\n\\t\\t\\tcp-fdc8626622af00f9****\\n\\t\\t\\tACTIVE\\n\\t\\t\\t100931896542****\\n\\t\\t\\t等保三级预检合规包\\n\\t\\t\\t\\n\\tB5806142-3090-4F86-A84E-12B3FE52C1C4\\n\\t\\n\\t\\t1\\n\\t\\t10\\n\\t\\t1\\n\\t\\t\\n\\t\\t\\tcp-fdc8626622af00f9****\\n\\t\\t\\tACTIVE\\n\\t\\t\\t100931896542****\\n\\t\\t\\t等保三级预检合规包\\n\\t\\t\\t基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\n\\t\\t\\tct-5f26ff4e06a300c4****\\n\\t\\t\\t1\\n\\t\\t\\t1624243657000\\n\\t\\t\\tca-f632626622af0079****\\n\\t\\t\\n\\t\\n\\t。\\n\\t\\t\\tct-5f26ff4e06a300c4****\\n\\t\\t\\t1\\n\\t\\t\\t1624243657000\\n\\t\\t\\tca-f632626622af0079****\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]', ], 'ListAggregateConfigDeliveryChannels' => [ 'summary' => '查询指定账号组内的所有投递渠道信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'DeliveryChannelIds', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DeliveryChannels' => [ 'description' => '多个投递渠道信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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":"\\n \\n 1\\n myDeliveryChannel\\n cdc-d9106457e0d900b1****\\n OSS\\n acs:oss:cn-shanghai:120886317861****:new-bucket\\n acs:ram::120886317861****:role/aliyunserviceroleforconfig\\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 acs:oss:cn-shanghai:100931896542****:new-bucket\\n My OSS delivery.\\n false\\n true\\n false\\n ca-a4e5626622af0079****\\n 09:10Z\\n \\n DC300244-FCE3-5061-8214-C27ECB668487\\n","errorExample":""}]', 'title' => '查询指定账号组内的所有投递渠道信息', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListAggregateConfigRuleEvaluationResults' => [ 'summary' => '从规则维度查询指定账号组内规则对资源的评估结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], ], 'parameters' => [ [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。'."\n" .'- IGNORED:已忽略。', 'type' => 'string', 'required' => false, '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', ], ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', '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****', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', 'schema' => [ 'description' => '账号组内待查询资源所属的阿里云账号ID。 '."\n" .'> 参数ResourceAccountId和ResourceOwnerId二选一,推荐使用本参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], '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', ], 'EvaluationResultIdentifier' => [ 'description' => '规则评估结果标识符。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], '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' => '', ], ], ], ], ], 'description' => '', ], ], ], '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不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询账号组规则的评估结果', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationResults', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigRuleEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A6662516-D056-4325-B6A7-CD3E89C97C39\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624869013065,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ZRS\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.DataRedundancyType\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624869012713,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624869012713,\\n \\"EvaluationResultQualifier\\": {\\n \\"ResourceOwnerId\\": 0,\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-888f626622af00ae****\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ConfigRuleName\\": \\"OSS存储空间开启同城冗余存储\\",\\n \\"ResourceGroupId\\": \\"rg-acfm26cicib****\\",\\n \\"ConfigRuleId\\": \\"cr-888f626622af00ae****\\",\\n \\"ResourceName\\": \\"Bucket-test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CompliancePackId\\": \\"cr-7263fd26622af00bc****\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceId\\": \\"Bucket-test\\"\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696393000,\\n \\"LastCompliantFixedTimestamp\\": 1768788515723\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n A6662516-D056-4325-B6A7-CD3E89C97C39\\n \\n IWBjqMYSy0is7zSMGu16****\\n 10\\n \\n 1\\n NON_COMPLIANT\\n 1624869013065\\n {\\\\\\"configuration\\\\\\":\\\\\\"LRS\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"ZRS\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"StringEquals\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.DataRedundancyType\\\\\\"}\\n 1624869012713\\n ScheduledNotification\\n \\n 1624869012713\\n \\n acs:config::100931896542****:rule/cr-888f626622af00ae****\\n ACS::OSS::Bucket\\n OSS存储空间开启同城冗余存储\\n Bucket-test\\n cr-888f626622af00ae****\\n Bucket-test\\n cn-hangzhou\\n cr-7263fd26622af00bc****\\n \\n \\n false\\n \\n \\n","errorExample":""}]', ], 'ListAggregateConfigRuleEvaluationStatistics' => [ 'summary' => '查询目标账号组的合规统计趋势。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0', ], 'EvaluationResults' => [ 'description' => '评估统计结果。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], 'description' => '', ], ], ], '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' => '该账号不存在或不在目标账号组内。', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '查询账号组的合规统计趋势', 'description' => '本文将提供一个示例,查询账号组ca-edd3626622af00b3****的合规统计趋势。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationStatistics', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigRuleEvaluationStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ConfigRuleState', 'in' => 'query', 'schema' => [ 'description' => '规则运行状态。取值:'."\n" .'- ACTIVE:应用中。'."\n" .'- DELETING:删除中。'."\n" .'- EVALUATING:评估中。'."\n" .'- INACTIVE:已停用。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACTIVE', 'enum' => [ 'ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE', ], ], ], [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '规则合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'COMPLIANT', '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', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', '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.', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 20, ], ], [ 'name' => 'Keyword', 'in' => 'query', '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', ], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。', 'type' => 'string', 'required' => false, 'example' => 'CreateDate-Desc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D', ], 'ConfigRules' => [ 'description' => '规则列表。', 'type' => 'object', 'properties' => [ 'ConfigRuleList' => [ 'description' => '规则列表详细信息。', 'type' => 'array', 'items' => [ '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', ], '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', ], ], ], '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****', ], ], ], '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', 'items' => [ 'description' => '规则的标签。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], 'PageSize' => [ 'description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'PageNumber' => [ 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'TotalCount' => [ 'description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询账号组的规则列表', 'summary' => '查询指定账号组内的规则列表。', 'description' => '本文将提供一个示例,查询账号组`ca-f632626622af0079****`内的规则列表。返回结果显示,规则列表中规则总数为1条,评估资源数为2条,评估结果为`COMPLIANT`(合规)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRules', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"22EF8287-2C9A-4F1F-80A6-CEFA7612689D\\",\\n \\"ConfigRules\\": {\\n \\"ConfigRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"SourceOwner\\": \\"ALIYUN\\",\\n \\"AccountId\\": 0,\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 2\\n },\\n \\"SourceIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-fdc8626622af00f9****\\",\\n \\"Description\\": \\"The description of the rule.\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"CompliancePackName\\": \\"The name of the compliance package.\\\\n\\",\\n \\"CreatorName\\": \\"Alice\\",\\n \\"CreatorType\\": \\"AGGREGATOR\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\"\\n },\\n \\"AutomationType\\": \\"OOS\\",\\n \\"ConfigRuleName\\": \\"The name of the rule.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"prod\\"\\n }\\n ],\\n \\"CreateDate\\": \\"2025-09-19T15:51:00\\",\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 22EF8287-2C9A-4F1F-80A6-CEFA7612689D\\n \\n \\n 1\\n ALIYUN\\n ACTIVE\\n \\n COMPLIANT\\n 2\\n \\n eip-bandwidth-limit\\n acs:config::100931896542****:rule/cr-fdc8626622af00f9****\\n 弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\n \\n cp-fdc8626622af00f9****\\n Test_Group\\n 等保三级预检合规包\\n Alice\\n AGGREGATOR\\n 100931896542****\\n ca-f632626622af0079****\\n \\n OOS\\n 弹性IP实例带宽满足最低要求\\n cr-fdc8626622af00f9****\\n \\n env\\n prod\\n \\n \\n 10\\n 1\\n 1\\n \\n","errorExample":""}]', ], 'ListAggregateDiscoveredResources' => [ 'summary' => '查询指定账号组内的资源列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp31cqoba96jagtz****', ], ], [ 'name' => 'ResourceName', 'in' => 'query', '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', ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', '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', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], [ 'name' => 'StartUpdateTimestamp', 'in' => 'query', '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', ], ], [ 'name' => 'ExcludeResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DiscoveredResourceProfiles' => [ 'description' => '资源列表。', 'type' => 'object', 'properties' => [ 'DiscoveredResourceProfileList' => [ 'description' => '资源列表详情。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n \\n \\n ACS::ECS::NetworkInterface\\n cn-huhehaote\\n 1618675206000\\n {\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}\\n eni-hp31cqoba96jagtz****\\n Cloud Firewall\\n 1\\n InUse\\n 1\\n cn-huhehaote-a\\n \\n IWBjqMYSy0is7zSMGu16****\\n 10\\n 8\\n \\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n","errorExample":""}]', 'title' => '获取账号组内资源列表', 'description' => '### 使用限制'."\n" .'因为配置审计仅支持部分阿里云服务和资源类型,所以资源清单中只展示部分资源。关于配置审计支持的云服务及资源类型,请参见[配置审计支持的资源类型和资源关系](~~127411~~)。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,查询账号组`ca-c560626622af0005****`内某个成员`100931896542****`的资源列表。返回结果显示,资源列表中共有8个资源。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateDiscoveredResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateDiscoveredResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListAggregateRecommendManagedRules' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => true, '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', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceIdsScope', 'in' => 'query', '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****', ], ], [ 'name' => 'SelectedManagedRuleIdentifiers', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RecommendedManagedRules' => [ 'description' => '规则列表。', 'type' => 'object', 'properties' => [ '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', ], ], 'description' => '', ], ], 'TotalCount' => [ 'description' => '规则模板总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], '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列表不能为空。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '列出推荐的账号组托管规则', 'summary' => '本接口用于获取推荐的账号组托管规则列表。', 'description' => '关于预检规则的概念、运行原理和集成过程,请参见[预检规则的定义与运行原理](~~470802~~)。'."\n" ."\n" .'预检规则和规则模板是同源规则,当您创建资源后,预检规则可以持续检测资源的合规性。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateRecommendManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RecommendedManagedRules\\": {\\n \\"MaxResults\\": 200,\\n \\"NextToken\\": \\"zXZXbg4Mra0kOrhpwl21****\\",\\n \\"RecommendedManagedRuleList\\": [\\n {\\n \\"ConfigRuleName\\": \\"ram-policy-in-use-check\\",\\n \\"Description\\": \\"If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.\\",\\n \\"Identifier\\": \\"ram-policy-in-use-check\\",\\n \\"ResourceTypeScope\\": \\"ACS::RAM::Policy\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n },\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D46****\\"\\n}","type":"json"}]', ], 'ListAggregateRemediationExecutions' => [ 'summary' => '查询指定账号组内规则的修正执行记录。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'ExecutionStatus', 'in' => 'query', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11', ], 'RemediationExecutionData' => [ 'description' => '修正执行记录结果。', 'type' => 'object', 'properties' => [ 'RemediationExecutions' => [ 'description' => '修正执行记录列表。', 'type' => 'array', 'items' => [ '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****', ], ], ], ], 'NextToken' => [ 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'cNclqNaKs0Ds7zSNip0a****', ], 'MaxResults' => [ 'description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], ], '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****`的修正执行记录。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateRemediationExecutions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'ListAggregateRemediations' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8', ], 'Remediations' => [ 'description' => '修正设置信息。', 'type' => 'array', 'items' => [ '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"}', ], ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询账号组的修正设置列表', 'summary' => '查询指定账号组下所有修正列表。', 'description' => '本文将提供一个示例,查询账号组`ca-6b4a626622af0012****`内规则`cr-6b7c626622af00b4****`的修正设置。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediations', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0146963A-20C0-4E75-B93A-7D622B5FD7C8\\",\\n \\"Remediations\\": [\\n {\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-6b4a626622af0012****\\",\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationId\\": \\"crr-6b7c626622af0026****\\",\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-6b7c626622af00b4****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589,\\n \\"RemediaitonOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0146963A-20C0-4E75-B93A-7D622B5FD7C8\\n \\n ACS-OSS-PutBucketAcl\\n {\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"regionId\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"{regionId}\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"bucketName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"test-0521\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"permissionName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"private\\\\\\"}],\\\\\\"type\\\\\\":\\\\\\"OBJECT\\\\\\"}\\n ALIYUN\\n OOS\\n bd7629fb-cac8-42fe-bcb1-e362c5a6****\\n ca-6b4a626622af0012****\\n AUTO_EXECUTION\\n crr-6b7c626622af0026****\\n AUTO_EXECUTION\\n cr-6b7c626622af00b4****\\n 1625451393589\\n {\\"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。\\"}]}\\n \\n","errorExample":""}]', ], 'ListAggregateResourceEvaluationResults' => [ 'summary' => '从资源维度查询指定账号组内规则对资源的评估结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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****', ], ], [ 'name' => 'RiskLevel', 'in' => 'query', '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', ], ], [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。'."\n" .'- IGNORED:已忽略。', 'type' => 'string', 'required' => false, 'example' => 'NON_COMPLIANT', 'enum' => [ 'COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED', ], ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Region', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], 'EvaluationResultList' => [ 'description' => '资源评估结果列表。', 'type' => 'array', 'items' => [ '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', ], 'EvaluationResultIdentifier' => [ 'description' => '资源评估结果标识符。', 'type' => 'object', 'properties' => [ '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****', ], ], ], ], ], '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', ], ], ], ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n\\t200\\n\\t\\n\\t\\t25C89DDB-BB79-487D-88C3-4A561F21EFC4\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\t1624932227157\\n\\t\\t\\t\\tNON_COMPLIANT\\n\\t\\t\\t\\t1624932227595\\n\\t\\t\\t\\tScheduledNotification\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tcr-7f7d626622af0041****\\n\\t\\t\\t\\t\\t\\tacs:config::100931896542****:rule/cr-7f7d626622af0041****\\n\\t\\t\\t\\t\\t\\t23642660635396****\\n\\t\\t\\t\\t\\t\\trd_member\\n\\t\\t\\t\\t\\t\\tRAM用户开启MFA\\n\\t\\t\\t\\t\\t\\tACS::RAM::User\\n\\t\\t\\t\\t\\t\\tglobal\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t1624932227157\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t1\\n\\t\\t\\t\\tfalse\\n\\t\\t\\t\\t{\\\\\\"configuration\\\\\\":\\\\\\"false\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"True\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"StringEquals\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.LoginProfile.MFABindRequired\\\\\\"}\\n\\t\\t\\t\\n\\t\\t\\t10\\n\\t\\t\\n\\t\\n\\t200\\n\\t25C89DDB-BB79-487D-88C3-4A561F21EFC4\\n\\t","errorExample":""}]', 'title' => '查询账号组资源的评估结果', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceEvaluationResults', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateResourceEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListAggregateResourceRelations' => [ 'summary' => '查询账号组内指定资源的相关资源列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'Region', 'in' => 'query', 'schema' => [ 'description' => '资源所在地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'TargetResourceType', 'in' => 'query', 'schema' => [ 'description' => '关联资源的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk', ], ], [ 'name' => 'TargetResourceId', 'in' => 'query', 'schema' => [ 'description' => '关联资源的资源ID。', 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****', ], ], [ 'name' => 'RelationType', 'in' => 'query', 'schema' => [ 'description' => '资源关系类型。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含', ], 'example' => 'IsAttachedTo', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1', ], 'ResourceRelations' => [ 'description' => '资源关系结果。', 'type' => 'object', 'properties' => [ 'ResourceRelationList' => [ 'description' => '资源关系列表。', 'type' => 'array', 'items' => [ '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****', ], 'RelationType' => [ 'description' => '资源关系类型。', 'type' => 'string', 'enumValueTitles' => [ 'IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含', ], 'example' => 'IsAttachedTo', ], ], ], ], 'NextToken' => [ 'description' => '查询下一页使用的Token。', 'type' => 'string', 'required' => false, 'example' => 'AcBjqMYSy0is7zSMGu16****', ], 'MaxResults' => [ 'description' => '每页的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '查询账号组内指定资源的相关资源列表', 'description' => '本文将提供一个示例,查询账号组内一个ECS实例关联的磁盘。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListAggregateResourceRelations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListAggregateResourcesByAdvancedSearch' => [ 'summary' => '通过SQL的Select语句根据资源属性中的字段精确搜索指定账号组内的资源。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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\'', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', 'schema' => [ 'description' => '账号组ID。', 'type' => 'string', 'required' => true, 'example' => 'ca-4b05626622af000c****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153', ], 'QueryResults' => [ 'description' => '查询结果。', 'type' => 'object', 'properties' => [ 'QueryResultList' => [ 'description' => '查询返回的资源列表,最大返回1000条数据。查看更多数据请使用搜索文件下载。', 'type' => 'object', 'properties' => [ 'Columns' => [ 'description' => '搜索返回的字段名称列表。', 'type' => 'array', 'items' => [ 'description' => '搜索返回的字段名称。', 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]', ], ], 'Values' => [ 'description' => '搜索返回的资源数据列表。', 'type' => 'array', 'items' => [ 'description' => '搜索返回的资源数据。', 'type' => 'any', 'example' => '['."\n" .' "eni-2ze5lq7xaluy5kb5****",'."\n" .' "test-resource"'."\n" .']', ], ], ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '应用高级搜索查询账号组内资源列表', 'description' => '当您写SQL的`Select`语句时,需要从目标资源类型的属性文件中获取搜索字段及其类型。关于资源属性文件,请参见[alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema)。'."\n" ."\n" .'> - 配置审计支持的所有资源类型均在资源属性文件中,且根据资源类型命名,例如:资源类型`ACS::ECS::Instance`的属性文件是`ACS_ECS_Instance.properties.json`。资源类型对应的属性文件路径为`config/properties/resource-types`。'."\n" .'> - 关于SQL搜索的示例和使用限制,请参见[SQL搜索示例](~~398718~~)和[SQL搜索的使用限制](~~398750~~)。'."\n" ."\n" .'本文将提供一个示例,应用高级搜索查询账号组`ca-4b05626622af000c****`中所有具有标签键为`business`且标签值为`online`的资源。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourcesByAdvancedSearch', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateResourcesByAdvancedSearch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B0DBF868-460F-5E7C-8F76-1ACE2FCCE153\\",\\n \\"QueryResults\\": {\\n \\"QueryResultList\\": {\\n \\"Columns\\": [\\n \\"[\\\\\\"ResourceId\\\\\\", \\\\\\"ResourceName\\\\\\"]\\"\\n ],\\n \\"Values\\": [\\n \\"[\\\\n \\\\\\"eni-2ze5lq7xaluy5kb5****\\\\\\",\\\\n \\\\\\"test-resource\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n}","type":"json"}]', ], 'ListAggregators' => [ 'summary' => '查询当前管理账号或委派管理员账号下的所有账号组列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigB2MNLG', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '20C8526D-12C5-4336-BC72-EBD5D1BA732F', ], 'AggregatorsResult' => [ 'description' => '账号组结果列表。', 'type' => 'object', 'properties' => [ 'NextToken' => [ 'description' => '当请求的返回结果被截断时,您可以使用`NextToken`再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', ], 'Aggregators' => [ 'description' => '账号组列表。', 'type' => 'array', 'items' => [ '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***', ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询账号组列表', 'description' => '本文将提供一个示例,查询账号组列表,单次最多返回10条数据。返回结果显示,账号组名称为`Test_Group`、账号组描述为`测试组`、账号组类型为`CUSTOM`(自定义账号组)、账号组内成员账号个数为2等。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregators', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListAggregators', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C8526D-12C5-4336-BC72-EBD5D1BA732F\\",\\n \\"AggregatorsResult\\": {\\n \\"NextToken\\": \\"TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0\\",\\n \\"Aggregators\\": [\\n {\\n \\"AggregatorCreateTimestamp\\": 1623036305000,\\n \\"AggregatorAccountCount\\": 2,\\n \\"Description\\": \\"测试组\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"AggregatorStatus\\": 1,\\n \\"AggregatorType\\": \\"CUSTOM\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-88ea626622af0055****\\",\\n \\"FolderId\\": \\"fd-AAMJnCA***\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\t20C8526D-12C5-4336-BC72-EBD5D1BA732F\\n\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\tTest_Group\\n\\t\\t\\t测试组\\n\\t\\t\\t100931896542****\\n\\t\\t\\t1623036305000\\n\\t\\t\\t2\\n\\t\\t\\t1\\n\\t\\t\\tCUSTOM\\n\\t\\t\\tca-9190626622af00a9****\\n\\t\\t\\n\\t\\n","errorExample":""}]', ], 'ListCompliancePackTemplates' => [ 'summary' => '查询配置审计提供的所有合规包模板及其详细信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig79P8GJ', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CompliancePackTemplateId', 'in' => 'query', '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', ], ], [ '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', ], ], [ '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', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '规则评估的资源类型。输入该参数时,只返回合规包模板中包括该资源类型的规则。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'FilterType', 'in' => 'query', 'schema' => [ 'title' => '查询过滤字段。', 'description' => '查询过滤字段。', 'type' => 'string', 'required' => false, 'example' => 'LAW', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'CompliancePackTemplatesResult' => [ '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', ], 'CompliancePackTemplates' => [ 'description' => '合规包模板列表。', 'type' => 'array', 'items' => [ '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.', ], 'ConfigRules' => [ 'description' => '合规包中默认规则列表。', 'type' => 'array', 'items' => [ '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', ], 'ConfigRuleParameters' => [ 'description' => '规则模板参数信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], ], ], ], ], ], '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' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询合规包模板', 'description' => '合规包模板是配置审计根据合规场景定制的一组规则的集合。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ '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":"\\n \\n 10\\n 1\\n 1\\n \\n 1\\n 持续检测网络架构、负载额度、网络安全设置的合规性,避免网络安全风险。\\n \\n SLB证书的到期时间距离当前时间大于参数设定的时间范围,视为“合规”。默认值:90天。\\n slb-servercertificate-expired-check\\n SLB证书到期检查\\n \\n true\\n days\\n 90\\n \\n \\n 网络合规管理最佳实践\\n ct-d254ff4e06a300cf****\\n \\n \\n D67FC82F-25AE-4268-A94C-3348340748F9\\n","errorExample":""}]', ], 'ListCompliancePacks' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig3B4J5L', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Status', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码。'."\n" ."\n" .'起始值:1。默认值:1。'."\n" ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', ], 'CompliancePacksResult' => [ 'description' => '合规包列表查询结果。', 'type' => 'object', 'properties' => [ 'CompliancePacks' => [ 'description' => '合规包列表。', 'type' => 'array', 'items' => [ '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****', ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'value-1', ], ], ], ], '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', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询合规包列表', 'summary' => '查询当前账号的合规包列表。', 'description' => '本文将提供一个示例,查询合规包列表。返回结果显示有一条合规包记录`cp-fdc8626622af00f9****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePacks', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePacksResult\\": {\\n \\"CompliancePacks\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"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.\\",\\n \\"CompliancePackName\\": \\"BestPracticesForResourceStability\\",\\n \\"AccountId\\": 0,\\n \\"CompliancePackTemplateId\\": \\"ct-484cff4e06a30062****\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"CreateTimestamp\\": 1621325046000\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n\\t\\n\\t\\t1\\n\\t\\t10\\n\\t\\t1\\n\\t\\t\\n\\t\\t\\tACTIVE\\n\\t\\t\\tcp-fdc8626622af00f9****\\n\\t\\t\\t基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\n\\t\\t\\t等保三级预检合规包\\n\\t\\t\\t120886317861****\\n\\t\\t\\tct-5f26ff4e06a300c4****\\n\\t\\t\\t1\\n\\t\\t\\n\\t\\n\\t","errorExample":""}]', ], 'ListConfigDeliveryChannels' => [ 'summary' => '查询投递渠道列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelIds', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。多个投递渠道ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cdc-d9106457e0d900b1****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DeliveryChannels' => [ 'description' => '投递渠道信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => '投递渠道不存在。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n \\n 1\\n myDeliveryChannel\\n cdc-d9106457e0d900b1****\\n OSS\\n acs:oss:cn-shanghai:120886317861****:new-bucket\\n acs:ram::120886317861****:role/aliyunserviceroleforconfig\\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 acs:oss:cn-shanghai:100931896542****:new-bucket\\n My OSS delivery.\\n false\\n true\\n false\\n 09:10Z\\n \\n DC300244-FCE3-5061-8214-C27ECB668487\\n","errorExample":""}]', 'title' => '查询投递渠道列表', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigDeliveryChannels', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListConfigRuleEvaluationResults' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ComplianceType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。'."\n" .'- IGNORED:已忽略。', 'type' => 'string', 'required' => false, 'example' => 'NON_COMPLIANT', 'enum' => [ 'COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED', ], ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', '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****', ], ], [ 'name' => 'Regions', 'in' => 'query', 'schema' => [ 'description' => '评估资源所属地域,多个地域之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'EvaluationResultList' => [ 'description' => '规则评估结果列表。', 'type' => 'array', 'items' => [ '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', ], 'EvaluationResultIdentifier' => [ 'description' => '规则评估结果标识符。', 'type' => 'object', 'properties' => [ '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****', ], ], ], ], ], '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', ], ], ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询规则评估结果', 'summary' => '从规则维度查询规则对资源的评估结果。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationResults', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigRuleEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2A4A33BD-8186-4D60-91B9-42174EED75B5\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1622802307150,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IsNotStringEmpty\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.KeyPairName\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"reason\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"No property contains.\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1622802307081,\\n \\"InvokingEventMessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1622802307081,\\n \\"EvaluationResultQualifier\\": {\\n \\"ResourceOwnerId\\": 0,\\n \\"ConfigRuleArn\\": \\"acs:config::120886317861****:rule/cr-cac56457e0d900d3****\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ConfigRuleName\\": \\"ECS实例CPU核数满足最低要求\\",\\n \\"ResourceGroupId\\": \\"rg-aek3tprgnnc****\\",\\n \\"ConfigRuleId\\": \\"cr-cac56457e0d900d3****\\",\\n \\"ResourceName\\": \\"iZuf6j91r34rnwawoox****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CompliancePackId\\": \\"cp-bcc33457e0d900d5****\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceId\\": \\"i-hp3e4kvhzqn2s11t****\\"\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696665000,\\n \\"LastCompliantFixedTimestamp\\": 1768788515723\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 2A4A33BD-8186-4D60-91B9-42174EED75B5\\n \\n IWBjqMYSy0is7zSMGu16****\\n 10\\n \\n 1\\n NON_COMPLIANT\\n 1622802307150\\n {\\\\\\"configuration\\\\\\":\\\\\\"\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"IsNotStringEmpty\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.KeyPairName\\\\\\",\\\\\\"reason\\\\\\":\\\\\\"No property contains.\\\\\\"}\\n 1622802307081\\n ConfigurationItemChangeNotification\\n \\n 1622802307081\\n \\n acs:config::120886317861****:rule/cr-cac56457e0d900d3****\\n ACS::ECS::Instance\\n ECS实例CPU核数满足最低要求\\n i-hp3e4kvhzqn2s11t****\\n cr-cac56457e0d900d3****\\n iZuf6j91r34rnwawoox****\\n cn-hangzhou\\n cp-bcc33457e0d900d5****\\n \\n \\n false\\n \\n \\n","errorExample":""}]', ], 'ListConfigRuleEvaluationStatistics' => [ 'summary' => '查询当前账号的合规统计趋势。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], ], 'description' => '', ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询当前账号合规统计趋势', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationStatistics', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigRuleEvaluationStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FF2B787-347E-5299-A196-2C0448DEA341\\",\\n \\"EvaluationResults\\": [\\n {\\n \\"NonCompliantResourceCnt\\": 30,\\n \\"TotalResourceCnt\\": 91,\\n \\"NonCompliantRuleCnt\\": 5,\\n \\"TotalRuleCnt\\": 13,\\n \\"StatisticDate\\": \\"2023-06-27\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListConfigRuleOperators' => [ 'summary' => '本接口用于获取配置审计规则检测支持的操作符列表。', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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', ], ], 'description' => '', ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '列出配置审计规则检测支持的操作符', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:ListConfigRuleOperators', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceTypes', 'in' => 'query', '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', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****', ], ], [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '规则合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。', 'type' => 'string', 'required' => false, 'example' => 'COMPLIANT', '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', ], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => [ 'description' => '查询关键字。'."\n" ."\n" .'支持对规则ID、规则名称、规则描述和规则模板标识等进行模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'maxLength' => 1000, ], ], [ 'name' => 'ConfigRuleState', 'in' => 'query', 'schema' => [ 'description' => '规则运行状态。取值:'."\n" .'- ACTIVE:应用中。'."\n" .'- DELETING:删除中。'."\n" .'- EVALUATING:评估中。'."\n" .'- INACTIVE:已停用。', 'type' => 'string', 'required' => false, 'example' => 'ACTIVE', 'enum' => [ 'ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE', ], ], ], [ 'name' => 'ConfigRuleName', 'in' => 'query', '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', ], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '默认不传值。当前支持:`CreateDate-Desc`,代表新创建的规则排序靠前。', 'type' => 'string', 'required' => false, 'example' => 'CreateDate-Desc', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7', ], 'ConfigRules' => [ 'description' => '规则列表。', 'type' => 'object', 'properties' => [ 'ConfigRuleList' => [ 'description' => '规则列表详细信息。', 'type' => 'array', 'items' => [ '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', ], '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', ], ], ], '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.', ], ], ], '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', 'items' => [ 'description' => '规则的标签。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], 'PageSize' => [ 'description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'PageNumber' => [ 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'TotalCount' => [ 'description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询规则列表', 'summary' => '查询规则列表中的所有规则。', 'description' => '本文将提供一个示例,查询当前账号内的规则列表。返回结果显示,规则列表中规则总数为1条,评估资源数为3条,评估结果为COMPLIANT(合规)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRules', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7\\",\\n \\"ConfigRules\\": {\\n \\"ConfigRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"SourceOwner\\": \\"ALIYUN\\",\\n \\"AccountId\\": 0,\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 2\\n },\\n \\"SourceIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-fdc8626622af00f9****\\",\\n \\"Description\\": \\"The description of the rule.\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"CompliancePackName\\": \\"The name of the compliance package.\\"\\n },\\n \\"AutomationType\\": \\"OOS\\",\\n \\"ConfigRuleName\\": \\"The name of the rule.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"prod\\"\\n }\\n ],\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\",\\n \\"CreateDate\\": \\"2025-09-19T15:51:00\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","type":"json"}]', ], 'ListDiscoveredResources' => [ 'summary' => '获取当前账号下跨地域聚合的资源列表信息。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp31cqoba96jagtz****', ], ], [ 'name' => 'ResourceName', 'in' => 'query', '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', ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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', ], ], [ 'name' => 'Regions', 'in' => 'query', '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****', ], ], [ 'name' => 'StartUpdateTimestamp', 'in' => 'query', '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', ], ], [ 'name' => 'ExcludeResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '排除的资源类型,多资源类型用逗号分隔,与ResourceTypes字段冲突时,该字段具有更高优先级。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'DiscoveredResourceProfiles' => [ 'description' => '资源列表。', 'type' => 'object', 'properties' => [ 'DiscoveredResourceProfileList' => [ 'description' => '资源列表详情。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], '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":"\\n \\n \\n ACS::ECS::NetworkInterface\\n cn-hangzhou\\n 1618675206000\\n {\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}\\n eni-hp31cqoba96jagtz****\\n Cloud Firewall\\n 1\\n InUse\\n cn-hangzhou-h\\n \\n 161259599160****\\n 10\\n 8\\n \\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n","errorExample":""}]', 'title' => '获取资源列表信息', 'description' => '### 使用限制'."\n" .'因为配置审计仅支持部分阿里云服务和资源类型,所以资源清单中只展示部分资源。关于配置审计支持的云服务及资源类型,请参见[配置审计支持的资源类型和资源关系](~~127411~~)。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,查询当前账号下的资源列表。返回结果显示,资源列表中的所有资源共8个。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListDiscoveredResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListDiscoveredResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListIntegratedService' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9', ], 'Data' => [ 'title' => 'data', 'description' => '可集成服务信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => '', ], ], ], 'title' => '查询集成服务列表及其状态', 'summary' => '查询配置审计集成的服务列表及其状态。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegratedService', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListIntegratedService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigIPWFR3', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', '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', ], ], [ 'name' => 'PageNumber', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceTypes', 'in' => 'query', 'schema' => [ 'description' => '规则评估的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'FilterType', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'description' => '筛选范围', 'type' => 'string', 'required' => false, 'example' => '托管规则筛选范围,可以筛选无资源覆盖的托管规则。取值:'."\n" .'- ALL 全部'."\n" .'- UNCOVERED_RESOURCE 筛选有资源未覆盖的托管规则', 'default' => 'ALL', 'enum' => [ 'ALL', 'UNCOVERED_RESOURCE', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], 'ManagedRuleList' => [ 'description' => '规则模板详情列表。', 'type' => 'array', 'items' => [ '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协议加密,视为“合规”。', ], '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', ], 'Scope' => [ 'description' => '规则模板的评估范围。', 'type' => 'object', 'properties' => [ 'ComplianceResourceTypes' => [ 'description' => '规则模板评估的资源类型范围。', 'type' => 'array', '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监听', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '查询规则模板列表', 'summary' => '查询配置审计支持的规则模板列表。', 'description' => '### 背景信息'."\n" .'关于规则的定义、运行原理和规则模板,请参见[规则的定义及运行原理](~~128273~~)。'."\n" ."\n" .'### 使用说明'."\n" .'本文将提供一个示例,查询关键字为`CDN`的所有规则模板。返回结果显示共21条规则模板。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListManagedRules', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B3E605AB-63D5-1EE0-BFA6-0BAC247B0461\\",\\n \\"ManagedRules\\": {\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 10,\\n \\"TotalCount\\": 21,\\n \\"ManagedRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"CDN域名开启HTTPS协议加密,视为“合规”。\\",\\n \\"Labels\\": [\\n \\"CDN\\"\\n ],\\n \\"Identifier\\": \\"cdn-domain-https-enabled\\",\\n \\"ConfigRuleName\\": \\"CDN域名开启HTTPS加密\\",\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\",\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::CDN::Domain\\"\\n ]\\n },\\n \\"SupportPreviewManagedRule\\": true,\\n \\"RemediationTemplateIdentifier\\": \\"ACS-CDN-SetDomainServerCertificate\\",\\n \\"RemediationTemplateName\\": \\"开启CDN域名HTTPS监听\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n B3E605AB-63D5-1EE0-BFA6-0BAC247B0461\\n \\n \\n 1\\n CDN域名开启HTTPS协议加密,视为“合规”。\\n CDN\\n cdn-domain-https-enabled\\n CDN域名开启HTTPS加密\\n https://example.aliyundoc.com\\n \\n 1\\n 10\\n 1\\n \\n","errorExample":""}]', ], 'ListPreManagedRules' => [ 'summary' => '查询配置审计支持的预检规则列表。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigIPWFR3', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'formData', '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', ], ], [ 'name' => 'ResourceTypes', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A2A9F1BE-0712-1B26-9899-D82F7DA8476C', ], 'ManagedRules' => [ 'description' => '预检规则列表。', 'type' => 'array', 'items' => [ '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' => '{}', ], ], ], ], 'PageNumber' => [ 'description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'PageSize' => [ 'description' => '分页时每页显示的数据行数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], ], 'title' => '查询预检规则列表', 'description' => '关于预检规则的概念、运行原理和集成过程,请参见[预检规则的定义与运行原理](~~470802~~)。'."\n" ."\n" .'预检规则和规则模板是同源规则,当您创建资源后,预检规则可以持续检测资源的合规性。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ '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":"\\n A2A9F1BE-0712-1B26-9899-D82F7DA8476C\\n \\n ACS::ECS::Instance\\n ECS实例开启释放保护,视为“合规”。\\n ecs-instance-deletion-protection-enabled\\n ECS实例开启释放保护\\n https://example.aliyundoc.com\\n \\n 1\\n 1\\n","errorExample":""}]', ], 'ListRecommendManagedRules' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => true, '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', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceIdsScope', 'in' => 'query', '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****', ], ], [ 'name' => 'SelectedManagedRuleIdentifiers', 'in' => 'query', 'schema' => [ 'description' => '已选择过的托管规则,多个规则用半角逗号分隔。'."\n" .'不会推荐已选择托管规则对应资源类型的相关托管规则。', 'type' => 'string', 'required' => false, 'example' => 'ram-user-last-login-expired-check', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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', ], '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', ], ], 'description' => '', ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '您无权执行此操作。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '列出推荐的托管规则', 'summary' => '本接口用于获取推荐的托管规则列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListRecommendManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB66****\\",\\n \\"RecommendedManagedRules\\": {\\n \\"NextToken\\": \\"zXZXbg4Mra0kOrhpwl21****\\",\\n \\"MaxResults\\": 200,\\n \\"TotalCount\\": 39,\\n \\"RecommendedManagedRuleList\\": [\\n {\\n \\"ResourceTypeScope\\": \\"ACS::OSS::Bucket\\",\\n \\"Identifier\\": \\"oss-bucket-referer-limit\\",\\n \\"Description\\": \\"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.\\",\\n \\"ConfigRuleName\\": \\"oss-bucket-referer-limit\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'ListRemediationExecutions' => [ 'summary' => '查看指定规则的修正执行记录。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', 'schema' => [ 'description' => '规则ID。', 'type' => 'string', 'required' => true, 'example' => 'cr-5392626622af0000****', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'ExecutionStatus', 'in' => 'query', 'schema' => [ 'description' => '修正执行状态,取值:'."\n" ."\n" .'- Success:成功'."\n" ."\n" .'- Failed:失败', 'type' => 'string', 'required' => false, 'example' => 'Success', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11', ], 'RemediationExecutionData' => [ 'description' => '修正执行记录结果。', 'type' => 'object', 'properties' => [ 'RemediationExecutions' => [ 'description' => '修正执行记录列表。', 'type' => 'array', '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****', ], ], ], ], 'NextToken' => [ 'description' => '当请求的返回结果被截断时,您可以使用NextToken再次发起请求,获取从当前截断位置之后的内容。', 'type' => 'string', 'example' => 'cMbjqNaYs0Ps7zSNiu37****', ], 'MaxResults' => [ 'description' => '单次请求返回结果的最大条数。', 'type' => 'integer', 'format' => 'int64', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], ], '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****的修正执行记录列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListRemediationExecutions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'ListRemediationTemplates' => [ 'summary' => '获取修正模板列表信息。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6I2PFO', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RemediationType', 'in' => 'query', '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', ], ], [ 'name' => 'PageNumber', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'FC2C4750-7024-499C-A69F-763543D1CBE3', ], 'RemediationTemplates' => [ 'description' => '修正模板列表。', 'type' => 'array', 'items' => [ '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),请您知晓风险谨慎操作。', ], ], ], ], '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' => '您无权执行此操作。', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '获取修正模板列表', 'description' => '本文将提供一个示例,查询托管规则`oss-bucket-public-write-prohibited`的修正模板详情。返回结果为修正类型`OOS`(运维编排)的模板详情。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationTemplates', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListRemediationTemplates', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FC2C4750-7024-499C-A69F-763543D1CBE3\\",\\n \\"RemediationTemplates\\": [\\n {\\n \\"RemediationType\\": \\"OOS\\",\\n \\"TemplateIdentifier\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"TemplateName\\": \\"设置OSS Bucket的访问权限为私有。\\",\\n \\"TemplateDefinition\\": \\"{ \\\\\\"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\\\\\\" } } }\\",\\n \\"TemplateDescription\\": \\"通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FC2C4750-7024-499C-A69F-763543D1CBE3\\n \\n OOS\\n ACS-OSS-PutBucketAcl\\n 设置OSS Bucket的访问权限为私有。\\n { \\"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\\" } } }\\n \\n","errorExample":""}]', ], 'ListRemediations' => [ 'summary' => '获取修正列表信息。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], [ 'name' => 'PageNumber', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8', ], 'Remediations' => [ 'description' => '修正设置信息。', 'type' => 'array', 'items' => [ '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"}', ], ], ], ], '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' => '', ], ], 503 => [ [ '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":"\\n 0146963A-20C0-4E75-B93A-7D622B5FD7C8\\n \\n AUTO_EXECUTION\\n ACS-OSS-PutBucketAcl\\n {\\\\\\"properties\\\\\\":[{\\\\\\"name\\\\\\":\\\\\\"regionId\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"{regionId}\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"bucketName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"test-0521\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"permissionName\\\\\\",\\\\\\"type\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"value\\\\\\":\\\\\\"private\\\\\\"}],\\\\\\"type\\\\\\":\\\\\\"OBJECT\\\\\\"}\\n crr-6b7c626622af0026****\\n ALIYUN\\n OOS\\n bd7629fb-cac8-42fe-bcb1-e362c5a6****\\n AUTO_EXECUTION\\n cr-6b7c626622af00b4****\\n 1625451393589\\n {\\"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。\\"}]}\\n \\n","errorExample":""}]', 'title' => '获取修正列表', 'description' => '本文将提供一个示例,查询规则`cr-6b7c626622af00b4****`的修正设置。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListReportTemplates' => [ 'summary' => '批量获取合规报告模版详情。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => [ 'description' => '查询关键字。'."\n" ."\n" .'支持对模版ID、模版名称、模版描述进行模糊查询。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test-description', ], ], ], 'responses' => [ 200 => [ '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****', ], '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 * * ?', ], 'ReportScope' => [ 'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n" ."\n" .'> 如数组大小为2,第一个 ReportScope 指定规则 In cr-1,第二个 ReportScope 指定规则 In cr-2,则此报告圈定的规则范围为 cr-1和cr-2。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], 'description' => '', ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '批量获取合规报告模版详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"TotalCount\\": 7,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"aVCjqNaSy0Ps7zSMGu25****\\",\\n \\"ReportTemplateList\\": [\\n {\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"ReportTemplateName\\": \\"test-name\\",\\n \\"ReportTemplateDescription\\": \\"test-description\\",\\n \\"ReportGranularity\\": \\"AllInOne\\",\\n \\"ReportFileFormats\\": \\"excel\\",\\n \\"ReportLanguage\\": \\"en-US\\",\\n \\"SubscriptionFrequency\\": \\"0 0 13 * * ?\\",\\n \\"ReportScope\\": [\\n {\\n \\"Key\\": \\"RuleId\\",\\n \\"Value\\": \\"cr-1,cr-2\\",\\n \\"MatchType\\": \\"In\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'ListResourceEvaluationResults' => [ 'summary' => '从资源维度查询规则对资源的评估结果。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigJVB3GZ', ], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', '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****', ], ], [ 'name' => 'RiskLevel', 'in' => 'query', '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', ], ], [ 'name' => 'ComplianceType', 'in' => 'query', 'schema' => [ 'description' => '合规评估结果。取值:'."\n" .'- COMPLIANT:合规。'."\n" .'- NON_COMPLIANT:不合规。'."\n" .'- NOT_APPLICABLE:不适用。'."\n" .'- INSUFFICIENT_DATA:无数据。'."\n" .'- IGNORED:已忽略。', 'type' => 'string', 'required' => false, 'example' => 'NON_COMPLIANT', 'enum' => [ 'COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED', ], ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Region', 'in' => 'query', 'schema' => [ 'description' => '资源归属的地域ID,例如:`global`表示全球,`cn-hangzhou`表示华东1(杭州)。'."\n" ."\n" .'关于如何获取资源归属的地域ID,请参见[ListDiscoveredResources](~~169620~~)。'."\n", 'type' => 'string', 'required' => false, 'example' => 'global', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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', ], 'EvaluationResultList' => [ 'description' => '资源评估结果列表。'."\n" ."\n", 'type' => 'array', 'items' => [ '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', ], 'EvaluationResultIdentifier' => [ 'description' => '资源评估结果标识符。'."\n" ."\n", 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], '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', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], 503 => [ [ '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":"\\n 200\\n \\n 25C89DDB-BB79-487D-88C3-4A561F21EFC4\\n \\n \\n 1624932227157\\n NON_COMPLIANT\\n 1624932227595\\n ScheduledNotification\\n \\n \\n cr-7f7d626622af0041****\\n acs:config::100931896542****:rule/cr-7f7d626622af0041****\\n 23642660635396****\\n rd_member\\n RAM用户开启MFA\\n ACS::RAM::User\\n global\\n \\n 1624932227157\\n \\n 1\\n false\\n {\\\\\\"configuration\\\\\\":\\\\\\"false\\\\\\",\\\\\\"desiredValue\\\\\\":\\\\\\"True\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"StringEquals\\\\\\",\\\\\\"property\\\\\\":\\\\\\"$.LoginProfile.MFABindRequired\\\\\\"}\\n \\n 10\\n \\n \\n 200\\n 25C89DDB-BB79-487D-88C3-4A561F21EFC4\\n","errorExample":""}]', 'title' => '查询资源评估结果', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceEvaluationResults', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListResourceEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListResourceRelations' => [ 'summary' => '查询指定资源的相关资源列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'Region', 'in' => 'query', 'schema' => [ 'description' => '资源所在地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'TargetResourceType', 'in' => 'query', 'schema' => [ 'description' => '关联资源的资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk', ], ], [ 'name' => 'TargetResourceId', 'in' => 'query', 'schema' => [ 'description' => '关联资源的资源ID。', 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****', ], ], [ 'name' => 'RelationType', 'in' => 'query', 'schema' => [ 'description' => '资源关系类型。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'IsContained' => '包含在', 'IsAttachedTo' => '挂载到', 'IsAssociatedIn' => '关联到', 'Contains' => '包含', ], 'example' => 'IsAttachedTo', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2', ], 'ResourceRelations' => [ 'description' => '资源关系结果。', 'type' => 'object', 'properties' => [ 'ResourceRelationList' => [ 'description' => '资源关系列表。', 'type' => 'array', 'items' => [ '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****', ], 'RelationType' => [ 'description' => '资源关系类型。', 'type' => 'string', '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', ], ], ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], '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"}]', 'title' => '查询指定资源的相关资源列表', 'description' => '配置审计支持的相关资源,请参见[配置审计支持的资源类型和资源关系](~~127411~~)。'."\n" ."\n" .'本文将提供一个示例,查询当前账号下上海地域的ECS实例`i-j6cajg9yrfoh4sas****`挂载的云盘信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListResourceRelations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListResourcesByAdvancedSearch' => [ 'summary' => '通过SQL的Select语句根据资源属性中的字段精确搜索资源。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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\'', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850', ], 'QueryResults' => [ 'description' => '查询结果。', 'type' => 'object', 'properties' => [ 'QueryResultList' => [ 'description' => '查询返回的资源列表,最大返回1000条数据。查看更多数据请使用搜索文件下载。', 'type' => 'object', 'properties' => [ 'Columns' => [ 'description' => '搜索返回的字段名称列表。', 'type' => 'array', 'items' => [ 'description' => '搜索返回的字段名称。', 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]', ], ], 'Values' => [ 'description' => '搜索返回的资源数据列表。', 'type' => 'array', 'items' => [ 'description' => '搜索返回的资源数据。', 'type' => 'any', 'example' => '["eni-2ze5lq7xaluy5kb5****", "test-resource"]', ], ], ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '应用高级搜索查询资源列表', 'description' => '当您写SQL的`Select`语句时,需要从目标资源类型的属性文件中获取搜索字段及其类型。关于资源属性文件,请参见[alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema)。'."\n" ."\n" .'> - 配置审计支持的所有资源类型均在资源属性文件中,且根据资源类型命名,例如:资源类型`ACS::ECS::Instance`的属性文件是`ACS_ECS_Instance.properties.json`。资源类型对应的属性文件路径为`config/properties/resource-types`。'."\n" .'> - 关于SQL搜索的示例和使用限制,请参见[SQL搜索示例](~~398718~~)和[SQL搜索的使用限制](~~398750~~)。'."\n" ."\n" .'本文将提供一个示例,应用高级搜索查询当前账号下所有具有标签键为`business`且标签值为`online`的资源。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourcesByAdvancedSearch', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListResourcesByAdvancedSearch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D241DEBF-67A2-56AF-88CF-57BF78F0A850\\",\\n \\"QueryResults\\": {\\n \\"QueryResultList\\": {\\n \\"Columns\\": [\\n \\"[\\\\\\"ResourceId\\\\\\", \\\\\\"ResourceName\\\\\\"]\\"\\n ],\\n \\"Values\\": [\\n \\"[\\\\\\"eni-2ze5lq7xaluy5kb5****\\\\\\", \\\\\\"test-resource\\\\\\"]\\"\\n ]\\n }\\n }\\n}","type":"json"}]', ], 'ListSupportedProducts' => [ 'summary' => '查询配置审计服务支持的云产品和资源类型列表。', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig8049ON', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Products' => [ 'description' => '支持的云产品列表。', 'type' => 'array', 'items' => [ 'description' => '支持的云产品信息。', 'type' => 'object', 'properties' => [ '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}', ], ], 'description' => '', ], ], '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', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '查询配置审计支持的云产品列表', 'description' => '本文将提供一个示例,查询配置审计支持的云产品和资源类型列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSupportedProducts', ], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Products\\": [\\n {\\n \\"ProductNameEn\\": \\"Elastic Compute Service\\",\\n \\"ResourceTypeList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"TypeNameEn\\": \\"Ecs Instance\\",\\n \\"TypeNameZh\\": \\"ECS实例\\",\\n \\"TypePageLink\\": \\"https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}\\"\\n }\\n ],\\n \\"ProductNameZh\\": \\"云服务器ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"610B0276-ABEE-57DF-9C13-C2415FADA7D6\\",\\n \\"NextToken\\": \\"D99AjqMNSy0ls7zBNCfcs****\\",\\n \\"MaxResults\\": \\"200\\"\\n}","type":"json"}]', ], 'ListTagResources' => [ 'summary' => '查询配置审计中资源绑定的标签。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigNPMEKB', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', '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****', ], ], [ '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', ], ], [ 'name' => 'ResourceId', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '资源ID,最多 50个子项', 'description' => '资源ID。'."\n" ."\n" .'最多支持为50个资源绑定标签。', 'type' => 'array', 'items' => [ 'description' => '资源ID。'."\n" ."\n" .'最多支持为50个资源绑定标签。', 'type' => 'string', 'required' => false, 'example' => 'cr-115b626622af0060****', ], 'required' => false, 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '标签列表,最多包含20个子项', 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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****', ], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagResource' => [ 'description' => '资源绑定的标签列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], ], ], 'title' => '查询指定资源绑定的标签', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****\\",\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551****\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagKey\\": \\"Env\\",\\n \\"TagValue\\": \\"prod\\",\\n \\"ResourceId\\": \\"cr-115b626622af0060****\\",\\n \\"ResourceType\\": \\"ACS::Config::Rule\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****\\n AB2E4317-06A6-5745-B7C3-E001E551****\\n \\n Env\\n prod\\n cr-115b626622af0060****\\n ACS::Config:rule\\n \\n","errorExample":""}]', ], 'PutEvaluations' => [ 'summary' => '函数计算通过PutEvaluations接口将资源评估结果返回给配置审计。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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}]', ], ], [ 'name' => 'DeleteMode', 'in' => 'formData', '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****', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EDB324E2-A202-5FE4-A9BC-31E2C34F78A4\\",\\n \\"Result\\": true\\n}","type":"json"}]', 'title' => '提交自定义函数规则评估结果', 'description' => '### 前提条件'."\n" .'您必须先调用[CreateConfigRule](~~606978~~)或[CreateAggregateConfigRule](~~607038~~)基于函数计算创建自定义规则。'."\n" ."\n" .'### 背景信息'."\n" .'关于自定义函数规则的概念、应用场景和运行原理,请参见[自定义函数规则定义和运行原理](~~127405~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:PutEvaluations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'RevertAggregateEvaluationResults' => [ 'summary' => '恢复已忽略账号组内某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', 'schema' => [ 'description' => '账号组规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****', ], ], [ 'name' => 'Resources', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '待恢复的资源列表。', 'type' => 'array', 'items' => [ '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****', ], ], 'required' => false, ], 'required' => true, ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'example' => 'ca-5b6c626622af008f****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], 503 => [ [ '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"}]', 'title' => '恢复已忽略账号组规则的评估结果', 'description' => '### 前提条件'."\n" .'请您确保合规结果中存在已忽略的不合规资源。具体操作,请参见[IgnoreAggregateEvaluationResults](~~607054~~)。'."\n" ."\n" .'### 使用说明'."\n" ."\n" .'本文将提供一个示例,恢复账号组`ca-5b6c626622af008f****`内的成员账号`120886317861****`中规则`cr-7e72626622af0051****`对指定不合规资源的评估结果,该资源归属的地域ID为`cn-beijing`,资源类型为`ACS::SLB::LoadBalancer`,资源ID为`lb-hp3a3b4ztyfm2plgm****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:RevertAggregateEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'RevertEvaluationResults' => [ 'summary' => '恢复已忽略的某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', 'schema' => [ 'description' => '规则ID。'."\n" ."\n" .'关于如何获取规则ID,请参见[ListConfigRules](~~169607~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****', ], ], [ 'name' => 'Resources', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '待恢复的资源列表。', 'type' => 'array', 'items' => [ '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****', ], ], 'required' => false, ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], 503 => [ [ '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":"\\n 01ACCBF2-0B0B-59F2-9E84-07B38267BCA1\\n","errorExample":""}]', 'title' => '恢复已忽略规则的评估结果', 'description' => '### 前提条件'."\n" .'请您确保合规结果中存在已忽略的不合规资源。具体操作,请参见[IgnoreEvaluationResults](~~606990~~)。'."\n" ."\n" .'### 使用说明'."\n" ."\n" .'本文将提供一个示例,恢复规则`cr-7e72626622af0051****`对不合规资源`lb-hp3a3b4ztyfm2plgm****`的评估结果,该资源归属的地域ID为`cn-beijing`,资源类型为`ACS::SLB::LoadBalancer`,资源ID为`lb-hp3a3b4ztyfm2plgm****`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:RevertEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'StartAggregateConfigRuleEvaluation' => [ 'summary' => '重新审计指定账号组内的某条规则或某个合规包中的所有规则。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'AggregatorId', 'in' => 'query', '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', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', 'schema' => [ 'description' => '合规包ID。'."\n" ."\n" .'关于如何获取合规包ID,请参见[ListAggregateCompliancePacks](~~262059~~)。'."\n" ."\n" .'> 参数`CompliancePackId`和`ConfigRuleId`必须二选一。', 'type' => 'string', 'required' => false, 'example' => 'cp-ac16626622af0053****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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' => '', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212\\n true\\n","errorExample":""}]', 'title' => '重新审计账号组规则或合规包', 'description' => '> 本接口仅用于触发规则执行一次评估。如果您需要查看规则的本次评估结果,请调用ListAggregateConfigRuleEvaluationResults接口。更多信息,请参见[ListAggregateConfigRuleEvaluationResults](~~265979~~)。'."\n" ."\n" .'本文将提供一个示例,使账号组`ca-3a58626622af0005****`内的规则`cr-c169626622af009f****`执行一次评估。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartAggregateConfigRuleEvaluation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'StartAggregateRemediation' => [ 'summary' => '手动执行指定的账号组规则修正。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', '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****', ], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', 'schema' => [ 'description' => '要执行修正的资源归属的阿里云账号ID,该参数为空时表示修正账号组内所有账号的不合规资源。'."\n" ."\n" .'> 该账号只能是当前企业管理账号或当前企业管理账号中的成员账号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100271897542****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n true\\n","errorExample":""}]', 'title' => '手动执行账号组的修正设置', 'description' => '本文将提供一个示例,使账号组`ca-6b4a626622af0012****`内的规则`cr-6b7c626622af00b4****`手动执行一次修正。返回结果显示,手动执行修正成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'StartConfigRuleEvaluation' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'RevertEvaluation', 'in' => 'query', '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****', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '服务不可用。', ], ], ], 'title' => '重新审计规则或合规包', 'summary' => '重新审计某条规则或某个合规包中的所有规则。', 'description' => '本文将提供一个示例,对规则cr-9920626622af0035****进行重新审计。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigRuleEvaluation', ], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'config:StartConfigRuleEvaluation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D31EEAD7-BF1E-5927-977A-AFF9342A7273\\",\\n \\"Result\\": true\\n}","type":"json"}]', ], 'StartConfigRuleEvaluationByResource' => [ 'summary' => '触发单资源重新评估。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], ], 'responses' => [ 200 => [ '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', ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '单资源维度执行评估', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartConfigRuleEvaluationByResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]', ], 'StartConfigurationRecorder' => [ 'summary' => '开启配置审计服务并设置资源监控范围为全部。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigI0TIO6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ResourceTypes' => [ 'description' => '监控资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance', ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], 503 => [ [ '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' => '开启配置审计服务', 'description' => '本文将提供一个示例, 为当前账号启用配置审计服务。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:StartConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'StartRemediation' => [ 'summary' => '手动执行指定的规则修正。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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' => '', ], ], 403 => [ [ '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":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n true\\n","errorExample":""}]', 'title' => '手动执行规则修正', 'description' => '本文将提供一个示例,使规则`cr-8a973ac2e2be00a2****`手动执行一次修正。返回结果显示,手动执行修正成功。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'StopConfigurationRecorder' => [ 'summary' => '关闭配置审计服务。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigI0TIO6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ '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', ], ], ], ], ], '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' => '', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D\\",\\n \\"StopConfigurationRecorderResult\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D\\n true\\n","errorExample":""}]', 'title' => '停用配置审计服务', 'description' => '> 当您关闭配置审计服务后,配置审计中存储的资源配置数据、已创建的规则和合规结果将自动被清空且不可恢复,请您慎重操作。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:StopConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'TagResources' => [ 'summary' => '为配置审计的规则、账号组和合规包绑定标签。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig6XGW41', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', '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', ], ], [ 'name' => 'ResourceId', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '资源ID,最多 50个子项', 'description' => '资源ID。', 'type' => 'array', 'items' => [ 'description' => '资源ID。'."\n" ."\n" .'N的取值范围:1~50。', 'type' => 'string', 'required' => true, 'example' => 'cr-115b626622af0060****', ], 'required' => true, 'maxItems' => 51, ], ], [ 'name' => 'Tag', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '标签列表,最多包含20个子项', 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'required' => true, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380', ], ], ], ], ], 'title' => '绑定标签', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:TagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551B380\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB2E4317-06A6-5745-B7C3-E001E551B380\\n","errorExample":""}]', ], 'TriggerReportSend' => [ 'summary' => '实时测试通知。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', 'schema' => [ 'description' => '报告模版 Id', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '根据模版ID实时测试通知已完成的最新报告', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\"\\n}","type":"json"}]', ], 'UntagResources' => [ 'summary' => '为配置审计中的资源解绑标签。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigWLDOIT', ], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', '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', ], ], [ 'name' => 'ResourceId', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'title' => '资源ID,最多 50个子项', 'description' => '资源ID。'."\n" ."\n" .'单次最多支持为50个资源解绑标签。', 'type' => 'array', 'items' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'cr-115b626622af0060****', ], 'required' => true, 'maxItems' => 51, ], ], [ 'name' => 'TagKey', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '资源的标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签键。', 'type' => 'string', 'required' => false, 'example' => 'Env', ], 'required' => false, 'maxItems' => 21, 'minItems' => 0, ], ], [ 'name' => 'All', 'in' => 'formData', 'schema' => [ 'description' => '是否解绑资源上全部的标签。取值:'."\n" ."\n" .'- true:解绑资源上全部的标签。'."\n" ."\n" .'- false(默认值):解绑资源上指定的标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380', ], ], ], ], ], 'title' => '解绑标签', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UntagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551B380\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB2E4317-06A6-5745-B7C3-E001E551B380\\n","errorExample":""}]', ], 'UpdateAggregateCompliancePack' => [ 'summary' => '修改指定账号组内的合规包信息。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigX57QP8', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', '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, ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '合规包的风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '1', 'enum' => [ '1', '2', '3', ], ], ], [ 'name' => 'ConfigRules', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '合规包中的规则列表。'."\n" ."\n" .'当您修改合规包时,如果规则列表为空,则保持原有规则列表不变;如果规则列表不为空,则使用新规则替换原有规则列表中的规则。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'ManagedRuleIdentifier' => [ 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n" ."\n" .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取托管规则标识,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。', 'type' => 'array', 'items' => [ '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', ], ], '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', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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****', ], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', 'schema' => [ 'description' => '规则对指定资源组ID中的资源无效,即不对该资源组内的资源评估。多个资源组ID之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', ], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键值对的资源生效。'."\n" .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'description' => '排除的标签范围', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '合规包名称重复。', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\tca-f632626622af0079****\\n\\t6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', 'title' => '修改账号组合规包信息', 'description' => '本文将提供一个示例,将账号组`ca-f632626622af0079****`内合规包`cp-fdc8626622af00f9****`中规则模板`eip-bandwidth-limit`的参数值修改为`20`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], ], ], 'UpdateAggregateConfigDeliveryChannel' => [ 'summary' => '修改指定账号组内的投递渠道。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigRIQA8M', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', '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****', ], ], [ 'name' => 'DeliveryChannelName', 'in' => 'query', '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', ], ], [ '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}]', ], ], [ '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', ], ], [ 'name' => 'Description', 'in' => 'query', '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****', ], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', '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', ], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', 'schema' => [ 'description' => '资源定时快照每日开始投递的时间。'."\n" ."\n" .'格式为`HH:mmZ`(UTC时间)。'."\n" ."\n" .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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":"\\n A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\n cdc-8e45ff4e06a3a8****\\n","errorExample":""}]', 'title' => '修改指定账号组内的投递渠道', 'description' => '本文将提供一个示例,将账号组`ca-a4e5626622af0079****`内的投递渠道`cdc-8e45ff4e06a3a8****`的状态修改为`0`(关闭)。关闭投递渠道后,配置审计保留最近一次投递配置,停止资源数据投递。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'UpdateAggregateConfigRule' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQMX28I', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', '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组标签。如果资源同时具有指定的所有标签,则视为“合规”。', ], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '规则参数。'."\n" ."\n", 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', ], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ 'description' => '规则执行周期。取值:'."\n" .'- One_Hour:1小时。'."\n" .'- Three_Hours:3小时。'."\n" .'- Six_Hours:6小时。'."\n" .'- Twelve_Hours:12小时。'."\n" .'- TwentyFour_Hours:24小时。'."\n" ."\n" .'> 当`ConfigRuleTriggerTypes`设置为`ScheduledNotification`时,需要设置该参数。'."\n", 'type' => 'string', 'required' => false, 'example' => 'One_Hour', 'enum' => [ 'One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours', ], ], ], [ 'name' => 'ResourceTypesScope', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'array', 'items' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '规则风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '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****', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', '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****', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', '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', ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, 'description' => '', ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, 'description' => '', ], 'required' => false, ], ], [ 'name' => 'ConfigRuleName', 'in' => 'formData', 'schema' => [ 'description' => '规则名称。'."\n" ."\n" .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签', ], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ 'description' => '参数`TagsScope` 取多值时的逻辑关系,例如:当参数`TagsScope`取值为`"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`a:a`和`b:b`的资源生效。不填写取默认逻辑`OR`。'."\n" ."\n" .'也可以用于已废弃字段`TagKeyScope`字段(不推荐),例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n" ."\n" .'取值:'."\n" ."\n" .'- AND:与。'."\n" ."\n" .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'required' => false, 'enumValueTitles' => [ 'OR' => 'OR', 'AND' => 'AND', ], 'example' => 'AND', 'enum' => [ 'AND', 'OR', ], ], ], [ 'name' => 'FolderIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeAccountIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ResourceNameScope', 'in' => 'formData', 'schema' => [ 'description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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不存在或无权限使用该账号组。', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '修改账号组规则', 'summary' => '修改指定账号组内规则的描述信息、规则入参和风险等级等。', 'description' => '本文将提供一个示例,将账号组`ca-a4e5626622af0079****`内规则`cr-4e3d626622af0080****`的风险等级修改为`3`(低风险)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\tcr-4e3d626622af0080****\\n\\t5895065A-196C-4254-8AD8-14EFC31EEF50\\n\\t","errorExample":""}]', ], 'UpdateAggregateRemediation' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'RemediationType', 'in' => 'formData', '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', ], ], [ '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', ], ], [ 'name' => 'SourceType', 'in' => 'formData', '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权限名称。"}]}', ], ], [ 'name' => 'AggregatorId', 'in' => 'formData', 'schema' => [ 'description' => '账号组ID。'."\n" ."\n" .'关于如何获取账号组ID,请参见[ListAggregators](~~255797~~)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '输入的模板参数值非法。', ], ], 403 => [ [ 'errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。', ], ], ], 'title' => '更新账号组的修正设置', 'summary' => '更新指定的规则修正。', 'description' => '本文将提供一个示例,将账号组`ca-6b4a626622af0012****`内规则的修正设置`crr-909ba2d4716700eb****`的修正执行方式修改为`AUTO_EXECUTION`(自动执行)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateRemediation', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n crr-909ba2d4716700eb****\\n","errorExample":""}]', ], 'UpdateAggregator' => [ 'summary' => '资源目录中的管理账号或委派管理员账号可以修改账号组的名称和描述,也可以添加或移除成员。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigB2MNLG', ], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'formData', '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', ], ], [ 'name' => 'FolderId', 'in' => 'formData', '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' => '测试组', ], ], [ 'name' => 'AggregatorAccounts', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '账号组内的成员列表。'."\n" ."\n" .'> 更新账号组时,该参数可以为空,为空表示不更新成员列表。如果您需要更新成员列表,则`AccountId`和`AccountType`必须同时设置。', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, 'docRequired' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '账号组内成员账号信息错误。', ], ], 403 => [ [ 'errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', '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' => '服务不可用。', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8195B664-9565-4685-89AC-8B5F04B44B92\\n ca-dacf86d8314e00eb****\\n","errorExample":""}]', 'title' => '更新账号组', 'description' => '本文将提供一个示例,在账号组`ca-dacf86d8314e00eb****`中添加一个成员,成员ID为`173808452267****`,成员名称为`Tony`,成员归属为`ResourceDirectory`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregator', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], ], ], 'UpdateCompliancePack' => [ 'summary' => '修改当前账号指定合规包的信息。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigX57QP8', ], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', '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, ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '合规包的风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '1', 'enum' => [ '1', '2', '3', ], ], ], [ 'name' => 'ConfigRules', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '合规包中的规则列表。'."\n" ."\n" .'当您修改合规包时,如果规则列表为空,则保持原有规则列表不变;如果规则列表不为空,则使用新规则替换原有规则列表中的规则。', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ 'ManagedRuleIdentifier' => [ 'description' => '规则模板标识。配置审计根据规则模板标识自动创建规则,并将该规则加入到当前合规包中。'."\n" ."\n" .'`ManagedRuleIdentifier`和`ConfigRuleId`二选一,当两个参数都设置时,以`ConfigRuleId`为准确。关于如何获取规则模板标识,请参见[ListCompliancePackTemplates](~~261176~~)。', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', ], 'ConfigRuleParameters' => [ 'description' => '规则参数信息。', 'type' => 'array', 'items' => [ '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', ], ], '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', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', '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' => '等保三级预检合规包', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'ECS', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '合规包仅对绑定指定标签键值的资源生效。'."\n" .'> TagValueScope需结合TagKeyScope一起使用。', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'description' => '生效标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'description' => '排除标签。', 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定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', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '合规包名称重复。', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n cp-a8a8626622af0082****\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', 'title' => '修改合规包信息', 'description' => '本文将提供一个示例,将合规包`cp-a8a8626622af0082****`中规则`eip-bandwidth-limit`的参数值修改为`20`。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateCompliancePack', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], ], ], 'UpdateConfigDeliveryChannel' => [ 'summary' => '本接口用于当前账号修改投递渠道。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigL91U0A', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', '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', ], ], [ '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', ], ], [ '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}]', ], ], [ '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', ], ], [ 'name' => 'Description', 'in' => 'query', '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****', ], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', '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', ], ], [ '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', ], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', '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', ], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', 'schema' => [ 'description' => '资源定时快照每日开始投递的时间。'."\n" ."\n" .'格式为`HH:mmZ`(UTC时间)。'."\n" ."\n" .'> 当您开启资源定时快照投递时,可通过该参数自定义投递时间。如果您未设置该参数,则每天默认`04:00Z`和`16:00Z`开始投递。', 'type' => 'string', 'required' => false, 'example' => '09:10Z', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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":"\\n A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\n cdc-8e45ff4e06a3a8****\\n","errorExample":""}]', 'title' => '修改投递渠道', 'description' => '本文将提供一个示例,将投递渠道`cdc-8e45ff4e06a3a8****`的状态修改为`0`(关闭)。关闭投递渠道后,配置审计保留最近一次投递配置,停止资源数据投递。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConfigDeliveryChannel', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', ], ], ], ], ], ], 'UpdateConfigRule' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigQMX28I', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', '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组标签。如果资源同时具有指定的所有标签,则视为“合规”。', ], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '规则参数。'."\n", 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', ], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ 'description' => '规则执行周期。取值:'."\n" .'- One_Hour:1小时。'."\n" .'- Three_Hours:3小时。'."\n" .'- Six_Hours:6小时。'."\n" .'- Twelve_Hours:12小时。'."\n" .'- TwentyFour_Hours(默认值):24小时。'."\n" ."\n" .'> 当`ConfigRuleTriggerTypes`设置为`ScheduledNotification`时,需要设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'One_Hour', 'enum' => [ 'One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours', ], ], ], [ 'name' => 'ResourceTypesScope', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。'."\n", 'type' => 'array', 'items' => [ 'description' => '规则评估的资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', ], 'required' => false, 'example' => 'ACS::ECS::Instance', ], ], [ 'name' => 'RiskLevel', 'in' => 'formData', 'schema' => [ 'description' => '规则风险等级。取值:'."\n" .'- 1:高风险。'."\n" .'- 2:中风险。'."\n" .'- 3:低风险。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '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****', ], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', '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****', ], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', '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****', ], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', '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', ], ], [ 'name' => 'TagValueScope', 'in' => 'formData', 'schema' => [ 'description' => '已废弃,请使用 `TagsScope` 字段。'."\n" ."\n" .'规则仅对绑定指定标签的资源生效。'."\n" ."\n" .'> 仅适用于规则模板,且`TagKeyScope`和`TagValueScope`必须同时设置。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', ], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ 'description' => '参数`TagsScope` 取多值时的逻辑关系,例如:当参数`TagsScope`取值为`"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`a:a`和`b:b`的资源生效。不填写取默认逻辑`OR`。'."\n" ."\n" .'也可以用于已废弃字段`TagKeyScope`字段(不推荐),例如:当参数`TagKeyScope`取值为`ECS,OSS`时,如果该参数为`AND`,则表示规则仅对同时绑定标签`ECS`和`OSS`的资源生效。'."\n" ."\n" .'取值:'."\n" ."\n" .'- AND:与。'."\n" ."\n" .'- OR:或。', 'type' => 'string', 'deprecated' => false, 'required' => false, 'enumValueTitles' => [ 'OR' => 'OR', 'AND' => 'AND', ], 'example' => 'AND', 'enum' => [ 'AND', 'OR', ], ], ], [ 'name' => 'TagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ExcludeTagsScope', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '排除的标签范围', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-2', ], 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'value-2', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'ConfigRuleName', 'in' => 'formData', 'schema' => [ 'description' => '规则名称。'."\n" ."\n" .'关于如何获取规则名称,请参见[ListAggregateConfigRules](~~264148~~)。', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签', ], ], [ 'name' => 'ExtendContent', 'in' => 'formData', 'schema' => [ 'description' => '选填,扩展内容,与24h周期触发配合使用,用于设置触发时间。', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"12"}', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '资源的标签。该入参已弃用,请忽略,传入不会生效。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'array', 'items' => [ 'description' => '资源的标签。'."\n" ."\n" .'最多支持绑定20个标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'key-1', ], 'Value' => [ 'description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'value-1', ], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 20, ], ], [ 'name' => 'ResourceNameScope', 'in' => 'formData', 'schema' => [ 'description' => '规则仅对指定资源名称的资源生效。', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '修改规则', 'summary' => '修改规则的描述信息、规则入参和风险等级等。', 'description' => '本文将提供一个示例,将规则`cr-a260626622af0005****`的风险等级修改为`3`(低风险)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigRule', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"\\n cr-a260626622af0005****\\n 6EC7AED1-172F-42AE-9C12-295BC2ADB751\\n","errorExample":""}]', ], 'UpdateConfigurationRecorder' => [ 'summary' => '修改当前账号的资源监控范围。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfig56XT35', 'FEATUREconfigI0TIO6', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceTypes', 'in' => 'formData', 'schema' => [ 'description' => '资源类型。多个资源类型之间用半角逗号(,)分隔。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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', ], 'ResourceTypes' => [ 'description' => '监控资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance', ], ], ], ], ], 'description' => '', ], ], ], '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' => '进程还在执行中。', ], ], 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'title' => '修改资源监控范围', 'description' => '本文将提供一个示例,修改当前账号的资源监控范围为ACS::ECS::Instance。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigurationRecorder', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', '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', ], ], [ 'name' => 'Status', 'in' => 'formData', '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', ], ], [ 'name' => 'AggregatorDeliveryDataType', 'in' => 'formData', 'schema' => [ 'description' => '跨账号集成的事件类型。支持的事件类型有:'."\n" .'- NonCompliantNotification:不合规事件。', 'type' => 'string', 'required' => false, 'example' => 'NonCompliantNotification', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '', ], ], ], 'title' => '开启指定集成服务', 'summary' => '开启或关闭指定云产品的集成状态。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIntegratedServiceStatus', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"02EB7638-B029-5ABB-93F5-A2ABEEAC282D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 02EB7638-B029-5ABB-93F5-A2ABEEAC282D\\n","errorExample":""}]', ], 'UpdateRemediation' => [ 'summary' => '更新指定的修正设置。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigOH65M0', ], ], 'parameters' => [ [ 'name' => 'RemediationId', 'in' => 'formData', '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', ], ], [ 'name' => 'RemediationTemplateId', 'in' => 'formData', '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', ], ], [ 'name' => 'SourceType', 'in' => 'formData', '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权限名称。"}]}', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => [ 'title' => '业务参数', 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '2014295338-e7361358-5822-4276-8d30-b5183fac****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '无', 'type' => 'object', 'properties' => [ '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' => '输入的模板参数值非法。', ], ], 403 => [ [ 'errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => '无权创建服务关联角色。', ], ], ], 'title' => '更新修正设置', 'description' => '本文将提供一个示例,将规则修正设置`crr-909ba2d4716700eb****`的修正执行方式修改为`AUTO_EXECUTION`(自动执行)。', 'requestParamsDescription' => '关于公共请求参数的详情,请参见[公共参数](~~251751~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateRemediation', ], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'config:UpdateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-7c2ba2d0236700a3****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\n crr-7c2ba2d0236700a3****\\n","errorExample":""}]', ], 'UpdateReportTemplate' => [ 'summary' => '更新合规报告模版。', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREconfigZWSOST', ], ], 'parameters' => [ [ 'name' => 'ReportTemplateName', 'in' => 'formData', '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', ], ], [ 'name' => 'ReportTemplateDescription', 'in' => 'formData', '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, ], ], [ 'name' => 'ReportGranularity', 'in' => 'formData', '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', ], ], [ '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 * * ?', ], ], [ 'name' => 'ReportScope', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '报告范围数组,用于选定审计报告中包含的规则范围。数组中每个 ReportScope 之间是或逻辑,也就是加法逻辑。'."\n" ."\n" .'> 如数组大小为2,第一个 ReportScope 指定规则 In cr-1,第二个 ReportScope 指定规则 In cr-2,则此报告圈定的规则范围为 cr-1和cr-2。', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, 'minItems' => 0, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ReportTemplateId' => [ 'description' => '报告模版 Id', 'type' => 'string', 'example' => 'crt-xxx', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 503 => [ [ 'errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '服务不可用。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '更新合规报告模版', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]', ], ], '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', ], ], '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' => '修正配置不存在', ], ], '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', ], ], ], 'ram' => [ 'productCode' => 'Config', 'productName' => '配置审计', 'ramCodes' => [ 'config', ], 'ramLevel' => '资源级', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'ListAggregators', 'description' => '查询账号组列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListAggregators', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*', ], ], ], ], [ 'apiName' => 'CreateAggregateCompliancePack', 'description' => '创建账号组合规包', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', ], ], ], ], [ 'apiName' => 'ListConfigRuleEvaluationResults', 'description' => '查询规则评估结果', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListConfigRuleEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetDiscoveredResource', 'description' => '获取指定资源的资源详情', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetDiscoveredResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'IgnoreEvaluationResults', 'description' => '忽略规则评估结果', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:IgnoreEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeactiveConfigRules', 'description' => '停用规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DeactiveConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceInventory', 'description' => '查询账号组的全局资源下载清单信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteAggregateCompliancePacks', 'description' => '删除账号组合规包', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}', ], ], ], ], [ 'apiName' => 'GenerateAggregateResourceInventory', 'description' => '生成账号组内全局资源下载清单', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GenerateAggregateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceTypeProperties', 'description' => '获取资源属性描述', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetResourceTypeProperties', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StopConfigurationRecorder', 'description' => '停用配置审计服务', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:StopConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceCountsGroupByResourceType', 'description' => '从资源类型维度查询指定账号组内资源的统计结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceCountsGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteRemediations', 'description' => '删除修正设置', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateRemediation', 'description' => '创建修正设置', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'AttachAggregateConfigRuleToCompliancePack', 'description' => '将账号组规则加入合规包', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:AttachAggregateConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateAggregateConfigDeliveryChannel', 'description' => '修改指定账号组内的投递渠道', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], [ 'apiName' => 'GetAggregateCompliancePackReport', 'description' => '获取账号组合规包评估报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'GetAdvancedSearchFile', 'description' => '查询资源高级搜索下载文件', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListDiscoveredResources', 'description' => '获取资源列表信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListDiscoveredResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListResourceEvaluationResults', 'description' => '查询资源评估结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListResourceEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceConfigurationTimeline', 'description' => '查询资源配置变更历史', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetResourceConfigurationTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'IgnoreAggregateEvaluationResults', 'description' => '忽略账号组规则评估结果', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:IgnoreAggregateEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetManagedRule', 'description' => '查询规则模板详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetManagedRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateAggregateConfigRule', 'description' => '创建账号组规则', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', ], ], ], ], [ 'apiName' => 'DeleteConfigRules', 'description' => '删除规则', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'GetAggregateConfigRuleComplianceByPack', 'description' => '查询账号组合规包规规则合规结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRuleComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'DeleteAggregateRemediations', 'description' => '删除账号组的修正设置', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateAggregateConfigDeliveryChannel', 'description' => '为指定账号组创建投递渠道', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*', ], ], ], ], [ 'apiName' => 'GetResourceComplianceByConfigRule', 'description' => '查询规则合规评估结果维度的合规概要', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetResourceComplianceByConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateRecommendManagedRules', 'description' => '列出推荐的账号组托管规则', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateRecommendManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateConfigRule', 'description' => '创建规则', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*', ], ], ], ], [ 'apiName' => 'ListAggregateDiscoveredResources', 'description' => '获取账号组内资源列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateDiscoveredResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceComplianceGroupByResourceType', 'description' => '查询指定规则的按资源类型进行分组的评估结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceConfigurationTimeline', 'description' => '查询账号组资源配置变更历史', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetAggregateResourceConfigurationTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceComplianceGroupByRegion', 'description' => '查询指定账号组内规则的按资源所属地域进行分组的评估结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetComplianceSummary', 'description' => '查询合规统计概览信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetComplianceSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateConfigRulesReport', 'description' => '生成规则评估报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GenerateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateCompliancePacks', 'description' => '查询账号组合规包列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', ], ], ], ], [ 'apiName' => 'ListConfigRuleOperators', 'description' => '列出配置审计规则检测支持的操作符', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:ListConfigRuleOperators', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListConfigRuleEvaluationStatistics', 'description' => '查询当前账号合规统计趋势', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigRuleEvaluationStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateAggregateAdvancedSearchFile', 'description' => '为目标账号组创建资源高级搜索下载文件', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DescribeDiscoveredResourceBatch', 'description' => '批量获取资源详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeDiscoveredResourceBatch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateConfigRule', 'description' => '查询账号组规则详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'ListAggregateConfigRuleEvaluationStatistics', 'description' => '查询账号组的合规统计趋势', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigRuleEvaluationStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '解绑标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregator', 'description' => '查询账号组详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], [ 'apiName' => 'GetConfigurationRecorder', 'description' => '查询服务启用状态和资源监控范围', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceComplianceTimeline', 'description' => '查询账号组资源合规检测历史', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateIntegratedServiceStatus', 'description' => '开启指定集成服务', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartConfigRuleEvaluation', 'description' => '重新审计规则或合规包', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartConfigRuleEvaluation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetConfigRulesReport', 'description' => '下载规则评估报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceConfigurationSample', 'description' => '获取资源配置样例', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetResourceConfigurationSample', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DetachAggregateConfigRuleToCompliancePack', 'description' => '将账号组规则从合规包中移出', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DetachAggregateConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateResourceEvaluationResults', 'description' => '查询账号组资源的评估结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateResourceEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetConfigDeliveryChannel', 'description' => '查询指定投递渠道信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', ], ], ], ], [ 'apiName' => 'GetIntegratedServiceStatus', 'description' => '查询指定云服务的集成状态', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetCompliancePack', 'description' => '查询合规包详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'ListConfigRules', 'description' => '查询规则列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*', ], ], ], ], [ 'apiName' => 'PutEvaluations', 'description' => '提交自定义函数规则评估结果', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:PutEvaluations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetDiscoveredResourceCountsGroupByRegion', 'description' => '从地域维度查询资源的统计结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetDiscoveredResourceCountsGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateResourceInventory', 'description' => '生成全局资源下载清单', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GenerateResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteAggregateConfigDeliveryChannel', 'description' => '删除账号组投递渠道', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], [ 'apiName' => 'GetAggregateCompliancePack', 'description' => '查询账号组合规包详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'CreateAdvancedSearchFile', 'description' => '创建资源高级搜索下载文件', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeactiveAggregateConfigRules', 'description' => '停用账号组规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DeactiveAggregateConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'RevertAggregateEvaluationResults', 'description' => '恢复已忽略账号组规则的评估结果', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:RevertAggregateEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateResourcesByAdvancedSearch', 'description' => '应用高级搜索查询账号组内资源列表', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListAggregateResourcesByAdvancedSearch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateRemediationExecutions', 'description' => '查询账号组的修正执行记录', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListAggregateRemediationExecutions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetConfigRule', 'description' => '查询规则详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'ListRemediationExecutions', 'description' => '查看修正执行记录', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListRemediationExecutions', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListResourceRelations', 'description' => '查询指定资源的相关资源列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListResourceRelations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateAdvancedSearchFile', 'description' => '查询账号组内资源高级搜索下载文件', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateAdvancedSearchFile', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListConfigDeliveryChannels', 'description' => '查询投递渠道列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListConfigDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteAggregateConfigRules', 'description' => '删除规则', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregateConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'GetAggregateConfigRulesReport', 'description' => '下载账号组规则评估报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceComplianceByConfigRule', 'description' => '查询账号组规则合规评估结果维度的合规概要', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceByConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateAccountComplianceByPack', 'description' => '查询账号组合规包中成员合规结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateAccountComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'ListCompliancePacks', 'description' => '查询合规包列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', ], ], ], ], [ 'apiName' => 'UpdateAggregateCompliancePack', 'description' => '修改账号组合规包信息', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'GetAggregateDiscoveredResource', 'description' => '获取账号组内指定资源的资源详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateDiscoveredResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}', ], ], ], ], [ 'apiName' => 'EvaluatePreConfigRules', 'description' => '执行预检规则评估资源', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:EvaluatePreConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartConfigurationRecorder', 'description' => '开启配置审计服务', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:StartConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateConfigRules', 'description' => '查询账号组的规则列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigRules', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', ], ], ], ], [ 'apiName' => 'UpdateConfigDeliveryChannel', 'description' => '修改投递渠道', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', ], ], ], ], [ 'apiName' => 'UpdateAggregator', 'description' => '更新账号组', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], [ 'apiName' => 'GetAggregateResourceComplianceGroupByResourceType', 'description' => '获取指定账号组规则的按资源类型进行分组的评估结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceComplianceGroupByRegion', 'description' => '获取指定规则的按资源所属地域进行分组的评估结果', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetResourceComplianceGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListIntegratedService', 'description' => '查询集成服务列表及其状态', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListIntegratedService', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetAggregateConfigRuleSummaryByRiskLevel', 'description' => '查询账号组规则风险等级维度的合规概要', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigRuleSummaryByRiskLevel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceComplianceByPack', 'description' => '查询合规包资源合规结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'GetAggregateComplianceSummary', 'description' => '查询账号组内合规统计概览信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateComplianceSummary', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartConfigRuleEvaluationByResource', 'description' => '单资源维度执行评估', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:StartConfigRuleEvaluationByResource', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartAggregateConfigRuleEvaluation', 'description' => '重新审计账号组规则或合规包', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartAggregateConfigRuleEvaluation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartRemediation', 'description' => '手动执行规则修正', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateConfigDeliveryChannel', 'description' => '创建投递渠道', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*', ], ], ], ], [ 'apiName' => 'UpdateConfigurationRecorder', 'description' => '修改资源监控范围', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigurationRecorder', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteCompliancePacks', 'description' => '删除合规包', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteCompliancePacks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'CreateCompliancePack', 'description' => '创建合规包', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', ], ], ], ], [ 'apiName' => 'GetAggregateResourceComplianceByPack', 'description' => '查询账号组合规包资源合规统计', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'CreateAggregateRemediation', 'description' => '创建账号组的修正设置', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'TagResources', 'description' => '绑定标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartAggregateRemediation', 'description' => '手动执行账号组的修正设置', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:StartAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CopyConfigRules', 'description' => '复制规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:CopyConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetRemediationTemplate', 'description' => '查看自动修正模板详情', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:GetRemediationTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateRemediation', 'description' => '更新修正设置', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListRemediations', 'description' => '获取修正列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '查询指定资源绑定的标签', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetCompliancePackReport', 'description' => '获取合规包评估报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'GetAggregateResourceCountsGroupByRegion', 'description' => '从地域维度查询指定账号组内资源的统计结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateResourceCountsGroupByRegion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListRemediationTemplates', 'description' => '获取修正模板列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListRemediationTemplates', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceInventory', 'description' => '获取全局资源下载清单信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetResourceInventory', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DescribeIntegratedServiceStatus', 'description' => '查询指定云服务的集成状态', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeIntegratedServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateAggregateConfigRulesReport', 'description' => '生成账号组规则评估报告', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateAggregateConfigRulesReport', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ActiveAggregateConfigRules', 'description' => '启用账号组规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:ActiveAggregateConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateConfigDeliveryChannels', 'description' => '查询指定账号组内的所有投递渠道信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateConfigDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DryRunConfigRule', 'description' => '试运行事前合规预检的规则', 'operationType' => 'none', 'ramAction' => [ 'action' => 'config:DryRunConfigRule', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ActiveConfigRules', 'description' => '启用规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:ActiveConfigRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateAggregateRemediation', 'description' => '更新账号组的修正设置', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetConfigRuleSummaryByRiskLevel', 'description' => '查询规则风险等级维度的合规概要', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRuleSummaryByRiskLevel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CopyCompliancePacks', 'description' => '复制合规包', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CopyCompliancePacks', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateAggregator', 'description' => '创建账号组', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:CreateAggregator', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*', ], ], ], ], [ 'apiName' => 'DescribeRemediation', 'description' => '查询修正设置', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:DescribeRemediation', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateAggregateCompliancePackReport', 'description' => '生成账号组合规包评估报告', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateAggregateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', ], ], ], ], [ 'apiName' => 'GetAggregateConfigDeliveryChannel', 'description' => '查询指定账号组内的指定投递渠道信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetAggregateConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', ], ], ], ], [ 'apiName' => 'ListResourcesByAdvancedSearch', 'description' => '应用高级搜索查询资源列表', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListResourcesByAdvancedSearch', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListRecommendManagedRules', 'description' => '列出推荐的托管规则', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListRecommendManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListManagedRules', 'description' => '查询规则模板列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListManagedRules', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceComplianceTimeline', 'description' => '查询资源合规检测历史', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:GetResourceComplianceTimeline', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DetachConfigRuleToCompliancePack', 'description' => '将规则从合规包中移出', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:DetachConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateResourceRelations', 'description' => '查询账号组内指定资源的相关资源列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:ListAggregateResourceRelations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateConfigRule', 'description' => '修改规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'GetConfigRuleComplianceByPack', 'description' => '查询合规包中规则维度合规统计', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetConfigRuleComplianceByPack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'AttachConfigRuleToCompliancePack', 'description' => '将规则加入合规包', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:AttachConfigRuleToCompliancePack', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateConfigRuleEvaluationResults', 'description' => '查询账号组规则的评估结果', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'config:ListAggregateConfigRuleEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateCompliancePackReport', 'description' => '生成合规包评估报告', 'operationType' => 'create', 'ramAction' => [ 'action' => 'config:GenerateCompliancePackReport', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'RevertEvaluationResults', 'description' => '恢复已忽略规则的评估结果', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:RevertEvaluationResults', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateAggregateConfigRule', 'description' => '修改账号组规则', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateAggregateConfigRule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', ], ], ], ], [ 'apiName' => 'DeleteAggregators', 'description' => '删除账号组', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteAggregators', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', ], ], ], ], [ 'apiName' => 'UpdateCompliancePack', 'description' => '修改合规包信息', 'operationType' => 'update', 'ramAction' => [ 'action' => 'config:UpdateCompliancePack', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', ], ], ], ], [ 'apiName' => 'GetDiscoveredResourceCountsGroupByResourceType', 'description' => '从资源类型维度查询资源的统计结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'config:GetDiscoveredResourceCountsGroupByResourceType', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListAggregateRemediations', 'description' => '查询账号组的修正设置列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'config:ListAggregateRemediations', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'Config', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteConfigDeliveryChannel', 'description' => '删除投递渠道', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'config:DeleteConfigDeliveryChannel', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ '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}', ], ], ], ];