Obtém as informações sobre todos os itens de avaliação de verificação de governança disponíveis, incluindo nomes, IDs, descrições, estágios, metadados de detalhes de recursos e orientações de correção.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
governance:ListEvaluationMetadata |
get |
*Todos os recursos.
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. |
cn-hangzhou |
| Language |
string |
Não |
O tipo de idioma. As definições de verificação de governança são retornadas neste idioma. Valores válidos:
|
zh |
| LensCode |
string |
Não |
O código de verificação especializada. Valores válidos:
|
ack |
| TopicCode |
string |
Não |
O código do tópico de governança. |
ResourceUtilization |
| EvaluationDomain |
string |
Não |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
A resposta. |
||
| EvaluationMetadata |
array<object> |
Os metadados das definições de verificação de governança. |
|
|
array<object> |
Os metadados das definições de verificação de governança. |
||
| Metadata |
array<object> |
A lista de objetos de metadados sob um tipo de metadado específico. |
|
|
array<object> |
A lista de objetos de metadados sob um tipo de metadado específico. |
||
| Category |
string |
O pilar ao qual o item de verificação pertence. |
Security |
| Description |
string |
A descrição do item de verificação. |
If you use an AccessKey pair of an Alibaba Cloud account, you have full permissions that cannot be restricted by conditions such as source IP address or access time. Once leaked, the risk is extremely high. If an AccessKey pair exists for the Alibaba Cloud account, it is considered non-compliant. |
| DisplayName |
string |
O nome de exibição. |
An AccessKey pair is enabled for the Alibaba Cloud account. |
| Id |
string |
O ID aleatório dos metadados. |
pxgtda**** |
| RecommendationLevel |
string |
O nível de governança recomendado do item de verificação. |
High |
| RemediationMetadata |
object |
Os metadados de correção. |
|
| Remediation |
array<object> |
O item de correção. |
|
|
array<object> |
O item de correção. |
||
| Actions |
array<object> |
As ações de correção. |
|
|
array<object> |
As ações de correção. |
||
| Classification |
string |
A categoria do método de correção. Nota
Este parâmetro é retornado apenas quando RemediationType é Analysis. |
UnusedAccessKeyInRamUser |
| CostDescription |
string |
O custo de correção. |
You are not charged for this operation. |
| Description |
string |
A descrição da correção. Nota
Este parâmetro é retornado apenas quando RemediationType é Analysis. |
A RAM user has both console logon and an AccessKey pair enabled, but the AccessKey pair has never been used. |
| Guidance |
array<object> |
O conteúdo de correção. |
|
|
object |
O conteúdo de correção. |
||
| ButtonName |
string |
The display name of the remediation step button. |
Manual fix |
| ButtonRef |
string |
The URL that the remediation step button links to. |
https://ram.console.alibabacloud.com/users |
| Content |
string |
The content of the remediation step. |
You must replace the AccessKey pair of your Alibaba Cloud account. To do so, perform the following steps:1. Log on to the RAM console. In the left-side navigation pane, choose Identities > Users. On the Users page, click Create User.2. On the Create User page, enter a logon name and select OpenAPI Access for the Access Mode parameter.3. After the RAM user is created, save the AccessKey pair. Then, find the user that you created on the Users page and click Add Permissions in the Actions column. In the Grant Permission panel, find the AdministratorAccess policy and attach it to the RAM user.4. In a program, replace the AccessKey pair of the Alibaba Cloud account with the AccessKey pair of the RAM user created in the previous step and check whether the program runs as expected in the test environment.5. If the program runs as expected, publish the program to the production environment and disable the previous AccessKey pair of your Alibaba Cloud account. Then, check whether the program runs as expected.6. If the program runs as expected, delete the disabled AccessKey pair after the specified period of time, such as 90 days. |
| Title |
string |
The title of the remediation step. |
Scenario 3: AccessKey pair that is used within the last 90 days |
| Notice |
string |
As precauções para correção. |
This governance item enables the Best Practices for AccessKey and Permission Governance compliance package in Cloud Config to check the settings and usage of AccessKey pairs, Alibaba Cloud accounts, and RAM users. |
| Suggestion |
string |
A sugestão de correção. Nota
Este parâmetro é retornado apenas quando RemediationType é Analysis. |
Console logon is enabled for the RAM user and the RAM user owns an AccessKey pair, while the AccessKey pair has never been used by the RAM user. We recommend that you disable the AccessKey pair for 90 days. If no related issue occurs during this period, you can delete the AccessKey pair. |
| RemediationType |
string |
O tipo de correção. Valores válidos:
|
Manual |
| ResourceMetadata |
object |
Os metadados de recurso do item de verificação. |
|
| ResourcePropertyMetadata |
array<object> |
Os metadados de propriedade do recurso. |
|
|
object |
Os metadados de propriedade do recurso. |
||
| DisplayName |
string |
O nome de exibição da propriedade. |
Last time the AccessKey pair was used |
| PropertyName |
string |
O nome da propriedade do recurso. |
AkLastUsedTime |
| PropertyType |
string |
O tipo da propriedade do recurso. |
String |
| Scope |
string |
O escopo ao qual o item de verificação pertence. Valores válidos:
|
Account |
| Stage |
string |
O status do item de verificação. Valores válidos:
|
Released |
| TopicCode |
string |
O código do tópico de governança associado. |
ResourceUtilization |
| Type |
string |
O tipo de metadado. Valores válidos:
|
Metric |
| RequestId |
string |
O ID da solicitação. |
16B208DD-86BD-5E7D-AC93-FFD44B6FBDF1 |
Exemplos
Resposta de sucesso
JSON formato
{
"EvaluationMetadata": [
{
"Metadata": [
{
"Category": "Security",
"Description": "If you use an AccessKey pair of an Alibaba Cloud account, you have full permissions that cannot be restricted by conditions such as source IP address or access time. Once leaked, the risk is extremely high. If an AccessKey pair exists for the Alibaba Cloud account, it is considered non-compliant.",
"DisplayName": "An AccessKey pair is enabled for the Alibaba Cloud account.",
"Id": "pxgtda****",
"RecommendationLevel": "High",
"RemediationMetadata": {
"Remediation": [
{
"Actions": [
{
"Classification": "UnusedAccessKeyInRamUser",
"CostDescription": "You are not charged for this operation.",
"Description": "A RAM user has both console logon and an AccessKey pair enabled, but the AccessKey pair has never been used.",
"Guidance": [
{
"ButtonName": "Manual fix",
"ButtonRef": "https://ram.console.alibabacloud.com/users",
"Content": "You must replace the AccessKey pair of your Alibaba Cloud account. To do so, perform the following steps:1. Log on to the RAM console. In the left-side navigation pane, choose Identities > Users. On the Users page, click Create User.2. On the Create User page, enter a logon name and select OpenAPI Access for the Access Mode parameter.3. After the RAM user is created, save the AccessKey pair. Then, find the user that you created on the Users page and click Add Permissions in the Actions column. In the Grant Permission panel, find the AdministratorAccess policy and attach it to the RAM user.4. In a program, replace the AccessKey pair of the Alibaba Cloud account with the AccessKey pair of the RAM user created in the previous step and check whether the program runs as expected in the test environment.5. If the program runs as expected, publish the program to the production environment and disable the previous AccessKey pair of your Alibaba Cloud account. Then, check whether the program runs as expected.6. If the program runs as expected, delete the disabled AccessKey pair after the specified period of time, such as 90 days.",
"Title": "Scenario 3: AccessKey pair that is used within the last 90 days"
}
],
"Notice": "This governance item enables the Best Practices for AccessKey and Permission Governance compliance package in Cloud Config to check the settings and usage of AccessKey pairs, Alibaba Cloud accounts, and RAM users.",
"Suggestion": "Console logon is enabled for the RAM user and the RAM user owns an AccessKey pair, while the AccessKey pair has never been used by the RAM user. We recommend that you disable the AccessKey pair for 90 days. If no related issue occurs during this period, you can delete the AccessKey pair."
}
],
"RemediationType": "Manual"
}
]
},
"ResourceMetadata": {
"ResourcePropertyMetadata": [
{
"DisplayName": "Last time the AccessKey pair was used",
"PropertyName": "AkLastUsedTime",
"PropertyType": "String"
}
]
},
"Scope": "Account",
"Stage": "Released",
"TopicCode": "ResourceUtilization"
}
],
"Type": "Metric"
}
],
"RequestId": "16B208DD-86BD-5E7D-AC93-FFD44B6FBDF1"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | InternalError | A system error occurred. | Ocorreu um erro do sistema. |
| 404 | InvalidEnterpriseRealName.NotFound | The specified account has not passed enterprise real name verification. Please complete the verification for the account first. | A conta atual não concluiu a verificação de nome real da empresa. Conclua primeiro a verificação de nome real da empresa. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.