You can call this operation to query the list of servers that have tamper protection enabled.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeWebLockBindList

The operation that you want to perform.

Set the value to DescribeWebLockBindList.

SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
Remark String No 192.XX.XX.1

The string that allows you to search servers by name or IP address.

Status String No on

The protection status of the servers to be queried. Valid values:

  • on: tamper protection enabled.
  • off: tamper protection disabled.
CurrentPage Integer No 1

The number of the page to return. Pages start from page 1. Default value: 1.

PageSize Integer No 20

The number of entries to return per page. Default value: 20.

Response parameters

Parameter Type Example Description
BindList Array

The list of servers that have tamper protection enabled.

DirCount String 5

The number of protected directories.

InstanceName String testName

The name of the server.

InternetIp String 54.XX.XX.100

The Internet IP address of the server.

IntranetIp String 192.XX.XX.1

The private IP address of the server.

Os String Linux

The operating system that the server runs.

Percent Integer 99

The starting progress percentage of tamper protection. Valid values: 0% to 100%.

ServiceCode String 2001

Error codes. Valid values:

  • 2001: The error code returned because the Security Center agent is not connected to Alibaba Cloud.
  • 9999: The error code returned because the connection is timed out.
ServiceDetail String client offline

Exception details of tamper protection. Valid values:

  • client offline: The Security Center agent is not connected to Alibaba Cloud.
  • timeout: The connection is timed out.
ServiceStatus String stop

The state of tamper protection on the server. Valid values:

  • stop: Tamper protection is disabled.
  • initializing: Tamper protection is being enabled.
  • exception: Tamper protection is not running as expected.
  • running: Tamper protection is running.
  • closing: Tamper protection is being disabled.
Status String on

The protection status of the server. Valid values:

  • on: tamper protection enabled.
  • off: tamper protection disabled.
Uuid String inet-12345****

The UUID of the server.

CurrentPage Integer 1

The page number of the returned page. Pages start from page 1. Default value: 1.

PageSize Integer 20

The number of entries returned on each page. Default value: 20.

RequestId String D9354C1A-D709-4873-9AAE-41513327B247

The ID of the request.

TotalCount Integer 2

The total number of servers that have tamper protection enabled.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeWebLockBindList
&<Common request parameters>

Sample success responses

XML format

<DescribeWebLockBindListRespone>
      <TotalCount>2</TotalCount>
      <RequestId>D9354C1A-D709-4873-9AAE-41513327B247</RequestId>
      <PageSize>20</PageSize>
      <CurrentPage>1</CurrentPage>
      <BindList>
            <InstanceName>testName</InstanceName>
            <Status>on</Status>
            <Uuid>inet-12345****</Uuid>
            <ServiceCode>2001</ServiceCode>
            <InternetIp>54.XX.XX.100</InternetIp>
            <Os>Linux</Os>
            <Percent>99</Percent>
            <ServiceStatus>stop</ServiceStatus>
            <DirCount>5</DirCount>
            <ServiceDetail>client offline</ServiceDetail>
            <IntranetIp>192.XX.XX.1</IntranetIp>
      </BindList>
</DescribeWebLockBindListRespone>

JSON format

{
	"TotalCount": "2",
	"RequestId": "D9354C1A-D709-4873-9AAE-41513327B247",
	"PageSize": "20",
	"CurrentPage": "1",
	"BindList": [{
		"InstanceName": "testName",
		"Status": "on",
		"Uuid": "inet-12345****",
		"ServiceCode": "2001",
		"InternetIp": "54.XX.XX.100",
		"Os": "Linux",
		"Percent": "99",
		"ServiceStatus": "stop",
		"DirCount": "5",
		"ServiceDetail": "client offline",
		"IntranetIp": "192.XX.XX.1"
	}]
}

Error codes

For a list of error codes, visit the API Error Center.