Ignores the evaluation results of a specific rule for specified resources. You can also set an ignore expiration date for the rule. After the ignore period expires, the evaluation results of the rule for the resources are automatically restored.
Operation description
After you ignore a non-compliant resource, the rule still evaluates the resource, but the evaluation result is displayed as Ignored.
This topic provides an example on how to ignore the evaluation results of the rule cr-7e72626622af0051**** for a specified non-compliant resource in the current account 100931896542****. The resource ownership region ID 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 information about how to obtain a rule ID, see ListConfigRules. |
cr-7e72626622af0051**** |
| Resources |
array<object> |
Yes |
The list of resources to ignore. |
|
|
object |
No |
The list of resources to ignore. |
||
| ResourceAccountId |
integer |
Yes |
The Alibaba Cloud account ID of the resource ownership. |
100931896542**** |
| ResourceType |
string |
Yes |
The resource type. For information about how to obtain the resource type, see ListDiscoveredResources. |
ACS::SLB::LoadBalancer |
| Region |
string |
Yes |
The region ID of the resource ownership. For information about how to obtain the region ID of the resource ownership, see ListDiscoveredResources. |
cn-beijing |
| ResourceId |
string |
Yes |
The resource ID. For information about how to obtain the resource ID, see ListDiscoveredResources. |
lb-hp3a3b4ztyfm2plgm**** |
| Reason |
string |
No |
The reason for ignoring the resource. |
No check required |
| IgnoreDate |
string |
No |
The date on which the ignored evaluation results are automatically restored, in the YYYY-MM-DD format. If this parameter is left empty, the evaluation results are not automatically restored and must be manually restored. |
2022-06-01 |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
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.