hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14396) audit log should record the operation object
Date Fri, 11 Sep 2015 06:31:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740286#comment-14740286
] 

Ashish Singhi commented on HBASE-14396:
---------------------------------------

[~haitao-tony], I think you missed HBASE-13235. Your expectations are already handled as part
of that.
After checking it, please close this issue.

> audit log should  record the operation object
> ---------------------------------------------
>
>                 Key: HBASE-14396
>                 URL: https://issues.apache.org/jira/browse/HBASE-14396
>             Project: HBase
>          Issue Type: Bug
>            Reporter: sunhaitao
>
> Currently the hbase audit log only records the user and scope,we can't know which table
the user is operating on unless the scope is table.
> It would be better to know what's going on if we record the exact table and column family
we are operating on besides the scope.
>   String logMessage =
>         "Access " + (result.isAllowed() ? "allowed" : "denied") + " for user "
>             + (result.getUser() != null ? result.getUser().getShortName() : "UNKNOWN")
>             + "; reason: " + result.getReason() + "; remote address: "
>             + (remoteAddr != null ? remoteAddr : "") + "; request: " + result.getRequest()
>             + "; context: " + result.toContextString();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message