Ignores the evaluation results of a rule for specific resources. You can also set a time period to ignore the rule. When the ignore period expires, the system automatically resumes displaying the evaluation results of the rule for the resources.
Operation description
After a non-compliant resource is ignored, the rule still evaluates the resource. The evaluation result is Ignored.
This topic provides an example of how to ignore the evaluation results of the rule cr-7e72626622af0051**** for a specified non-compliant resource in the Alibaba Cloud account 100931896542****. The region ID of the resource is cn-beijing, the resource type is ACS::SLB::LoadBalancer, and the resource ID is lb-hp3a3b4ztyfm2plgm****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:IgnoreEvaluationResults |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
Yes |
The rule ID. For more information about how to obtain the rule ID, see ListConfigRules. |
cr-7e72626622af0051**** |
| Resources |
array<object> |
Yes |
The list of resources to be ignored. |
|
|
object |
No |
The list of resources to be ignored. |
||
| ResourceAccountId |
integer |
Yes |
The ID of the Alibaba Cloud account to which the resource belongs. |
100931896542**** |
| ResourceType |
string |
Yes |
The resource type. For more information about how to obtain the resource type, see ListDiscoveredResources. |
ACS::SLB::LoadBalancer |
| Region |
string |
Yes |
The ID of the region to which the resource belongs. For more information about how to obtain the ID of the region to which the resource belongs, see ListDiscoveredResources. |
cn-beijing |
| ResourceId |
string |
Yes |
The resource ID. For more information about how to obtain the resource ID, see ListDiscoveredResources. |
lb-hp3a3b4ztyfm2plgm**** |
| Reason |
string |
No |
The reason for ignoring the resources. |
Test ignore. |
| IgnoreDate |
string |
No |
The date on which the ignored evaluation results are automatically restored. Note
If this parameter is left empty, the ignored evaluation results are not automatically restored. You must manually restore them. |
2022-06-01 |
For more information about common request parameters, see Common parameters.
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1840CBF2-0B0B-59F2-9E84-07B38267A279 |
Examples
Success response
JSON format
{
"RequestId": "1840CBF2-0B0B-59F2-9E84-07B38267A279"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform this operation. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.