Demo

Below is an example of an audit log that you could build into your own app using AuditAPI. If you click on a row, you'll see a "Raw JSON" entry. This is what the event data looks like when returned from the API. All data within that field is searchable, and you can display as much or as little as necessary in your UI.

Date
Action
User
user.updated
adriane@gerlach.info
Event ID:
7efbec2e-d399-4f4a-aa92-55faa41f8a78
Date:
User ID:
5949898
User IP Address:
f824:1a82:c2db:113f:4602:f597:4800:f6
Before:
{
  "email": "shayla@stokes.net"
}
After:
{
  "email": "adriane@gerlach.info"
}
Raw JSON:
{
  "user": {
    "email": "adriane@gerlach.info",
    "id": 5949898,
    "ip": "f824:1a82:c2db:113f:4602:f597:4800:f6"
  },
  "action": "user.updated",
  "before": {
    "email": "shayla@stokes.net"
  },
  "after": {
    "email": "adriane@gerlach.info"
  }
}
user.updated
catrice@erdman.org
Event ID:
1f35f7bb-bae0-4441-adb8-a137233d26fd
Date:
User ID:
1314461
User IP Address:
93b5:1327:b4f5:6f47:4ec3:ede5:1e98:5271
Before:
{
  "two_factor_enabled": false
}
After:
{
  "two_factor_enabled": true
}
Raw JSON:
{
  "user": {
    "email": "catrice@erdman.org",
    "id": 1314461,
    "ip": "93b5:1327:b4f5:6f47:4ec3:ede5:1e98:5271"
  },
  "action": "user.updated",
  "before": {
    "two_factor_enabled": false
  },
  "after": {
    "two_factor_enabled": true
  }
}
team.updated
sean.schimmel@ebert.net
Event ID:
d42b316b-bd51-415b-865a-5e2f0df365e4
Date:
User ID:
2360577
User IP Address:
4bb8:e52b:6ab2:e390:e225:2894:27b:d012
Resource:
{
  "id": 8604043
}
Before:
{
  "two_factor_required": true
}
After:
{
  "two_factor_required": false
}
Raw JSON:
{
  "user": {
    "email": "sean.schimmel@ebert.net",
    "id": 2360577,
    "ip": "4bb8:e52b:6ab2:e390:e225:2894:27b:d012"
  },
  "action": "team.updated",
  "obj": {
    "id": 8604043
  },
  "before": {
    "two_factor_required": true
  },
  "after": {
    "two_factor_required": false
  }
}
project.created
sarah@christiansen.org
Event ID:
b7904fd3-0dd2-4796-bdf0-0e6e1b19dcb9
Date:
User ID:
8760411
User IP Address:
215.106.92.153
Resource:
{
  "id": 9683190,
  "name": "perferendis_culpa"
}
Raw JSON:
{
  "user": {
    "email": "sarah@christiansen.org",
    "id": 8760411,
    "ip": "215.106.92.153"
  },
  "action": "project.created",
  "obj": {
    "id": 9683190,
    "name": "perferendis_culpa"
  }
}
team.updated
jamie@hartmann.name
Event ID:
66eea7fc-34f5-4aef-b3be-318d0862f550
Date:
User ID:
2769450
User IP Address:
24.3.58.102
Resource:
{
  "id": 3562291
}
Before:
{
  "two_factor_required": true
}
After:
{
  "two_factor_required": false
}
Raw JSON:
{
  "user": {
    "email": "jamie@hartmann.name",
    "id": 2769450,
    "ip": "24.3.58.102"
  },
  "action": "team.updated",
  "obj": {
    "id": 3562291
  },
  "before": {
    "two_factor_required": true
  },
  "after": {
    "two_factor_required": false
  }
}
repo.updated
eleanor@little-schamberger.net
Event ID:
ea4e6c2c-1b8e-4620-aa0b-f33c5dc64b69
Date:
User ID:
9322613
User IP Address:
239.73.69.88
Resource:
{
  "id": 1988308
}
Before:
{
  "private": true
}
After:
{
  "private": false
}
Raw JSON:
{
  "user": {
    "email": "eleanor@little-schamberger.net",
    "id": 9322613,
    "ip": "239.73.69.88"
  },
  "action": "repo.updated",
  "obj": {
    "id": 1988308
  },
  "before": {
    "private": true
  },
  "after": {
    "private": false
  }
}
project.deleted
linsey.walker@emard.name
Event ID:
19bb1164-546a-48c1-8662-17aae1fe4715
Date:
User ID:
8385133
User IP Address:
8636:c82:b8e1:8848:80ae:76d9:a4c:e828
Resource:
{
  "id": 2504339,
  "name": "ut_velit"
}
Raw JSON:
{
  "user": {
    "email": "linsey.walker@emard.name",
    "id": 8385133,
    "ip": "8636:c82:b8e1:8848:80ae:76d9:a4c:e828"
  },
  "action": "project.deleted",
  "obj": {
    "id": 2504339,
    "name": "ut_velit"
  }
}
user.updated
wesley@gulgowski-krajcik.name
Event ID:
e0c09ead-b242-4982-8fcd-57b5fe0b6dab
Date:
User ID:
9029533
User IP Address:
ee50:77c0:260e:b1aa:4e33:a41c:19ef:a5de
Before:
{
  "two_factor_enabled": true
}
After:
{
  "two_factor_enabled": false
}
Raw JSON:
{
  "user": {
    "email": "wesley@gulgowski-krajcik.name",
    "id": 9029533,
    "ip": "ee50:77c0:260e:b1aa:4e33:a41c:19ef:a5de"
  },
  "action": "user.updated",
  "before": {
    "two_factor_enabled": true
  },
  "after": {
    "two_factor_enabled": false
  }
}
repo.updated
shameka@graham.co
Event ID:
b98e0702-ecf3-42d5-9704-22497b5b5676
Date:
User ID:
6662309
User IP Address:
148.135.43.108
Resource:
{
  "id": 6787614
}
Before:
{
  "private": true
}
After:
{
  "private": false
}
Raw JSON:
{
  "user": {
    "email": "shameka@graham.co",
    "id": 6662309,
    "ip": "148.135.43.108"
  },
  "action": "repo.updated",
  "obj": {
    "id": 6787614
  },
  "before": {
    "private": true
  },
  "after": {
    "private": false
  }
}
team.updated
ronnie@crist-rolfson.net
Event ID:
f91f4c9a-d72c-4ba3-b4fe-47cbaafa9955
Date:
User ID:
8625520
User IP Address:
95.81.90.1
Resource:
{
  "id": 1375980
}
Before:
{
  "two_factor_required": true
}
After:
{
  "two_factor_required": false
}
Raw JSON:
{
  "user": {
    "email": "ronnie@crist-rolfson.net",
    "id": 8625520,
    "ip": "95.81.90.1"
  },
  "action": "team.updated",
  "obj": {
    "id": 1375980
  },
  "before": {
    "two_factor_required": true
  },
  "after": {
    "two_factor_required": false
  }
}
Next