Query the details of specified check items.

You can call this operation to query the details of specified check items.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK example code.

Request Parameters

Parameter Type Required Example Description
Action String Yes DescribeCheckWarningDetail

The operation that you want to perform.

Set the value to DescribeCheckWarningDetail.

CheckWarningId Long Yes 1

The ID of the check item alert.

Lang String No zh

The language type. Valid values:

  • zh: Chinese
  • en: English
SourceIp String No 1.2.3.4

The source IP address.

Response parameters

Parameter Type Example Description
Advice String Fix Now

The suggestions to handle the at-risk item.

CheckId Long 1

The ID of the check item.

Description String Password expiring

The additional details about the at-risk item.

Item String Password expiration warning

The name of the check item.

Level String high

The severity of the baseline risk.

Valid values:

  • high: The check item is at a high level of risk and highlighted in red.
  • medium: The check item is at a medium level of risk and highlighted in orange.
  • low: The check item is at a low level of risk and highlighted in gray.
Prompt String Password expiration warning

The warning prompt for at-risk items.

RequestId String 09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F

The ID of the request.

Type String Identity authentication

The type of the check item.

DO NOT TRANSLATE

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeCheckWarningDetail
&CheckWarningId=1
&SourceIp=127.0.0.1
&Lang=zh
&<Common request parameters>

Sample success responses

XML format

<DescribeCheckWarningDetail>
  <Item>Specify permissions on the user permission configuration file</Item>
  <Type>File permissions</Type>
  <Description>Specify permissions on the user permission configuration file</Description>
  <RequestId>9F2361B3-B7C3-4189-8DB5-C6D1F67BC225</RequestId>
  <CheckId>13</CheckId>
  <Prompt/>
  <Level>high</Level>
  <Advice>Run the following five commands
		chown root:root /etc/passwd /etc/shadow /etc/group /etc/gshadow
		chmod 0644 /etc/group  
		chmod 0644 /etc/passwd  
		chmod 0400 /etc/shadow  
	chmod 0400 /etc/gshadow  </Advice>
</DescribeCheckWarningDetail>

JSON format

{
	"Prompt":"",
	"Description":"Specify permissions on the user permission configuration file",
	"Item":"Specify permissions on the user permission configuration file",
	"Type":"File permissions",
	"RequestId":"9F2361B3-B7C3-4189-8DB5-C6D1F67BC225",
	"Advice":"Run the following five commands\r\nchown root:root /etc/passwd /etc/shadow /etc/group /etc/gshadow\r\nchmod 0644 /etc/group  \r\nchmod 0644 /etc/passwd  \r\nchmod 0400 /etc/shadow  \r\nchmod 0400 /etc/gshadow  ",
	"Level":"high",
	"CheckId":13
}

Error codes

For more information about error codes, visit API Error Center.