Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Proposal: Create/Save Event Hook & Default User Method #6

Closed
dinsley opened this issue Nov 29, 2023 · 1 comment
Closed

Feature Proposal: Create/Save Event Hook & Default User Method #6

dinsley opened this issue Nov 29, 2023 · 1 comment

Comments

@dinsley
Copy link

dinsley commented Nov 29, 2023

Hi there!

I had been looking at doing something similar to this project in order to aggregate IRB history into our observability platform for any executions that might happen within Heroku Dynos via Rails console, so we can have historical record of the activity and a general audit trail incase of incidents. Would you be open to accepting a pull request(s) that would extend this project in the following ways:

  1. Adds a hook so that the history log entry could be sent or processed elsewhere (in our use case this would be New Relic)

  2. Adds the ability to define a user callback method that gets executed to determine the default user to send. We use Heroku and we're looking at using the Heroku CLI to determine the authenticated user as a default.

I'm happy to submit a PR if you think those two pieces would be suitable for the project.

@ankane
Copy link
Owner

ankane commented Nov 29, 2023

Hi @dinsley, thanks for the suggestions. Auditing isn't really a goal of this project, but you may want to check out console1984 and audits1984. Also, you can set the user with Archer.user = ... (docs).

@ankane ankane closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants