PyGithub / PyGithub/PyGithub

Support enterprises/{enterprise}/audit-log endpoint

Open
#3,460 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
1.9k
Avg merge
17m
Merged PRs (30d)
2

Description

Some audit log events are only available at enterprise level, such as user.suspended or unsuspended events.

Would be nice to have this available as well as the org audit log.
They look similar enough yet require different permissions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing organization audit-log support with the related issue #2850, then trace how the GitHub API endpoint and permissions are represented in PyGithub. Done means enterprise audit-log events such as user.suspended and user.unsuspended can be accessed through enterprises/{enterprise}/audit-log with the required distinct permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.