AFAIK there is no similar plugin existing.
A good starting point would be the plugin template [1] which shows several
samples of extension points for plugins.
You can take a look at [2] for an example of how you can extend existing
models - I'm guessing that a good approach would be to add an after_save
callback on the Audit model that sends the audit to wherever you need it.
Good luck!
···
On 08/06/16 12:28, barry wrote:
> I have a Foreman 1.9.0 system using postgres as the back end on RHEL 7.2.
>
>
> A requirement has come up to be able to send the Foreman audit log to
> log file for forwarding to a remote server.
>
>
> I have been looking on the web and haven't been able to find out if this
> is possible.
>
> The ideal output solution would be XML but syslog message format would
> suffice.
>
>
> I could potentially create a plugin to do this and was wondering if this
> has been done previously
>
> and if it had could I be pointed to a repository where the code exists.