Project

General

Profile

Feature #1213

It should be possible to get email reports of Audit changes.

Added by Bash Shell over 11 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Audit Log
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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).


Related issues

Related to Foreman - Tracker #7585: Mail notifications trackerNew

Associated revisions

Revision bc9558f7 (diff)
Added by Shlomi Zadok almost 8 years ago

fixes #1213 - Get email reports of audit changes

History

#1 Updated by Ohad Levy almost 11 years 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.

#2 Updated by Stephen Benjamin over 8 years ago

#3 Updated by Ohad Levy over 8 years ago

  • Legacy Backlogs Release (now unused) set to 21

#4 Updated by Dominic Cleal over 8 years ago

  • Description updated (diff)
  • Status changed from Feedback to New
  • Legacy Backlogs Release (now unused) deleted (21)

#5 Updated by Shlomi Zadok over 8 years ago

  • Assignee set to Shlomi Zadok

#6 Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1956 added
  • Pull request deleted ()

#7 Updated by Dominic Cleal over 8 years ago

  • Category set to Audit Log

#8 Updated by Dominic Cleal almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 35

#9 Updated by Shlomi Zadok almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF