You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2017/11/29 18:15:01 UTC
[jira] [Resolved] (SENTRY-379) Db entities are not captured when
firing failurehook for SentryAccessDeniedException
[ 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)