Last active
November 24, 2024 14:44
-
-
Save chrisxaustin/e2801e82d00275e591ae4143d005e8a9 to your computer and use it in GitHub Desktop.
List github audit logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
org=foo | |
gh api --paginate -H "Accept: application/vnd.github+json" -X GET -F include=git /orgs/$org/audit-log | jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment