Menanyakan metrik tata kelola ActionTrail.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:GetGovernanceMetrics |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Data |
object |
Parameter respons. |
|
| AccountId |
string |
ID akun Alibaba Cloud. |
195622768501**** |
| GovernanceMetrics |
array<object> |
Kumpulan item tata kelola yang berisi beberapa dimensi penilaian kepatuhan. |
|
|
object |
|||
| ColumnsSchema |
string |
The details of the governance resource. This parameter contains the detailed configurations of all compliant resources for the governance item. This parameter is returned only if a resource instance exists. |
{ "trailName": "trail-test", "homeRegion": "cn-hangzhou", "trailRegion": "All", "trailStatus": "Enable", "eventRW": "All", "isOrganizationTrail": false, "ossDeliveryStatus": "normal", "deliveryObjectLifeCycle": "999", "ossBucketLifeCycle": "999", "trailTotal": 100 } |
| GovernanceItem |
string |
The governance item. This indicates a specific category of compliance check. |
actiontrail_storage_audit_log |
| GovernanceScore |
string |
The compliance score for the governance item. The value ranges from 0 to 100. |
100 |
| RequestId |
string |
ID permintaan. |
145318BE-DEE1-4C57-AA7C-5BE7D34A**** |
Contoh
Respons sukses
JSONformat
{
"Data": {
"AccountId": "195622768501****",
"GovernanceMetrics": [
{
"ColumnsSchema": "{\n \"trailName\": \"trail-test\",\n \"homeRegion\": \"cn-hangzhou\",\n \"trailRegion\": \"All\",\n \"trailStatus\": \"Enable\",\n \"eventRW\": \"All\",\n \"isOrganizationTrail\": false,\n \"ossDeliveryStatus\": \"normal\",\n \"deliveryObjectLifeCycle\": \"999\",\n \"ossBucketLifeCycle\": \"999\",\n \"trailTotal\": 100\n}",
"GovernanceItem": "actiontrail_storage_audit_log",
"GovernanceScore": "100"
}
]
},
"RequestId": "145318BE-DEE1-4C57-AA7C-5BE7D34A****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.