Реализовать лабораторную 7: mTLS, OpenBao и защита worker

This commit is contained in:
wpyatzy
2026-12-04 20:35:40 +03:00
parent 20afc2c790
commit 1b865eac83
146 changed files with 9552 additions and 87 deletions
+1
View File
@@ -0,0 +1 @@
OpenBao initialized/unsealed with short scoped cert auth
+47
View File
@@ -0,0 +1,47 @@
{
"status": "PASS",
"checks": [
{
"role": "api",
"login": 200,
"own_path": 200,
"other_path": 403,
"policy_write": 403,
"ttl_seconds": 30
},
{
"role": "worker",
"login": 200,
"own_path": 200,
"other_path": 403,
"policy_write": 403,
"ttl_seconds": 30
},
{
"role": "publisher",
"login": 200,
"own_path": 200,
"other_path": 403,
"policy_write": 403,
"ttl_seconds": 30
},
{
"role": "observer",
"login": 200,
"own_path": 200,
"other_path": 403,
"policy_write": 403,
"ttl_seconds": 30
},
{
"role": "janitor",
"login": 200,
"own_path": 200,
"other_path": 403,
"policy_write": 403,
"ttl_seconds": 30
}
],
"wrong_role_login": 400,
"missing_cert_login": 400
}
+2
View File
@@ -0,0 +1,2 @@
python3 scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
+153
View File
@@ -0,0 +1,153 @@
{
"status": "PASS",
"track": 1,
"repeats": [
{
"repeat": 1,
"broad": {
"db_jobs_read": true,
"db_users_read": true,
"db_sessions_read": true,
"db_original_metadata_write": true,
"db_jobs_delete": true,
"db_ddl": true,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": true,
"s3_list_all": true,
"s3_staging_delete": true,
"queue_ping": true,
"queue_inject": true,
"queue_other_stream": true
},
"least_privilege": {
"db_jobs_read": true,
"db_users_read": false,
"db_sessions_read": false,
"db_original_metadata_write": false,
"db_jobs_delete": false,
"db_ddl": false,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": false,
"s3_list_all": false,
"s3_staging_delete": false,
"queue_ping": true,
"queue_inject": false,
"queue_other_stream": false
},
"accepted": 3,
"preserved_ready": 3,
"recovery_seconds": 95.997,
"image_unchanged": true,
"transient_503": 0,
"revocation_and_rotation_seconds": 77.671,
"proof": {
"status": "PASS",
"revoked_tls": true,
"revoked_bao_login": true,
"old_db_password_denied": true,
"old_broker_password_denied": true,
"old_s3_password_denied": true
}
},
{
"repeat": 2,
"broad": {
"db_jobs_read": true,
"db_users_read": true,
"db_sessions_read": true,
"db_original_metadata_write": true,
"db_jobs_delete": true,
"db_ddl": true,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": true,
"s3_list_all": true,
"s3_staging_delete": true,
"queue_ping": true,
"queue_inject": true,
"queue_other_stream": true
},
"least_privilege": {
"db_jobs_read": true,
"db_users_read": false,
"db_sessions_read": false,
"db_original_metadata_write": false,
"db_jobs_delete": false,
"db_ddl": false,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": false,
"s3_list_all": false,
"s3_staging_delete": false,
"queue_ping": true,
"queue_inject": false,
"queue_other_stream": false
},
"accepted": 3,
"preserved_ready": 3,
"recovery_seconds": 89.27,
"image_unchanged": true,
"transient_503": 0,
"revocation_and_rotation_seconds": 79.221,
"proof": {
"status": "PASS",
"revoked_tls": true,
"revoked_bao_login": true,
"old_db_password_denied": true,
"old_broker_password_denied": true,
"old_s3_password_denied": true
}
},
{
"repeat": 3,
"broad": {
"db_jobs_read": true,
"db_users_read": true,
"db_sessions_read": true,
"db_original_metadata_write": true,
"db_jobs_delete": true,
"db_ddl": true,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": true,
"s3_list_all": true,
"s3_staging_delete": true,
"queue_ping": true,
"queue_inject": true,
"queue_other_stream": true
},
"least_privilege": {
"db_jobs_read": true,
"db_users_read": false,
"db_sessions_read": false,
"db_original_metadata_write": false,
"db_jobs_delete": false,
"db_ddl": false,
"s3_staging_read": true,
"s3_results_write": true,
"s3_private_read": false,
"s3_list_all": false,
"s3_staging_delete": false,
"queue_ping": true,
"queue_inject": false,
"queue_other_stream": false
},
"accepted": 3,
"preserved_ready": 3,
"recovery_seconds": 88.954,
"image_unchanged": true,
"transient_503": 0,
"revocation_and_rotation_seconds": 79.368,
"proof": {
"status": "PASS",
"revoked_tls": true,
"revoked_bao_login": true,
"old_db_password_denied": true,
"old_broker_password_denied": true,
"old_s3_password_denied": true
}
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

+485
View File
@@ -0,0 +1,485 @@
[
{
"name": "/mtusi-lab7-api-1",
"id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2",
"hostname": "37af478b026c",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:17.810206665Z",
"restart_count": 0,
"oom_killed": false,
"health": "starting",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-api-2",
"id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37",
"hostname": "cb6ebd579685",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:17.954074797Z",
"restart_count": 0,
"oom_killed": false,
"health": "starting",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-1",
"id": "0ed597fbc01e3b5404b6c03279dd16af661f8222d01c518da2cbfc9d2e342708",
"hostname": "0ed597fbc01e",
"service": "broker",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.315614194Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-engine-1",
"id": "1234cb272ec6f32f13fdf2964b0bfba1ef77ffb71686f274ca2955ab67e40f67",
"hostname": "0ed597fbc01e",
"service": "broker-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:21:50.320862865Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-1",
"id": "f3565114e9ac51d937fd54299f1cd03a3634a5a1a265e1772fad858416930109",
"hostname": "f3565114e9ac",
"service": "cache",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.800598Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-engine-1",
"id": "db4d049e8e084f88c08cdae30ad0ffbe10d435d25555af09eab62259fd4b0bb8",
"hostname": "f3565114e9ac",
"service": "cache-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:21:50.336836852Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-1",
"id": "0b4c0741c721892e1996d71c29ff44207829dad31499885ee006fade878f1c01",
"hostname": "0b4c0741c721",
"service": "collector",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.463198299Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"18888/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8887"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-engine-1",
"id": "9eb30bb6c7f0656f36d5ad0583822242c06759c1679a1c5f51c9d3404e26161d",
"hostname": "0b4c0741c721",
"service": "collector-engine",
"image_id": "sha256:34c03a123675e3fa017889315a7dfe4d3f4b844c79efd6b6ff93024443df0a6d",
"status": "running",
"started_at": "2026-12-04T17:21:50.688260797Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-1",
"id": "8257eaf4e217acc870581141883a77aeb2102ef43912b4d18ae342dc10ac10fe",
"hostname": "8257eaf4e217",
"service": "db",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.350898325Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-engine-1",
"id": "4f04982137c8ddfe924472fb1486d92ea2a3cdf0bb8ef589b425b0e53fcbb8a8",
"hostname": "8257eaf4e217",
"service": "db-engine",
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
"status": "running",
"started_at": "2026-12-04T17:21:50.978596573Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": [
{
"name": "mtusi-lab7_postgres_data",
"destination": "/var/lib/postgresql/data"
}
]
},
{
"name": "/mtusi-lab7-grafana-1",
"id": "dd1392cc2fd24a9551dfa01fa3f9352a4d54a8402c9eab5c1332bc0a443f8d37",
"hostname": "dd1392cc2fd2",
"service": "grafana",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.626025136Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3007"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-grafana-engine-1",
"id": "b97616fd6be9a9b7b23a25ea3ed85e04a3ee7c01a9e4397420d7135f69c0a1c2",
"hostname": "dd1392cc2fd2",
"service": "grafana-engine",
"image_id": "sha256:48b3b3e6415ffa969075ee67f9d289849aa11a5870eeb130f9fb4f76dc0900a3",
"status": "running",
"started_at": "2026-12-04T17:21:50.51885612Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-janitor-1",
"id": "cc5b4b31543b287014c67af32bc1af604e8e70d5238168cf90ee2c09d5820944",
"hostname": "cc5b4b31543b",
"service": "janitor",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.086062212Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-lb-1",
"id": "c4df6daaa1918711d4e86eed4e9ef474b1d1ed9c3dcb9e6487804a7b289087d2",
"hostname": "c4df6daaa191",
"service": "lb",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T17:22:15.320411593Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8443"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-1",
"id": "9c1a3c86cc26e4b773874f41faba2b8d808f11e6192c81c2ede7bd249acb2ad0",
"hostname": "9c1a3c86cc26",
"service": "loki",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.374010253Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3107"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-engine-1",
"id": "04ea8da02d1b942095126501777d97e9d4378928404b8266696436e1d4eae665",
"hostname": "9c1a3c86cc26",
"service": "loki-engine",
"image_id": "sha256:955c2bd4e1127a4375b9174b475dd0bd430af87f2f42a1bd64404130139b0ef1",
"status": "running",
"started_at": "2026-12-04T17:21:52.626827111Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-observer-1",
"id": "40c5f42fe3d652d9e27473a34fd31f4db0bc0a0ec882fc8f2605a296902fd1b4",
"hostname": "40c5f42fe3d6",
"service": "observer",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.313110442Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-openbao-1",
"id": "04966404aca426dd62fac0a71c9f2bba830fb574b77bf980049232494289a0a2",
"hostname": "04966404aca4",
"service": "openbao",
"image_id": "sha256:b1baed06e5e7c70a2ebe8b074a55827e209b9601a906b7b7784f8b1e295aabbf",
"status": "running",
"started_at": "2026-12-04T17:21:51.463531244Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8207"
}
]
},
"volumes": [
{
"name": "bebcf60c0cf190f5ac610c5dbe9f6d35e4b8b33e9561d833c97e0816a2ee8e62",
"destination": "/openbao/file"
},
{
"name": "d869e3deffbb67ae9c6ad8f1488a2d18906bdcdf7d2ee087e4cff84f066e78e2",
"destination": "/openbao/logs"
},
{
"name": "mtusi-lab7_bao_data",
"destination": "/bao/data"
}
]
},
{
"name": "/mtusi-lab7-prometheus-1",
"id": "da4cce74aa9a29d028099435187a205228c69315df41a6ec04f2db252322783d",
"hostname": "da4cce74aa9a",
"service": "prometheus",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.527562726Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"19090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9097"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-prometheus-engine-1",
"id": "810b50763717c0d17099fe9dd427ab9df32c450804ea92cece5dd9f8789c1a49",
"hostname": "da4cce74aa9a",
"service": "prometheus-engine",
"image_id": "sha256:f3d60e89ba2d4a402d1c62dccdab300f81579355e0744670c55b9ba282f3b56d",
"status": "running",
"started_at": "2026-12-04T17:21:50.332649169Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-publisher-1",
"id": "05861a9542d49a130a5c5c1b9891d251a7d1345fb0d6506c54d4548f995d5ff9",
"hostname": "05861a9542d4",
"service": "publisher",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.276302175Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-1",
"id": "ed136b36b1fdcddcd07b4b04afd8695c1ff6d37065d8e7994831cf7e397fdc70",
"hostname": "ed136b36b1fd",
"service": "s3",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.36608064Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-engine-1",
"id": "700eb5a93a12dc1e37cdf181bfc6fc166979b62d3b4c6c096648ca175a75d4ec",
"hostname": "ed136b36b1fd",
"service": "s3-engine",
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
"status": "running",
"started_at": "2026-12-04T17:21:51.021868226Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-1",
"id": "9325bac4499fb4b6a6436bda8df6c5ac897ff048ca79ca84d69cbb1d5c3cf958",
"hostname": "9325bac4499f",
"service": "tempo",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.50908985Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3207"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-engine-1",
"id": "17a27884b0fe4753879de41e6fef59b8686ef1d8d5771f9aa69c030ff63832c8",
"hostname": "9325bac4499f",
"service": "tempo-engine",
"image_id": "sha256:bf0d673f3a12510de62a5571699e4a8e101ec7e18f003f69ac118c818dd09755",
"status": "running",
"started_at": "2026-12-04T17:21:51.067111784Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-worker-1",
"id": "a50427b828782ec95dfffdbe211926c947cbd0a9e71f3656901806f2a45c7137",
"hostname": "a50427b82878",
"service": "worker",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:17.830291497Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
}
]
+485
View File
@@ -0,0 +1,485 @@
[
{
"name": "/mtusi-lab7-api-1",
"id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2",
"hostname": "37af478b026c",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:02:44.417404163Z",
"restart_count": 0,
"oom_killed": false,
"health": "healthy",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-api-2",
"id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37",
"hostname": "cb6ebd579685",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:05:16.597822143Z",
"restart_count": 0,
"oom_killed": false,
"health": "healthy",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-1",
"id": "0ed597fbc01e3b5404b6c03279dd16af661f8222d01c518da2cbfc9d2e342708",
"hostname": "0ed597fbc01e",
"service": "broker",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.315614194Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-engine-1",
"id": "1234cb272ec6f32f13fdf2964b0bfba1ef77ffb71686f274ca2955ab67e40f67",
"hostname": "0ed597fbc01e",
"service": "broker-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:02:11.307594974Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-1",
"id": "f3565114e9ac51d937fd54299f1cd03a3634a5a1a265e1772fad858416930109",
"hostname": "f3565114e9ac",
"service": "cache",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.800598Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-engine-1",
"id": "db4d049e8e084f88c08cdae30ad0ffbe10d435d25555af09eab62259fd4b0bb8",
"hostname": "f3565114e9ac",
"service": "cache-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:02:11.255373767Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-1",
"id": "0b4c0741c721892e1996d71c29ff44207829dad31499885ee006fade878f1c01",
"hostname": "0b4c0741c721",
"service": "collector",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.463198299Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"18888/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8887"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-engine-1",
"id": "9eb30bb6c7f0656f36d5ad0583822242c06759c1679a1c5f51c9d3404e26161d",
"hostname": "0b4c0741c721",
"service": "collector-engine",
"image_id": "sha256:34c03a123675e3fa017889315a7dfe4d3f4b844c79efd6b6ff93024443df0a6d",
"status": "running",
"started_at": "2026-12-04T17:02:13.278521025Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-1",
"id": "8257eaf4e217acc870581141883a77aeb2102ef43912b4d18ae342dc10ac10fe",
"hostname": "8257eaf4e217",
"service": "db",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.350898325Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-engine-1",
"id": "4f04982137c8ddfe924472fb1486d92ea2a3cdf0bb8ef589b425b0e53fcbb8a8",
"hostname": "8257eaf4e217",
"service": "db-engine",
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
"status": "running",
"started_at": "2026-12-04T17:11:02.616771502Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": [
{
"name": "mtusi-lab7_postgres_data",
"destination": "/var/lib/postgresql/data"
}
]
},
{
"name": "/mtusi-lab7-grafana-1",
"id": "dd1392cc2fd24a9551dfa01fa3f9352a4d54a8402c9eab5c1332bc0a443f8d37",
"hostname": "dd1392cc2fd2",
"service": "grafana",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.626025136Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3007"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-grafana-engine-1",
"id": "b97616fd6be9a9b7b23a25ea3ed85e04a3ee7c01a9e4397420d7135f69c0a1c2",
"hostname": "dd1392cc2fd2",
"service": "grafana-engine",
"image_id": "sha256:48b3b3e6415ffa969075ee67f9d289849aa11a5870eeb130f9fb4f76dc0900a3",
"status": "running",
"started_at": "2026-12-04T17:02:11.323264912Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-janitor-1",
"id": "cc5b4b31543b287014c67af32bc1af604e8e70d5238168cf90ee2c09d5820944",
"hostname": "cc5b4b31543b",
"service": "janitor",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:02:40.222834853Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-lb-1",
"id": "c4df6daaa1918711d4e86eed4e9ef474b1d1ed9c3dcb9e6487804a7b289087d2",
"hostname": "c4df6daaa191",
"service": "lb",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T17:02:40.536407926Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8443"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-1",
"id": "9c1a3c86cc26e4b773874f41faba2b8d808f11e6192c81c2ede7bd249acb2ad0",
"hostname": "9c1a3c86cc26",
"service": "loki",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.374010253Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3107"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-engine-1",
"id": "04ea8da02d1b942095126501777d97e9d4378928404b8266696436e1d4eae665",
"hostname": "9c1a3c86cc26",
"service": "loki-engine",
"image_id": "sha256:955c2bd4e1127a4375b9174b475dd0bd430af87f2f42a1bd64404130139b0ef1",
"status": "running",
"started_at": "2026-12-04T17:02:15.303759486Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-observer-1",
"id": "40c5f42fe3d652d9e27473a34fd31f4db0bc0a0ec882fc8f2605a296902fd1b4",
"hostname": "40c5f42fe3d6",
"service": "observer",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:02:40.542348082Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-openbao-1",
"id": "04966404aca426dd62fac0a71c9f2bba830fb574b77bf980049232494289a0a2",
"hostname": "04966404aca4",
"service": "openbao",
"image_id": "sha256:b1baed06e5e7c70a2ebe8b074a55827e209b9601a906b7b7784f8b1e295aabbf",
"status": "running",
"started_at": "2026-12-04T17:02:12.886240966Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8207"
}
]
},
"volumes": [
{
"name": "mtusi-lab7_bao_data",
"destination": "/bao/data"
},
{
"name": "bebcf60c0cf190f5ac610c5dbe9f6d35e4b8b33e9561d833c97e0816a2ee8e62",
"destination": "/openbao/file"
},
{
"name": "d869e3deffbb67ae9c6ad8f1488a2d18906bdcdf7d2ee087e4cff84f066e78e2",
"destination": "/openbao/logs"
}
]
},
{
"name": "/mtusi-lab7-prometheus-1",
"id": "da4cce74aa9a29d028099435187a205228c69315df41a6ec04f2db252322783d",
"hostname": "da4cce74aa9a",
"service": "prometheus",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.527562726Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"19090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9097"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-prometheus-engine-1",
"id": "810b50763717c0d17099fe9dd427ab9df32c450804ea92cece5dd9f8789c1a49",
"hostname": "da4cce74aa9a",
"service": "prometheus-engine",
"image_id": "sha256:f3d60e89ba2d4a402d1c62dccdab300f81579355e0744670c55b9ba282f3b56d",
"status": "running",
"started_at": "2026-12-04T17:02:12.911243903Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-publisher-1",
"id": "05861a9542d49a130a5c5c1b9891d251a7d1345fb0d6506c54d4548f995d5ff9",
"hostname": "05861a9542d4",
"service": "publisher",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:02:40.259211857Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-1",
"id": "ed136b36b1fdcddcd07b4b04afd8695c1ff6d37065d8e7994831cf7e397fdc70",
"hostname": "ed136b36b1fd",
"service": "s3",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.36608064Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-engine-1",
"id": "700eb5a93a12dc1e37cdf181bfc6fc166979b62d3b4c6c096648ca175a75d4ec",
"hostname": "ed136b36b1fd",
"service": "s3-engine",
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
"status": "running",
"started_at": "2026-12-04T17:02:13.211913022Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-1",
"id": "9325bac4499fb4b6a6436bda8df6c5ac897ff048ca79ca84d69cbb1d5c3cf958",
"hostname": "9325bac4499f",
"service": "tempo",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.50908985Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3207"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-engine-1",
"id": "17a27884b0fe4753879de41e6fef59b8686ef1d8d5771f9aa69c030ff63832c8",
"hostname": "9325bac4499f",
"service": "tempo-engine",
"image_id": "sha256:bf0d673f3a12510de62a5571699e4a8e101ec7e18f003f69ac118c818dd09755",
"status": "running",
"started_at": "2026-12-04T17:19:10.897619184Z",
"restart_count": 2,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-worker-1",
"id": "a50427b828782ec95dfffdbe211926c947cbd0a9e71f3656901806f2a45c7137",
"hostname": "a50427b82878",
"service": "worker",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:19:49.814832501Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
}
]
+485
View File
@@ -0,0 +1,485 @@
[
{
"name": "/mtusi-lab7-api-1",
"id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2",
"hostname": "37af478b026c",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:23:16.577735504Z",
"restart_count": 0,
"oom_killed": false,
"health": "healthy",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-api-2",
"id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37",
"hostname": "cb6ebd579685",
"service": "api",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:23:52.294579321Z",
"restart_count": 0,
"oom_killed": false,
"health": "healthy",
"nano_cpus": 2000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-1",
"id": "0ed597fbc01e3b5404b6c03279dd16af661f8222d01c518da2cbfc9d2e342708",
"hostname": "0ed597fbc01e",
"service": "broker",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.315614194Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-broker-engine-1",
"id": "1234cb272ec6f32f13fdf2964b0bfba1ef77ffb71686f274ca2955ab67e40f67",
"hostname": "0ed597fbc01e",
"service": "broker-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:21:50.320862865Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-1",
"id": "f3565114e9ac51d937fd54299f1cd03a3634a5a1a265e1772fad858416930109",
"hostname": "f3565114e9ac",
"service": "cache",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.800598Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-cache-engine-1",
"id": "db4d049e8e084f88c08cdae30ad0ffbe10d435d25555af09eab62259fd4b0bb8",
"hostname": "f3565114e9ac",
"service": "cache-engine",
"image_id": "sha256:7b2072cf1b86d58fee110f4da8dc3b0e1444b22ab64f58d7f61e822e0761f866",
"status": "running",
"started_at": "2026-12-04T17:21:50.336836852Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 134217728,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-1",
"id": "0b4c0741c721892e1996d71c29ff44207829dad31499885ee006fade878f1c01",
"hostname": "0b4c0741c721",
"service": "collector",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.463198299Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"18888/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8887"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-collector-engine-1",
"id": "9eb30bb6c7f0656f36d5ad0583822242c06759c1679a1c5f51c9d3404e26161d",
"hostname": "0b4c0741c721",
"service": "collector-engine",
"image_id": "sha256:34c03a123675e3fa017889315a7dfe4d3f4b844c79efd6b6ff93024443df0a6d",
"status": "running",
"started_at": "2026-12-04T17:21:50.688260797Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-1",
"id": "8257eaf4e217acc870581141883a77aeb2102ef43912b4d18ae342dc10ac10fe",
"hostname": "8257eaf4e217",
"service": "db",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.350898325Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-db-engine-1",
"id": "4f04982137c8ddfe924472fb1486d92ea2a3cdf0bb8ef589b425b0e53fcbb8a8",
"hostname": "8257eaf4e217",
"service": "db-engine",
"image_id": "sha256:b4fc54c57484e6077fad42c66fc44a6f5e7f5892b1a92fa48e910938bf5ce0ad",
"status": "running",
"started_at": "2026-12-04T17:21:50.978596573Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": [
{
"name": "mtusi-lab7_postgres_data",
"destination": "/var/lib/postgresql/data"
}
]
},
{
"name": "/mtusi-lab7-grafana-1",
"id": "dd1392cc2fd24a9551dfa01fa3f9352a4d54a8402c9eab5c1332bc0a443f8d37",
"hostname": "dd1392cc2fd2",
"service": "grafana",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.626025136Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13000/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3007"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-grafana-engine-1",
"id": "b97616fd6be9a9b7b23a25ea3ed85e04a3ee7c01a9e4397420d7135f69c0a1c2",
"hostname": "dd1392cc2fd2",
"service": "grafana-engine",
"image_id": "sha256:48b3b3e6415ffa969075ee67f9d289849aa11a5870eeb130f9fb4f76dc0900a3",
"status": "running",
"started_at": "2026-12-04T17:21:50.51885612Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-janitor-1",
"id": "cc5b4b31543b287014c67af32bc1af604e8e70d5238168cf90ee2c09d5820944",
"hostname": "cc5b4b31543b",
"service": "janitor",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.086062212Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-lb-1",
"id": "c4df6daaa1918711d4e86eed4e9ef474b1d1ed9c3dcb9e6487804a7b289087d2",
"hostname": "c4df6daaa191",
"service": "lb",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T17:22:15.320411593Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"8443/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8443"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-1",
"id": "9c1a3c86cc26e4b773874f41faba2b8d808f11e6192c81c2ede7bd249acb2ad0",
"hostname": "9c1a3c86cc26",
"service": "loki",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.374010253Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13100/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3107"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-loki-engine-1",
"id": "04ea8da02d1b942095126501777d97e9d4378928404b8266696436e1d4eae665",
"hostname": "9c1a3c86cc26",
"service": "loki-engine",
"image_id": "sha256:955c2bd4e1127a4375b9174b475dd0bd430af87f2f42a1bd64404130139b0ef1",
"status": "running",
"started_at": "2026-12-04T17:21:52.626827111Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-observer-1",
"id": "40c5f42fe3d652d9e27473a34fd31f4db0bc0a0ec882fc8f2605a296902fd1b4",
"hostname": "40c5f42fe3d6",
"service": "observer",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.313110442Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-openbao-1",
"id": "04966404aca426dd62fac0a71c9f2bba830fb574b77bf980049232494289a0a2",
"hostname": "04966404aca4",
"service": "openbao",
"image_id": "sha256:b1baed06e5e7c70a2ebe8b074a55827e209b9601a906b7b7784f8b1e295aabbf",
"status": "running",
"started_at": "2026-12-04T17:21:51.463531244Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {
"8200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "8207"
}
]
},
"volumes": [
{
"name": "d869e3deffbb67ae9c6ad8f1488a2d18906bdcdf7d2ee087e4cff84f066e78e2",
"destination": "/openbao/logs"
},
{
"name": "mtusi-lab7_bao_data",
"destination": "/bao/data"
},
{
"name": "bebcf60c0cf190f5ac610c5dbe9f6d35e4b8b33e9561d833c97e0816a2ee8e62",
"destination": "/openbao/file"
}
]
},
{
"name": "/mtusi-lab7-prometheus-1",
"id": "da4cce74aa9a29d028099435187a205228c69315df41a6ec04f2db252322783d",
"hostname": "da4cce74aa9a",
"service": "prometheus",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.527562726Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"19090/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "9097"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-prometheus-engine-1",
"id": "810b50763717c0d17099fe9dd427ab9df32c450804ea92cece5dd9f8789c1a49",
"hostname": "da4cce74aa9a",
"service": "prometheus-engine",
"image_id": "sha256:f3d60e89ba2d4a402d1c62dccdab300f81579355e0744670c55b9ba282f3b56d",
"status": "running",
"started_at": "2026-12-04T17:21:50.332649169Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 268435456,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-publisher-1",
"id": "05861a9542d49a130a5c5c1b9891d251a7d1345fb0d6506c54d4548f995d5ff9",
"hostname": "05861a9542d4",
"service": "publisher",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:18.276302175Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-1",
"id": "ed136b36b1fdcddcd07b4b04afd8695c1ff6d37065d8e7994831cf7e397fdc70",
"hostname": "ed136b36b1fd",
"service": "s3",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:24.36608064Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-s3-engine-1",
"id": "700eb5a93a12dc1e37cdf181bfc6fc166979b62d3b4c6c096648ca175a75d4ec",
"hostname": "ed136b36b1fd",
"service": "s3-engine",
"image_id": "sha256:8f08aee614800a237906bd48114d733e5ac5bfac4ccdf731f141b0e880d7a253",
"status": "running",
"started_at": "2026-12-04T17:21:51.021868226Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-1",
"id": "9325bac4499fb4b6a6436bda8df6c5ac897ff048ca79ca84d69cbb1d5c3cf958",
"hostname": "9325bac4499f",
"service": "tempo",
"image_id": "sha256:6a7f903d19e76bd3fa7fb5225e33d6acd5eb7f52407eece4858b58831c3e256a",
"status": "running",
"started_at": "2026-12-04T16:20:23.50908985Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 250000000,
"memory_bytes": 67108864,
"published_ports": {
"13200/tcp": [
{
"HostIp": "127.0.0.1",
"HostPort": "3207"
}
]
},
"volumes": []
},
{
"name": "/mtusi-lab7-tempo-engine-1",
"id": "17a27884b0fe4753879de41e6fef59b8686ef1d8d5771f9aa69c030ff63832c8",
"hostname": "9325bac4499f",
"service": "tempo-engine",
"image_id": "sha256:bf0d673f3a12510de62a5571699e4a8e101ec7e18f003f69ac118c818dd09755",
"status": "running",
"started_at": "2026-12-04T17:21:51.067111784Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 500000000,
"memory_bytes": 536870912,
"published_ports": {},
"volumes": []
},
{
"name": "/mtusi-lab7-worker-1",
"id": "a50427b828782ec95dfffdbe211926c947cbd0a9e71f3656901806f2a45c7137",
"hostname": "a50427b82878",
"service": "worker",
"image_id": "sha256:a02ddfe00d3a7a536960e008c72208ae6bed9c3ec7eb414c3186db8522a07ff4",
"status": "running",
"started_at": "2026-12-04T17:22:17.830291497Z",
"restart_count": 0,
"oom_killed": false,
"health": null,
"nano_cpus": 1000000000,
"memory_bytes": 805306368,
"published_ports": {},
"volumes": []
}
]
+71
View File
@@ -0,0 +1,71 @@
{
"api": [
{
"stream": {
"code_file_path": "/app/telemetry.py",
"code_function_name": "event",
"code_line_number": "78",
"deployment_environment_name": "lab",
"detected_level": "info",
"event": "http.completed",
"flags": "1",
"method": "POST",
"observed_timestamp": "1796405042896214489",
"request_id": "e3c51505d89645eb8864edb0e56fdd52",
"route": "/api/v1/chats/{chat_id}/attachments",
"scope_name": "messenger.events",
"service_instance_id": "cb6ebd579685",
"service_name": "messenger-api",
"service_version": "lab7-v1",
"severity_number": "9",
"severity_text": "INFO",
"span_id": "1da78bbdebe57d0f",
"status_class": "2xx",
"telemetry_sdk_language": "python",
"telemetry_sdk_name": "opentelemetry",
"telemetry_sdk_version": "1.45.3",
"trace_id": "a7d0481c6a2f4495a5a5077c003abd47"
},
"values": [
[
"1796405042896144128",
"{\"event\": \"http.completed\", \"trace_id\": \"a7d0481c6a2f4495a5a5077c003abd47\", \"span_id\": \"1da78bbdebe57d0f\", \"request_id\": \"e3c51505d89645eb8864edb0e56fdd52\", \"method\": \"POST\", \"route\": \"/api/v1/chats/{chat_id}/attachments\", \"status_class\": \"2xx\"}"
]
]
}
],
"worker": [
{
"stream": {
"code_file_path": "/app/telemetry.py",
"code_function_name": "event",
"code_line_number": "78",
"deployment_environment_name": "lab",
"detected_level": "info",
"event": "job.completed",
"flags": "1",
"job_id": "e881f855-5741-42ca-9fc0-0216dfc43401",
"observed_timestamp": "1796405043721568674",
"outcome": "ready",
"pipeline_version": "1",
"scope_name": "messenger.events",
"service_instance_id": "a50427b82878",
"service_name": "messenger-worker",
"service_version": "lab7-v1",
"severity_number": "9",
"severity_text": "INFO",
"span_id": "072841458fdf3385",
"telemetry_sdk_language": "python",
"telemetry_sdk_name": "opentelemetry",
"telemetry_sdk_version": "1.45.3",
"trace_id": "a7d0481c6a2f4495a5a5077c003abd47"
},
"values": [
[
"1796405043720507904",
"{\"event\": \"job.completed\", \"trace_id\": \"a7d0481c6a2f4495a5a5077c003abd47\", \"span_id\": \"072841458fdf3385\", \"outcome\": \"ready\", \"job_id\": \"e881f855-5741-42ca-9fc0-0216dfc43401\", \"pipeline_version\": 1}"
]
]
}
]
}
+798
View File
@@ -0,0 +1,798 @@
{
"batches": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "cb6ebd579685"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "fastapi",
"version": "0.165.1"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "zz5MzL4KMIU=",
"parentSpanId": "SSUgeDpXRUk=",
"flags": 768,
"name": "POST /api/v1/chats/{chat_id}/attachments",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1796405042792091316",
"endTimeUnixNano": "1796405042895789409",
"attributes": [
{
"key": "server.address",
"value": {
"stringValue": "localhost"
}
},
{
"key": "server.port",
"value": {
"intValue": "8443"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/api/v1/chats/c8b97416-82c9-40c6-a39b-fe6f5f7bd795/attachments"
}
},
{
"key": "url.query",
"value": {
"stringValue": "filename=probe.png"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "http.request.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "network.protocol.version",
"value": {
"stringValue": "1.1"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/attachments"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": "202"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "5WespVifuVM=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.dependencies",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794226217",
"endTimeUnixNano": "1796405042794645881",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "o6NGATF7wCo=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.endpoint",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794713756",
"endTimeUnixNano": "1796405042894875290",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "AoFAKAdUnOE=",
"parentSpanId": "HaeLvevlfQ8=",
"flags": 256,
"name": "fastapi.serialization",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042894986581",
"endTimeUnixNano": "1796405042895063206",
"attributes": [
{
"key": "code.function.name",
"value": {
"stringValue": "attachments.register_routes.<locals>.upload"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "cb6ebd579685"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-api"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HaeLvevlfQ8=",
"parentSpanId": "SSUgeDpXRUk=",
"flags": 768,
"name": "POST /api/v1/chats/{chat_id}/attachments",
"kind": "SPAN_KIND_SERVER",
"startTimeUnixNano": "1796405042792245482",
"endTimeUnixNano": "1796405042896275114",
"attributes": [
{
"key": "http.method",
"value": {
"stringValue": "POST"
}
},
{
"key": "http.route",
"value": {
"stringValue": "/api/v1/chats/{chat_id}/attachments"
}
},
{
"key": "http.status_class",
"value": {
"stringValue": "2xx"
}
},
{
"key": "request_id",
"value": {
"stringValue": "e3c51505d89645eb8864edb0e56fdd52"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HjIQ1KXUhi4=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042794973712",
"endTimeUnixNano": "1796405042798839309",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "JrmBONB0DsY=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042798921684",
"endTimeUnixNano": "1796405042800899586",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HZpfuXBs4aE=",
"parentSpanId": "o6NGATF7wCo=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042845087729",
"endTimeUnixNano": "1796405042894596667",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "0+llmXP6mEc=",
"parentSpanId": "HZpfuXBs4aE=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405042848974326",
"endTimeUnixNano": "1796405042884735321",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "05861a9542d4"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-publisher"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "9g3S/HkMdFw=",
"parentSpanId": "HZpfuXBs4aE=",
"flags": 768,
"name": "queue.publish",
"kind": "SPAN_KIND_PRODUCER",
"startTimeUnixNano": "1796405042984624775",
"endTimeUnixNano": "1796405042995554780",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachments.v1"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "a50427b82878"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "ByhBRY/fM4U=",
"parentSpanId": "9g3S/HkMdFw=",
"flags": 768,
"name": "queue.process",
"kind": "SPAN_KIND_CONSUMER",
"startTimeUnixNano": "1796405042997286392",
"endTimeUnixNano": "1796405043722711958",
"attributes": [
{
"key": "messaging.system",
"value": {
"stringValue": "redis"
}
},
{
"key": "messaging.destination.name",
"value": {
"stringValue": "attachments.v1"
}
},
{
"key": "job.type",
"value": {
"stringValue": "attachment.process.v1"
}
},
{
"key": "job.outcome",
"value": {
"stringValue": "ready"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "fGI7WkxZK6U=",
"parentSpanId": "ByhBRY/fM4U=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405043028100964",
"endTimeUnixNano": "1796405043720015727",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "i649z8kbaA0=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043609936389",
"endTimeUnixNano": "1796405043641896952",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "MvCP2VzS02w=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043642649863",
"endTimeUnixNano": "1796405043684614188",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "mlWvgXkA4DU=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043685107185",
"endTimeUnixNano": "1796405043700747073",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "EA5nqoNvvVs=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.put_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043700954530",
"endTimeUnixNano": "1796405043715058137",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "put_object"
}
}
],
"status": {}
}
]
}
]
},
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "python"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "opentelemetry"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "1.45.3"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "a50427b82878"
}
},
{
"key": "service.name",
"value": {
"stringValue": "messenger-worker"
}
},
{
"key": "service.version",
"value": {
"stringValue": "lab7-v1"
}
},
{
"key": "deployment.environment.name",
"value": {
"stringValue": "lab"
}
}
]
},
"scopeSpans": [
{
"scope": {
"name": "messenger.manual",
"version": "1.0"
},
"spans": [
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "HJ+D3SXwtVA=",
"parentSpanId": "ByhBRY/fM4U=",
"flags": 256,
"name": "db.transaction",
"kind": "SPAN_KIND_INTERNAL",
"startTimeUnixNano": "1796405042997791055",
"endTimeUnixNano": "1796405043027281636",
"attributes": [
{
"key": "db.system",
"value": {
"stringValue": "postgresql"
}
}
],
"status": {}
},
{
"traceId": "p9BIHGovRJWlpQd8ADq9Rw==",
"spanId": "a06WGSfzs60=",
"parentSpanId": "fGI7WkxZK6U=",
"flags": 256,
"name": "s3.get_object",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": "1796405043039177301",
"endTimeUnixNano": "1796405043074458133",
"attributes": [
{
"key": "rpc.system",
"value": {
"stringValue": "aws-api"
}
},
{
"key": "rpc.service",
"value": {
"stringValue": "S3"
}
},
{
"key": "rpc.method",
"value": {
"stringValue": "get_object"
}
}
],
"status": {}
}
]
}
]
}
]
}
+32
View File
@@ -0,0 +1,32 @@
{
"status": "PASS",
"rows": [
{
"role": "api",
"correct_password": true,
"wrong_password_denied": true
},
{
"role": "worker",
"correct_password": true,
"wrong_password_denied": true
},
{
"role": "publisher",
"correct_password": true,
"wrong_password_denied": true
},
{
"role": "observer",
"correct_password": true,
"wrong_password_denied": true
},
{
"role": "janitor",
"correct_password": true,
"wrong_password_denied": true
}
],
"worker_password_cannot_authenticate_admin": true,
"tcp_auth": "scram-sha-256"
}
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"dependencies": [{"name": "annotated-doc", "version": "0.0.7", "vulns": []}, {"name": "annotated-types", "version": "0.8.0", "vulns": []}, {"name": "anyio", "version": "4.16.0", "vulns": []}, {"name": "argon2-cffi", "version": "23.1.0", "vulns": []}, {"name": "argon2-cffi-bindings", "version": "26.2.0", "vulns": []}, {"name": "boto3", "version": "1.42.0", "vulns": []}, {"name": "botocore", "version": "1.41.6", "vulns": []}, {"name": "cffi", "version": "2.1.1", "vulns": []}, {"name": "click", "version": "8.5.1", "vulns": []}, {"name": "fastapi", "version": "0.165.1", "vulns": []}, {"name": "googleapis-common-protos", "version": "1.76.0", "vulns": []}, {"name": "grpcio", "version": "1.86.0", "vulns": []}, {"name": "h11", "version": "0.16.0", "vulns": []}, {"name": "idna", "version": "3.21", "vulns": []}, {"name": "jmespath", "version": "1.1.0", "vulns": []}, {"name": "opentelemetry-api", "version": "1.45.3", "vulns": []}, {"name": "opentelemetry-exporter-otlp-common", "version": "0.66b3", "vulns": []}, {"name": "opentelemetry-exporter-otlp-proto-common", "version": "1.45.3", "vulns": []}, {"name": "opentelemetry-exporter-otlp-proto-grpc", "version": "1.45.3", "vulns": []}, {"name": "opentelemetry-proto", "version": "1.45.3", "vulns": []}, {"name": "opentelemetry-sdk", "version": "1.45.3", "vulns": []}, {"name": "opentelemetry-semantic-conventions", "version": "0.66b3", "vulns": []}, {"name": "pillow", "version": "13.0.0", "vulns": []}, {"name": "protobuf", "version": "7.36.2", "vulns": []}, {"name": "psutil", "version": "6.1.1", "vulns": []}, {"name": "psycopg", "version": "3.3.6", "vulns": []}, {"name": "psycopg-binary", "version": "3.3.6", "vulns": []}, {"name": "psycopg-pool", "version": "3.2.6", "vulns": []}, {"name": "pycparser", "version": "3.12", "vulns": []}, {"name": "pydantic", "version": "2.14.4", "vulns": []}, {"name": "pydantic-core", "version": "2.50.5", "vulns": []}, {"name": "python-dateutil", "version": "2.9.0.post0", "vulns": []}, {"name": "python-dotenv", "version": "1.2.4", "vulns": []}, {"name": "redis", "version": "5.1.0", "vulns": []}, {"name": "s3transfer", "version": "0.16.1", "vulns": []}, {"name": "six", "version": "1.17.0", "vulns": []}, {"name": "starlette", "version": "1.10.0", "vulns": []}, {"name": "typing-inspection", "version": "0.4.5", "vulns": []}, {"name": "typing-extensions", "version": "4.16.0", "vulns": []}, {"name": "urllib3", "version": "2.8.0", "vulns": []}, {"name": "uvicorn", "version": "0.30.6", "vulns": []}], "fixes": []}
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 87, "failed_attempts": 3, "first_recovery_seconds": 5.847}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 92, "failed_attempts": 2, "first_recovery_seconds": 4.193}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
{"container_id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37", "instance_alias": "c3b2a467b0e9", "stopped_at_unix": 1796403796.050571}
{"container_id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37", "instance_alias": "085037c652ba", "stopped_at_unix": 1796403903.1257548}
{"container_id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2", "container_name": "/mtusi-lab7-api-1", "instance_alias": "284d8b9502df", "stopped_at_unix": 1796404984.95776}
{"container_id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37", "container_name": "/mtusi-lab7-api-2", "instance_alias": "81854e7e52b1", "stopped_at_unix": 1796405020.910166}
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 91, "failed_attempts": 3, "first_recovery_seconds": 5.212}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 105, "failed_attempts": 4, "first_recovery_seconds": 4.658}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+8
View File
@@ -0,0 +1,8 @@
{
"status": "PASS",
"distinct_stopped_containers": [
"/mtusi-lab7-api-1",
"/mtusi-lab7-api-2"
],
"runs": 2
}
+7
View File
@@ -0,0 +1,7 @@
{
"status": "PASS",
"fresh_CA_generated": true,
"fresh_leaf_issued": true,
"strict_x509_chain_and_server_purpose": true,
"real_operator_CA_untouched": true
}
+7
View File
@@ -0,0 +1,7 @@
{
"status": "PASS",
"fresh_cluster_initialized": true,
"tcp_correct_password": true,
"tcp_wrong_password_denied": true,
"persistent_lab_data_untouched": true
}
+240
View File
@@ -0,0 +1,240 @@
{
"status": "PASS",
"containers": [
{
"service": "api",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 2.0,
"memory_mib": 512
},
{
"service": "api",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 2.0,
"memory_mib": 512
},
{
"service": "broker",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "broker-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 128
},
{
"service": "cache",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "cache-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 128
},
{
"service": "collector",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "collector-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 256
},
{
"service": "db",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "db-engine",
"non_root": false,
"read_only": false,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 1.0,
"memory_mib": 512
},
{
"service": "grafana",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "grafana-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 256
},
{
"service": "janitor",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 1.0,
"memory_mib": 512
},
{
"service": "lb",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "loki",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "loki-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 256
},
{
"service": "observer",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 1.0,
"memory_mib": 512
},
{
"service": "openbao",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 256
},
{
"service": "prometheus",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "prometheus-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 256
},
{
"service": "publisher",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 1.0,
"memory_mib": 512
},
{
"service": "s3",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "s3-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 768
},
{
"service": "tempo",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.25,
"memory_mib": 64
},
{
"service": "tempo-engine",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 0.5,
"memory_mib": 512
},
{
"service": "worker",
"non_root": true,
"read_only": true,
"drop_all": true,
"no_new_privileges": true,
"cpu_limit": 1.0,
"memory_mib": 768
}
],
"stateful_exception": "Postgres entrypoint root with only CHOWN,DAC_OVERRIDE,FOWNER,SETUID,SETGID; postgres daemon drops to UID 70"
}
+1
View File
@@ -0,0 +1 @@
{"parallel_requests": 16, "observed_instances": ["c0bbe85fdaaf", "d2b0b89b39f5"], "unique_messages": 1, "conflict": 409, "semantic_replay": true, "user_scope": true}
+81
View File
@@ -0,0 +1,81 @@
{
"status": "PASS",
"rows": [
{
"case": "small_alpha",
"status": "PASS",
"dimensions": {
"thumbnail": [
80,
40
],
"crop": [
128,
128
],
"optimized": [
80,
40
]
},
"original_sha256": "2a4135aed00454b2566994964a2efffd9fd5593454d4d2f5b102aa3c42b2d3bd"
},
{
"case": "exif_orientation",
"status": "PASS",
"dimensions": {
"thumbnail": [
64,
256
],
"crop": [
128,
128
],
"optimized": [
100,
400
]
},
"original_sha256": "43ba669d1496cb5857d62be714452e087d474b2421f70f3cba3264dca491d026"
},
{
"case": "center_crop",
"status": "PASS",
"dimensions": {
"thumbnail": [
256,
64
],
"crop": [
128,
128
],
"optimized": [
400,
100
]
},
"original_sha256": "983bf89131f785c45b587c57640d62d223af08bfc71fcf28a27faed486af9583"
},
{
"case": "large_fit",
"status": "PASS",
"dimensions": {
"thumbnail": [
256,
128
],
"crop": [
128,
128
],
"optimized": [
1280,
640
]
},
"original_sha256": "fd1aebd1ed7ce3d142d0e38b7dc2d3b6c106a71d399e6fad25706c1f3ad8850b"
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"status": "PASS",
"renewal_status": {
"role": "worker",
"renewals": 11,
"logins": 6,
"last_error_type": null,
"consecutive_failures": 0,
"blocked_events": 0,
"child_running": true
},
"expired_leaf_stop_seconds": 17.288,
"expiry_task_preserved": true,
"expiry_recovery_seconds": 8.179,
"sealed_stop_seconds": 15.275,
"sealed_recovery_seconds": 3.248,
"plaintext_fallback": false
}
+69
View File
@@ -0,0 +1,69 @@
{
"status": "PASS",
"trace_id": "a7d0481c6a2f4495a5a5077c003abd47",
"attachment_id": "edf03ec2-c366-44e9-a080-48234e94b7ce",
"span_count": 18,
"services": [
"messenger-api",
"messenger-publisher",
"messenger-worker"
],
"producer_parent_api": true,
"consumer_parent_producer": true,
"api_and_worker_logs": true,
"metric_queries": {
"sum(messenger_http_requests_total{service_name=\"messenger-api\"})": [
{
"metric": {},
"value": [
1796405046.372,
"278"
]
}
],
"sum(messenger_jobs_total{service_name=\"messenger-worker\",outcome=\"ready\"})": [
{
"metric": {},
"value": [
1796405046.392,
"5"
]
}
],
"sum(messenger_http_duration_seconds_bucket{service_name=\"messenger-api\",le=\"0.5\"})": [
{
"metric": {},
"value": [
1796405046.403,
"275"
]
}
],
"max(messenger_queue_depth{service_name=\"messenger-observer\"})": [
{
"metric": {},
"value": [
1796405046.414,
"0"
]
}
],
"max(messenger_db_pool_used{service_name=\"messenger-api\"})": [
{
"metric": {},
"value": [
1796405046.433,
"0"
]
}
]
},
"dashboard_uid": "messenger-lab6",
"dashboard_panels": 20,
"known_credentials_absent": true,
"grafana_proxied_backends": {
"prometheus": "PASS via Grafana mTLS client",
"loki": "PASS via Grafana mTLS client",
"tempo": "PASS via Grafana mTLS client"
}
}
+3
View File
@@ -0,0 +1,3 @@
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+8
View File
@@ -0,0 +1,8 @@
[NOTICE] (7) : New worker (9) forked
[NOTICE] (7) : Loading success.
Schema, separate DB roles, private S3 policies and Redis identities provisioned
[NOTICE] (7) : haproxy version is 2.6.12-1+deb12u4
[NOTICE] (7) : path to executable is /usr/sbin/haproxy
[WARNING] (7) : Exiting Master process...
[ALERT] (7) : Current worker (9) exited with code 143 (Terminated)
[WARNING] (7) : All workers exited. Exiting... (0)
+2
View File
@@ -0,0 +1,2 @@
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
+1
View File
@@ -0,0 +1 @@
PASS: 3 incident repetitions, 9 accepted jobs preserved, worker identity and 3 secrets rotated
+53
View File
@@ -0,0 +1,53 @@
{
"events": [
{
"time_unix": 1796404941,
"action": "start",
"service": "lb",
"container_id": "c4df6daaa1918711d4e86eed4e9ef474b1d1ed9c3dcb9e6487804a7b289087d2"
},
{
"time_unix": 1796404941,
"action": "start",
"service": "publisher",
"container_id": "05861a9542d49a130a5c5c1b9891d251a7d1345fb0d6506c54d4548f995d5ff9"
},
{
"time_unix": 1796404941,
"action": "start",
"service": "worker",
"container_id": "a50427b828782ec95dfffdbe211926c947cbd0a9e71f3656901806f2a45c7137"
},
{
"time_unix": 1796404941,
"action": "start",
"service": "observer",
"container_id": "40c5f42fe3d652d9e27473a34fd31f4db0bc0a0ec882fc8f2605a296902fd1b4"
},
{
"time_unix": 1796404985,
"action": "die",
"service": "api",
"container_id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2"
},
{
"time_unix": 1796404998,
"action": "start",
"service": "api",
"container_id": "37af478b026c54b6b873738926469dacae653cb2849803c4acf0c6c6b1b428a2"
},
{
"time_unix": 1796405021,
"action": "die",
"service": "api",
"container_id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37"
},
{
"time_unix": 1796405033,
"action": "start",
"service": "api",
"container_id": "cb6ebd579685ae47a3b215c42feca8c4e1bbff660c194bb89112b0b6190edb37"
}
],
"window_seconds": 600
}
+26
View File
@@ -0,0 +1,26 @@
api running healthy
api running healthy
broker running
broker-engine running
cache running
cache-engine running
collector running
collector-engine running
db running
db-engine running
grafana running
grafana-engine running
janitor running
lb running
loki running
loki-engine running
observer running
openbao running
prometheus running
prometheus-engine running
publisher running
s3 running
s3-engine running
tempo running
tempo-engine running
worker running
+41
View File
@@ -0,0 +1,41 @@
annotated-doc==0.0.7
annotated-types==0.8.0
anyio==4.16.0
argon2-cffi==23.1.0
argon2-cffi-bindings==26.2.0
boto3==1.42.0
botocore==1.41.6
cffi==2.1.1
click==8.5.1
fastapi==0.165.1
googleapis-common-protos==1.76.0
grpcio==1.86.0
h11==0.16.0
idna==3.21
jmespath==1.1.0
opentelemetry-api==1.45.3
opentelemetry-exporter-otlp-common==0.66b3
opentelemetry-exporter-otlp-proto-common==1.45.3
opentelemetry-exporter-otlp-proto-grpc==1.45.3
opentelemetry-proto==1.45.3
opentelemetry-sdk==1.45.3
opentelemetry-semantic-conventions==0.66b3
pillow==13.0.0
protobuf==7.36.2
psutil==6.1.1
psycopg==3.3.6
psycopg-binary==3.3.6
psycopg-pool==3.2.6
pycparser==3.12
pydantic==2.14.4
pydantic_core==2.50.5
python-dateutil==2.9.0.post0
python-dotenv==1.2.4
redis==5.1.0
s3transfer==0.16.1
six==1.17.0
starlette==1.10.0
typing-inspection==0.4.5
typing_extensions==4.16.0
urllib3==2.8.0
uvicorn==0.30.6
+10
View File
@@ -0,0 +1,10 @@
{
"status": "PASS",
"source_files_checked": 178,
"known_private_values_checked": 29,
"container_logs_clean": true,
"image_history_clean": true,
"image_private_files_absent": true,
"bao_audit_hmac_and_no_known_plaintext": true,
"limitation": "Known-secret comparison is not proof against every possible secret format"
}
+42
View File
@@ -0,0 +1,42 @@
{
"status": "PASS",
"checks": [
"Argon2id old hash rehashed on successful login",
"DB stores SHA-256 token hashes only",
"cache keys and values do not contain raw session tokens/passwords",
"expired session rejected across replicas even after cache warmup",
"64 KiB body limit returns 413",
"two shared Argon2 slots enforce 429 with Retry-After",
"shared login limit: 10 x 401, then 2 x 429 across >=2 replicas"
],
"login_codes": [
401,
401,
401,
401,
401,
401,
401,
401,
401,
401,
429,
429
],
"replicas": 2,
"argon2": {
"memory_kib": 65536,
"time_cost": 3,
"parallelism": 2,
"samples_ms": [
322.06,
217.66,
197.55,
222.06,
301.19
],
"median_ms": 222.06,
"max_global_inflight": 2,
"global_attempts_per_minute": 120
}
}
+2
View File
@@ -0,0 +1,2 @@
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "/Users/alexander/Documents/вп/mtusi2026lab7/.secrets/ca.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
+19
View File
@@ -0,0 +1,19 @@
{
"status": "PASS",
"dataset_counts": {
"users": 66,
"sessions": 68,
"chats": 23,
"messages": 397,
"attachments": 33,
"jobs": 33
},
"job_states": {
"ready": 33
},
"cache_hash_entries_checked": 63,
"all_db_session_tokens_hashed": true,
"all_passwords_argon2id": true,
"ready_originals_checked": 33,
"all_original_bytes_match_protected_sha256": true
}
+180
View File
@@ -0,0 +1,180 @@
{
"status": "PASS",
"rows": [
{
"peer": "db",
"address": "db",
"port": 15432,
"allowed_identity": "api",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "s3",
"address": "s3",
"port": 19000,
"allowed_identity": "worker",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "broker",
"address": "broker",
"port": 16379,
"allowed_identity": "worker",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "cache",
"address": "cache",
"port": 16380,
"allowed_identity": "api",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "collector",
"address": "collector",
"port": 14317,
"allowed_identity": "worker",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "collector",
"address": "collector",
"port": 18889,
"allowed_identity": "prometheus",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "collector",
"address": "collector",
"port": 18888,
"allowed_identity": "prometheus",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "prometheus",
"address": "prometheus",
"port": 19090,
"allowed_identity": "grafana",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "loki",
"address": "loki",
"port": 13100,
"allowed_identity": "collector",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "tempo",
"address": "tempo",
"port": 13200,
"allowed_identity": "grafana",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "tempo",
"address": "tempo",
"port": 14317,
"allowed_identity": "collector",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "api",
"address": "172.28.0.13",
"port": 8444,
"allowed_identity": "lb",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
},
{
"peer": "api",
"address": "172.28.0.17",
"port": 8444,
"allowed_identity": "lb",
"allowed": true,
"missing_cert": true,
"foreign_CA": true,
"expired": true,
"wrong_role": true,
"wrong_server_SAN": true
}
],
"plaintext_closed": [
"db:5432",
"s3:9000",
"s3:9001",
"broker:6379",
"cache:6379",
"collector:4317",
"collector:8888",
"collector:8889",
"prometheus:9090",
"loki:3100",
"loki:9095",
"tempo:3200",
"tempo:4317",
"tempo:9095",
"grafana:3000",
"172.28.0.13:8080",
"172.28.0.17:8080"
]
}
+90
View File
@@ -0,0 +1,90 @@
{
"status": "PASS",
"cases": [
{
"case": "corrupt_png",
"status": 415
},
{
"case": "truncated_png",
"status": 415
},
{
"case": "mime_spoof",
"status": 415
},
{
"case": "unsupported_mime",
"status": 415
},
{
"case": "empty_payload",
"status": 415
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "unsafe_filename",
"status": 400
},
{
"case": "foreign_chat_upload",
"status": 404
},
{
"case": "unauthenticated_upload",
"status": 401
},
{
"case": "over_40_million_pixels",
"status": 413
},
{
"case": "oversized_content_length_before_body",
"status": 413
},
{
"case": "chunked_oversize",
"status": 413
},
{
"case": "foreign_attachment_metadata_and_bytes",
"status": 404
},
{
"case": "cross_chat_and_unknown_attachment",
"status": 404
},
{
"case": "attachment_idempotency_and_conflict",
"status": "201/409"
},
{
"case": "truncated_jpeg",
"status": 415
},
{
"case": "interrupted_http_body",
"metadata_or_object_added": false
}
],
"count": 21
}
+2
View File
@@ -0,0 +1,2 @@
.venv/bin/python scripts/validate_openapi.py
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.