Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Include Page
spaceKeyGrouper
pageTitleNavigation

User Auditing

Groups are often used to control access to resources or to target communications. Group attributes, memberships and privileges may change at any time with potentially important consequences, so simply knowing how a group last changed is insufficient to investigate why, for example, an individual lost access to a resource.  Grouper 1.5 and above provides an audit log of high level user actions which allows administrators to understand the history of groups, group types and stems. Audit entries may be queried by object or the subject responsible for a change.

High level actions are audited.  For example if a group is deleted, all of the related memberships and privileges for that group are deleted as well.  But there will only be one audit entry for the group delete. 

Panel

Note that User Auditing, described here, is different from point in time auditing which provides the ability to query the state of Grouper in the past.  Point in time auditing allows you to determine all the direct and indirect members that a group had at any point in time, or to determine all the permissions a person had.

For user auditing, the following fields are stored for each user audit entry:

  • Audit type
  • Audit action
  • Act as member id (if the caller is acting as someone else)
  • Context id (associates transactions in the registry)
  • Created on timestamp
  • Description (paragraph) of change
  • Env name (configured in grouper.properties)
  • Grouper engine (GSH, UI, WS, etc)
  • Grouper version
  • Logged in member id
  • Server host
  • User IP address
  • Query count (counts queries in one action for performance profiling)
  • Server user name

For each action various additional data is stored, e.g. if a group was created, then the group id, group name, etc are stored

You can import/export auditing data, but this is a different file than the normal Grouper export file, with the same command.  You will see two different XML files.

More information on user auditing, including gsh commands. is available.

The user audit log can be queried using the Grouper UI. Slides illustrating the UI functionality are also available.

Here is a movie(xvid codec required) demoing user auditing.  Note this is from April 2009 and might be a little dated.