forked from mtusi2026/mtusi2026lab6
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
# 2026-11-02T13:37:07Z | private bucket outside API (anonymous S3 requests), key permissions, admin ports
|
|
$ python -m src.s3_bootstrap --check-only --sample-from-db
|
|
{
|
|
"endpoint_host": "127.0.0.3",
|
|
"bucket": "messenger-attachments",
|
|
"checks": [
|
|
{
|
|
"check": "api credentials: put/get own bucket",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"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]"
|
|
},
|
|
{
|
|
"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": "111817 bytes"
|
|
}
|
|
],
|
|
"ok": true
|
|
}
|