Modifies custom security score rules.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ChangeSecurityScoreRule |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SecurityScoreRuleList |
array<object> |
No |
The list of legacy security score rules. |
|
|
array<object> |
No |
The security score rule data. |
||
| RuleType |
string |
No |
The type of the security score rule. Valid values:
|
SS_ALARM |
| Score |
integer |
No |
The deduction value of the security score rule. Note
The valid range is 0 to 100. The sum of deduction thresholds for all security score rules must equal 100. |
5 |
| SecurityScoreItemList |
array<object> |
No |
The list of individual deduction items for the security score rule. |
|
|
object |
No |
The individual deduction item data for the security score rule. |
||
| SubRuleType |
string |
No |
The sub-rule type of the individual deduction item. The relationship between security score types and sub-rule types is as follows:
|
ALARM_SERIOUS |
| ScoreThreshold |
integer |
No |
The deduction threshold for the individual item. Note
The valid range is 0 to the deduction threshold of the security score rule. |
10 |
| Score |
integer |
No |
The deduction value for the individual item. |
5 |
| SecurityScoreCategoryList |
array<object> |
No |
The list of new version security score rule deductions. |
|
|
array<object> |
No |
The security score rule data. |
||
| Category |
string |
No |
The category of the security score rule. Valid values:
|
SS_SAS_HANDLE |
| ScoreThreshold |
integer |
No |
The deduction threshold for the security score rule category. Note
The valid range is 0 to 100. The sum of deduction thresholds for all security score rule categories must equal 100. |
20 |
| SecurityRuleList |
array<object> |
No |
The list of deductions by security score rule type. |
|
|
array<object> |
No |
The security score rule type data. |
||
| RuleType |
string |
No |
The type of the security score rule sub-item. Valid values:
|
SS_REINFORCE |
| Score |
integer |
No |
The deduction threshold for the security score rule type. Note
The valid range is 0 to the deduction threshold of the security score rule category. |
10 |
| SecurityScoreItemList |
array<object> |
No |
The list of deductions for security score rule sub-items. |
|
|
object |
No |
The security score rule sub-item data. |
||
| SubRuleType |
string |
No |
The security score rule sub-item. |
SSI_KEY_CONFIG |
| Score |
integer |
No |
The deduction value for the individual item. |
2 |
| ScoreThreshold |
integer |
No |
The deduction threshold for the individual item. Note
The valid range is 0 to the deduction threshold of the security score rule type. |
5 |
| ResetSecurityScoreRule |
boolean |
No |
Specifies whether to reset to the system default rules. Valid values:
|
false |
| CalType |
string |
No |
Specifies whether to modify the new version or legacy security score rules. If the value is home_security_score, the new version security score rules are modified. Otherwise, the legacy security score rules are modified by default. |
home_security_score |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the Alibaba Cloud account of the member accounts in the resource directory. Note
Call the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
23AD0BD2-8771-5647-819E-6BA51E21**** |
Examples
Success response
JSON format
{
"RequestId": "23AD0BD2-8771-5647-819E-6BA51E21****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 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.