Skip to main content

vserver object-store-server audit event-selector modify

Contributors
Suggest changes

Modify an object store server audit event-selector

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

Description

The vserver object-store-server audit event-selector modify command modifies an audit event-selector for the object store server bucket.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the name of the Vserver on which the bucket audit event-selector needs to be modified for the object store server bucket.

-bucket <TextNoCase> - Object Store Server Bucket Name

This parameter specifies the name of the object store server bucket for which the audit event-selector needs to be modified.

[-access {read-only|write-only|all}] - Access type for audit events

Use this parameter to specify which type of event access is being audited. Possible values are: read-only, write-only or all.

[-permission {allow-only|deny-only|all}] - Permission type for audit events

Use this parameter to specify which type of event permission is being audited. Possible value are: allow-only, deny-olnly or all.

Examples

The following example modified an object store server audit event-selector for Vserver vs1 and bucket1 with read-only access to write-only access:

cluster1::> vserver object-store-server audit event-selector modify
              -vserver vs1 -bucket bucket1 -access write-only