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
team.updated
henriette.hansen@davis.com
Event ID:
5ac583ef-50b5-4199-9d29-790afbded854
Date:
User ID:
4695101
User IP Address:
402e:f0e0:eb08:6d61:cec6:dc4f:caaf:44eb
Resource:
{
  "id": 8064801
}
Before:
{
  "two_factor_required": false
}
After:
{
  "two_factor_required": true
}
Raw JSON:
{
  "user": {
    "email": "henriette.hansen@davis.com",
    "id": 4695101,
    "ip": "402e:f0e0:eb08:6d61:cec6:dc4f:caaf:44eb"
  },
  "action": "team.updated",
  "obj": {
    "id": 8064801
  },
  "before": {
    "two_factor_required": false
  },
  "after": {
    "two_factor_required": true
  }
}
project.updated
roscoe@konopelski.org
Event ID:
6f590d01-f815-4178-a378-ba2df268eb36
Date:
User ID:
8284472
User IP Address:
9389:cc58:2706:c698:c4f1:7895:493:dbad
Resource:
{
  "id": 9591875
}
Before:
{
  "name": "quisquam_voluptatem"
}
After:
{
  "name": "in_qui"
}
Raw JSON:
{
  "user": {
    "email": "roscoe@konopelski.org",
    "id": 8284472,
    "ip": "9389:cc58:2706:c698:c4f1:7895:493:dbad"
  },
  "action": "project.updated",
  "obj": {
    "id": 9591875
  },
  "before": {
    "name": "quisquam_voluptatem"
  },
  "after": {
    "name": "in_qui"
  }
}
project.deleted
liliana@hermann.net
Event ID:
c09b9130-f910-4160-a567-86d518ca03e5
Date:
User ID:
8849958
User IP Address:
b1b6:996a:2938:c334:e65d:dc77:c915:9e8e
Resource:
{
  "id": 1563281,
  "name": "rerum-ut"
}
Raw JSON:
{
  "user": {
    "email": "liliana@hermann.net",
    "id": 8849958,
    "ip": "b1b6:996a:2938:c334:e65d:dc77:c915:9e8e"
  },
  "action": "project.deleted",
  "obj": {
    "id": 1563281,
    "name": "rerum-ut"
  }
}
user.updated
jimmy@west-bauch.net
Event ID:
ba6fe37e-ff91-4baa-be0a-58795bfd5974
Date:
User ID:
4130553
User IP Address:
d064:c938:e331:e49f:8128:6df7:b034:eab4
Before:
{
  "two_factor_enabled": false
}
After:
{
  "two_factor_enabled": true
}
Raw JSON:
{
  "user": {
    "email": "jimmy@west-bauch.net",
    "id": 4130553,
    "ip": "d064:c938:e331:e49f:8128:6df7:b034:eab4"
  },
  "action": "user.updated",
  "before": {
    "two_factor_enabled": false
  },
  "after": {
    "two_factor_enabled": true
  }
}
repo.deleted
malinda.murphy@satterfield.com
Event ID:
cb6cbed8-cda8-41aa-8b30-14c935492a22
Date:
User ID:
7722028
User IP Address:
741b:90b:c1ce:ba20:54f6:e366:a76c:fc81
Resource:
{
  "id": 1651332,
  "name": "neque_aperiam"
}
Raw JSON:
{
  "user": {
    "email": "malinda.murphy@satterfield.com",
    "id": 7722028,
    "ip": "741b:90b:c1ce:ba20:54f6:e366:a76c:fc81"
  },
  "action": "repo.deleted",
  "obj": {
    "id": 1651332,
    "name": "neque_aperiam"
  }
}
project.deleted
lyle@koelpin.name
Event ID:
5a10b356-c47b-4bf5-ad7b-7654aaa00375
Date:
User ID:
1219520
User IP Address:
15e4:5c32:ffa:b6d4:a00d:471b:f376:f7f
Resource:
{
  "id": 3017085,
  "name": "qui_dolorem"
}
Raw JSON:
{
  "user": {
    "email": "lyle@koelpin.name",
    "id": 1219520,
    "ip": "15e4:5c32:ffa:b6d4:a00d:471b:f376:f7f"
  },
  "action": "project.deleted",
  "obj": {
    "id": 3017085,
    "name": "qui_dolorem"
  }
}
user.updated
maura_wolf@collins.com
Event ID:
2ecc8491-18fe-4c79-902b-5b3f7f58c3a9
Date:
User ID:
7200653
User IP Address:
5625:cddb:a773:65f6:5c3e:717f:b228:686
Before:
{
  "email": "gustavo@rohan.io"
}
After:
{
  "email": "maura_wolf@collins.com"
}
Raw JSON:
{
  "user": {
    "email": "maura_wolf@collins.com",
    "id": 7200653,
    "ip": "5625:cddb:a773:65f6:5c3e:717f:b228:686"
  },
  "action": "user.updated",
  "before": {
    "email": "gustavo@rohan.io"
  },
  "after": {
    "email": "maura_wolf@collins.com"
  }
}
user.failed_login
tyree@nikolaus.org
Event ID:
71ebd9ab-f143-4458-8cf1-44c6b602f9a0
Date:
User ID:
9138878
User IP Address:
8328:2394:c95c:c4ba:9407:4e35:b7d8:e37d
Raw JSON:
{
  "user": {
    "email": "tyree@nikolaus.org",
    "id": 9138878,
    "ip": "8328:2394:c95c:c4ba:9407:4e35:b7d8:e37d"
  },
  "action": "user.failed_login"
}
user.forgot_password
domenic.howell@schimmel.biz
Event ID:
d6e54ece-3141-4387-917d-61180b864c20
Date:
User ID:
3519092
User IP Address:
5144:bd2d:d5e1:9f64:6cea:281b:d855:1dfb
Raw JSON:
{
  "user": {
    "email": "domenic.howell@schimmel.biz",
    "id": 3519092,
    "ip": "5144:bd2d:d5e1:9f64:6cea:281b:d855:1dfb"
  },
  "action": "user.forgot_password"
}
project.created
wilbur@runolfsdottir.name
Event ID:
81fba1a3-4b69-42a8-a18a-9f9e14cd6805
Date:
User ID:
1062421
User IP Address:
b64e:bea9:e3bb:6ccc:e519:f510:1b4f:4c24
Resource:
{
  "id": 8332332,
  "name": "fugit_nesciunt"
}
Raw JSON:
{
  "user": {
    "email": "wilbur@runolfsdottir.name",
    "id": 1062421,
    "ip": "b64e:bea9:e3bb:6ccc:e519:f510:1b4f:4c24"
  },
  "action": "project.created",
  "obj": {
    "id": 8332332,
    "name": "fugit_nesciunt"
  }
}
Next