Queries the servers on which an application whitelist policy takes effect.
Operation description
The application whitelist feature is in public preview. You cannot apply for a trial of the feature. If you have applied for a trial or are already using the feature, you can call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeWhiteListEffectiveAssets |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request, automatically obtained by the system. You do not need to specify this parameter. |
27.212.XX.XX |
| Lang |
string |
No |
The language of the request and response content. Default value: zh. Valid values:
|
zh |
| Remark |
string |
No |
The filter condition for querying assets. You can enter an IP address, a public IP address, a private IP address, or an asset name for fuzzy match. |
222.185.XX.XX |
| StrategyId |
integer |
No |
The ID of the policy. Note
You can call the DescribeWhiteListStrategyList operation to obtain the ID. |
8437592 |
| NeedStatistics |
integer |
No |
Whether to return the number of untrusted programs. Valid values:
|
0 |
| PageSize |
integer |
No |
The number of entries per page. Maximum value: 1000. Default value: 20. Note
We recommend that you do not leave this parameter empty. |
20 |
| CurrentPage |
integer |
No |
The page number, starting from 1. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| RequestId |
string |
The request ID. |
A4EB8B1C-1DEC-5E18-BCD0-D1BBB39**** |
| TotalCount |
integer |
The total number of servers on which the policy takes effect. |
100 |
| Count |
integer |
The number of entries returned on the current page. |
10 |
| Assets |
array<object> |
The servers on which the policy takes effect. |
|
|
object |
The server on which the policy takes effect. |
||
| Uuid |
string |
The UUID of the server. |
544900ff-1be7-4655-9719-6311cecb3**** |
| StrategyId |
integer |
The ID of the policy. |
35815387 |
| StrategyName |
string |
The name of the policy. |
test |
| InternetIp |
string |
The public IP address of the server. |
60.205.XX.XX |
| SuspiciousEventCount |
integer |
The number of untrusted programs on the server. |
5 |
| ProcessMethod |
integer |
The exception handling mode. Valid values:
|
1 |
| MachineName |
string |
The name of the server. |
test |
| IntranetIp |
string |
The private IP address of the server. |
192.168.XX.XX |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"PageSize": 20,
"RequestId": "A4EB8B1C-1DEC-5E18-BCD0-D1BBB39****",
"TotalCount": 100,
"Count": 10,
"Assets": [
{
"Uuid": "544900ff-1be7-4655-9719-6311cecb3****",
"StrategyId": 35815387,
"StrategyName": "test",
"InternetIp": "60.205.XX.XX",
"SuspiciousEventCount": 5,
"ProcessMethod": 1,
"MachineName": "test",
"IntranetIp": "192.168.XX.XX"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | -101 | %s %s | |
| 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.