-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add audit backend basic implementation #44
base: master
Are you sure you want to change the base?
Conversation
Thanks for pr @bn0ir . I have a doubt, why don't use the current file backend log system as an audit log directly instead of developing an alternative audit log system?
|
We use godns as dns for sandboxed untrusted software in current project. I try to implement access logs on top of existing log system, but have some problems:
For this situation to resolve I use nginx as example of similar application. It has two types of logs: error and access. That's why I try to implement audit as custom logger.
There is additional branch with postgresql audit backend, we using this one for our project now: Don't know, will audit log be useful for godns users in general, that's why it's ok if you reject this pull request. If you have any ideas how to implement it right (in more useful for community way) — I can rewrite it. Thanks! |
Thanks for your detailed explanation. I believed the audit log is reasonable and valuable in your case. However, I hope the implementation of Redis backed or PG backed can be more elegant and flexible. Besides, I am not sure the audit log is whether a common requirement for the community. I will leave the PR in open status before we have better ideas. How do you think? |
It's a good idea! |
Audit backend postgresql
For audit purposes sometimes you want to have machine readable audit log.
Implement some basic functions for IDS/IPS system connection.
By default audit log disabled.