Files
mtusi2026lab4/evidence/criteria/s3-permissions.md
T
2026-10-19 00:20:43 +03:00

45 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Повторяемый bootstrap и ограниченные credentials
[Отчёт](../../REPORT.md) · [Все критерии](README.md)
Статус: **PASS**. Запуск: `20261018T203755.405686Z`.
Тесты создают синтетические данные. Интеграционные Go-тесты используют отдельные схемы БД и собственные S3-ключи.
Проверенные сценарии: `TestS3PermissionsAndBootstrap`, `TestDirectUploadAccessPermissionsAndLifecycle`.
## backend
```sh
make test-backend
```
Начало: 2026-10-18T20:38:40.802787+00:00; длительность: 148.987 с; exit code: 0.
Фрагмент; полный вывод: [backend.txt](runs/20261018T203755.405686Z/backend.txt).
````text
=== RUN TestDirectUploadAccessPermissionsAndLifecycle
--- PASS: TestDirectUploadAccessPermissionsAndLifecycle (0.98s)
=== RUN TestS3PermissionsAndBootstrap
--- PASS: TestS3PermissionsAndBootstrap (0.92s)
PASS
````
## isolation
```sh
/usr/bin/python3 scripts/check_s3_isolation.py
```
Начало: 2026-10-18T20:41:07.464744+00:00; длительность: 0.991 с; exit code: 0.
````text
PASS: loopback-only private S3, disabled console, restricted API mounts, bounded tmpfs
````
## Реализация
- [src/backend/repositories/s3_admin.go](../../src/backend/repositories/s3_admin.go)
- [scripts/check_s3_isolation.py](../../scripts/check_s3_isolation.py)