fix(acceptance): keep safe fleet metadata clear of sensitive report fields

This commit is contained in:
2026-10-03 23:58:47 +08:00
parent 19e9913f30
commit 3f6083ff02
6 changed files with 37 additions and 5 deletions
@@ -210,7 +210,8 @@ test('missing persistence and failed pre-send checkpoints cannot send HTTP', asy
assert.ok(blocked)
assert.ok(!f.calls.some(row => row.method === blocked.method && row.path === blocked.path))
if (target === 'multipart') {
assert.match(blocked.file.sha256, /^[a-f0-9]{64}$/); assert.ok(blocked.file.bytes > 0)
assert.match(blocked.file.sha256, /^[a-f0-9]{64}$/); assert.ok(blocked.file.sizeBytes > 0)
assert.equal(Object.hasOwn(blocked.file, 'bytes'), false)
assert.equal(blocked.file.content, undefined)
}
}