public class ApiAudit extends Object
Constructor and Description |
---|
ApiAudit() |
ApiAudit(String service,
String username,
String impersonator,
String command,
String ipAddress,
String resource,
boolean allowed,
Date timestamp,
String operationText,
Map<String,String> serviceValues) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
getAllowed()
Whether the operation was allowed or denied by the authorization system.
|
String |
getCommand()
The command/operation that was requested.
|
String |
getImpersonator()
The impersonating user (or the proxy user) who submitted this operation.
|
String |
getIpAddress()
The IP address that the client connected from.
|
String |
getOperationText()
The full text of the requested operation.
|
String |
getResource()
The resource that the operation was performed on.
|
String |
getService()
Service name associated with this audit.
|
Map<String,String> |
getServiceValues() |
Date |
getTimestamp()
When the audit event was captured.
|
String |
getUsername()
The user who performed this operation.
|
int |
hashCode() |
void |
setAllowed(boolean allowed) |
void |
setCommand(String command) |
void |
setImpersonator(String impersonator) |
void |
setIpAddress(String ipAddress) |
void |
setOperationText(String operationText) |
void |
setResource(String resource) |
void |
setService(String service) |
void |
setTimestamp(Date timestamp) |
void |
setUsername(String userName) |
String |
toString() |
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public String getService()
public void setService(String service)
public String getUsername()
public void setUsername(String userName)
public String getImpersonator()
public void setImpersonator(String impersonator)
public String getIpAddress()
public void setIpAddress(String ipAddress)
public String getCommand()
public void setCommand(String command)
public String getResource()
public void setResource(String resource)
public boolean getAllowed()
public void setAllowed(boolean allowed)
public String getOperationText()
Available since API v5.
public void setOperationText(String operationText)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.