event role-config show
Display the list of existing role-based event configurations
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The event role-config show
command displays the EMS role-based configurations. It shows the list of access control roles with the event filters that are assigned to each role and the indication whether the access control role has limited access to global EMS configurations available with the "event config" commands.
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-access-control-role <text>]
- Access Control Role (privilege: advanced)-
Use this parameter to only display the EMS role-based configurations assigned to this role.
[-filter-name <text>]
- Event Filter Name (privilege: advanced)-
Use this parameter to display all the access control roles that this filter is assigned to.
[-limit-access-to-global-configs {true|false}]
- Limit Access to Global Configs (privilege: advanced)-
Use this parameter to display all the access control roles that have this value for limited access to global EMS configurations.
Examples
The following example displays the role-based event configurations:
cluster1::> event role-config show Access Control Role Filter Name Limit Access to Global Configs ------------------- --------------------- ------------------------------ storage-admin storage-admin-events true storage-admin2 storage-admin-events false The following example displays the role-based event config for a specific access control role: cluster1::*> event role-config show -access-control-role storage-admin2 Access Control Role: storage-admin2 Event Filter Name: storage-admin-events Limit Access to Global Configs: false The following example displays all the access control roles that a specific filter is assigned to: cluster1::*> event role-config show -filter-name storage-admin-events Access Control Role Filter Name Limit Access to Global Configs ------------------- --------------------- ------------------------------ storage-admin storage-admin-events true storage-admin2 storage-admin-events false 2 entries were displayed. The following example displays all the access control roles that have a specific value for limited access to EMS global configurations: cluster1::*> event role-config show -limit-access-to-global-configs true Access Control Role Filter Name Limit Access to Global Configs ------------------- --------------------- ------------------------------ storage-admin storage-admin-events true