Reviewing your security log
You can review the security log for your user account to better understand actions you've performed and actions others have performed that involve you.
The security log lists all actions performed within the last 90 days.
-
In the upper-right corner of any page, click your profile photo, then click Settings.
-
In the user settings sidebar, click Security log.
The log lists the following information about each action:
- Which repository an action was performed in
- The user that performed the action
- The action that was performed
- Which country the action took place in
- The date and time the action occurred
Note that you cannot search for entries using text. You can, however, construct search queries using a variety of filters. Many operators used when querying the log, such as -, >, or <, match the same format as searching across GitHub. For more information, see "Searching on GitHub."
Use the operation qualifier to limit actions to specific types of operations. For example:
operation:access finds all events where a resource was accessed.
operation:authentication finds all events where an authentication event was performed.
operation:create finds all events where a resource was created.
operation:modify finds all events where an existing resource was modified.
operation:remove finds all events where an existing resource was removed.
operation:restore finds all events where an existing resource was restored.
operation:transfer finds all events where an existing resource was transferred.
Use the repo qualifier to limit actions to a specific repository. For example:
repo:my-org/our-repo finds all events that occurred for the our-repo repository in the my-org organization.
repo:my-org/our-repo repo:my-org/another-repo finds all events that occurred for both the our-repo and another-repo repositories in the my-org organization.
-repo:my-org/not-this-repo excludes all events that occurred for the not-this-repo repository in the my-org organization.
Note that you must include the account name within the repo qualifier; searching for just repo:our-repo will not work.
The actor qualifier can scope events based on who performed the action. For example:
actor:octocat finds all events performed by octocat.
actor:octocat actor:hubot finds all events performed by both octocat and hubot.
-actor:hubot excludes all events performed by hubot.
Note that you can only use a GitHub username, not an individual's real name.
| Category Name |
Description |
account_recovery_token |
Contains all activities related to adding a recovery token. |
billing |
Contains all activities related to your billing information. |
marketplace_agreement_signature |
Contains all activities related to signing the GitHub Marketplace Developer Agreement. |
marketplace_listing |
Contains all activities related to listing apps in GitHub Marketplace. |
oauth_access |
Contains all activities related to OAuth Apps you've connected with. |
payment_method |
Contains all activities related to paying for your GitHub subscription. |
profile_picture |
Contains all activities related to your profile picture. |
project |
Contains all activities related to project boards. |
public_key |
Contains all activities related to your public SSH keys. |
repo |
Contains all activities related to the repositories you own. |
sponsors |
Contains all events related to GitHub Sponsors and sponsor buttons (see "About GitHub Sponsors" and "Displaying a sponsor button in your repository") |
two_factor_authentication |
Contains all activities related to two-factor authentication. |
user |
Contains all activities related to your account. |
A description of the events within these categories is listed below.
| Action |
Description |
| create |
Triggered when you sign the GitHub Marketplace Developer Agreement. |
| Action |
Description |
| approve |
Triggered when your listing is approved for inclusion in GitHub Marketplace. |
| create |
Triggered when you create a listing for your app in GitHub Marketplace. |
| delist |
Triggered when your listing is removed from GitHub Marketplace. |
| redraft |
Triggered when your listing is sent back to draft state. |
| reject |
Triggered when your listing is not accepted for inclusion in GitHub Marketplace. |
| Action |
Description |
| clear |
Triggered when a payment method on file is removed. |
| create |
Triggered when a new payment method is added, such as a new credit card or PayPal account. |
| update |
Triggered when an existing payment method is updated. |
| Action |
Description |
create |
Triggered when a project board is created. |
rename |
Triggered when a project board is renamed. |
update |
Triggered when a project board is updated. |
delete |
Triggered when a project board is deleted. |
link |
Triggered when a repository is linked to a project board. |
unlink |
Triggered when a repository is unlinked from a project board. |
project.access |
Triggered when a project board's visibility is changed. |
update_user_permission |
Triggered when an outside collaborator is added to or removed from a project board or has their permission level changed. |
| Action |
Description |
| enabled |
Triggered when two-factor authentication is enabled. |
| disabled |
Triggered when two-factor authentication is disabled. |
| Action |
Description |
| update |
Triggered when you set or change the status on your profile. For more information, see "Setting a status." |
| destroy |
Triggered when you clear the status on your profile. |
You can export the log as JSON data or a comma-separated value (CSV) file.

To filter the results in your export, search by one or more of these supported qualifiers before using the Export drop-down menu.
| Qualifier |
Example value |
action |
team.create |
actor |
octocat |
user |
codertocat |
org |
octo-org |
repo |
octo-org/documentation |
created |
2019-06-01 |
After you export the log as JSON or CSV, you'll see the following keys and values in the resulting file.
| Key |
Example value |
action |
team.create |
actor |
octocat |
user |
codertocat |
org |
octo-org |
repo |
octo-org/documentation |
created_at |
1429548104000 (Timestamp shows the time since Epoch with milliseconds.) |
data.hook_id |
245 |
data.events |
[
"issues", "issue_comment", "pull_request", "pull_request_review_comment"
] |
data.events_were |
[
"push", "pull_request", "issues"
] |
data.target_login |
octocat |
data.old_user |
hubot |
data.team |
octo-org/engineering |