authtrail icon indicating copy to clipboard operation
authtrail copied to clipboard

Ideas

Open ankane opened this issue 6 years ago • 4 comments

Next

  • [x] Add --lockbox option to generator - lockbox_generator branch
  • [x] Add generator for Rails 7 encryption

1.0

  • [ ] Expand to more activities - sign outs, email changes, password changes, password reset requests, locks, unlocks, and confirmations - activity_type branch
  • [ ] Rename model to AuthTrail::Activity (existing users can have it use login_activities table) - authtrail_activity branch

ankane avatar Apr 14 '20 21:04 ankane

Great gem, thanks for it! Do you think it would be in scope to allow callbacks on specific activities (once they are complete, geocoding has been done…)?

Use case: reporting this activity to an external system (analytics, security-analysis…).

renchap avatar Aug 25 '20 08:08 renchap

Hey @renchap, it's an interesting idea. Users can currently customize the track_method for login attempts (for SIEM integration, analytics, etc) and add callbacks to the Geocode job (since it uses Active Job), so I'm a bit hesitant to add more functionality around it.

ankane avatar Aug 26 '20 02:08 ankane

@ankane maybe you could consider allowing a custom class to be used as the tracking model.

DiegoOrejuela avatar Sep 11 '20 15:09 DiegoOrejuela

Hey @DiegoOrejuela, you can use the track_method option for that.

ankane avatar Sep 11 '20 22:09 ankane