ListUserPrivateAccessPolicies
Queries the list of user zero trust policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:ListUserPrivateAccessPolicies |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SaseUserId |
string |
Yes |
The user ID. |
su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d**** |
| CurrentPage |
integer |
Yes |
The current page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page set for the paginated query. Valid values: 1 to 100. |
10 |
| Name |
string |
No |
The name of the private access policy. The name must be 1 to 128 characters in length, and can contain Chinese characters, uppercase letters, lowercase letters, digits, periods (.), underscores (_), and hyphens (-). |
private_access_policy_name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response. |
||
| RequestId |
string |
Id of the request. |
9D852F87-AFB5-51B8-AACD-F7D0EFB8277D |
| TotalNum |
integer |
The total number of authorized access policies. |
20 |
| Polices |
array<object> |
The list of authorized access policies. |
|
|
array<object> |
The private access policy. |
||
| PolicyId |
string |
The ID of the private access policy. |
pa-policy-1b0d0e8b4bcf**** |
| Name |
string |
The name of the private access policy. |
private_access_policy_name |
| Priority |
integer |
The priority of the private access policy. The number 1 indicates the highest priority. |
1 |
| PolicyAction |
string |
The action of the private access policy. Valid values:
Valid values:
|
Allow |
| UserGroupMode |
string |
The user group type of the private access policy. Valid values:
Valid values:
|
Custom |
| MatchedUserGroup |
string |
The user group to which the policy belongs. |
user_group_name |
| DeviceAttributeName |
string |
The associated security baseline. |
device_attribute_name |
| CustomUserAttributes |
array<object> |
The collection of custom user group attributes. Multiple custom user group attributes have an OR relationship and take effect as a union. |
|
|
object |
The custom user group attribute. |
||
| UserGroupType |
string |
Type of the user group. Values:
Valid values:
|
department |
| Relation |
string |
Relation of the user group. Values:
Valid values:
|
Equal |
| Value |
string |
The value of the user group attribute.
|
OU=部门1,OU=SASE钉钉 |
| IdpId |
integer |
The identity provider ID of the user group. This value exists when the custom user group type is department. |
12 |
| TrustedSoftwareIds |
array |
The list of trusted software IDs. |
|
|
string |
The trusted software ID. |
swb-xxxxxxx |
|
| TrustedProcessGroupIds |
array |
The list of trusted process group IDs. |
|
|
string |
The trusted process group ID. |
pg-xdxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "9D852F87-AFB5-51B8-AACD-F7D0EFB8277D",
"TotalNum": 20,
"Polices": [
{
"PolicyId": "pa-policy-1b0d0e8b4bcf****",
"Name": "private_access_policy_name",
"Priority": 1,
"PolicyAction": "Allow",
"UserGroupMode": "Custom",
"MatchedUserGroup": "user_group_name",
"DeviceAttributeName": "device_attribute_name",
"CustomUserAttributes": [
{
"UserGroupType": "department",
"Relation": "Equal",
"Value": "OU=部门1,OU=SASE钉钉",
"IdpId": 12
}
],
"TrustedSoftwareIds": [
"swb-xxxxxxx"
],
"TrustedProcessGroupIds": [
"pg-xdxxxxxx"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.