重新審計指定帳號組內的某條規則或某個合規包中的所有規則。
介面說明
本介面僅用於觸發規則執行一次評估。如果您需要查看規則的本次評估結果,請調用 ListAggregateConfigRuleEvaluationResults 介面。更多資訊,請參見 ListAggregateConfigRuleEvaluationResults 。
本文將提供一個樣本,使帳號組ca-3a58626622af0005****內的規則cr-c169626622af009f****執行一次評估。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
config:StartAggregateConfigRuleEvaluation |
none |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ConfigRuleId |
string |
否 |
規則 ID。 關於如何擷取規則 ID,請參見 ListAggregateConfigRules 。 說明
參數 |
cr-c169626622af009f**** |
| AggregatorId |
string |
是 |
帳號組 ID。 關於如何擷取帳號組 ID,請參見 ListAggregators 。 |
ca-3a58626622af0005**** |
| RevertEvaluation |
boolean |
否 |
是否恢複已忽略的評估結果。取值:
|
false |
| CompliancePackId |
string |
否 |
合規包 ID。 關於如何擷取合規包 ID,請參見 ListAggregateCompliancePacks 。 說明
參數 |
cp-ac16626622af0053**** |
關於公用請求參數的詳情,請參見公用參數。
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
無。 |
||
| RequestId |
string |
請求 ID。 |
ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212 |
| Result |
boolean |
規則執行結果。取值:
|
true |
樣本
正常返回樣本
JSON格式
{
"RequestId": "ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212",
"Result": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ConfigRuleNotExists | The ConfigRule does not exist. | |
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | Invalid.AggregatorId.Value | The specified AggregatorId is invalid. | |
| 403 | AggregatorMemberNoPermission | The aggregator member is not authorized to perform the operation. | |
| 404 | AccountNotExisted | Your account does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。