forked from mtusi2026/mtusi2026lab7
лабораторная работа 7
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
# Приватность бакета и права ключа API вне API
|
||||
# python scripts/ops.py s3-check
|
||||
# 2026-11-18T00:03:24.3699830+03:00
|
||||
Container messenger-lab7-api-run-25e8a0a5666b Creating
|
||||
Container messenger-lab7-api-run-25e8a0a5666b Created
|
||||
{
|
||||
"endpoint_host": "s3",
|
||||
"bucket": "messenger-attachments",
|
||||
"checks": [
|
||||
{
|
||||
"check": "api credentials: put/get staging/",
|
||||
"ok": true,
|
||||
"detail": ""
|
||||
},
|
||||
{
|
||||
"check": "api credentials cannot write final/ (worker prefix)",
|
||||
"ok": true,
|
||||
"detail": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"check": "api credentials cannot list the bucket",
|
||||
"ok": true,
|
||||
"detail": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"check": "anonymous GET object is denied",
|
||||
"ok": true,
|
||||
"detail": "HTTP 403"
|
||||
},
|
||||
{
|
||||
"check": "anonymous list bucket is denied",
|
||||
"ok": true,
|
||||
"detail": "HTTP 403"
|
||||
},
|
||||
{
|
||||
"check": "anonymous list buckets is denied",
|
||||
"ok": true,
|
||||
"detail": "HTTP 403"
|
||||
},
|
||||
{
|
||||
"check": "api credentials cannot create buckets",
|
||||
"ok": true,
|
||||
"detail": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"check": "api credentials cannot delete the bucket",
|
||||
"ok": true,
|
||||
"detail": "AccessDenied"
|
||||
},
|
||||
{
|
||||
"check": "SeaweedFS admin/UI ports are not reachable on the shared network",
|
||||
"ok": true,
|
||||
"detail": "checked [9333, 8888, 8080, 19333, 18888, 8334, 18333, 18334]"
|
||||
},
|
||||
{
|
||||
"check": "anonymous GET of a real attachment object is denied",
|
||||
"ok": true,
|
||||
"detail": "HTTP 403"
|
||||
},
|
||||
{
|
||||
"check": "same object is readable with API credentials and matches sha256",
|
||||
"ok": true,
|
||||
"detail": "93 bytes"
|
||||
}
|
||||
],
|
||||
"ok": true
|
||||
}
|
||||
Reference in New Issue
Block a user