All Products
Search
Document Center

Security Center:GetSecurityScoreRule

Last Updated:Sep 18, 2026

Queries the details of custom security score rules.

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-sas:GetSecurityScoreRule

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language type for the request and response messages. Default value: zh. Valid values:

  • zh: Chinese

  • en: English

zh

CalType

string

No

Specifies whether to query the new or legacy security score rules. If the value is home_security_score, the new security score rules are queried. Otherwise, the legacy security score rules are queried by default.

home_security_score

ResourceDirectoryAccountId

integer

No

The Alibaba Cloud account ID of the member accounts in the resource folder.

Note

Invoke 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.

F8B6F758-BCD4-597A-8A2C-DA5A552C****

SecurityScoreRuleList

array<object>

The list of legacy security score rules.

array<object>

The security score rule data.

RuleType

string

The type of the security score rule. Valid values:

  • SS_REINFORCE: Key feature configuration.

  • SS_ALARM: Pending alerts.

  • SS_VUL: Pending vulnerabilities.

  • SS_HC: Baseline issues.

  • SS_CLOUD_HC: Cloud platform configuration check item issues.

  • SS_AK: AccessKey pair leak risks.

SS_ALARM

Score

integer

The deduction value of the security score rule.

Note

The configurable range is 0 to 100. The total deduction thresholds of all security score rules must equal 100.

20

Title

string

The description of the security score rule.

Unhandled Alerts

SecurityScoreItemList

array<object>

The list of individual deduction items for the security score rule.

object

The individual deduction item data for the security score rule.

SubRuleType

string

The sub-rule type of the security score deduction item. The relationship between security score categorization types and sub-rule types is as follows:

  • SS_REINFORCE: Key feature configuration.

    • XPRESS_INSTALL: Security Center service authorization is not enabled.

    • REINFORCE_SUSPICIOUS: The anti-virus feature is not enabled.

    • RANSOMWARE: The anti-ransomware policy is not enabled.

    • WEB_LOCK: The tamper-proofing feature is not enabled.

    • VIRUS_SCHEDULE_SCAN: The periodic virus scan policy is not enabled.

    • IMAGE_REPO_SCAN: The container image scan scope is not configured.

    • IMAGE_SCAN_TASK: The one-click container image security risk scan has not been executed.

  • SS_ALARM: Pending alerts.

    • ALARM_SERIOUS: One unhandled high-risk alert event exists.

    • ALARM_SUSPICIOUS: One unhandled medium-risk alert event exists.

    • ALARM_REMIND: One unhandled low-risk alert event exists.

  • SS_VUL: Pending vulnerabilities.

    • CMS_UNFIX: One unfixed Web-CMS vulnerability exists.

    • WIN_UNFIX: One unfixed Windows system vulnerability exists.

    • CVE_UNFIX: One unfixed Linux software vulnerability exists.

    • ERM_UNFIX: One unfixed emergency vulnerability exists.

    • ERM_UNCHECK: One undetected emergency vulnerability exists.

  • SS_HC: Baseline issues.

    • WEAK_EXPLOIT: A weak password risk expose to the Internet exists.

    • WEAK_PASSWORD: A weak password risk exists.

    • HC_EXPLOIT: A high-risk intrusion vulnerability exists.

    • HC_OTHER_WARNING: A security configuration risk exists.

  • SS_CLOUD_HC: Cloud platform configuration check item issues.

    • CSPM_CIEM_NOT_PASS: One failed CIEM check item exists.

    • CSPM_RISK_NOT_PASS: One failed security risk check item exists.

    • CSPM_COMPLIANCE_NOT_PASS: One failed compliance check item exists.

  • SS_AK: AccessKey pair leak risks.

ALARM_SERIOUS

Score

integer

The deduction value of the individual item.

3

ScoreThreshold

integer

The deduction threshold of the individual item.

Note

The configurable range is 0 to the deduction threshold of the security score rule.

5

Title

string

The description of the sub-rule type for the security score deduction item.

Unhandled Urgent Alert Event Exists

EnableStatus

boolean

The enabling status of the custom security score rule. Valid values:

  • true: Enabled.

  • false: Disabled.

true

SecurityScoreCategoryList

array<object>

The list of new security score rules.

array<object>

The security score rule data.

SecurityRuleList

array<object>

The deduction list of security score rule types.

array<object>

The security score rule type data.

RuleType

string

The type of the security score rule.

SS_AI_RISK

Score

integer

The deduction threshold of the security score rule type.

10

Title

string

The name of the security score rule type.

AI Application Risks

SecurityScoreItemList

array<object>

The deduction list of security score rule sub-items.

object

The security score rule sub-item data.

SubRuleType

string

The type of the security score rule sub-item.

  • SS_SAS_WEAK_PW: Pending weak passwords to fix.

  • SS_SAS_ALARM: Pending Security Center alerts to handle.

  • SS_SAS_EMG_VUL: Pending emergency vulnerabilities to fix.

  • SS_SAS_APP_VUL: Pending application vulnerabilities to fix.

  • SS_SAS_SYS_VUL: Pending system vulnerabilities to fix.

  • SS_SAS_CLOUD_HC: Pending Cloud Security Posture Management (CSPM) risks to handle.

  • SS_SDDP_DATA_RISK: Pending data security risks to remediate.

  • SS_WAF_API_RISK: Pending API security risks to handle.

  • SS_DDOS_BH_ASSET: Assets in Black Hole Activated status.

  • SS_SAS_AK_LEAK: Unhandled AccessKey/SecretKey leak events.

  • SS_PRODUCT_CONNECT: Security products not in Normal connection status.

  • SS_KEY_CONFIG: Key feature configuration.

  • SS_PRODUCT_EXPIRE: Products about to expire.

  • SS_AI_RISK: AI application risks.

SSI_AI_VUL_RISK

Score

integer

The deduction value of the individual item.

5

ScoreThreshold

integer

The deduction threshold of the individual item.

10

Title

string

The name of the security score rule sub-item.

Unhandled application vulnerabilities exist.

Category

string

The category of the security score rule. Valid values:

  • SS_SAS_HANDLE: Security governance.

  • SS_SAS_RESPOND: Security response.

SS_SAS_HANDLE

Score

integer

The deduction threshold of the security score rule category.

30

Title

string

The name of the security score rule category.

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

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.