You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Colin Ma (JIRA)" <ji...@apache.org> on 2014/07/21 08:40:38 UTC
[jira] [Updated] (SENTRY-347) Generate the audit log in Json format
[ https://issues.apache.org/jira/browse/SENTRY-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Ma updated SENTRY-347:
----------------------------
Attachment: sentry-347.v1.patch
The patch is not the final patch. The following fields in the audit log are missing:
1. impersonator: I'm wondering how to get this field, do you have any idea?
2. ipAddress: From the thrift server, I can get the client IP if I extends SentryPolicyService.Processor, but I didn’t find a way to pass the IP to the method. Does this field must be included in the audit log?
3. objectType: For this field, currently, I set the value as “PRINCIPAL” for every command(eg, "create role....", "grant role....." etc). Is it ok for this field or there is a map between command and this field.
Any comments are welcome.
> Generate the audit log in Json format
> --------------------------------------
>
> Key: SENTRY-347
> URL: https://issues.apache.org/jira/browse/SENTRY-347
> Project: Sentry
> Issue Type: Sub-task
> Affects Versions: 1.4.0
> Reporter: Colin Ma
> Assignee: Colin Ma
> Attachments: sentry-347.v1.patch
>
>
> The audit log should be in json format for other component to read.
--
This message was sent by Atlassian JIRA
(v6.2#6252)