|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiAudit
public class ApiAudit
Models audit events from both CM and CM managed services like HDFS, HBase and Hive. Audits for CM managed services are retrieved from Cloudera Navigator server.
Constructor Summary | |
---|---|
ApiAudit()
|
|
ApiAudit(String service,
String username,
String impersonator,
String command,
String ipAddress,
String resource,
boolean allowed,
Date timestamp,
String operationText,
Map<String,String> serviceValues)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiAudit()
public ApiAudit(String service, String username, String impersonator, String command, String ipAddress, String resource, boolean allowed, Date timestamp, String operationText, Map<String,String> serviceValues)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
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)
public Map<String,String> getServiceValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |