protected Event getEventInfo ( RequestDetails theRequestDetails ) { Event event = new Event ( ) ; event . setAction ( mapResourceTypeToSecurityEventAction ( theRequestDetails . getRestOperationType ( ) ) ) ; event . setDateTimeWithMillisPrecision ( new Date ( ) ) ; event . setOutcome ( SecurityEventOutcomeEnum . SUCCESS ) ; // we audit successful return of PHI only, otherwise an // exception is thrown and no resources are returned to be // audited return event ; }
Generates the Event segment of the SecurityEvent based on the incoming request details