docs: add evidence for grade 3 requirements

This commit is contained in:
kk10
2026-11-04 17:26:36 +03:00
parent 94afb53e05
commit b266d634c0
6 changed files with 136 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
> OBJECT_KEY=$(docker compose exec -T postgres psql -U messenger -d messenger -Atc "SELECT s3_key FROM attachments WHERE status = 'ready' ORDER BY created_at DESC LIMIT 1;")
> echo "$OBJECT_KEY"
chats/01a1a6df-35b7-786f-aa90-f7155218d5b0/attachments/01a1a6df-35ca-7a29-9fa7-fb30a52fbed0
> docker compose exec -T s3 wget -S -O /dev/null "http://127.0.0.1:9000/messenger-attachments/${OBJECT_KEY}"
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
HTTP/1.1 403 Forbidden
wget: server returned error: HTTP/1.1 403 Forbidden