You are here: Security > Rule and data change auditing > Security Event Configuration > Adding a custom security event

Adding a custom security event

The Security Event Configuration landing page might not have all the events you want to monitor. However, you can define custom security events that are specific for your application in order to monitor them in the logs.

  1. Select Records > Technical > Activity.
  2. Open the activity that processes the action or event you want to monitor.
  3. Click Check out.
  4. On the Steps tab do one of the following actions:
  5. In the Method Parameters section, enter the following call to the API: tools.getSecEventLogger().logCustomEvent(PublicAPI tools, String eventType, String outcome, String message, Map<String, String> customFlds), where:
  6. Click Save as.