

Generating audit logs is only half the job, so Ozone also provides AuditParser - a sqllite based command line utility to parse/query audit logs with predefined templates(ex. Similarly, the audit of WRITE operations can be controlled using. To enable/disable audit of READ operations, set to NEUTRAL or DENY respectively. Ozone audit leverages the Marker feature which enables user to selectively audit only READ or WRITE operations by a simple config change without restarting the service(s). Ozone provides ability to audit all read & write operations to OM, SCM and Datanodes. Since it is a pluggable module clients can also implement their own custom authorization policy and configure it using. To configure a more fine grained policy one may configure Ranger plugin for Ozone. Clearly it is not meant for production environments. Default implementation allows every request. Ozone provides a pluggable API to control authorization of all client related operations. This is possible because both of them trust SCM signed certificates.


Unlike delegation tokens there is no client API to request block tokens. Block tokens are created by OM (OzoneManager) when a client request involves interaction with DataNodes such as read/write Ozone keys. Block Tokensīlock tokens are similar to delegation tokens in sense that they are signed by OzoneManager. Clients can use delegation token to establish connection with OzoneManager and perform any file system/object store related operations like, listing the objects in a bucket or creating a volume etc. Token operations like get, renew and cancel can only be performed over an Kerberos authenticated connection.

Main motivation for using tokens inside Ozone is to prevent the unauthorized access while keeping the protocol lightweight and without sharing secret over the wire. Tokens are widely used in Hadoop to achieve lightweight authentication without compromising on security. So one way to setup identities for all the daemons and clients is to create kerberos keytabs and configure it like any other service in hadoop. Similar to hadoop, Ozone allows kerberos-based authentication. Specifically it can be configured for following security features: Starting with badlands release (ozone-0.4.0-alpha) ozone cluster can be secured against external threats.
