socket audit-log

Look up the audit log for an organization

Display an audit-log for your organization. Note that access to this feature requires an Enterprise Plan.

  Look up the audit log for an organization

  Usage
    $ socket audit-log <org slug>

  API Token Requirements
    - Quota: 1 unit
    - Permissions: audit-log:list

  This feature requires an Enterprise Plan. To learn more about getting access
  to this feature and many more, please visit https://socket.dev/pricing

  Options
    --help            Print this help
    --json            Output result as json
    --markdown        Output result as markdown
    --page            Page number - default is 1
    --perPage         Results per page - default is 30
    --type            Type of log event

  Examples
    $ socket audit-log FakeOrg


Example:

$ socket audit-log beardev

# Socket Audit Logs

These are the Socket.dev audit logs as per requested query.
- org: beardev
- type filter: (none)
- page: 1
- per page: 30
- generated: 2025-04-11T13:17:43.382Z

| -------- | ------------------------ | ------------------------- | ------------------ |
| event_id | created_at               | type                      | user_email         |
| -------- | ------------------------ | ------------------------- | ------------------ |
| 125874   | 2025-04-10T18:18:01.129Z | disassociateLabel         | [email protected]    |
| 125873   | 2025-04-10T18:17:45.547Z | associateLabel            | [email protected]    |
| 125591   | 2025-04-09T20:38:16.061Z | createApiToken            | [email protected]      |
| 125590   | 2025-04-09T20:37:34.754Z | rotateApiToken            | [email protected]      |
| 125544   | 2025-04-09T18:51:15.797Z | updateApiTokenScopes      | [email protected]      |
| 125480   | 2025-04-09T14:56:29.708Z | associateLabel            | [email protected]      |
| 125479   | 2025-04-09T14:56:11.210Z | createLabel               | [email protected]    |
| 124160   | 2025-04-04T21:18:09.542Z | sendInvitation            | [email protected]   |
| 123620   | 2025-04-03T21:55:17.167Z | disassociateLabel         | [email protected]      |
| 123618   | 2025-04-03T21:55:04.023Z | associateLabel            | [email protected]    |
| 123616   | 2025-04-03T21:54:16.398Z | deleteLabel               | [email protected]      |
| 123615   | 2025-04-03T21:53:49.291Z | createLabel               | [email protected]      |
| 123551   | 2025-04-03T18:38:55.210Z | createApiToken            | [email protected]   |
| 123112   | 2025-04-02T01:47:26.914Z | updateOrganizationSetting | [email protected]      |
| 123111   | 2025-04-02T01:47:26.772Z | updateOrganizationSetting | [email protected]      |
| 123110   | 2025-04-02T01:47:19.768Z | updateOrganizationSetting | [email protected]      |
| 122421   | 2025-03-31T15:19:55.299Z | createApiToken            | [email protected]   |
| 121392   | 2025-03-27T16:24:36.344Z | updateOrganizationSetting | [email protected]      |
| 121391   | 2025-03-27T16:24:33.912Z | updateOrganizationSetting | [email protected]      |
| 120287   | 2025-03-24T21:52:12.879Z | updateAlertTriage         | [email protected]      |
| 120172   | 2025-03-24T14:35:24.316Z | changeMemberRole          | [email protected]      |
| 120171   | 2025-03-24T14:35:13.889Z | changeMemberRole          | [email protected]      |
| 118746   | 2025-03-19T01:02:01.474Z | createApiToken            | [email protected]      |
| 118432   | 2025-03-17T15:57:30.287Z | updateOrganizationSetting | [email protected]      |
| 118431   | 2025-03-17T15:57:29.885Z | updateOrganizationSetting | [email protected]   |
| 118067   | 2025-03-15T00:18:55.300Z | associateLabel            | [email protected]      |
| 118066   | 2025-03-15T00:18:36.070Z | createLabel               |                    |
| 118016   | 2025-03-14T16:33:56.568Z | updateOrganizationSetting | [email protected]   |
| 118013   | 2025-03-14T16:32:47.750Z | updateOrganizationSetting | [email protected]   |
| 117862   | 2025-03-14T02:10:47.510Z | updateAlertTriage         | [email protected]      |
| -------- | ------------------------ | ------------------------- | ------------------ |