JavaScript Object Notification Audit Manager

You can use the JavaScript Object Notification (JSON) audit manager to safely dump incoming request information into a log file.

  • Preferences node: /businesslayer/com/sybase365/mobiliser/framework/service/jsonaudit/JsonAuditManager/
  • ConfigAdmin PID: com.sybase365.mobiliser.framework.service.jsonaudit.JsonAuditManager
You can set these configuration options:
Value Key Description
regex Regex values that mask fields that should not be logged in clear text.
bean Beans that should not be logged at all. You can use this option to skip certain request or response types.
field Any number of keys with value field. Any field with this name is masked before logging.
path Any number of keys with the value path. These are path expressions that mask values from being logged in clear text.
This example describes how to configure the audit manager:
# mask any fields name pin or password   
pin=field   
password=field
            
# mask any request bean named GetPreferencesRequest  
com.sybase365.mobiliser.util.contract.v5_0.prefs.GetPreferencesRequest=bean  
# mask any fields matching this regex  
com\.sybase365\.mobiliser\.money\.contract\.v5_0\.customer\.security\.(Login  
CustomerRequestType|SetCredentialRequest)/credential=regex  
        
com\.sybase365\.mobiliser\.money\.contract\.v5_0\.transaction\.Authentication  
Continue/Credential/(payer|payee)=regex  
com\.sybase365\.mobiliser\.util\.contract\.v5_0\.messaging\.(CreateAttachment  
Request|FindAttachmentsResponse|GetAllAttachmentsResponse)/attachment(s)?/  
content=regex     

# mask any fields matching this path  
com.sybase365.mobiliser.util.contract.v5_0.messaging.TemplateMessageRequest  
Type/message/parameters/value=path