sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Ma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-347) Generate the audit log in Json format
Date Mon, 21 Jul 2014 06:40:38 GMT

     [ 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)

Mime
View raw message