Audit Log Functionality


I am trying to get specific Audit Logs in to our logging pipeline. Setting that up is not an issue, but I am concerned I may not be able to get the data that we would like.

Looking at the Audit Log in the UI, I can see actions related to protected_branch, however, when I query the GraphQL API, searching for protected_branch actions, I don’t see anything displayed. Does the API have all the audit logs the UI does or is this a permissions issue?

I also looked in to using webhooks to see if that would allow us to see protected_branch information but it looks like you can’t trigger on protected_branch events.

If there is another way I should be going about this, I am happy to hear.

Any help with this would be much appreciated.


Adding a link to another question on the same topic - Auditlog information using GraphQL