All Products
Search
Document Center

Security Center:DescribeWebLockConfigList

Last Updated:Aug 28, 2026

Queries the web tamper proofing configurations of 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:DescribeWebLockConfigList

get

*WebLockConfig

acs:yundun-sas:{#regionId}:{#accountId}:weblockconfig/{#Uuid}

None None

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

The source IP address of the request.

123.24.XX.XX

Lang

string

No

The language of the content in the request and response. Valid values:

  • zh: Chinese

  • en: English

zh

Uuid

string

Yes

The UUID of the server.

Note

You can call the DescribeCloudCenterInstances operation to query the UUID.

inet-1234567****

Id

integer

No

The configuration ID of the protected directory.

1404656

Response elements

Element

Type

Description

Example

object

TotalCount

integer

The total number of web tamper proofing-protected directories on the server.

1

RequestId

string

The request ID.

D9354C1A-D709-4873-9AAE-41513327B247

ConfigList

array<object>

The web tamper proofing configurations.

object

The web tamper proofing configuration.

ExclusiveDir

string

The directory excluded from web tamper proofing.

Note

If the value of Mode is blacklist, this parameter is returned.

/home/admin/tomcat

Uuid

string

The UUID of the server with web tamper proofing enabled.

80d2f7d6-31a9-4d7f-8ff4-7ecc42f8****

InclusiveFileType

string

The file type protected by web tamper proofing.

Note

If the value of Mode is whitelist, this parameter is returned.

jpg

DefenceMode

string

The prevention mode. Valid values:

  • block: Interception Mode

  • audit: Alert Mode

audit

ExclusiveFileType

string

The file type excluded from web tamper proofing.

Note

If the value of Mode is blacklist, this parameter is returned.

*.jpg

InclusiveFile

string

The file protected by web tamper proofing.

Note

If the value of Mode is whitelist, this parameter is returned.

/home/admin/tomcat/aaa.log

Mode

string

The protection mode of web tamper proofing. Valid values:

  • whitelist: Protects only the specified directories and file types.

  • blacklist: Protects all subdirectories, file types, and files in the protected directory except the specified ones.

blacklist

Dir

string

The directory protected by web tamper proofing.

/www/tmp/

ExclusiveFile

string

The file excluded from web tamper proofing.

Note

If the value of Mode is blacklist, this parameter is returned.

/home/admin/tomcat/localhost.log

Id

string

The configuration ID of the protected directory.

11

LocalBackupDir

string

The local backup path for the protected directory.

/usr/local/backup

Examples

Success response

JSON format

{
  "TotalCount": 1,
  "RequestId": "D9354C1A-D709-4873-9AAE-41513327B247",
  "ConfigList": [
    {
      "ExclusiveDir": "/home/admin/tomcat",
      "Uuid": "80d2f7d6-31a9-4d7f-8ff4-7ecc42f8****",
      "InclusiveFileType": "jpg",
      "DefenceMode": "audit",
      "ExclusiveFileType": "*.jpg",
      "InclusiveFile": "/home/admin/tomcat/aaa.log",
      "Mode": "blacklist",
      "Dir": "/www/tmp/",
      "ExclusiveFile": "/home/admin/tomcat/localhost.log",
      "Id": "11",
      "LocalBackupDir": "/usr/local/backup"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError The request processing has failed due to some unknown error.
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.