ЛР7: прогон в Docker, исправления по результатам, evidence и отчёт
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
LOSYASH
2026-12-03 16:54:53 +01:00
parent cbbe525b3e
commit 17baa0dd7e
47 changed files with 1934 additions and 65 deletions
+20
View File
@@ -0,0 +1,20 @@
# s3-private
# date: 2026-12-03T00:25:01 commit: cbbe525
$ docker compose --env-file .env exec -T api python -m app.tools private-check
ok api credentials: PUT staging/ (own prefix) -> 200
ok anonymous GET object -> 403
ok anonymous LIST bucket -> 403
ok anonymous PUT object -> 403
ok api credentials: PUT originals/ (worker prefix) -> AccessDenied
ok api credentials: PUT variants/ (worker prefix) -> AccessDenied
ok api credentials: GET staging/ (only worker reads) -> AccessDenied
ok api credentials: LIST originals/ -> AccessDenied
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
ok api credentials: DELETE staging/ (own prefix) -> 204
13 passed, 0 failed
[exit 0]