nextcloud / nextcloud/server

Add audit logging for authentication tokens

Open
#27,355 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: admin audit feature: authentication security
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

We should add audit loggings at least for the following events:

  • Creating tokens
  • Revoking tokens
  • Scope changes
  • Renames
  • Marking the token to be wiped

Ref https://hackerone.com/reports/1200992

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the authentication-token lifecycle in the server and review the linked HackerOne report for the security context. Done means audit logging covers token creation, revocation, scope changes, renames, and marking a token to be wiped; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.