Files
mtusi2026lab7/evidence/lab7-track1.json
T
ejur22 d995f98446
Skeleton contracts / contracts (pull_request) Canceled after 0s
Lab 7
2026-11-27 20:47:58 +03:00

167 lines
3.7 KiB
JSON

{
"generated_at": "2026-11-27T20:34:09+0300",
"base_url": "https://localhost:8443",
"checks": [
{
"identity": "worker",
"operation": "SELECT users",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "SELECT sessions",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "SELECT messages",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "UPDATE users",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "DROP TABLE attachments",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "SELECT attachments",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "worker",
"operation": "SELECT attachment_jobs",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "api",
"operation": "SELECT users",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "admin",
"operation": "SELECT users (pre-hardening identity)",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "admin",
"operation": "ALTER ROLE (create admin)",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "worker",
"operation": "read own KV path",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "worker",
"operation": "read api KV path",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "api",
"operation": "read own KV path",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "api",
"operation": "read worker KV path",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "publish to pipeline queue",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "worker",
"operation": "attachments bucket (own)",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "worker",
"operation": "messenger-internal bucket",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "admin",
"operation": "messenger-internal bucket (root key)",
"expected": "ALLOWED",
"observed": "ALLOWED",
"match": true
},
{
"identity": "system",
"operation": "task accepted before revoke",
"expected": "queued",
"observed": "queued",
"match": true
},
{
"identity": "worker",
"operation": "DB access after revocation",
"expected": "DENIED",
"observed": "DENIED",
"match": true
},
{
"identity": "system",
"operation": "task still queued (durable)",
"expected": "queued",
"observed": "queued",
"match": true
},
{
"identity": "worker",
"operation": "processed after rotation",
"expected": "ready",
"observed": "ready",
"match": true
},
{
"identity": "system",
"operation": "no lost jobs",
"expected": "ready==done",
"observed": "7|7",
"match": true
}
]
}