All Products
Search
Document Center

Security Center:GetSecurityScoreRule

Last Updated:Mar 25, 2026

Retrieves the details of the deduction modules of the security score feature, including custom settings.

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 of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese.

  • en: English.

zh

CalType

string

No

The old or new version of the security score rule. If you set this parameter to home_security_score, the new version of the security score rule is returned. Otherwise, the old version of the security score rule is returned by default.

home_security_score

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

SecurityScoreRuleList

array<object>

The information about the old version of the security score rule.

array<object>

RuleType

string

The deduction module that is supported by the security score feature. Valid values:

  • SS_REINFORCE: issue in key feature configuration

  • SS_ALARM: unhandled alert

  • SS_VUL: unfixed vulnerability

  • SS_HC: baseline risk

  • SS_CLOUD_HC: risk item of configuration assessment

  • SS_AK: risk of AccessKey pair leaks

SS_ALARM

Score

integer

The deduction threshold of the deduction module.

Note

Valid values: 0 to 100. The sum of the deduction thresholds for all deduction modules must be equal to 100.

20

Title

string

The description of the deduction module.

Unhandled Alerts

SecurityScoreItemList

array<object>

The deduction items of the deduction module.

object

SubRuleType

string

The deduction item of the deduction module. The following list describes the deduction modules and their deduction items:

  • SS_REINFORCE: issue in key feature configuration

    • XPRESS_INSTALL: Security Center is not authorized.

    • REINFORCE_SUSPICIOUS: The antivirus feature is disabled.

    • RANSOMWARE: The anti-ransomware policy is disabled.

    • WEB_LOCK: The web tamper proofing feature is disabled.

    • VIRUS_SCHEDULE_SCAN: The periodic virus scan policy is disabled.

    • IMAGE_REPO_SCAN: The range of container image scan is not configured.

    • IMAGE_SCAN_TASK: The feature of one-click scan of container images for security risks is not performed.

  • SS_ALARM: unhandled alert.

    • ALARM_SERIOUS: An unhandled high-risk alert event is detected.

    • ALARM_SUSPICIOUS: An unhandled medium-risk alarm event is detected.

    • ALARM_REMIND: An unhandled low-risk alarm event is detected.

  • SS_VUL: unfixed vulnerability

    • CMS_UNFIX: An unfixed Web-CMS vulnerability is detected.

    • WIN_UNFIX: An unfixed Windows host vulnerability is detected.

    • CVE_UNFIX: An unfixed Linux host vulnerability is detected.

    • ERM_UNFIX: An unfixed urgent vulnerability is detected.

    • ERM_UNCHECK: An undetected urgent vulnerability exists.

  • SS_HC: baseline risks

    • WEAK_EXPLOIT: Weak passwords are exposed to the Internet.

    • WEAK_PASSWORD: Weak passwords exist.

    • HC_EXPLOIT: The data source may be hacked.

    • HC_OTHER_WARNING: Security configuration risks exist.

  • SS_CLOUD_HC: Cloud platform configuration check item problem.

    • CSPM_CIEM_NOT_PASS: A CIEM check item failed the check.

    • CSPM_RISK_NOT_PASS: A security risk check item failed the check.

    • CSPM_COMPLIANCE_NOT_PASS: A compliance check item failed the check.

  • SS_AK: risk of AccessKey pair leaks

ALARM_SERIOUS

Score

integer

The penalty point of the deduction item.

3

ScoreThreshold

integer

The threshold for the deduction item.

Note

Valid values: 0 to the deduction threshold of the deduction module.

5

Title

string

The description of the deduction item in a deduction module.

Unhandled Urgent Alert Event Exists

EnableStatus

boolean

The status of the custom settings of the security score feature.

  • true: enabled

  • false: disabled

true

SecurityScoreCategoryList

array<object>

The information about the new version of the security score rule.

array<object>

The details of the security score rule.

SecurityRuleList

array<object>

The deduction items of the security score rule.

array<object>

The data of the security score rule type.

RuleType

string

The type of the security score rule.

SS_AI_RISK

Score

integer

The threshold of deduction for the security score rule type.

10

Title

string

The name of the security score rule type.

AI Application Risks

SecurityScoreItemList

array<object>

The sub-deduction items of the security score rule.

object

The sub-deduction item of the security score rule.

SubRuleType

string

The type of the sub-deduction item. Valid values:

  • SS_SAS_WEAK_PW: unhandled weak password risk.

  • SS_SAS_ALARM: unhandled alert in Security Center.

  • SS_SAS_EMG_VUL: unfixed urgent vulnerability.

  • SS_SAS_APP_VUL: unfixed application vulnerability.

  • SS_SAS_SYS_VUL: unfixed system vulnerability.

  • SS_SAS_CLOUD_HC: unhandled cloud security posture management (CSPM) risk.

  • SS_SDDP_DATA_RISK: unhandled data security risk.

  • SS_WAF_API_RISK: unhandled API security risk.

  • SS_DDOS_BH_ASSET: asset on which blackhole filtering is triggered.

  • SS_SAS_AK_LEAK: unhandled AK/SK leak event.

  • SS_PRODUCT_CONNECT: security service not integrated.

  • SS_KEY_CONFIG: key feature configuration.

  • SS_PRODUCT_EXPIRE: service that is about to expire.

  • SS_AI_RISK: AI application risk.

SSI_AI_VUL_RISK

Score

integer

The deduction score for the item.

5

ScoreThreshold

integer

The threshold of the deduction score for the item.

10

Title

string

The name of the sub-deduction item of the security score rule.

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 threshold of deduction for the security score rule type.

30

Title

string

The category of the security score rule.

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

500 ServerError ServerError
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.