Consulta os detalhes das regras personalizadas de pontuação de segurança.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-sas:GetSecurityScoreRule |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| Lang |
string |
Não |
O tipo de idioma para as mensagens de solicitação e resposta. Valor padrão: zh. Valores válidos:
|
zh |
| CalType |
string |
Não |
Especifica se deve consultar as regras de pontuação de segurança novas ou legadas. Se o valor for home_security_score, as novas regras de pontuação de segurança serão consultadas. Caso contrário, as regras de pontuação de segurança legadas serão consultadas por padrão. |
home_security_score |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. O Alibaba Cloud gera um identificador exclusivo para cada solicitação. Você pode usar o ID para solucionar problemas. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
| SecurityScoreRuleList |
array<object> |
A lista de regras de pontuação de segurança legadas. |
|
|
array<object> |
Os dados da regra de pontuação de segurança. |
||
| RuleType |
string |
O tipo da regra de pontuação de segurança. Valores válidos:
|
SS_ALARM |
| Score |
integer |
O valor de dedução da regra de pontuação de segurança. Nota
O intervalo configurável é de 0 a 100 pontos. A soma de todos os limites de dedução das regras de pontuação de segurança deve ser igual a 100 pontos. |
20 |
| Title |
string |
A descrição da regra de pontuação de segurança. |
Unhandled Alerts |
| SecurityScoreItemList |
array<object> |
A lista de itens de dedução individuais da regra de pontuação de segurança. |
|
|
object |
Os dados do item de dedução individual da regra de pontuação de segurança. |
||
| SubRuleType |
string |
The sub-rule type of the security score deduction item. The relationship between security score categorization types and sub-rule types is as follows:
|
ALARM_SERIOUS |
| Score |
integer |
The deduction value of the individual item. |
3 |
| ScoreThreshold |
integer |
The deduction threshold of the individual item. Nota
The configurable range is 0 to the deduction threshold of the security score rule. |
5 |
| Title |
string |
The description of the sub-rule type for the security score deduction item. |
Unhandled Urgent Alert Event Exists |
| EnableStatus |
boolean |
O status de ativação da regra personalizada de pontuação de segurança. Valores válidos:
|
true |
| SecurityScoreCategoryList |
array<object> |
A lista de novas regras de pontuação de segurança. |
|
|
array<object> |
Os dados da regra de pontuação de segurança. |
||
| SecurityRuleList |
array<object> |
A lista de deduções dos tipos de regras de pontuação de segurança. |
|
|
array<object> |
Os dados do tipo de regra de pontuação de segurança. |
||
| RuleType |
string |
The type of the security score rule. |
SS_AI_RISK |
| Score |
integer |
The deduction threshold of the security score rule type. |
10 |
| Title |
string |
The name of the security score rule type. |
AI Application Risks |
| SecurityScoreItemList |
array<object> |
The deduction list of security score rule sub-items. |
|
|
object |
The security score rule sub-item data. |
||
| SubRuleType |
string |
The type of the security score rule sub-item. Valid values:
|
SSI_AI_VUL_RISK |
| Score |
integer |
The deduction value of the individual item. |
5 |
| ScoreThreshold |
integer |
The deduction threshold of the individual item. |
10 |
| Title |
string |
The name of the security score rule sub-item. |
Unhandled application vulnerabilities exist. |
| Category |
string |
A categoria da regra de pontuação de segurança. Valores válidos:
|
SS_SAS_HANDLE |
| Score |
integer |
O limite de dedução da categoria de regra de pontuação de segurança. |
30 |
| Title |
string |
O nome da categoria de regra de pontuação de segurança. |
Security Response |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
"SecurityScoreRuleList": [
{
"RuleType": "SS_ALARM",
"Score": 20,
"Title": "Unhandled Alerts",
"SecurityScoreItemList": [
{
"SubRuleType": "ALARM_SERIOUS",
"Score": 3,
"ScoreThreshold": 5,
"Title": "Unhandled Urgent Alert Event Exists"
}
]
}
],
"EnableStatus": true,
"SecurityScoreCategoryList": [
{
"SecurityRuleList": [
{
"RuleType": "SS_AI_RISK",
"Score": 10,
"Title": "AI Application Risks\n",
"SecurityScoreItemList": [
{
"SubRuleType": "SSI_AI_VUL_RISK",
"Score": 5,
"ScoreThreshold": 10,
"Title": "Unhandled application vulnerabilities exist.\n\n"
}
]
}
],
"Category": "SS_SAS_HANDLE",
"Score": 30,
"Title": "Security Response"
}
]
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.