Lab 7
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-11-27 20:47:58 +03:00
parent 20afc2c790
commit d995f98446
97 changed files with 8638 additions and 56 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+167
View File
@@ -0,0 +1,167 @@
{
"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
}
]
}