Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

We should offer the ability to redirect abuse reports to a room. #11148

@Yoric

Description

@Yoric

The current Admin API to fetch abuse reports is not really convenient.

This gives homeserver administrators two possibilities:

  1. Write a script to fetch abuse reports from the admin API and publish it somewhere readable, typically a room. It's possible but annoying to implement and deploy.
  2. Configure a reverse proxy to intercept calls to /report and publish them somewhere readable, typically a room. Mjölnir recently started offering this feature but it's still a pain to configure correctly and extends the security perimeter of homeservers that use the feature.

We should consider the following change:

  • publish abuse reports directly to a room, as structured messages (possibly based on MSC3215);
  • let the admin pick a user id, room id, etc. in homeserver.yaml to determine which user will publish these reports and where;
  • encourage admins to adopt a bot to turn these structured messages into human-readable, internationalized, abuse reports.

  • log to room

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LoggingSynapse's logs (structured or otherwise). Not metrics.A-ModerationTools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...P3(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patchesT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions