Skip to content

ForgeRock/Audit-Eventarc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image alt text

Eventarc + ForgeRock Common Audit (CAUD)

This integration will send events from ForgeRock to Eventarc

(If you are not familiar with the CAUD it is a framework for audit event handlers that are plugged in to our individual products. The handlers record events, logging them for example into files, relational databases, syslog, and now thanks to this repository Eventarc).

The instructions for configuring the CAUD vary slightly from product to product; in the interest of simplicity the below is for openidm running on Ubuntu.

Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.

Information on creating channels and triggers in Eventarc can be found here.

Steps to configure on openidm machine
  • stop openidm if it is running
  • download the forgerock-audit-eventarc-1.0.0.jar from the releases tab
  • copy the forgerock-audit-eventarc-1.0.0.jar file that you just used maven to build to your openidm/bundle directory
  • add to your openidm/conf/audit.json the entry "org.forgerock.audit.eventarc.EventarcAuditEventHandler" to the existing "availableAuditEventHandlers" field
  • restart openidm
Steps to configure in openidm UI

image alt text

  • from the pull down next to 'add event handler' select the EventArc one

image alt text

  • click on the button 'add event handler'; in the ensuing dialog, give it a unique name and all the audit events you want sent to EventArc and toggle the 'enabled' radio button

image alt text

  • note the 'pending changes' banner, so scroll to the bottom and click 'Save'

image alt text

Steps to verify the above is working

  • to verify that your messages are being sent to EventArc, log in or log out of openidm, and then check the latest transaction in the EventArc dashboard

image alt text