All Products
Search
Document Center

Managed Security Service:GetConsoleScore

Last Updated:Sep 09, 2026

Get Console Score.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • oneYear :

    Last year

  • month :

    Last 30 days

  • halfYear :

    Last half year

  • customize :

    Custom

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.