Files
wekan/docs/Features/Admin-Panel/Problems/Security-Report.md
T
Lauri Ojansivu 7e1f9e89eb Docs: every feature topic in one folder under docs/Features, each with README.md as its main page.
- The General/ level is gone: its 109 files moved up into the folders of the
  same name, and its topic table is the "Shared topics" section of
  Features.md.
- Accessibility is one folder, docs/Features/Accessibility/, with the Admin
  Panel's accessibility page in it.
- Every folder's main page is README.md (110 X/X.md pages renamed with git mv,
  five merged with an existing README.md, 26 index pages added for folders
  that had none), so a folder opened on GitHub shows its page.
- The 73 "# Moved" forwarding pages are deleted, with the folders that held
  only them; every link that went to one goes to its final page.
- docs/Features/README.md has the website's "Features in WeKan" overview,
  each feature linking to its page here.

1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose,
snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when
General/ or a "# Moved" page comes back, a folder has no README.md, or a
relative link in the docs or README.md does not resolve.

Thanks to xet7 !
2026-11-24 20:02:06 +02:00

11 KiB

Admin Panel / Problems / Security Report

What it is

Every attempt a security guard refused or noticed: what it was, how severe, who tried it, from where and how many times. When WeKan blocks, cleans, rate-limits or detects something that only an attack would do, it writes one summary row here, so an administrator can see that somebody tried and not only that the hole is closed. Address: /admin/problems/security-report. Site administrators only. It is called Security Report, not Security, because Admin Panel / Settings / Security is the pane of security switches.

Read more

How to use it

Read the report

  1. Log in as a site administrator.
  2. Click your avatar or username at the top right and choose Admin Panel.
  3. Click the Problems tab.
  4. In the left menu, under Reports, click Security Report.
  5. Read the rows, newest first. Attempts says how many times a row happened; Detail says what the guard saw.
  6. Type a name, category, source, username or address in the search box to filter as you type - for example an address, to see everything that address tried.
  7. Click a username to open the Edit user popup for that account.

Re-enable an account that was disabled by a security event

  1. Open Admin Panel → People.
  2. Find the account and enable its login again (People).

Acknowledge or clear the report

  1. Open Problems → Summary.
  2. Tick Admin Panel → Problems → Security Report.
  3. Click Acknowledge to reset the new-problem count, or Clear to delete the rows (Summary.md).

How the numbers are calculated

Number How it is computed
Attempts the row's count: how many occurrences were folded into it (server/lib/eventLogFold.js). Empty when it happened once.
One row the identity is stream, name (bleed), category, action, source, severity and CWE (models/lib/eventLogSummary.js). The user and address are not part of it; they describe the most recent occurrence, and a capped per-user and per-address tally is kept inside the row.
Date and time the most recent occurrence (at).
Severity from the catalog key in models/lib/securityCategories.js, unless the guard passes its own.
Passwordless request limit 5 requestLoginTokenForUser calls per source address per 60 seconds (DDPRateLimiter rule in server/lib/oauthProviders.js); each refused call is recorded as brute.passwordless-request, name Passwordless, blocked, severity high.
Account disabled when the row is blocked, of severity high or critical, names a logged-in user, and its catalog key does not set blocksAccount: false (server/lib/blockOnSecurityEvent.js).
New-problem count on Summary rows newer than the last acknowledgement whose severity is not info (models/lib/eventLogProblems.js).
Rows per page 10.
Retention rows older than EVENTLOG_RETENTION_DAYS (default 90; 0 keeps them for ever) are deleted, checked once a day for the whole installation.

How it works in WeKan

Where the rows come from

The security stream of the eventlog collection (models/eventLog.js). Every runtime guard reports through server/lib/securityLog.js when it blocks, sanitizes, rate-limits or detects something, using a key from the catalog in models/lib/securityCategories.js (category, Hall of Fame name, severity, CWE). Besides the guards, this stream also receives:

  • the canaries - operations WeKan never issues, such as a database canary marked by FerretDB (server/lib/databaseProblems.js);
  • the daily filesystem integrity scan's findings (integrity.file, StorageBleed, server/lib/fileIntegrityScan.js) and the hourly change history audit (integrity.history, HistoryIntegrity, server/lib/historyIntegrityScan.js);
  • denied passwordless code requests after five requests per source address in one minute;
  • the Meteor 3.5.3 refusals, recorded as Meteor DDP, Meteor allow-deny, Meteor dynamic-import and Meteor OAuth (details);
  • ImportExportValidation (an import or export refused by the transfer boundary) and ImportExportFailure (one that failed for another reason, recorded as detected, never as an attempt).

Each problem is one row that accumulates (server/lib/eventLogFold.js): the kind of thing that happened is the row, and the user name and address describe its most recent occurrence (Design.md).

Only an attempt is recorded, never ordinary use: a guard that a legitimate user can reach does not write here, or writes without disabling the account (blocksAccount: false in its catalog key).

Consequence for the account

When a row is blocked, of severity high or critical, names a logged-in user and its catalog key does not say otherwise, that account is disabled (loginDisabled) with the reason "Attempted at while logged in" (server/lib/blockOnSecurityEvent.js). The reason, the name, the source and the address are kept in the user's services.securityBlock. The address is recorded, never blocked. An administrator re-enables the account in Admin Panel / People.

The table

The shared table page, newest row first, 10 rows a page, read-only:

Column Holds
Date and time when it last happened
Category the guard's class, for example ssrf or integrity
Name the Hall of Fame name (...Bleed) or another fixed name
Severity info, low, medium, high or critical
Action blocked, sanitized, rate-limited, remediated, detected or failed
Source the guard or module that recorded it
Username the account, as it was called at the time; click it for the Edit user popup
IPv4, Location, IPv6, Location (IPv6) the address, resolved with HTTP_FORWARDED_COUNT, and a location only when a trusted proxy supplies one (models/lib/addressReportColumns.js)
Attempts how many times this row happened; empty when once
Detail what the guard said

The search box filters as you type, case-insensitively, over category, name, source, detail, username and address. The rows come from the admin-only eventLogCount and eventLogPage methods.

Nothing is acknowledged here: the new-problem count is acknowledged or the stream cleared on Summary. Rows older than EVENTLOG_RETENTION_DAYS (default 90) are deleted daily. The same rows are on GET /api/admin/problems/security (REST API).

Tests

Commits