Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管理者用webhookに新規ユーザー登録の項目が欲しい #14281

Closed
1 task
tai-cha opened this issue Jul 21, 2024 · 3 comments · Fixed by #14321
Closed
1 task

管理者用webhookに新規ユーザー登録の項目が欲しい #14281

tai-cha opened this issue Jul 21, 2024 · 3 comments · Fixed by #14321
Assignees
Labels
✨Feature This adds/improves/enhances a feature
Milestone

Comments

@tai-cha
Copy link
Contributor

tai-cha commented Jul 21, 2024

Summary

2024.7.0のbetaで通報をwebhookで見れるようになったが、新規ユーザー登録も同様に監視したいことがある(特に登録の頻度が多くないサーバーでは)

Purpose

怪しい新規ユーザー作成を監視していち早く対応したい

Do you want to implement this feature yourself?

  • Yes, I will implement this by myself and send a pull request
@kanade
Copy link

kanade commented Jul 21, 2024

運用しているのは小規模サーバーですが、例のスパム騒動以降は新規登録をいち早く確認したいためGoogle Apps Scriptで定期的に監視してました。
MisskeyそのものからWebhook発火できるならぜひほしいです!

@tai-cha tai-cha added the ✨Feature This adds/improves/enhances a feature label Jul 25, 2024
@samunohito samunohito added this to the v2024.7.0 milestone Jul 29, 2024
@samunohito samunohito self-assigned this Jul 29, 2024
@samunohito
Copy link
Member

やるか…

@samunohito
Copy link
Member

prにも記載していますが、このようなペイロードで送信されます。
(MisskeyHubのメンテは追々…)

{
  "server": "http://misskey.local",
  "hookId": "9wahlb3v36ut0004",
  "eventId": "8ed2ff19-24ec-482c-9ecf-cff4ae512ca1",
  "createdAt": 1722253521128,
  "type": "userCreated",
  "body": {
    "id": "9wahlb6h36ut0006",
    "name": null,
    "username": "alice",
    "host": null,
    "avatarUrl": "http://misskey.local/identicon/[email protected]",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "emojis": {},
    "onlineStatus": "unknown",
    "badgeRoles": []
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants