dolphinscheduler: [Bug] [Monitor] Audit Log not working

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

  • Dolphin Scheduler Audit Log in Monitor section does not work.
  • There is no record in t_ds_audit_log.

image

image

What you expected to happen

  • Audit Log feature should function properly.

How to reproduce

  • Already described above.

Anything else

  • Already described above.

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 15 (10 by maintainers)

Most upvoted comments

Hello @WangJPLeo , may I ask whether there is any progress on this issue? Thanks

Sorry for replying so late. Currently, all types of API operation records can be supported, and the operation details have been saved to the database, including all available information such as requests and responses. Data as follows:

display: image detail in db: image

Next, I will improve the content display of resource names and operations, and submit a PR this Thursday or Friday, more design content will be described in the first pr. Finally, a working release is expected by mid-October.

org.apache.dolphinscheduler.api.service.AuditService#addAudit is not used anywhere.

Yes, this feature is bring at SOC2021, the audit data ingest has not been implementation, are you interested to finish this? @EricGao888

Seems no one else has started to work on this. Currently I’m working on the auditing feature of another project. Therefore, I would like to take a look on this issue. Could anyone please assign this to me? Thx~

We have extended the audit outside DS, using the Around aspect to collect the interactive data information of the API. But it is not based on the ‘t_ds_audit_log’ in DS. @EricGao888

org.apache.dolphinscheduler.api.service.AuditService#addAudit is not used anywhere.

Yes, this feature is bring at SOC2021, the audit data ingest has not been implementation, are you interested to finish this? @EricGao888

Thx for the information. Recently I have several other DS issues WIP, therefore, I will be appreciated if someone else could help with this issue. IMHO, this issue is kind of urgent because users can access audit in monitor section and if they find it not working, they probably get confused.

Thank @EricGao888 to bring this up, I add milestone 3.0.0-beta-2 and label help wanted to find someone interested of this issue