lab7: отчёт, разбор сканирования, доказательства прогона 43267046991
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Доказательства
|
||||
|
||||
Храните небольшие обезличенные результаты: команды и stdout проверок, JSON/CSV агрегатов нагрузки, EXPLAIN, dashboard JSON, текст разбора отказа. Укажите дату, commit, аппаратные лимиты и профиль нагрузки.
|
||||
|
||||
Не добавляйте .env, session tokens, cookies, приватные ключи, credentials, реальные сообщения, raw dumps и signed URLs. Для скриншотов скрывайте секреты. Большие логи/бинарные traces сохраняйте отдельно по правилам преподавателя; одного скриншота без методики недостаточно.
|
||||
@@ -0,0 +1,17 @@
|
||||
/mtusi2026lab7-api-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-api-2 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-grafana-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-lb-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-loki-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-openbao-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-otel-collector-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-postgres-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-prometheus-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-rabbitmq-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-reconciler-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-redis-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-relay-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-s3-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-tempo-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-tempo-init-1 restarts=0 oom_killed=false exit=0
|
||||
/mtusi2026lab7-worker-1 restarts=0 oom_killed=false exit=0
|
||||
@@ -0,0 +1,18 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab7-api-1 mtusi2026lab7-api:local "/app/api" api 5 minutes ago Up 2 minutes (healthy) 8443/tcp
|
||||
mtusi2026lab7-api-2 mtusi2026lab7-api:local "/app/api" api 5 minutes ago Up 2 minutes (healthy) 8443/tcp
|
||||
mtusi2026lab7-grafana-1 grafana/grafana:11.4.0 "/run.sh" grafana 6 minutes ago Up 6 minutes (healthy) 127.0.0.1:3000->3000/tcp
|
||||
mtusi2026lab7-lb-1 haproxy:3.0.5-alpine "docker-entrypoint.s…" lb 6 minutes ago Up 6 minutes 127.0.0.1:8443->8443/tcp
|
||||
mtusi2026lab7-loki-1 grafana/loki:3.3.2 "/usr/bin/loki -conf…" loki 6 minutes ago Up 6 minutes 3100/tcp
|
||||
mtusi2026lab7-openbao-1 openbao/openbao:2.1.0 "docker-entrypoint.s…" openbao 7 minutes ago Up 5 minutes 127.0.0.1:8200->8200/tcp
|
||||
mtusi2026lab7-otel-collector-1 otel/opentelemetry-collector-contrib:0.116.1 "/otelcol-contrib --…" otel-collector 6 minutes ago Up 6 minutes 4317-4318/tcp, 55678-55679/tcp
|
||||
mtusi2026lab7-postgres-1 postgres:16.4-alpine "sh -c 'install -o p…" postgres 7 minutes ago Up 7 minutes (healthy) 5432/tcp
|
||||
mtusi2026lab7-prometheus-1 prom/prometheus:v3.1.0 "/bin/prometheus --c…" prometheus 6 minutes ago Up 6 minutes 9090/tcp
|
||||
mtusi2026lab7-rabbitmq-1 rabbitmq:4.0.9-alpine "docker-entrypoint.s…" rabbitmq 7 minutes ago Up 7 minutes (healthy) 4369/tcp, 5671-5672/tcp, 15691-15692/tcp, 25672/tcp
|
||||
mtusi2026lab7-reconciler-1 mtusi2026lab7-api:local "/app/reconcile --ap…" reconciler 6 minutes ago Up 6 minutes (healthy) 8443/tcp
|
||||
mtusi2026lab7-redis-1 redis:7.4.1-alpine "docker-entrypoint.s…" redis 7 minutes ago Up 7 minutes (healthy) 6379/tcp
|
||||
mtusi2026lab7-relay-1 mtusi2026lab7-api:local "/app/pipeline relay" relay 6 minutes ago Up 6 minutes (healthy) 8443/tcp
|
||||
mtusi2026lab7-s3-1 bitnamilegacy/minio:2025.4.22@sha256:50cec18ac4184af4671a78aedd5554942c8ae105d51a465fa82037949046da01 "/bin/bash -c 'mkdir…" s3 7 minutes ago Up 7 minutes (healthy) 9000-9001/tcp
|
||||
mtusi2026lab7-tempo-1 grafana/tempo:2.6.1 "/tempo -config.file…" tempo 6 minutes ago Up 6 minutes
|
||||
mtusi2026lab7-tempo-init-1 grafana/tempo:2.6.1 "chown 10001:10001 /…" tempo-init 6 minutes ago Exited (0) 6 minutes ago
|
||||
mtusi2026lab7-worker-1 mtusi2026lab7-api:local "/app/pipeline worker" worker 6 minutes ago Up About a minute (healthy) 8443/tcp
|
||||
@@ -0,0 +1,16 @@
|
||||
mtusi2026lab7-api-2 2.01% 129.7MiB / 256MiB
|
||||
mtusi2026lab7-api-1 2.02% 112.4MiB / 256MiB
|
||||
mtusi2026lab7-grafana-1 0.20% 56.66MiB / 256MiB
|
||||
mtusi2026lab7-lb-1 0.28% 21.39MiB / 128MiB
|
||||
mtusi2026lab7-tempo-1 0.19% 188.7MiB / 1GiB
|
||||
mtusi2026lab7-relay-1 0.17% 12.81MiB / 128MiB
|
||||
mtusi2026lab7-worker-1 0.01% 14.2MiB / 768MiB
|
||||
mtusi2026lab7-otel-collector-1 0.18% 57.44MiB / 256MiB
|
||||
mtusi2026lab7-loki-1 0.36% 109.2MiB / 1GiB
|
||||
mtusi2026lab7-prometheus-1 0.33% 41.64MiB / 512MiB
|
||||
mtusi2026lab7-reconciler-1 0.00% 5.207MiB / 128MiB
|
||||
mtusi2026lab7-redis-1 0.44% 6.051MiB / 256MiB
|
||||
mtusi2026lab7-rabbitmq-1 0.14% 92.3MiB / 512MiB
|
||||
mtusi2026lab7-s3-1 5.80% 402.9MiB / 512MiB
|
||||
mtusi2026lab7-postgres-1 0.25% 100.3MiB / 512MiB
|
||||
mtusi2026lab7-openbao-1 0.27% 22MiB / 256MiB
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7776 2486 427 114 5283 5289
|
||||
Swap: 3071 0 3071
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"scenario": "acl",
|
||||
"result": {
|
||||
"outsider_metadata": 404,
|
||||
"outsider_content": 404,
|
||||
"attach_foreign_file": 404,
|
||||
"fake_x_user_id_with_eve_token": 404,
|
||||
"x_user_id_without_token": 401,
|
||||
"after_logout": 401,
|
||||
"json_body_65KiB": 413,
|
||||
"stored_hash_params": "argon2id m=19456,t=2,p=1",
|
||||
"rehash": {
|
||||
"before": "m=65536,t=1,p=4",
|
||||
"after": "m=19456,t=2,p=1"
|
||||
},
|
||||
"login_rate_limit": {
|
||||
"codes": [
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
401,
|
||||
429,
|
||||
429,
|
||||
429,
|
||||
429
|
||||
],
|
||||
"retry_after": "58",
|
||||
"served_by_replicas": 2
|
||||
},
|
||||
"correct_password_while_limited": 429,
|
||||
"after_ttl_expiry": 401
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"scenario": "argon2",
|
||||
"result": {
|
||||
"bench": {
|
||||
"current": {
|
||||
"MemoryKiB": 19456,
|
||||
"Iterations": 2,
|
||||
"Parallelism": 1
|
||||
},
|
||||
"results": [
|
||||
{
|
||||
"hashes_per_s_one_core": 13.908012405947067,
|
||||
"m_kib": 19456,
|
||||
"ms_max": 78.569,
|
||||
"ms_p50": 71.901,
|
||||
"p": 1,
|
||||
"t": 2
|
||||
},
|
||||
{
|
||||
"hashes_per_s_one_core": 12.071900237816434,
|
||||
"m_kib": 47104,
|
||||
"ms_max": 101.575,
|
||||
"ms_p50": 82.837,
|
||||
"p": 1,
|
||||
"t": 1
|
||||
},
|
||||
{
|
||||
"hashes_per_s_one_core": 12.013166430407725,
|
||||
"m_kib": 19456,
|
||||
"ms_max": 107.157,
|
||||
"ms_p50": 83.242,
|
||||
"p": 1,
|
||||
"t": 3
|
||||
},
|
||||
{
|
||||
"hashes_per_s_one_core": 9.137927883473143,
|
||||
"m_kib": 65536,
|
||||
"ms_max": 209.469,
|
||||
"ms_p50": 109.434,
|
||||
"p": 4,
|
||||
"t": 1
|
||||
},
|
||||
{
|
||||
"hashes_per_s_one_core": 3.6552245952752567,
|
||||
"m_kib": 65536,
|
||||
"ms_max": 295.643,
|
||||
"ms_p50": 273.581,
|
||||
"p": 1,
|
||||
"t": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
"login_latency_ms_sequential": [
|
||||
62.4,
|
||||
26.9,
|
||||
26.6,
|
||||
26.9,
|
||||
26.4,
|
||||
26.2,
|
||||
27.7,
|
||||
27.2
|
||||
],
|
||||
"dos_burst": {
|
||||
"attempts": 120,
|
||||
"seconds": 2.92,
|
||||
"codes": {
|
||||
"401": 59,
|
||||
"429": 61
|
||||
},
|
||||
"api_mem_peak_mib": [
|
||||
197.0,
|
||||
131.2
|
||||
],
|
||||
"api_mem_before_mib": [
|
||||
66.0,
|
||||
67.2
|
||||
]
|
||||
},
|
||||
"budget": {
|
||||
"hash_ms_p50": 71.901,
|
||||
"argon2_slots_per_replica": 2,
|
||||
"replicas": 2,
|
||||
"max_hashes_per_s_stand": 55.6,
|
||||
"argon2_memory_bound_mib": 76.0,
|
||||
"per_ip_limit_per_min": 60,
|
||||
"per_user_limit_per_min": 10
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
{
|
||||
"scenario": "hardening",
|
||||
"result": {
|
||||
"api": {
|
||||
"user": "1001:1001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 256,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": [],
|
||||
"process_uid": "1001"
|
||||
},
|
||||
"grafana": {
|
||||
"user": "472",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 256,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": [
|
||||
"127.0.0.1:3000->3000/tcp"
|
||||
]
|
||||
},
|
||||
"lb": {
|
||||
"user": "haproxy",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_front",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 128,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": [
|
||||
"127.0.0.1:8443->8443/tcp"
|
||||
]
|
||||
},
|
||||
"loki": {
|
||||
"user": "10001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 1024,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"openbao": {
|
||||
"user": "root(image default)",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID"
|
||||
],
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 256,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": [
|
||||
"127.0.0.1:8200->8200/tcp"
|
||||
]
|
||||
},
|
||||
"otel-collector": {
|
||||
"user": "10001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 256,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"postgres": {
|
||||
"user": "root(image default)",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID"
|
||||
],
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 512,
|
||||
"nano_cpus": 1000000000,
|
||||
"pids_limit": 512,
|
||||
"published": []
|
||||
},
|
||||
"prometheus": {
|
||||
"user": "nobody",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 512,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"rabbitmq": {
|
||||
"user": "root(image default)",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID"
|
||||
],
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 512,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 512,
|
||||
"published": []
|
||||
},
|
||||
"reconciler": {
|
||||
"user": "1001:1001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 128,
|
||||
"nano_cpus": 250000000,
|
||||
"pids_limit": 128,
|
||||
"published": [],
|
||||
"process_uid": "1001"
|
||||
},
|
||||
"redis": {
|
||||
"user": "root(image default)",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID"
|
||||
],
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 256,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"relay": {
|
||||
"user": "1001:1001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 128,
|
||||
"nano_cpus": 250000000,
|
||||
"pids_limit": 128,
|
||||
"published": [],
|
||||
"process_uid": "1001"
|
||||
},
|
||||
"s3": {
|
||||
"user": "1001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 512,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"tempo": {
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 1024,
|
||||
"nano_cpus": 500000000,
|
||||
"pids_limit": 256,
|
||||
"published": []
|
||||
},
|
||||
"tempo-init": {
|
||||
"user": "root",
|
||||
"read_only": false,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": [
|
||||
"CAP_CHOWN"
|
||||
],
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_telemetry",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 0,
|
||||
"nano_cpus": 0,
|
||||
"pids_limit": null,
|
||||
"published": []
|
||||
},
|
||||
"worker": {
|
||||
"user": "1001:1001",
|
||||
"read_only": true,
|
||||
"privileged": false,
|
||||
"cap_drop": [
|
||||
"ALL"
|
||||
],
|
||||
"cap_add": null,
|
||||
"no_new_privileges": true,
|
||||
"network_mode": "mtusi2026lab7_back",
|
||||
"pid_mode": "",
|
||||
"docker_sock": false,
|
||||
"memory_limit_mib": 768,
|
||||
"nano_cpus": 1000000000,
|
||||
"pids_limit": 128,
|
||||
"published": [],
|
||||
"process_uid": "1001"
|
||||
},
|
||||
"_image_sensitive_files": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"scenario": "leaks",
|
||||
"result": {
|
||||
"loki:password": 0,
|
||||
"loki:token": 0,
|
||||
"loki:message_text": 0,
|
||||
"loki:basic_header": 0,
|
||||
"tempo:password": 0,
|
||||
"tempo:token": 0,
|
||||
"tempo:message_text": 0,
|
||||
"tempo:basic_header": 0,
|
||||
"stdout:password": 0,
|
||||
"stdout:token": 0,
|
||||
"stdout:message_text": 0,
|
||||
"stdout:basic_header": 0,
|
||||
"traces_scanned": 20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"scenario": "lifecycle",
|
||||
"result": {
|
||||
"api_openbao_logins_in_100s": 8,
|
||||
"api_refresh_failures": 0,
|
||||
"api_requests_ok": 200,
|
||||
"upload_while_sealed": "ready",
|
||||
"worker_restart_while_sealed": true,
|
||||
"upload_accepted_while_worker_blocked": "queued",
|
||||
"ready_seconds_after_unseal": 0.5,
|
||||
"final_status": "ready",
|
||||
"sealed_seconds": 33,
|
||||
"load_while_sealed": {
|
||||
"requests": 8667,
|
||||
"ok": 8667,
|
||||
"errors": 0,
|
||||
"error_ratio": 0.0,
|
||||
"ok_rps": 248.5,
|
||||
"seconds": 34.9,
|
||||
"latency_ms_all_ok": {
|
||||
"p50": 6.49,
|
||||
"p95": 15.21,
|
||||
"p99": 24.87
|
||||
},
|
||||
"latency_ms_outside_faults": {
|
||||
"p50": 6.49,
|
||||
"p95": 15.21,
|
||||
"p99": 24.87
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"scenario": "mtls",
|
||||
"result": {
|
||||
"lb_to_api": {
|
||||
"no_client_cert": {
|
||||
"addr": "api:8443",
|
||||
"result": "server_rejected: certificate required"
|
||||
},
|
||||
"foreign_ca_cert_cn_lb": {
|
||||
"addr": "api:8443",
|
||||
"result": "server_rejected: certificate required"
|
||||
},
|
||||
"trusted_ca_identity_attacker": {
|
||||
"addr": "api:8443",
|
||||
"result": "server_rejected: bad certificate"
|
||||
},
|
||||
"trusted_ca_identity_worker": {
|
||||
"addr": "api:8443",
|
||||
"result": "server_rejected: bad certificate"
|
||||
},
|
||||
"identity_lb": {
|
||||
"addr": "api:8443",
|
||||
"instance": "449a818793bd6549",
|
||||
"result": "ok",
|
||||
"server_serial": "190915b35397e474b2c7e012b34b0123",
|
||||
"status": 200
|
||||
},
|
||||
"plaintext_http": {
|
||||
"addr": "api:8443",
|
||||
"read_err": "",
|
||||
"reply_bytes": 76,
|
||||
"reply_prefix": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\""
|
||||
}
|
||||
},
|
||||
"broker": {
|
||||
"foreign_ca": {
|
||||
"connect": "denied: Exception (501) Reason: \"remote error: tls: certificate required\""
|
||||
},
|
||||
"trusted_ca_cn_attacker": {
|
||||
"connect": "denied: Exception (403) Reason: \"username or password not allowed\""
|
||||
},
|
||||
"trusted_ca_cn_lb": {
|
||||
"connect": "denied: Exception (403) Reason: \"username or password not allowed\""
|
||||
},
|
||||
"worker": {
|
||||
"connect": "allowed",
|
||||
"consume attachment.dead (DLQ)": "denied: Exception (403) Reason: \"ACCESS_REFUSED - read access to queue 'attachment.dead' in vhost '/' refused for user 'worker-g1'\"",
|
||||
"consume attachment.process": "allowed",
|
||||
"declare queue evil": "denied: Exception (403) Reason: \"ACCESS_REFUSED - configure access to queue 'evil.probe' in vhost '/' refused for user 'worker-g1'\"",
|
||||
"delete queue attachment.process": "denied: Exception (403) Reason: \"ACCESS_REFUSED - configure access to queue 'attachment.process' in vhost '/' refused for user 'worker-g1'\"",
|
||||
"publish attachments (job)": "denied: nack"
|
||||
},
|
||||
"relay": {
|
||||
"connect": "allowed",
|
||||
"consume attachment.dead (DLQ)": "denied: Exception (403) Reason: \"ACCESS_REFUSED - read access to queue 'attachment.dead' in vhost '/' refused for user 'relay-g1'\"",
|
||||
"consume attachment.process": "denied: Exception (403) Reason: \"ACCESS_REFUSED - read access to queue 'attachment.process' in vhost '/' refused for user 'relay-g1'\"",
|
||||
"declare queue evil": "denied: Exception (403) Reason: \"ACCESS_REFUSED - configure access to queue 'evil.probe' in vhost '/' refused for user 'relay-g1'\"",
|
||||
"delete queue attachment.process": "denied: Exception (403) Reason: \"ACCESS_REFUSED - configure access to queue 'attachment.process' in vhost '/' refused for user 'relay-g1'\"",
|
||||
"publish attachments (job)": "allowed"
|
||||
},
|
||||
"plaintext_5672": {
|
||||
"addr": "rabbitmq:5672",
|
||||
"plaintext": "no listener (dial tcp 172.18.0.6:5672: connect: connection refused)"
|
||||
}
|
||||
},
|
||||
"collector": {
|
||||
"no_client_cert": {
|
||||
"ingest": "server_rejected: certificate required"
|
||||
},
|
||||
"foreign_ca": {
|
||||
"ingest": "server_rejected: certificate required"
|
||||
},
|
||||
"main_ca_cert_lb": {
|
||||
"ingest": "server_rejected: certificate required"
|
||||
},
|
||||
"main_ca_cert_worker": {
|
||||
"ingest": "server_rejected: certificate required"
|
||||
},
|
||||
"telemetry_ca_worker": {
|
||||
"ingest": "allowed",
|
||||
"status": 200
|
||||
},
|
||||
"plaintext_http": {
|
||||
"addr": "otel-collector:4318",
|
||||
"read_err": "",
|
||||
"reply_bytes": 76,
|
||||
"reply_prefix": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\""
|
||||
}
|
||||
},
|
||||
"servers": {
|
||||
"redis": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": null,
|
||||
"plaintext_reply": "\"\\x15\\x03\\x03\\x00\\x02\\x02\\x16\"",
|
||||
"plaintext": null
|
||||
},
|
||||
"s3": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 403,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null
|
||||
},
|
||||
"openbao": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 404,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null
|
||||
},
|
||||
"tempo": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 404,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null,
|
||||
"without_client_cert": "server_rejected: certificate required"
|
||||
},
|
||||
"loki": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 404,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null,
|
||||
"without_client_cert": "server_rejected: certificate required"
|
||||
},
|
||||
"prometheus": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 200,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null,
|
||||
"without_client_cert": "server_rejected: certificate required"
|
||||
},
|
||||
"collector-metrics": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 404,
|
||||
"plaintext_reply": "\"HTTP/1.0 400 Bad Request\\r\\n\\r\\nClient sent an HTTP request to an HTTPS server.\\n\"",
|
||||
"plaintext": null,
|
||||
"without_client_cert": "server_rejected: certificate required"
|
||||
},
|
||||
"rabbitmq-metrics": {
|
||||
"tls_verified": "ok",
|
||||
"tls_status": 404,
|
||||
"plaintext_reply": "\"\\x15\\x03\\x01\\x00\\x02\\x02\\n\"",
|
||||
"plaintext": null,
|
||||
"without_client_cert": "server_rejected: certificate required"
|
||||
},
|
||||
"postgres": {
|
||||
"sslmode_disable": "denied: failed to connect to `user=app_api database=messenger`: 172.18.0.3:5432 (postgres): server error: FATAL: pg_hba.conf rejects connection for host \"172.18.0.12\", "
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"scenario": "openbao",
|
||||
"result": {
|
||||
"api": {
|
||||
"create token with other policy": "denied (403)",
|
||||
"list secrets": "denied (403)",
|
||||
"login": "allowed",
|
||||
"read messenger/reconciler": "denied (403)",
|
||||
"read messenger/relay": "denied (403)",
|
||||
"read messenger/worker": "denied (403)",
|
||||
"read own messenger/api": "allowed",
|
||||
"seal openbao": "denied (403)",
|
||||
"write own secret": "denied (403)",
|
||||
"write policy": "denied (403)"
|
||||
},
|
||||
"worker": {
|
||||
"create token with other policy": "denied (403)",
|
||||
"list secrets": "denied (403)",
|
||||
"login": "allowed",
|
||||
"read messenger/api": "denied (403)",
|
||||
"read messenger/reconciler": "denied (403)",
|
||||
"read messenger/relay": "denied (403)",
|
||||
"read own messenger/worker": "allowed",
|
||||
"seal openbao": "denied (403)",
|
||||
"write own secret": "denied (403)",
|
||||
"write policy": "denied (403)"
|
||||
},
|
||||
"relay": {
|
||||
"create token with other policy": "denied (403)",
|
||||
"list secrets": "denied (403)",
|
||||
"login": "allowed",
|
||||
"read messenger/api": "denied (403)",
|
||||
"read messenger/reconciler": "denied (403)",
|
||||
"read messenger/worker": "denied (403)",
|
||||
"read own messenger/relay": "allowed",
|
||||
"seal openbao": "denied (403)",
|
||||
"write own secret": "denied (403)",
|
||||
"write policy": "denied (403)"
|
||||
},
|
||||
"reconciler": {
|
||||
"create token with other policy": "denied (403)",
|
||||
"list secrets": "denied (403)",
|
||||
"login": "allowed",
|
||||
"read messenger/api": "denied (403)",
|
||||
"read messenger/relay": "denied (403)",
|
||||
"read messenger/worker": "denied (403)",
|
||||
"read own messenger/reconciler": "allowed",
|
||||
"seal openbao": "denied (403)",
|
||||
"write own secret": "denied (403)",
|
||||
"write policy": "denied (403)"
|
||||
},
|
||||
"worker_cert_as_api_role": {
|
||||
"login": "denied: login 400"
|
||||
},
|
||||
"attacker_cert": {
|
||||
"login": "denied: login 400"
|
||||
},
|
||||
"app_containers": {
|
||||
"api": {
|
||||
"env_has_token": false,
|
||||
"secret_files": [
|
||||
"ca.crt",
|
||||
"otel.crt",
|
||||
"otel.key",
|
||||
"revoked.txt",
|
||||
"service.crt",
|
||||
"service.key"
|
||||
]
|
||||
},
|
||||
"worker": {
|
||||
"env_has_token": false,
|
||||
"secret_files": [
|
||||
"ca.crt",
|
||||
"otel.crt",
|
||||
"otel.key",
|
||||
"service.crt",
|
||||
"service.key"
|
||||
]
|
||||
},
|
||||
"relay": {
|
||||
"env_has_token": false,
|
||||
"secret_files": [
|
||||
"ca.crt",
|
||||
"otel.crt",
|
||||
"otel.key",
|
||||
"service.crt",
|
||||
"service.key"
|
||||
]
|
||||
},
|
||||
"reconciler": {
|
||||
"env_has_token": false,
|
||||
"secret_files": [
|
||||
"ca.crt",
|
||||
"service.crt",
|
||||
"service.key"
|
||||
]
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"initialized": true,
|
||||
"sealed": false,
|
||||
"storage_type": "file",
|
||||
"t": 2,
|
||||
"n": 3,
|
||||
"version": "2.1.0"
|
||||
},
|
||||
"after_restart_sealed": true,
|
||||
"after_unseal": "allowed"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"scenario": "rotation",
|
||||
"result": {
|
||||
"db_old_password": "denied: failed to connect to `user=app_api database=messenger`: 172.18.0.3:5432 (postgres): failed SASL auth: FATAL: password authentication failed for user \"app_api\" (",
|
||||
"api_after_db_rotation_attempts": [
|
||||
200
|
||||
],
|
||||
"upload_after_s3_rotation": "ready",
|
||||
"api_leaf_serial": {
|
||||
"before": "190915b35397e474b2c7e012b34b0123",
|
||||
"after": "8c644302db8edab1a2e3fedb2c729308"
|
||||
},
|
||||
"old_lb_cert_after_revocation": "server_rejected: bad certificate",
|
||||
"new_lb_cert": 200,
|
||||
"load_during_rotations": {
|
||||
"requests": 34548,
|
||||
"ok": 34542,
|
||||
"errors": 6,
|
||||
"error_ratio": 0.00017,
|
||||
"ok_rps": 249.5,
|
||||
"seconds": 138.4,
|
||||
"latency_ms_all_ok": {
|
||||
"p50": 10.06,
|
||||
"p95": 23.1,
|
||||
"p99": 39.52
|
||||
},
|
||||
"latency_ms_outside_faults": {
|
||||
"p50": 10.06,
|
||||
"p95": 23.1,
|
||||
"p99": 39.52
|
||||
}
|
||||
},
|
||||
"seconds": 138,
|
||||
"images_rebuilt": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"scenario": "tls-external",
|
||||
"result": {
|
||||
"public_security_py": "PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.",
|
||||
"trusted_ca_localhost": "ok TLSv1.3",
|
||||
"wrong_hostname": "cert_verify_error: Hostname mismatch, certificate is not valid for 'messenger.example'.",
|
||||
"foreign_ca_trust_store": "cert_verify_error: unable to get local issuer certificate",
|
||||
"tls_1_1": "ssl_error: NO_PROTOCOLS_AVAILABLE",
|
||||
"host_port_8080": "closed",
|
||||
"host_port_8404": "closed",
|
||||
"host_port_9090": "closed",
|
||||
"host_port_5432": "closed",
|
||||
"host_port_6379": "closed",
|
||||
"host_port_9000": "closed",
|
||||
"host_port_5672": "closed",
|
||||
"host_port_4318": "closed"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user