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
repo.updated
janna_bosco@pouros-boehm.biz
Event ID:
8370029f-397f-4e61-b9c1-66d43ec31db1
Date:
User ID:
1239009
User IP Address:
b956:b52e:eb83:716b:7c0e:c170:2b62:2dd
Resource:
{
  "id": 6703939
}
Before:
{
  "private": false
}
After:
{
  "private": true
}
Raw JSON:
{
  "user": {
    "email": "janna_bosco@pouros-boehm.biz",
    "id": 1239009,
    "ip": "b956:b52e:eb83:716b:7c0e:c170:2b62:2dd"
  },
  "action": "repo.updated",
  "obj": {
    "id": 6703939
  },
  "before": {
    "private": false
  },
  "after": {
    "private": true
  }
}
project.deleted
miesha_olson@stark.name
Event ID:
3d5a5f4f-77da-4e1a-8bc4-e06d57983485
Date:
User ID:
8747001
User IP Address:
31e0:81f9:5e4f:b283:63e5:e1a1:4652:f330
Resource:
{
  "id": 6712769,
  "name": "officiis_laboriosam"
}
Raw JSON:
{
  "user": {
    "email": "miesha_olson@stark.name",
    "id": 8747001,
    "ip": "31e0:81f9:5e4f:b283:63e5:e1a1:4652:f330"
  },
  "action": "project.deleted",
  "obj": {
    "id": 6712769,
    "name": "officiis_laboriosam"
  }
}
team.deleted
macie@luettgen-heller.org
Event ID:
088f09cd-6bd9-4bb2-a6a4-7e3cfee090f0
Date:
User ID:
9903976
User IP Address:
251.103.221.245
Resource:
{
  "id": 7473055,
  "name": "koepp, zemlak and jenkins"
}
Raw JSON:
{
  "user": {
    "email": "macie@luettgen-heller.org",
    "id": 9903976,
    "ip": "251.103.221.245"
  },
  "action": "team.deleted",
  "obj": {
    "id": 7473055,
    "name": "koepp, zemlak and jenkins"
  }
}
repo.deleted
dane@gibson-herman.info
Event ID:
53f0dc58-4c49-4089-835f-0fc8c55e36ba
Date:
User ID:
7723182
User IP Address:
4f79:5c34:3b37:efe:cf1c:3666:a7ea:a861
Resource:
{
  "id": 4499979,
  "name": "ut_in"
}
Raw JSON:
{
  "user": {
    "email": "dane@gibson-herman.info",
    "id": 7723182,
    "ip": "4f79:5c34:3b37:efe:cf1c:3666:a7ea:a861"
  },
  "action": "repo.deleted",
  "obj": {
    "id": 4499979,
    "name": "ut_in"
  }
}
team.created
emil_wolf@beahan.co
Event ID:
05bab853-cf61-4ec0-a7c2-47c732d397a5
Date:
User ID:
7339053
User IP Address:
38.145.19.204
Resource:
{
  "id": 3394195,
  "name": "breitenberg, welch and cassin"
}
Raw JSON:
{
  "user": {
    "email": "emil_wolf@beahan.co",
    "id": 7339053,
    "ip": "38.145.19.204"
  },
  "action": "team.created",
  "obj": {
    "id": 3394195,
    "name": "breitenberg, welch and cassin"
  }
}
team.deleted
bruce_crooks@kuhic.com
Event ID:
544e29c5-d276-4c0a-8d4a-dcb13a48de92
Date:
User ID:
3217335
User IP Address:
239.151.209.228
Resource:
{
  "id": 1375971,
  "name": "flatley, lind and purdy"
}
Raw JSON:
{
  "user": {
    "email": "bruce_crooks@kuhic.com",
    "id": 3217335,
    "ip": "239.151.209.228"
  },
  "action": "team.deleted",
  "obj": {
    "id": 1375971,
    "name": "flatley, lind and purdy"
  }
}
user.updated
michel@ortiz.net
Event ID:
63bcd4c8-afb7-4eac-99e5-6672f3a26dc4
Date:
User ID:
3369045
User IP Address:
ac0d:3b5a:56ec:f3b3:bed5:7729:d9d2:b3cf
Before:
{
  "email": "jonelle_torp@grady-abbott.biz"
}
After:
{
  "email": "michel@ortiz.net"
}
Raw JSON:
{
  "user": {
    "email": "michel@ortiz.net",
    "id": 3369045,
    "ip": "ac0d:3b5a:56ec:f3b3:bed5:7729:d9d2:b3cf"
  },
  "action": "user.updated",
  "before": {
    "email": "jonelle_torp@grady-abbott.biz"
  },
  "after": {
    "email": "michel@ortiz.net"
  }
}
user.failed_login
denisha@reichel.com
Event ID:
c06e369e-0bab-4c79-b3a0-749113f6978b
Date:
User ID:
5467151
User IP Address:
3636:566b:a72a:b97:3dec:276b:721a:c7cc
Raw JSON:
{
  "user": {
    "email": "denisha@reichel.com",
    "id": 5467151,
    "ip": "3636:566b:a72a:b97:3dec:276b:721a:c7cc"
  },
  "action": "user.failed_login"
}
repo.updated
haywood_keeling@beer-bernhard.org
Event ID:
2756c936-1c36-4c47-b08e-30892d488f05
Date:
User ID:
4706377
User IP Address:
8e33:5a9c:e554:cc0f:e4a7:4bd7:5491:e795
Resource:
{
  "id": 4944642
}
Before:
{
  "archived": true
}
After:
{
  "archived": false
}
Raw JSON:
{
  "user": {
    "email": "haywood_keeling@beer-bernhard.org",
    "id": 4706377,
    "ip": "8e33:5a9c:e554:cc0f:e4a7:4bd7:5491:e795"
  },
  "action": "repo.updated",
  "obj": {
    "id": 4944642
  },
  "before": {
    "archived": true
  },
  "after": {
    "archived": false
  }
}
team.updated
horacio.sporer@hayes-vonrueden.org
Event ID:
3b0b9d0b-ac15-4cb0-9941-50fe501108e0
Date:
User ID:
4649425
User IP Address:
5d59:fb48:ffbf:c42b:ce2c:15fc:a1b2:2e9
Resource:
{
  "id": 5525376
}
Before:
{
  "name": "herzog-heaney"
}
After:
{
  "name": "bednar group"
}
Raw JSON:
{
  "user": {
    "email": "horacio.sporer@hayes-vonrueden.org",
    "id": 4649425,
    "ip": "5d59:fb48:ffbf:c42b:ce2c:15fc:a1b2:2e9"
  },
  "action": "team.updated",
  "obj": {
    "id": 5525376
  },
  "before": {
    "name": "herzog-heaney"
  },
  "after": {
    "name": "bednar group"
  }
}
Next