[ 
https://issues.apache.org/jira/browse/SENTRY-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li resolved SENTRY-379.
--------------------------
    Resolution: Fixed

test shows the DB name is captured when firing failurehook. 

> 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