ONTAP 9.15.1 commands

event role-config modify

Modify role-based event configuration

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The event role-config modify command updates the EMS role-based configuration of an access control role.

Parameters

-access-control-role <text> - Access Control Role (privilege: advanced)

Use this mandatory parameter to specify the access control role for which the EMS role-based configuration needs to be modified.

[-filter-name <text>] - Event Filter Name (privilege: advanced)

Use this parameter to specify the new event filter name that needs to be assigned to the access control role.

[-limit-access-to-global-configs {true|false}] - Limit Access to Global Configs (privilege: advanced)

Use this parameter to change the limited access to global EMS configurations available with the "event config" commands.

Examples

The following examples show the modification of 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

cluster1::> event role-config modify -access-control-role storage-admin
             -filter-name storage-admin-events2

cluster1::> event role-config show
Access Control Role Filter Name           Limit Access to Global Configs
------------------- --------------------- ------------------------------
storage-admin       storage-admin-events2 true
cluster1::> event role-config modify -access-control-role storage-admin
             -filter-name storage-admin-events -limit-access-to-global-configs false

cluster1::> event role-config show
Access Control Role Filter Name           Limit Access to Global Configs
------------------- --------------------- ------------------------------
storage-admin       storage-admin-events  false
cluster1::> event role-config modify -access-control-role storage-admin
             -limit-access-to-global-configs true

cluster1::> event role-config show
Access Control Role Filter Name           Limit Access to Global Configs
------------------- --------------------- ------------------------------
storage-admin       storage-admin-events  true
Top of Page