All Products
Search
Document Center

Security Center:DescribeCheckWarnings

Last Updated:Jun 15, 2026

Queries check item information for a specified risk item and a specified server.

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:DescribeCheckWarnings

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The IP address of the access source.

1.2.XX.XX

Lang

string

No

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

  • zh: Chinese

  • en: English.

zh

Uuid

string

Yes

The ID of the server on which the baseline check is performed.

Note

To query check item information for a specified risk item and a specified server, you must provide the ID of the server on which the baseline check is performed. You can call the DescribeWarningMachines operation to obtain this ID.

d42f938c-d962-48a0-90f9-05****

RiskId

integer

No

The risk item ID. This parameter is required.

Note

To query check item information for a specified risk item and a specified server, you must provide the risk item ID. You can call the DescribeCheckWarningSummary operation to obtain this ID.

10354

PageSize

integer

No

The number of check items to display on each page in a paged query. Default value: 20, which indicates that 20 check items are displayed on each page.

20

CurrentPage

integer

No

The page number of the page to return. Default value: 1, which indicates that the first page is returned.

1

CheckId

integer

No

The ID of the check item.

2546

CheckType

string

No

The type of the check item. Valid values:

  • hc.check.type.identity_auth: identity authentication

  • hc.check.type.access_control: access control

  • hc.check.type.network_service: network and service

  • hc.check.type.service_conf: service configuration

  • hc.check.type.file_rights: file permission

  • hc.check.type.security_audit: security audit

  • hc.check.type.attack_defense: intrusion prevention

  • hc.check.type.others: others.

hc.check.type.attack_defense

RiskStatus

integer

No

The risk detection status. Valid values:

  • 1: failed

  • 2: verifying

  • 3: passed

  • 5: expired

  • 6: ignored.

1

ContainerName

string

No

The container name.

/redis

ResourceDirectoryAccountId

integer

No

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

Note

You can invoke the DescribeMonitorAccounts operation to obtain this parameter.

1232428423234****

Response elements

Element

Type

Description

Example

object

CurrentPage

integer

The page number of the current page in a paged query.

1

PageSize

integer

The number of check items displayed on each page in a paged query. Default value: 20, which indicates that 20 check items are displayed on each page.

20

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.

0DFCADBA-7065-42DA-AF17-6868B9C2A8CF

TotalCount

integer

The total number of check items returned.

100

Count

integer

The number of check items displayed on the current page.

10

CheckWarnings

array<object>

The details of the check items returned.

object

The details of a check item.

Status

integer

The status of the check item. Valid values:

  • 1: The baseline check failed.

  • 2: The baseline fix is being verified.

  • 3: The baseline check passed.

  • 5: The baseline check status has expired.

  • 6: The baseline check item has been ignored.

1

CheckWarningId

integer

The alert data ID of the baseline check.

212251441

Type

string

The type of the check item.

hc.check.type.identity_auth

Uuid

string

The ID of the server on which the baseline check is performed.

d42f938c-d962-48a0-90f9-****

ContainerName

string

The container name.

/svn-host

ContainerId

string

The container ID.

8de456b00ff0a2009ee8ef7fc59fd0457fa44f20b8282af3e79c2a0e2492****

Item

string

The name of the check item.

passwordExpire

CheckId

integer

The ID of the check item.

2546

Level

string

The risk level of the baseline check risk item. Valid values:

  • high: high

  • medium: medium

  • low: low.

high

Reason

string

The remarks.

ignore

FixStatus

integer

Indicates whether the fix is supported. Valid values:

  • 0: not supported

  • 1: supported.

0

ExecErrorMessage

string

The error message during the alert data check.

ScriptKilledOfCpuHigh

LastHandleTime

integer

The timestamp of the most recent handling of the check item risk on the server. Unit: milliseconds.

1704937755000

Examples

Success response

JSON format

{
  "CurrentPage": 1,
  "PageSize": 20,
  "RequestId": "0DFCADBA-7065-42DA-AF17-6868B9C2A8CF",
  "TotalCount": 100,
  "Count": 10,
  "CheckWarnings": [
    {
      "Status": 1,
      "CheckWarningId": 212251441,
      "Type": "hc.check.type.identity_auth",
      "Uuid": "d42f938c-d962-48a0-90f9-****",
      "ContainerName": "/svn-host",
      "ContainerId": "8de456b00ff0a2009ee8ef7fc59fd0457fa44f20b8282af3e79c2a0e2492****",
      "Item": "passwordExpire",
      "CheckId": 2546,
      "Level": "high",
      "Reason": "ignore",
      "FixStatus": 0,
      "ExecErrorMessage": "ScriptKilledOfCpuHigh",
      "LastHandleTime": 1704937755000
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 UnknownError UnknownError
400 ConsoleError The error message is %s %s.
400 RdCheckNoPermission Resource directory account verification has no permission.
500 RdCheckInnerError Resource directory account service internal error.
500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.