Get Console Score.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-mss:GetConsoleScore |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DateType |
string |
Yes |
Filter time type. Supports filtering by the last 7 days, last 30 days, last half year, custom, and other methods. An empty value indicates the last 7 days. Valid values:
|
month |
| StartDate |
integer |
Yes |
Start time. |
1729478485000 |
| EndDate |
integer |
Yes |
End time. |
1732156885986 |
| SuspEventSource |
string |
No |
Alert event source. |
该字段暂未使用,有问题请联系管理员 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Request response. |
||
| Data |
any |
The data returned by the API. |
{ "score": "94.00", "consoleScoreTrendDTOS": [ { "date": "20241009", "score": "100.0" } ], "cyclicYearOverYear": "-6.00", "recordDate": "20241209", "weeklyYearOverYear": "1.62", "aboveWholeNetworkUserRatio": "6.25", "aliUid": "1601097845544644", "detailJson": "[{\"detailDTO\":[{\"count\":0,\"itemName\":\"应用漏洞POC验证\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"未授权访问漏洞(公网暴露)\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"后台弱口令漏洞(公网暴露)\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"文件上传漏洞(公网暴露)\",\"mark\":\"1\"}],\"markRate\":\"0.5\",\"markType\":\"vul\"},{\"detailDTO\":[{\"count\":12,\"itemName\":\"WAF3.0回源配置不正确\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"AK泄露检查未开启\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"DNAT管理端口开放\",\"mark\":\"1\"},{\"count\":0,\"itemName\":\"高危端口暴露\",\"mark\":\"0.5\"}],\"markRate\":\"0.5\",\"markType\":\"risk\"}]" } |
| RequestId |
string |
The request ID. |
D0937B0F-9180-5F70-B6ED-0BA22591627F |
| Code |
string |
The response code. |
Success |
| Message |
string |
The message returned. |
successful |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Success |
boolean |
Indicates whether the operation is successful. A value of true indicates success. A value of false indicates failure. |
true |
Examples
Success response
JSON format
{
"Data": "{\n \"score\": \"94.00\",\n \"consoleScoreTrendDTOS\": [\n {\n \"date\": \"20241009\",\n \"score\": \"100.0\"\n }\n ],\n \"cyclicYearOverYear\": \"-6.00\",\n \"recordDate\": \"20241209\",\n \"weeklyYearOverYear\": \"1.62\",\n \"aboveWholeNetworkUserRatio\": \"6.25\",\n \"aliUid\": \"1601097845544644\",\n \"detailJson\": \"[{\\\"detailDTO\\\":[{\\\"count\\\":0,\\\"itemName\\\":\\\"应用漏洞POC验证\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"未授权访问漏洞(公网暴露)\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"后台弱口令漏洞(公网暴露)\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"文件上传漏洞(公网暴露)\\\",\\\"mark\\\":\\\"1\\\"}],\\\"markRate\\\":\\\"0.5\\\",\\\"markType\\\":\\\"vul\\\"},{\\\"detailDTO\\\":[{\\\"count\\\":12,\\\"itemName\\\":\\\"WAF3.0回源配置不正确\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"AK泄露检查未开启\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"DNAT管理端口开放\\\",\\\"mark\\\":\\\"1\\\"},{\\\"count\\\":0,\\\"itemName\\\":\\\"高危端口暴露\\\",\\\"mark\\\":\\\"0.5\\\"}],\\\"markRate\\\":\\\"0.5\\\",\\\"markType\\\":\\\"risk\\\"}]\"\n}",
"RequestId": "D0937B0F-9180-5F70-B6ED-0BA22591627F",
"Code": "Success",
"Message": "successful",
"HttpStatusCode": 200,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | ConsoleScoreEmpty | get score data is empty. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.