atlasgong

payload sentinel

by atlasgong
Logging & monitoring
v3
^3.29.0
MIT

Overview

Summary generated from the README

Payload Sentinel logs user CRUD operations in a centralized audit log collection so you can see who did what and when. It is added through a single plugin call in the Payload config and works without configuration. It integrates with Payload's versioning so diffs can be viewed when versions are enabled on collections or globals, and read logging can be turned on through options.

Features

  • Logs user create, update and delete operations automatically
  • Stores entries in a centralized audit log collection
  • Optional logging of read operations
  • Works with Payload versioning to support diff viewing
  • Logs console (API) operations
  • No external dependencies

Use cases

  • Track which user changed or deleted content and when
  • Keep an editorial activity history for compliance or team accountability

From the author

Payload Sentinel is a lightweight, opinionated audit logger for Payload CMS.

Installation

npm i payload-sentinel

10

Stars

2

Forks

4

Open Issues

2 weeks ago

Last Updated

17

Weekly Downloads

v0.2.2

npm Version

470.1 KB

Unpacked Size

0

Dependencies

GitHub stars

100 since Sep 6

Show data
GitHub stars by day (UTC)
DateStars
Dec 5, 202610
Dec 4, 202610
Dec 3, 202610
Dec 2, 202610
Dec 1, 202610
Nov 30, 202610
Nov 29, 202610
Nov 28, 202610
Nov 27, 202610
Nov 26, 202610
Nov 25, 202610
Nov 24, 202610
Nov 23, 202610
Nov 22, 202610
Nov 21, 202610
Nov 20, 202610
Nov 19, 202610
Nov 18, 202610
Nov 17, 202610
Nov 16, 202610
Nov 15, 202610
Nov 14, 202610
Nov 13, 202610
Nov 12, 202610
Nov 11, 202610
Nov 10, 202610
Nov 9, 202610
Nov 8, 202610
Nov 7, 202610
Nov 6, 202610
Nov 5, 202610
Nov 4, 202610
Nov 3, 202610
Nov 2, 202610
Nov 1, 202610
Oct 31, 202610
Oct 30, 202610
Oct 29, 202610
Oct 28, 202610
Oct 27, 202610
Oct 26, 202610
Oct 25, 202610
Oct 24, 202610
Oct 23, 202610
Oct 22, 202610
Oct 21, 202610
Oct 20, 202610
Oct 19, 202610
Oct 18, 202610
Oct 17, 202610
Oct 16, 202610
Oct 15, 202610
Oct 14, 202610
Oct 13, 202610
Oct 12, 202610
Oct 11, 202610
Oct 10, 202610
Oct 9, 202610
Oct 8, 202610
Oct 7, 202610
Oct 6, 202610
Oct 5, 202610
Oct 4, 202610
Oct 3, 202610
Oct 2, 202610
Oct 1, 202610
Sep 30, 202610
Sep 29, 202610
Sep 28, 202610
Sep 27, 202610
Sep 26, 202610
Sep 25, 202610
Sep 24, 202610
Sep 23, 202610
Sep 22, 202610
Sep 21, 202610
Sep 20, 202610
Sep 19, 202610
Sep 18, 202610
Sep 17, 202610
Sep 16, 202610
Sep 15, 202610
Sep 14, 202610
Sep 13, 202610
Sep 12, 202610
Sep 11, 202610
Sep 10, 202610
Sep 9, 202610
Sep 8, 202610
Sep 7, 202610
Sep 6, 202610
npm weekly downloads

10−2 since Sep 6

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 5, 202610
Dec 4, 20268
Dec 3, 20267
Dec 2, 20266
Dec 1, 202613
Nov 30, 202615
Nov 29, 202616
Nov 28, 202617
Nov 27, 202617
Nov 26, 202618
Nov 25, 202620
Nov 24, 202614
Nov 23, 202612
Nov 22, 202612
Nov 21, 202612
Nov 20, 202612
Nov 19, 202613
Nov 18, 202618
Nov 17, 202617
Nov 16, 202618
Nov 15, 202635
Nov 14, 202636
Nov 13, 202637
Nov 12, 202643
Nov 11, 202639
Nov 10, 202642
Nov 9, 202647
Nov 8, 202630
Nov 7, 202625
Nov 6, 202623
Nov 5, 202616
Nov 4, 202613
Nov 3, 202612
Nov 2, 202611
Nov 1, 20268
Oct 31, 20268
Oct 30, 202611
Oct 29, 202610
Oct 28, 202610
Oct 27, 202613
Oct 26, 202610
Oct 25, 202614
Oct 24, 202626
Oct 23, 202623
Oct 22, 202633
Oct 21, 202633
Oct 20, 202629
Oct 19, 202629
Oct 18, 202626
Oct 17, 202615
Oct 16, 202615
Oct 15, 20266
Oct 14, 202610
Oct 13, 20269
Oct 12, 20269
Oct 11, 202612
Oct 10, 202612
Oct 9, 202612
Oct 8, 202612
Oct 7, 202610
Oct 6, 202610
Oct 5, 20269
Oct 4, 20265
Oct 3, 20264
Oct 2, 20266
Oct 1, 20265
Sep 30, 20264
Sep 29, 20269
Sep 28, 20269
Sep 27, 202610
Sep 26, 202613
Sep 25, 202611
Sep 24, 202613
Sep 23, 202613
Sep 22, 202613
Sep 21, 202612
Sep 20, 202612
Sep 19, 202611
Sep 18, 202611
Sep 17, 202610
Sep 16, 202610
Sep 15, 20266
Sep 14, 20269
Sep 13, 202616
Sep 12, 202614
Sep 11, 202619
Sep 10, 202618
Sep 9, 202619
Sep 8, 202619
Sep 7, 202620
Sep 6, 202612

Each point is npm's rolling 7-day download count.

Health Score

51/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/969401869-root.svg)](https://payloaddirectory.dev/plugins/969401869-root)
HTML
<a href="https://payloaddirectory.dev/plugins/969401869-root"><img src="https://payloaddirectory.dev/badge/969401869-root.svg" alt="Payload Directory"></a>
Updated Nov 21, 2026Created Apr 20, 2025Published Apr 2, 2026

README

Payload Sentinel (A PayloadCMS Plugin)

Payload Sentinel is a simple audit logger for Payload CMS. It automatically logs user CRUD operations in a centralized audit log collection, allowing you to track who did what and when.

It:

  • Works right out of the box, with no configuration needed.
  • Has zero external dependencies.
  • Natively integrates with Payload's versioning features.

Installation

Requires Payload CMS v3.81.0 or above.

Using npm:

npm install payload-sentinel

Using pnpm:

pnpm add payload-sentinel

Then add the plugin to your payload.config.ts:

import { payloadSentinel } from "payload-sentinel";

export default buildConfig({
  plugins: [
    payloadSentinel(),
  ],
});

You're good to go! Payload Sentinel will automatically start logging all user create, update, and delete operations. To enable logging for read operations, see Configuration.

[!TIP] To enable diff viewing in audit logs, make sure versioning is enabled for the relevant collections or globals. Sentinel doesn’t handle diffs itself, nor is it planned to, because Payload already provides built-in versioning, which Sentinel natively integrates with.

Note: Versioning is optional; audit logging still works without it. You just won't be able to view diffs.

Configuration

Payload Sentinel works without any configuration. If you want to customize its behavior, there are minimal configuration options, which you can check here: config.ts. If there is a feature not currently configurable that you would like to see configurable, you may submit a feature request here.

Roadmap

  • Analytics panel for usage insights
  • I18n support
  • Logging console (API) operations
  • Seamless native integration with version diffs
  • Tamper-evident audit logs using cryptographic hash chaining

Issues & Feature Requests

Please report issues and request features by opening a GitHub issue. PRs are welcome; see CONTRIBUTING.md.

Similar plugins