Query Security Risk Handling Suggestions Details
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| yundun-sas:DescribeSecureSuggestion | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| SourceIp | string | No | The IP address of the access source. | 192.168.XX.XX |
| Lang | string | No | The language type for request and response messages, default is zh. Values:
| zh |
| CalType | string | No | Choose to query the new or old version of the security score rules. When the value is home_security_score, it queries the new version of the security score rules; otherwise, it defaults to querying the old version of the security score rules. | home_security_score |
| Source | integer | No | Source of the security score. If left empty, it defaults to Cloud Security Center. Enumerated values:
| 0 |
| ResourceDirectoryAccountId | long | No | Resource directory member account ID (Alibaba Cloud account). Note
You can obtain this parameter by calling the DescribeMonitorAccounts API.
| 1232428423234**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "676F80E3-4B3F-43DA-9CBB-5FF79F202AA2",
"TotalCount": 15,
"Score": 95,
"CalTime": 1755744253000,
"Suggestions": [
{
"Points": 40,
"SuggestType": "SS_ALARM",
"Detail": [
{
"Title": "Website tamper-proofing capability not configured",
"Description": "Malicious tampering of Web pages will affect your normal access to web page content, and may also lead to serious economic losses, brand losses, and even political risks. The webpage tamper-proof service can monitor the website directory in real time and restore the tampered files or directories through backup, so as to ensure that the website information of important systems is not tampered with maliciously and prevent the occurrence of horse hanging, black chain, illegal implantation of terrorist threats, pornography and other content.",
"SubType": "REINFORCE_WEB_LOCK"
}
]
}
]
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | NoPermission | no permission | - |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | - |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
| 500 | RdCheckInnerError | Resource directory account service internal error. | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-12-02 | The Error code has changed. The request parameters of the API has changed | View Change Details |
| 2024-05-15 | The Error code has changed | View Change Details |
