ONTAP 9.15.1 commands

event filter update-access-control-role

Update access-control-role of an event filter

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

Description

The event filter update-access-control-role command is used to update the 'access-control-role' field of an existing event filter.

Parameters

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

Specify the event filter name with this mandatory parameter.

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

Specify the new access control role with this mandatory parameter.

Examples

This example shows how to update the access control role of an event filter named filter1:

cluster1::*> event filter show-summary
Filter Name         Rule Count  System-Defined Access Control Role
------------------  ----------  -------------- -------------------
default-trap-events
                    4           true           -
filter1             2           false          -
important-events    3           true           -
no-info-debug-events
                    2           true           -
4 entries were displayed.

cluster1::*> event filter update-access-control-role -filter-name filter1 -new-access-control-role new_role

cluster1::*> event filter show-summary
Filter Name         Rule Count  System-Defined Access Control Role
------------------  ----------  -------------- -------------------
default-trap-events
                    4           true           -
filter1             2           false          new_role
important-events    3           true           -
no-info-debug-events
                    2           true           -
4 entries were displayed.
Top of Page