Created
September 11, 2019 14:54
-
-
Save brntbeer/993e0bcc0c17bbfc3772ecca8962c8a5 to your computer and use it in GitHub Desktop.
Query the first 100 audit log events under the Organization in GraphQL
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
query { | |
organization(login:"ORGANIZATION") { | |
auditLog(first: 100, query: "created:>=2019-09-10T21:51:46"){ | |
edges{ | |
node{ | |
... on AuditEntry { | |
action | |
actorLogin | |
createdAt | |
operationType | |
} | |
} | |
cursor | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment