登录尝试

安装 one call where you check passwords

从校验密码的服务器上报每次登录尝试。Blipit 按操作者和地址分组,并在密集尝试超过你在“告警”下设定的阈值时生成安全问题。绝不发送密码。安装模块后,Odoo 会自动完成这一步。

1调用

http
POST https://in.blipit.io/api/v1/events
Content-Type: application/json
X-Blipit-Key: <secret key>

{
  "event_id": "9f1c4b6d8e2a47f0b3c5d7e9a1b2c3d4",
  "timestamp": "2026-09-28T09:15:00.000Z",
  "platform": "other",
  "level": "warning",
  "environment": "production",
  "message": "Failed login for admin",
  "sdk": { "name": "myapp-auth", "version": "1.0.0" },
  "security": {
    "kind": "login_failed",
    "actor": "admin",
    "actor_id": "42",
    "ip": "203.0.113.42",
    "user_agent": "Mozilla/5.0",
    "outcome": "bad_password"
  }
}

须知

  • kind 为 login_failed、login_succeeded、login_blocked、password_reset_requested 或 privilege_granted。
  • event_id 是每次尝试新生成的 32 位小写十六进制字符串;同一个发送两次只计一次。

遇到问题?发邮件至 support@blipit.io。每个项目的密钥和确切的 DSN 在 app.blipit.io 的“API 密钥”下。