Feature #1213
It should be possible to get email reports of Audit changes.
| Status: | Feedback | Start: | 10/07/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Backlog: | No | Difficulity: | ||
| Votes: | 0 |
Description
Something like this is needed, because data kept in Foreman can have wide impact.
It would be better to get an email alert, before looking in the Audit logs.
For example, when a class is added/removed to a host-group, the group owners or site admin should get an email.
Or if a parameter is changed for a host, an email should be sent out.
Not sure if it is better to do this via observers, or in background jobs.
I tried to make a Audit observer + mailer, but it sends emails in the foreground, immediately.
And it sends 1 email for each entry in the Audit model, even if the multiple entries are for the same object (say Host).
History
Updated by Ohad Levy 11 months ago
- Status changed from New to Feedback
auditing happens whenever a db update happens.
if you want to do it in the background, we might do something similar to how we parse puppet reports and send a rake task to summaries it?
you should look at the new auditing stuff coming in 1.0, I think it makes much more sense now.
