-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support for Audit log REST API #1478
Comments
@Brend-Smits Thanks for reaching out! We'd love to have support for the Audit Log API in Octokit.rb. At the moment, these kinds of efforts are community-driven, so if you wanted to contribute the new code, that would be wonderful. I'd be very happy to review and support. |
Thanks for the swift reply @timrogers. |
Sounds good! Fortunately, this library is pretty light so you will have to write very minimal amounts of code. I'm here if you need any help. |
So far my experience with adding support for this endpoint has been great. It's actually really easy to add, good work on the architecture of this library! |
Hmmm @timrogers, seems that after upgrading to version 5.5, I get undefined method errors when calling this endpoint. |
I think I know what we’ve missed. I’ll take a look tomorrow and will get back to you. |
I've tried it locally and it's working for me. Can you try running Here's my
|
You're right @timrogers, it seems like my project had version 5.1 cached or something. Sorry about that! Thanks for the help. |
Hi all,
Thanks for creating and maintaining this awesome library! I'm working on an open-source replacement for GitHub's dormant user detection. For this project, I need to read data from the audit log API to be able to determine if a user is active or not.
It looks like octokit.rb does not currently support this REST API. Could support be added for the audit log API?
If needed, I can look into contributing this feature.
Relevant documentation: https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#using-the-audit-log-api
and
https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise#querying-the-audit-log-rest-api
The text was updated successfully, but these errors were encountered: