Files
mtusi2026lab2/evidence/s3-security.txt
T
ArtyomandClaude Opus 5.5 a55bc716c4 Record level 3 evidence and fill in the report
Every grade 3 item of lab 5 is proven on a stand raised from empty
volumes at fe26938: the public smoke passes with 202 queued and a real
256x160 JPEG thumbnail; the suite runs its six grade 3 scenarios and
eight invariants green, including worker down with both API replicas,
the relay and the broker restarted while the job stays in the queue,
a redelivered finished job that changes nothing, an S3 outage that
recovers on attempt 2 and five transient failures that end in
retry_exhausted; the stand evidence shows the queued job with
delivery mode 2, the job id as message id and exactly the contract
fields, 409 before ready and a clean SIGTERM of the relay and the
worker; persistence restarts all eight services with their volumes,
failover keeps 134 writes without errors, and the lab 4 scenarios,
S3 checks, upload faults and container policy still pass.

The report describes the clean clone start, the processes and the
source of truth, what is stored at the moment of 202, the outbox and
relay, the claim, fencing and ack order of the worker, the retry
policy, the failure windows, the broker topology and permissions, the
roles table and the mapping of .env.example.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:31:07 +03:00

96 lines
2.5 KiB
Plaintext

== 2026-10-28T22:22:55Z S3 privacy and bootstrap checks
PASS s3: опубликованные host-порты: нет
PASS s3: консоль :9001 внутри контейнера: 000
PASS s3-init: повторный запуск 1: 0
PASS s3-init: повторный запуск 2: 0
PASS s3-init: состояние IAM/bucket не изменилось: same
PASS api: PutObject: allow
PASS api: HeadObject: allow
PASS api: GetObject: allow
PASS api: ListBucket: allow
PASS api: CreateBucket: deny
PASS api: DeleteBucket: deny
PASS api: PutBucketPolicy (public): deny
PASS api: PutBucketLifecycle: deny
PASS api: admin ListUsers: deny
PASS api: PutObject в чужой bucket: deny
PASS api: ListBucket чужого bucket: deny
PASS anonymous: HeadObject: deny
PASS anonymous: ListBucket: deny
PASS anonymous: PutObject: deny
PASS anonymous: прямой HTTP GET объекта из отдельного контейнера: 403
PASS bucket: anonymous policy: private
PASS api: DeleteObject: allow
PASS s3: консоль :9001 из отдельного контейнера сети стенда: connection refused
== IAM/bucket snapshot (без секретов)
{
"items": [
{
"key": "messenger-attachments",
"last_modified": "2026-10-28T22:20:01Z",
"is_dir": true
}
],
"truncated": false
}
{
"path": "root/messenger-attachments",
"permission": "private"
}
{
"name": "messenger-api",
"policy": {
"policy": {
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:AbortMultipartUpload",
"s3:ListMultipartUploadParts"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::messenger-attachments/*"
],
"Sid": "MessengerApiObjects"
},
{
"Action": [
"s3:ListBucket",
"s3:ListBucketMultipartUploads",
"s3:GetBucketLocation"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::messenger-attachments"
],
"Sid": "MessengerApiBucket"
}
],
"Version": "2012-10-17"
},
"policy_name": "messenger-api",
}
}
{
"accessKey": "<api-key>",
"status": "enabled",
"policies": [
"messenger-api"
],
"memberOf": []
}
{
"rules": [
{
"id": "abort-incomplete-uploads",
"status": "Enabled",
"prefix": "",
"abortIncompleteMultipartUploadDays": 1
}
]
}
RESULT: PASS