Files
directus/docs/concepts/activity.md
Rijk van Zanten 817ccf3620 Overhaul docs (#3951)
* Add Quickstart Guide

* Update installation

* Remove unused files

* Update support/backing

* Tweaks in concepts

* Setup file structure for API reference 2.0

* Setup page layout for reference

* Add clean-urls plugin

* getting started updates

* Finish authentication rest

* getting started updates

* Render stylus in 2 spaces

* Various

* Various

* Finish activity docs

* Add collections reference

* Add extension reference

* concepts updates

* Fields/tweaks

* Add files doc

* Add revisions

* concepts docs

* More api reference

* Finish rest api reference (finally)

* initial concepts

* More things

* Add assets api ref

* Move sections from file to assets

* Add environment variables

* contributing docs

* Add field transforms page

* Left align table headers

* concept links

* Add API config

* Fix mobile nav

* Add migrating a project

* doc link fixes

Co-authored-by: Ben Haynes <ben@rngr.org>
2021-02-05 18:51:54 -05:00

1.5 KiB

Activity

Directus stores detailed records of all data changes made via the App and API. This gives a comprehensive accountability log of who did what, and when. This also powers the Directus versioning system, which allows storing alternate versions/revisions of items.

The Activity Log tracks all events that have occurred within the project. Activity can be accessed in two ways, via the main Activity Module, or within the sidebar of individual Item Detail pages. The following information is stored for each event's activity item:

Activity Fields

  • User — The Directus user that performed the action
  • Action — The specific action taken, eg: Create, Update, Delete, Authenticate
  • TimeStamp — The timestamp of when the action was performed
  • IP Address — The IP address of the device from which the action was performed
  • User Agent — The description of the browser that was used to perform the action
  • Collection — The Collection affected by the action
  • Item — The item (within the above Collection) affected by the action
  • Comment — When applicable; the comment left by the user

::: tip Readonly

For proper accountability, activity records are readonly. Administrators should avoid changing, deleting, or truncating this data.

:::

::: warning External Events

Directus can only track events that pass through the platform's middleware. Changes made directly to the database, or by other external means, are not included.

:::