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

Na Li commented on SENTRY-379:
------------------------------

[~spena] [~kkalyan] I believe this is fixed. And test 
TestDbSentryOnFailureHookLoading checks if the DB name and table name are set 
in failurehook for SentryAccessDeniedException. If you agree, I can resolve 
this issue.

> Db entities are not captured when firing failurehook for 
> SentryAccessDeniedException
> ------------------------------------------------------------------------------------
>
>                 Key: SENTRY-379
>                 URL: https://issues.apache.org/jira/browse/SENTRY-379
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> {noformat}
>  SentryOnFailureHookContext hookContext = new SentryOnFailureHookContextImpl(
>             queryPlan.getQueryString(), new HashSet<ReadEntity>(),
>             new HashSet<WriteEntity>(), stmtOperation,
>             null, null, null, null, subject.getName(), ipAddress,
>             new AuthorizationException(e), conf);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to