forked from mtusi2026/mtusi2026lab7
Перенесена реализация lab6; бизнес-API без изменений, транспорт — HTTPS. - Внешний HTTPS (public-ca) на 127.0.0.1:8443; HSTS, TLS >= 1.2. - Обязательное mTLS LB -> каждая API-реплика: API проверяет цепочку internal-ca и SAN клиента (allowlist: lb); health только на 127.0.0.1. - TLS с проверкой сервера ко всем зависимостям: PostgreSQL verify-full (pg_hba только hostssl), HTTPS S3, AMQPS, OTLP/HTTPS с client cert, mTLS Collector -> Prometheus/Loki/Tempo, Grafana -> datasources, scrape. - OpenBao 2.7.2 не в dev-mode: Raft на volume, init/unseal оператором, auth/cert с ролью и policy на сервис, TTL 15 мин + renew/re-login. - Отдельные роли PostgreSQL с грантами по таблицам; разные ключи S3 и пользователи брокера выдаются из OpenBao. - Argon2id (m=19 MiB, t=2, p=1, замер на стенде) и rehash при входе. - Случайный X-Instance-Id; hardening контейнеров (non-root, cap_drop ALL, no-new-privileges, read-only, лимиты); TCP_NODELAY на сокете API. - Модель угроз, trust matrix, отрицательные тесты TLS/mTLS, API, OpenBao, hardening; evidence, в т.ч. прогон из чистого clone.
917 lines
17 KiB
JSON
917 lines
17 KiB
JSON
{
|
|
"checked_at": "2026-11-18T20:59:25Z",
|
|
"total": 182,
|
|
"failed": 0,
|
|
"results": [
|
|
{
|
|
"check": "api(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_apinet//private"
|
|
},
|
|
{
|
|
"check": "api(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=640MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "api(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "api(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(1).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/internal-ca.crt,/run/secrets/service.crt,/run/secrets/service.key"
|
|
},
|
|
{
|
|
"check": "api(2).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_apinet//private"
|
|
},
|
|
{
|
|
"check": "api(2).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=640MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "api(2).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "api(2).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "api(2).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/internal-ca.crt,/run/secrets/service.crt,/run/secrets/service.key"
|
|
},
|
|
{
|
|
"check": "broker(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "broker(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "broker(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "broker(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "broker(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=512MiB cpu=1.00"
|
|
},
|
|
{
|
|
"check": "broker(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": "add=CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "broker(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": "CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "broker(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "broker(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "db(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "db(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "db(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "db(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "db(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=512MiB cpu=1.00"
|
|
},
|
|
{
|
|
"check": "db(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": "add=CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "db(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": "CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "db(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "db(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_grafana-ui//private"
|
|
},
|
|
{
|
|
"check": "grafana(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=384MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "grafana(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).published_3000/tcp",
|
|
"pass": true,
|
|
"detail": "127.0.0.1:3000"
|
|
},
|
|
{
|
|
"check": "grafana(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "grafana(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "janitor(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=160MiB cpu=0.25"
|
|
},
|
|
{
|
|
"check": "janitor(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "janitor(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "janitor(1).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/service.key,/run/secrets/internal-ca.crt,/run/secrets/service.crt"
|
|
},
|
|
{
|
|
"check": "lb(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_apinet//private"
|
|
},
|
|
{
|
|
"check": "lb(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=128MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "lb(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).published_8443/tcp",
|
|
"pass": true,
|
|
"detail": "127.0.0.1:8443"
|
|
},
|
|
{
|
|
"check": "lb(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "lb(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_telemetry//private"
|
|
},
|
|
{
|
|
"check": "loki(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=512MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "loki(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "loki(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_vault//private"
|
|
},
|
|
{
|
|
"check": "openbao(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=256MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "openbao(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "openbao(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_telemetry//private"
|
|
},
|
|
{
|
|
"check": "otel-collector(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=256MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "otel-collector(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "otel-collector(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_telemetry//private"
|
|
},
|
|
{
|
|
"check": "prometheus(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=512MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "prometheus(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "prometheus(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "relay(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=128MiB cpu=0.25"
|
|
},
|
|
{
|
|
"check": "relay(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "relay(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "relay(1).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/service.key,/run/secrets/internal-ca.crt,/run/secrets/service.crt"
|
|
},
|
|
{
|
|
"check": "s3(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "s3(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "s3(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "s3(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "s3(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=768MiB cpu=1.00"
|
|
},
|
|
{
|
|
"check": "s3(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": "add=CHOWN,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "s3(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": "CHOWN,SETGID,SETUID"
|
|
},
|
|
{
|
|
"check": "s3(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "s3(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_telemetry//private"
|
|
},
|
|
{
|
|
"check": "tempo(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=512MiB cpu=0.50"
|
|
},
|
|
{
|
|
"check": "tempo(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "tempo(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "worker(1).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=1024MiB cpu=1.00"
|
|
},
|
|
{
|
|
"check": "worker(1).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "worker(1).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(1).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/internal-ca.crt,/run/secrets/service.crt,/run/secrets/service.key"
|
|
},
|
|
{
|
|
"check": "worker(2).not_privileged",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).no_host_namespaces",
|
|
"pass": true,
|
|
"detail": "mtusi-lab7_backend//private"
|
|
},
|
|
{
|
|
"check": "worker(2).no_docker_socket",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).no_new_privileges",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).memory_cpu_limits",
|
|
"pass": true,
|
|
"detail": "mem=1024MiB cpu=1.00"
|
|
},
|
|
{
|
|
"check": "worker(2).cap_drop_all",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).cap_add_only_documented",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).non_root_uid",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "worker(2).read_only_rootfs",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).no_vault_token_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).no_secret_values_in_env",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "worker(2).only_own_tls_identity_mounted",
|
|
"pass": true,
|
|
"detail": "/run/secrets/internal-ca.crt,/run/secrets/service.crt,/run/secrets/service.key"
|
|
},
|
|
{
|
|
"check": "api(6506bf).health_listener_only_health",
|
|
"pass": true,
|
|
"detail": "{\"GET /health/ready\": \"200\", \"GET /api/v1/chats\": \"404\", \"POST /api/v1/users\": \"404\", \"GET /api/v1/users/me\": \"404\"}"
|
|
},
|
|
{
|
|
"check": "api(c66490).health_listener_only_health",
|
|
"pass": true,
|
|
"detail": "{\"GET /health/ready\": \"200\", \"GET /api/v1/chats\": \"404\", \"POST /api/v1/users\": \"404\", \"GET /api/v1/users/me\": \"404\"}"
|
|
},
|
|
{
|
|
"check": "image.no_key_or_secret_files",
|
|
"pass": true,
|
|
"detail": " no_secrets_dir "
|
|
},
|
|
{
|
|
"check": "image.no_secrets_dir",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "image.history_without_secret_values",
|
|
"pass": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "image.default_user_non_root",
|
|
"pass": true,
|
|
"detail": "10001:10001"
|
|
},
|
|
{
|
|
"check": "repo.scan_secrets_clean",
|
|
"pass": true,
|
|
"detail": "checked 125 secret values from 50 files; files with leaks: none"
|
|
},
|
|
{
|
|
"check": "telemetry.loki_search_positive_control",
|
|
"pass": true,
|
|
"detail": "matching lines: 2"
|
|
},
|
|
{
|
|
"check": "telemetry.loki_no_bearer_token",
|
|
"pass": true,
|
|
"detail": "hits=0"
|
|
},
|
|
{
|
|
"check": "telemetry.loki_no_password",
|
|
"pass": true,
|
|
"detail": "hits=0"
|
|
},
|
|
{
|
|
"check": "telemetry.loki_no_token_prefix",
|
|
"pass": true,
|
|
"detail": "hits=0"
|
|
},
|
|
{
|
|
"check": "telemetry.tempo_no_token_or_password",
|
|
"pass": true,
|
|
"detail": "checked 5 traces"
|
|
}
|
|
]
|
|
} |