Open valerauko opened 3 years ago
For the enterprise context where this gem is probably often used I think it's essential to have some auditable log of provisioning requests.
How about a configurable (default empty) logger that, if set, is called with the Request object every SCIM API call?
Something like config.audit_logger = Logger.new and a before_action calling audit_logger's info with the controller's request object.
config.audit_logger = Logger.new
before_action
audit_logger
info
request
For the enterprise context where this gem is probably often used I think it's essential to have some auditable log of provisioning requests.
How about a configurable (default empty) logger that, if set, is called with the Request object every SCIM API call?
Something like
config.audit_logger = Logger.new
and abefore_action
callingaudit_logger
'sinfo
with the controller'srequest
object.