Files
mtusi2026lab7-fork/evidence/hardening.txt

35 lines
4.6 KiB
Plaintext
Raw Permalink 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.
service container Config.User uid ro drop add mem published result
api messenger-lab7-api-1 10001:10001 10001 True ALL - 320M - ok
api messenger-lab7-api-2 10001:10001 10001 True ALL - 320M - ok
bao-agent-api messenger-lab7-bao-agent-api-1 10001:10001 10001 True ALL - 128M - ok
bao-agent-worker messenger-lab7-bao-agent-worker-1 10001:10001 10001 True ALL - 128M - ok
broker messenger-lab7-broker-1 redis 999 True ALL - 320M - ok
broker-gate messenger-lab7-broker-gate-1 haproxy 99 True ALL - 64M - ok
grafana messenger-lab7-grafana-1 472 472 False ALL - 256M [('127.0.0.1', '3000')] ok
exception: read_only: совместимость Grafana с read-only rootfs не проверена на стенде; caps сброшены, no-new-privileges, uid 472
lb messenger-lab7-lb-1 haproxy 99 True ALL - 128M [('127.0.0.1', '8443')] ok
loki messenger-lab7-loki-1 10001 10001 True ALL - 512M - ok
migrate messenger-lab7-migrate-1 10001:10001 - True ALL - 256M - ok
openbao messenger-lab7-openbao-1 openbao _rpc True ALL - 256M - ok
otel-collector messenger-lab7-otel-collector-1 10001 10001 True ALL - 384M - ok
otel-gate messenger-lab7-otel-gate-1 haproxy 99 True ALL - 64M - ok
postgres messenger-lab7-postgres-1 70:70 70 True ALL - 512M - ok
prometheus messenger-lab7-prometheus-1 nobody nobody True ALL - 512M - ok
redis messenger-lab7-redis-1 redis 999 True ALL - 96M - ok
s3 messenger-lab7-s3-1 root(image default) root True ALL CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOW 512M - ok
exception: root_user: образ SeaweedFS работает от uid 0; capabilities сброшены (CapDrop ALL), rootfs read-only, запись только в volume /data; cap_add: каталог /data в образе принадлежит не root: возвращены только DAC_OVERRIDE, CHOWN, FOWNER
s3-gate messenger-lab7-s3-gate-1 haproxy 99 True ALL - 64M - ok
s3-init messenger-lab7-s3-init-1 10001:10001 - True ALL - 192M - ok
tempo messenger-lab7-tempo-1 10001:10001 10001 True ALL - 512M - ok
tempo-init messenger-lab7-tempo-init-1 root - False ALL CAP_CHOWN 0M - ok
exception: cap_add: one-shot chown volume (CAP_CHOWN), завершается до старта tempo; root_user: one-shot chown volume; limits: one-shot, завершается за доли секунды; read_only: one-shot chown volume, network_mode none
worker messenger-lab7-worker-1 10001:10001 10001 True ALL - 1280M - ok
network segmentation / egress:
api ok
{"postgres": "reachable", "s3": "reachable", "broker": "reachable", "otel-collector": "reachable", "redis": "reachable", "loki": "no-dns", "tempo": "no-dns", "prometheus": "no-dns", "openbao": "no-dns", "grafana": "no-dns", "api": "reachable", "1.1.1.1": "unreachable"}
worker ok
{"postgres": "reachable", "s3": "reachable", "broker": "reachable", "otel-collector": "reachable", "redis": "reachable", "loki": "no-dns", "tempo": "no-dns", "prometheus": "no-dns", "openbao": "no-dns", "grafana": "no-dns", "api": "reachable", "1.1.1.1": "unreachable"}
PASS: 0 container(s) with problems