forked from mtusi2026/mtusi2026lab4
ЛР4: S3-хранилище (MinIO) и вложения
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# s3-private
|
||||
# date: 2026-10-29T19:36:21 commit: no-git
|
||||
|
||||
$ docker compose --env-file .env exec -T api python -m app.tools private-check
|
||||
ok API credentials: GET own object -> 200
|
||||
ok anonymous GET object -> 403
|
||||
ok anonymous LIST bucket -> 403
|
||||
ok anonymous PUT object -> 403
|
||||
ok API credentials: ListBuckets (no foreign buckets) -> only messenger-attachments
|
||||
ok API credentials: CreateBucket -> AccessDenied
|
||||
ok API credentials: PutBucketPolicy (make public) -> AccessDenied
|
||||
ok API credentials: DeleteBucket -> AccessDenied
|
||||
|
||||
8 passed, 0 failed
|
||||
[exit 0]
|
||||
127.0.0.1:9000 closed (TimeoutError) ok
|
||||
127.0.0.1:9001 closed (TimeoutError) ok
|
||||
Reference in New Issue
Block a user