Skip to main content
Command reference

security audit modify

Suggest changes

Set administrative audit logging settings

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

Description

The security audit modify command modifies the following audit-logging settings for the management interface:

  • Whether get requests for the CLI are audited

  • Whether get requests for the ONTAP API (ONTAPI) are audited

Parameters

[-cliget {on|off}] - Enable Auditing of CLI Get Operations

This specifies whether get requests for the CLI are audited. The default setting is off .

[-httpget {on|off}] - Enable Auditing of HTTP Get Operations

This specifies whether get requests for the web (HTTP) interface are audited. The default setting is off .

[-ontapiget {on|off}] - Enable Auditing of Data ONTAP API Get Operations

This specifies whether get requests for the ONTAP API (ONTAPI) interface are audited. The default setting is off .

[-cluster-peer {on|off}] - Enable Auditing of Cross Cluster Operations (privilege: advanced)

This specifies whether cross cluster operations are audited. The default setting is on .

Examples

The following example turns off auditing of get requests for the CLI interface:

cluster1::> security audit modify -cliget off