Implement SCUM login log parser

This commit is contained in:
npc0-hue
2026-08-13 08:07:32 +08:00
parent 8e98ece0ce
commit f34c9ac10f
5 changed files with 441 additions and 1 deletions
@@ -393,6 +393,34 @@
{ "capability": "profile-xml.write", "gate": "disabled", "adapterVersion": "scum-live-data-v0", "evidenceStatus": "missing", "safeReason": "等待真实 XML 来源、字段名、backup 和离线安全证据验证。" },
{ "capability": "economy-command.write", "gate": "disabled", "adapterVersion": "scum-live-data-v0", "evidenceStatus": "missing", "safeReason": "等待 Fame/currency command 与 readback confirmation 验证。" },
{ "capability": "gift-command.write", "gate": "disabled", "adapterVersion": "scum-live-data-v0", "evidenceStatus": "missing", "safeReason": "等待 gift item catalog、transport 和 conclusive receipt 验证。" }
],
"logParsers": [
{
"key": "scum-login-log-login-parser",
"adapterVersion": "scum-live-data-v1",
"assetPath": "assets/scum-live/login-log-parser.json",
"digest": "sha256:264835fb36255071fed46dd50724ec511986db901ac8056b08ddafb10f5f0056",
"parserVersion": "scum-login-log-v1",
"sourceKey": "scum-login-events",
"eventType": "scum.login",
"eventSchemaRef": "schemas/log-events/login.event.schema.json",
"maxLineBytes": 4096,
"cursorPolicy": "source-generation-sequence",
"privacy": { "stripNetworkIdentifiers": true, "logicalEventIdentity": "native-or-sanitized-fields" }
},
{
"key": "scum-login-log-logout-parser",
"adapterVersion": "scum-live-data-v1",
"assetPath": "assets/scum-live/login-log-parser.json",
"digest": "sha256:264835fb36255071fed46dd50724ec511986db901ac8056b08ddafb10f5f0056",
"parserVersion": "scum-login-log-v1",
"sourceKey": "scum-login-events",
"eventType": "scum.logout",
"eventSchemaRef": "schemas/log-events/logout.event.schema.json",
"maxLineBytes": 4096,
"cursorPolicy": "source-generation-sequence",
"privacy": { "stripNetworkIdentifiers": true, "logicalEventIdentity": "native-or-sanitized-fields" }
}
]
},
"permissions": [
@@ -448,6 +476,10 @@
{
"path": "bin/scum-start.cmd",
"mode": 448
},
{
"path": "assets/scum-live/login-log-parser.json",
"mode": 384
}
],
"productionLifecycle": {