Get List of VM/PC Permissions
Use this API to get the list of VM/PC permissions, notifications, and security details for the specified user role.
Input ParametersInput Parameters
|
Parameter |
Mandatory/Optional |
Data Type |
Description |
|---|---|---|---|
|
userRole |
Mandatory |
String |
Specify the VM/PC role for which you want the permissions listed. The values are case sensitive. |
The API request and response are in JSON format. Some characters, such as backslash (\) and double quotes (") in passwords or other fields may appear escaped in raw JSON responses. It is recommended to alway as parse responses using standard JSON parser to retrieve the correct values.
Sample - Get List of VM/PC permissions for specified roleSample - Get List of VM/PC permissions for specified role
API request
curl --location '<qualys_base_url>/adminui/config-management/v1/users/assignable-permissions-notifications?userRole=scanner' \
--header 'Authorization: Bearer <JWT_Token>
Response
{
"response": [
{
"general": {
"external_id": true
},
"locale": {
"language": {
"English": "en",
"Japanese": "jp"
}
},
"userRole": {
"access_gui": true,
"access_api": true,
"auditor_enabled": true,
"kbuser_enabled": false
},
"permissions": {
"sca_only": false,
"fo_can_manage_user": false,
"edit_external_id": true
},
"notifications": [],
"security": {
"vip_available": true,
"enable_saml": true,
"password_never_expire": true,
"session_timeout": true,
"user_vip_enforce": false
}
}
]
}