Question: does Datahub currently have the audit lo...
# getting-started
s
Question: does Datahub currently have the audit log that tracks user activities such as user A access data 123. Or is the linkedIn team planning to add that?
b
@breezy-forest-52817 ^^^
a
interesting, internally we are implementing this feature. but it is getting a little bit complicated when it comes to "who can see" someone accessed some data.
m
@some-crayon-90964 is your question about audit log of data access or metadata access?
b
Good point, @mammoth-bear-12532. I may have misunderstood @some-crayon-90964’s question. Which one are you asking?
s
Sorry for the confusion, I was asking for both actually, we are currently exploring datahub for different opportunities, so I would like to know more lol. Thanks for answering!
b
I see. Currently we have hooks for logging metadata modification: https://github.com/linkedin/datahub/blob/928444928a1618d0a861cfff371d12951d39a3ab/metadata-restli-resource/src/main/java/com/linkedin/metadata/restli/BaseRestliAuditor.java#L13 and that's how we audit metadata changes internally. For data access auditing, we rely on external systems to provide that info as a metadata aspect.
s
Great! I will read into that. Thanks alot @bumpy-keyboard-50565
Also, for data access auditing, is there a specific handler or data model datahub handles?
b
Currently we have our internal models which most likely won't work as-is for open source. If there's an existing standard we'd be more than happy to create a new model to adhere to.
s
The request is: As a admin, I want to see the user activity, like what data (metadata) he/she viewed/changed, when
b
@some-crayon-90964 could you open a feature request on GitHub so we can track this? Thanks.
a
Our internally has implemented this feature. happy to send RFC to discuss our model
b
Please do. Thanks!