Retrieves the details of the deduction modules of the security score feature, including custom settings.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetSecurityScoreRule |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
| CalType |
string |
No |
The old or new version of the security score rule. If you set this parameter to home_security_score, the new version of the security score rule is returned. Otherwise, the old version of the security score rule is returned by default. |
home_security_score |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
| SecurityScoreRuleList |
array<object> |
The information about the old version of the security score rule. |
|
|
array<object> |
|||
| RuleType |
string |
The deduction module that is supported by the security score feature. Valid values:
|
SS_ALARM |
| Score |
integer |
The deduction threshold of the deduction module. Note
Valid values: 0 to 100. The sum of the deduction thresholds for all deduction modules must be equal to 100. |
20 |
| Title |
string |
The description of the deduction module. |
Unhandled Alerts |
| SecurityScoreItemList |
array<object> |
The deduction items of the deduction module. |
|
|
object |
|||
| SubRuleType |
string |
The deduction item of the deduction module. The following list describes the deduction modules and their deduction items:
|
ALARM_SERIOUS |
| Score |
integer |
The penalty point of the deduction item. |
3 |
| ScoreThreshold |
integer |
The threshold for the deduction item. Note
Valid values: 0 to the deduction threshold of the deduction module. |
5 |
| Title |
string |
The description of the deduction item in a deduction module. |
Unhandled Urgent Alert Event Exists |
| EnableStatus |
boolean |
The status of the custom settings of the security score feature.
|
true |
| SecurityScoreCategoryList |
array<object> |
The information about the new version of the security score rule. |
|
|
array<object> |
The details of the security score rule. |
||
| SecurityRuleList |
array<object> |
The deduction items of the security score rule. |
|
|
array<object> |
The data of the security score rule type. |
||
| RuleType |
string |
The type of the security score rule. |
SS_AI_RISK |
| Score |
integer |
The threshold of deduction for the security score rule type. |
10 |
| Title |
string |
The name of the security score rule type. |
AI Application Risks |
| SecurityScoreItemList |
array<object> |
The sub-deduction items of the security score rule. |
|
|
object |
The sub-deduction item of the security score rule. |
||
| SubRuleType |
string |
The type of the sub-deduction item. Valid values:
|
SSI_AI_VUL_RISK |
| Score |
integer |
The deduction score for the item. |
5 |
| ScoreThreshold |
integer |
The threshold of the deduction score for the item. |
10 |
| Title |
string |
The name of the sub-deduction item of the security score rule. |
Unhandled application vulnerabilities exist. |
| Category |
string |
The category of the security score rule. Valid values:
|
SS_SAS_HANDLE |
| Score |
integer |
The threshold of deduction for the security score rule type. |
30 |
| Title |
string |
The category of the security score rule. |
Security Response |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.