vserver object-store-server audit event-selector create
Create 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 create
command creates an audit event selector for the object store server bucket. The audit event selector specifies the types of event access and the types of event permission that are to be audited. S3 auditing configurations are enabled at the Vserver level. However, this command must be used to specify the buckets in the Vserver that are enabled for audit. If buckets are added to the Vserver and need to be audited, they must be added with this command.
Parameters
-vserver <Vserver Name>
- Vserver Name-
This parameter specifies the name of the Vserver on which the bucket audit event-selector needs to be created 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 created. The object store bucket must already exist.
-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 displays information on object store server audit event-selector for vserver vs1 and bucket bucket1:
cluster1::> vserver object-store-server audit event-selector create -vserver vs1 -bucket bucket1 -access read-only -permission allow-only