Queries the web tamper proofing configurations of a specified server.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeWebLockConfigList |
get |
*WebLockConfig
|
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 |
| 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:
|
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:
|
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.