Secure messenger with TLS identities, scoped OpenBao secrets and worker compromise experiments
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"attachment_acl": true,
|
||||
"forged_identity_denied": true,
|
||||
"cross_chat_attachment_denied": true,
|
||||
"expired_session_denied": true,
|
||||
"logout_denied": true,
|
||||
"hashes_only": true,
|
||||
"token_hash_bytes": true
|
||||
}
|
||||
@@ -0,0 +1,260 @@
|
||||
{
|
||||
"scope": "shared username bucket on two real API replicas, unknown username KDF, sequential invalid attempts",
|
||||
"attempts": [
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.15739225,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.18270066599999998,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.11214866600000001,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.070015041,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.11456191599999999,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.07591387500000002,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.06304100000000001,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.06627162500000006,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.09612395900000004,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.07061700000000004,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.06350758299999981,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.07031729200000014,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.006560708999999942,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": "60"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.007485750000000069,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": "60"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.006046124999999902,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": "60"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.006384166999999996,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": "60"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.004841917000000029,
|
||||
"instance": "ed5b693e-20a0-4f8a-9cae-48f1950da10f",
|
||||
"retry_after": "60"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.004661250000000061,
|
||||
"instance": "065ee0d5-9f97-465d-8908-238a3e5e86f5",
|
||||
"retry_after": "60"
|
||||
}
|
||||
],
|
||||
"kdf_parameters": {
|
||||
"memory_kib": 65536,
|
||||
"passes": 3,
|
||||
"lanes": 2,
|
||||
"slots_per_api": 2
|
||||
},
|
||||
"successful_kdf_observed_ms": {
|
||||
"p50": 73.26543750000003,
|
||||
"max": 182.70066599999998
|
||||
},
|
||||
"limits": {
|
||||
"per_username_per_fixed_minute": 12,
|
||||
"global_auth_per_fixed_minute": 120,
|
||||
"boundary_max_two_adjacent_windows": 24
|
||||
},
|
||||
"bound": "2*64MiB KDF working memory per API plus image/process memory; excess concurrent KDF admission returns429",
|
||||
"parallel_login_probe": {
|
||||
"concurrency": 8,
|
||||
"attempts": 24,
|
||||
"responses": [
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.234659,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.181604,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.676529,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.18093,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.553548,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.565564,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.605484,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.231737,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.185875,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.084691,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.106126,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.13174,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.099201,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.40589,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.193023,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.197215,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.316612,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.39436,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.39396,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.26043,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.195508,
|
||||
"retry_after": "1"
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.34017,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 401,
|
||||
"seconds": 0.296132,
|
||||
"retry_after": null
|
||||
},
|
||||
{
|
||||
"status": 429,
|
||||
"seconds": 0.240738,
|
||||
"retry_after": "1"
|
||||
}
|
||||
],
|
||||
"api_container_lifetime_memory_peak_bytes_after_probe": [
|
||||
301240320,
|
||||
300556288
|
||||
],
|
||||
"memory_scope": "cgroup lifetime peak, not an isolated allocation trace; API cap768MiB each"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: shared two-replica rate limit, real concurrent KDF admission429/Retry-After and measured memory budget
|
||||
@@ -0,0 +1,152 @@
|
||||
Compose can now delegate builds to bake for better performance.
|
||||
To do so, set COMPOSE_BAKE=true.
|
||||
#0 building with "desktop-linux" instance using docker driver
|
||||
|
||||
#1 [tests internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 1.11kB done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [api internal] load build definition from Dockerfile
|
||||
#2 transferring dockerfile: 1.11kB done
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [api internal] load metadata for docker.io/library/alpine:3.24.4
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [tests internal] load metadata for docker.io/library/golang:1.27.4-alpine3.24
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [tests internal] load .dockerignore
|
||||
#5 transferring context: 196B done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [api internal] load .dockerignore
|
||||
#6 transferring context: 196B done
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 [api stage-2 1/4] FROM docker.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
|
||||
#7 resolve docker.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf 0.0s done
|
||||
#7 DONE 0.0s
|
||||
|
||||
#8 [tests build 1/7] FROM docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280
|
||||
#8 resolve docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 0.0s done
|
||||
#8 DONE 0.0s
|
||||
|
||||
#9 [api internal] load build context
|
||||
#9 transferring context: 37.30kB done
|
||||
#9 DONE 0.0s
|
||||
|
||||
#10 [tests internal] load build context
|
||||
#10 transferring context: 37.30kB done
|
||||
#10 DONE 0.0s
|
||||
|
||||
#11 [api build 3/7] COPY go.mod go.sum ./
|
||||
#11 CACHED
|
||||
|
||||
#12 [api build 2/7] WORKDIR /src
|
||||
#12 CACHED
|
||||
|
||||
#13 [api build 4/7] RUN --mount=type=cache,target=/go/pkg/mod GODEBUG=http2client=0 GOPROXY="https://proxy.golang.org,direct" go mod download
|
||||
#13 CACHED
|
||||
|
||||
#14 [tests build 5/7] COPY cmd/ ./cmd/
|
||||
#14 CACHED
|
||||
|
||||
#15 [tests build 6/7] COPY internal/ ./internal/
|
||||
#15 DONE 0.0s
|
||||
|
||||
#16 [api build 7/7] RUN --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd/server
|
||||
#16 DONE 10.4s
|
||||
|
||||
#17 [tests build 7/7] RUN --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd/server
|
||||
#17 CACHED
|
||||
|
||||
#12 [tests build 2/7] WORKDIR /src
|
||||
#12 CACHED
|
||||
|
||||
#18 [tests build 4/7] RUN --mount=type=cache,target=/go/pkg/mod GODEBUG=http2client=0 GOPROXY="https://proxy.golang.org,direct" go mod download
|
||||
#18 CACHED
|
||||
|
||||
#19 [tests build 6/7] COPY internal/ ./internal/
|
||||
#19 CACHED
|
||||
|
||||
#20 [tests build 5/7] COPY cmd/ ./cmd/
|
||||
#20 CACHED
|
||||
|
||||
#21 [tests build 3/7] COPY go.mod go.sum ./
|
||||
#21 CACHED
|
||||
|
||||
#22 [api stage-2 2/4] RUN apk add --no-cache libwebp-tools
|
||||
#22 CACHED
|
||||
|
||||
#23 [api stage-2 3/4] RUN addgroup -g 10001 app && adduser -D -u 10001 -G app app
|
||||
#23 CACHED
|
||||
|
||||
#24 [api stage-2 4/4] COPY --from=build /out/messenger /usr/local/bin/messenger
|
||||
#24 DONE 0.0s
|
||||
|
||||
#25 [api] exporting to image
|
||||
#25 exporting layers
|
||||
#25 exporting layers 0.5s done
|
||||
#25 exporting manifest sha256:4d8a2b0fbbb6c5c88d1dcd6979f46f2f35fa2ccdbe72650944f8a5b42ac3f4b9
|
||||
#25 exporting manifest sha256:4d8a2b0fbbb6c5c88d1dcd6979f46f2f35fa2ccdbe72650944f8a5b42ac3f4b9 done
|
||||
#25 exporting config sha256:4e044b8aad682a9b15c59ebd0eded9e519c5f22ba5b72c020d2f00cb73f6c739 done
|
||||
#25 exporting attestation manifest sha256:069d2d05259e5e1c6f7e52bbd6419527412d160cb3bd4601a631c6f4f93fa6fe done
|
||||
#25 exporting manifest list sha256:0cc4658eae5fb71ea4a44ffb5584d5d1c650eda5887702e992c65552c8f789db done
|
||||
#25 naming to docker.io/library/mtusi-messenger:lab7 done
|
||||
#25 unpacking to docker.io/library/mtusi-messenger:lab7 0.1s done
|
||||
#25 DONE 0.7s
|
||||
|
||||
#26 [tests tests 1/2] RUN apk add --no-cache gcc musl-dev libwebp-tools
|
||||
#26 ...
|
||||
|
||||
#27 [api] resolving provenance for metadata file
|
||||
#27 DONE 0.0s
|
||||
|
||||
#26 [tests tests 1/2] RUN apk add --no-cache gcc musl-dev libwebp-tools
|
||||
#26 1.175 ( 1/22) Installing libgcc (15.2.0-r5)
|
||||
#26 1.266 ( 2/22) Installing jansson (2.15.0-r0)
|
||||
#26 1.356 ( 3/22) Installing libstdc++ (15.2.0-r5)
|
||||
#26 1.470 ( 4/22) Installing zstd-libs (1.6.0-r1)
|
||||
#26 1.567 ( 5/22) Installing binutils (2.45.1-r1)
|
||||
#26 1.775 ( 6/22) Installing libgcc-static (15.2.0-r5)
|
||||
#26 1.908 ( 7/22) Installing libgomp (15.2.0-r5)
|
||||
#26 1.997 ( 8/22) Installing libatomic (15.2.0-r5)
|
||||
#26 2.079 ( 9/22) Installing gmp (6.3.0-r4)
|
||||
#26 2.173 (10/22) Installing isl26 (0.26-r2)
|
||||
#26 2.294 (11/22) Installing mpfr4 (4.2.2-r0)
|
||||
#26 2.397 (12/22) Installing mpc1 (1.3.1-r1)
|
||||
#26 2.481 (13/22) Installing gcc (15.2.0-r5)
|
||||
#26 7.161 (14/22) Installing giflib (5.2.2-r2)
|
||||
#26 7.244 (15/22) Installing libjpeg-turbo (3.1.3-r0)
|
||||
#26 7.356 (16/22) Installing libpng (1.6.59-r0)
|
||||
#26 7.451 (17/22) Installing libsharpyuv (1.6.0-r0)
|
||||
#26 7.537 (18/22) Installing libwebp (1.6.0-r0)
|
||||
#26 7.648 (19/22) Installing libwebpdemux (1.6.0-r0)
|
||||
#26 7.731 (20/22) Installing libwebpmux (1.6.0-r0)
|
||||
#26 7.817 (21/22) Installing libwebp-tools (1.6.0-r0)
|
||||
#26 7.913 (22/22) Installing musl-dev (1.2.6-r3)
|
||||
#26 8.549 Executing busybox-1.37.0-r31.trigger
|
||||
#26 8.559 OK: 176.0 MiB in 39 packages
|
||||
#26 DONE 8.7s
|
||||
|
||||
#28 [tests tests 2/2] RUN --mount=type=cache,target=/go/pkg/mod mkdir -p /opt/gomod && cp -a /go/pkg/mod/. /opt/gomod/
|
||||
#28 DONE 2.9s
|
||||
|
||||
#29 [tests] exporting to image
|
||||
#29 exporting layers
|
||||
#29 exporting layers 11.2s done
|
||||
#29 exporting manifest sha256:665afab75275fe67682c6aff3ceac03216c264383bcee0f187bbc722ee677a66
|
||||
#29 exporting manifest sha256:665afab75275fe67682c6aff3ceac03216c264383bcee0f187bbc722ee677a66 0.0s done
|
||||
#29 exporting config sha256:fde951401451ecb2a9a786d48591dc2a74390a3de35021f179e91ecf9b35c915 0.0s done
|
||||
#29 exporting attestation manifest sha256:a5e086eb0a82ac80d98423f2730f3ac5eadb25c998c9c62c4cb454d30435bf31 0.0s done
|
||||
#29 exporting manifest list sha256:a7539c215a62520998a8acd12cc27cf15e89c335debde91f47afd650d9abb779 done
|
||||
#29 naming to docker.io/library/mtusi-messenger-tests:lab7 done
|
||||
#29 unpacking to docker.io/library/mtusi-messenger-tests:lab7
|
||||
#29 unpacking to docker.io/library/mtusi-messenger-tests:lab7 3.2s done
|
||||
#29 DONE 14.6s
|
||||
|
||||
#30 [tests] resolving provenance for metadata file
|
||||
#30 DONE 0.0s
|
||||
api Built
|
||||
tests Built
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
@@ -0,0 +1,2 @@
|
||||
Rotated worker SQL secret and leaf certificate; previous serial denied; images unchanged; private values hidden.
|
||||
PASS: bounded worker compromise, before/after least privilege, actual identity/SQL revocation, fresh worker restored all accepted bytes; no image rebuild
|
||||
Binary file not shown.
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"dependency-scan-initial": {
|
||||
"config": {
|
||||
"protocol_version": "v1.0.0",
|
||||
"scanner_name": "govulncheck",
|
||||
"scanner_version": "v1.10.0",
|
||||
"db": "https://vuln.go.dev",
|
||||
"db_last_modified": "2026-11-24T15:56:00Z",
|
||||
"go_version": "go1.27.4",
|
||||
"scan_level": "symbol",
|
||||
"scan_mode": "source"
|
||||
},
|
||||
"findings": 423,
|
||||
"called_advisory_count": 24,
|
||||
"called_advisories": [
|
||||
{
|
||||
"id": "GO-2023-1572",
|
||||
"summary": "Denial of service via crafted TIFF image in golang.org/x/image/tiff",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2023-1572"
|
||||
},
|
||||
{
|
||||
"id": "GO-2023-1989",
|
||||
"summary": "Excessive resource consumption in golang.org/x/image/tiff",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2023-1989"
|
||||
},
|
||||
{
|
||||
"id": "GO-2023-1990",
|
||||
"summary": "Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2023-1990"
|
||||
},
|
||||
{
|
||||
"id": "GO-2024-2937",
|
||||
"summary": "Panic when parsing invalid palette-color images in golang.org/x/image",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2024-2937"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-4394",
|
||||
"summary": "OpenTelemetry Go SDK Vulnerable to Arbitrary Code Execution via PATH Hijacking in go.opentelemetry.io/otel/sdk",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-4394"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-4815",
|
||||
"summary": "OOM from malicious IFD offset in golang.org/x/image/tiff",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-4815"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-4985",
|
||||
"summary": "Oversized OTLP HTTP response bodies can cause memory exhaustion in go.opentelemetry.io/otel/exporters/otlp",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-4985"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5004",
|
||||
"summary": "SQL Injection via placeholder confusion with dollar quoted string literals in github.com/jackc/pgx",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5004"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5031",
|
||||
"summary": "Panic when reading out of bound palette index in golang.org/x/image/bmp",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5031"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5032",
|
||||
"summary": "Excessive resource consumption in PackBits decompression in golang.org/x/image/tiff",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5032"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5062",
|
||||
"summary": "Lack of limit on tile sizes in x/image/tiff in golang.org/x/image",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5062"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5066",
|
||||
"summary": "Panic decoding image with out-of-bounds strip offset in x/image/tiff in golang.org/x/image",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5066"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5506",
|
||||
"summary": "OpenTelemetry-Go: Multi-value baggage header extraction causes excessive allocations in go.opentelemetry.io/otel",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5506"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-5970",
|
||||
"summary": "Infinite loop on invalid input in golang.org/x/text",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-5970"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6061",
|
||||
"summary": "Vulnerabilities in the xDS RBAC authorization engine and the HTTP/2 transport server implementation in google.golang.org/grpc",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6061"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6348",
|
||||
"summary": "Heap Memory Exhaustion (OOM) via HTTP/2 DATA Frame Fragmentation in google.golang.org/grpc",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6348"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6505",
|
||||
"summary": "OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs in go.opentelemetry.io/otel/exporters/otlp/otlptrace",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6505"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6603",
|
||||
"summary": "HTTP/2 server memory exhaustion due to Trailer headers in net/http",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6603"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6611",
|
||||
"summary": "Excessive CPU consumption from repeated initial window changes in net/http",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6611"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6612",
|
||||
"summary": "Double flow control refund on HTTP/2 server streams in net/http",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6612"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6615",
|
||||
"summary": "OpenTelemetry-Go: BatchProcessor can busy-spin when export buffer is full in go.opentelemetry.io/otel/sdk/log",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6615"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6617",
|
||||
"summary": "HTTP/2 server crash due to HPACK encoder race in net/http",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6617"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6629",
|
||||
"summary": "Panic parsing crafted input in x/text/secure/precis in golang.org/x/text",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6629"
|
||||
},
|
||||
{
|
||||
"id": "GO-2026-6974",
|
||||
"summary": "AttributeValueLengthLimit bypass via U+FFFD runes in go.opentelemetry.io/otel/sdk",
|
||||
"url": "https://pkg.go.dev/vuln/GO-2026-6974"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependency-scan": {
|
||||
"config": {
|
||||
"protocol_version": "v1.0.0",
|
||||
"scanner_name": "govulncheck",
|
||||
"scanner_version": "v1.10.0",
|
||||
"db": "https://vuln.go.dev",
|
||||
"db_last_modified": "2026-11-24T15:56:00Z",
|
||||
"go_version": "go1.27.4",
|
||||
"scan_level": "symbol",
|
||||
"scan_mode": "source"
|
||||
},
|
||||
"findings": 0,
|
||||
"called_advisory_count": 0,
|
||||
"called_advisories": []
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,74 @@
|
||||
go: downloading golang.org/x/net v0.63.0
|
||||
go: downloading google.golang.org/protobuf v1.36.12
|
||||
go: downloading go.opentelemetry.io/proto/otlp v1.11.0
|
||||
go: downloading github.com/cenkalti/backoff/v5 v5.0.3
|
||||
go: downloading go.opentelemetry.io/otel/log v1.47.0
|
||||
go: downloading github.com/go-logr/logr v1.4.4
|
||||
go: downloading go.opentelemetry.io/otel/metric v1.47.0
|
||||
go: downloading go.opentelemetry.io/otel/trace v1.47.0
|
||||
go: downloading go.opentelemetry.io/auto/sdk v1.2.1
|
||||
go: downloading go.opentelemetry.io/otel/sdk/metric v1.47.0
|
||||
go: downloading google.golang.org/grpc v1.83.2
|
||||
go: downloading golang.org/x/text v0.44.0
|
||||
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0
|
||||
go: downloading golang.org/x/sys v0.50.0
|
||||
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc
|
||||
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc
|
||||
go: downloading github.com/stretchr/testify v1.12.1
|
||||
go: downloading go.opentelemetry.io/otel/sdk/log/logtest v0.23.0
|
||||
go: upgraded github.com/cenkalti/backoff/v5 v5.0.2 => v5.0.3
|
||||
go: upgraded github.com/go-logr/logr v1.4.2 => v1.4.4
|
||||
go: upgraded github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 => v2.30.0
|
||||
go: upgraded github.com/jackc/pgx/v5 v5.7.6 => v5.9.2
|
||||
go: upgraded github.com/klauspost/compress v1.18.0 => v1.20.2
|
||||
go: upgraded go.opentelemetry.io/auto/sdk v1.1.0 => v1.2.1
|
||||
go: upgraded go.opentelemetry.io/otel v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.12.2 => v0.23.0
|
||||
go: upgraded go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/log v0.12.2 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/metric v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/sdk v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/sdk/log v0.12.2 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/sdk/metric v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/otel/trace v1.36.0 => v1.47.0
|
||||
go: upgraded go.opentelemetry.io/proto/otlp v1.6.0 => v1.11.0
|
||||
go: upgraded golang.org/x/crypto v0.41.0 => v0.59.0
|
||||
go: upgraded golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 => v0.45.0
|
||||
go: upgraded golang.org/x/net v0.42.0 => v0.63.0
|
||||
go: upgraded golang.org/x/sync v0.16.0 => v0.25.0
|
||||
go: upgraded golang.org/x/sys v0.35.0 => v0.50.0
|
||||
go: upgraded golang.org/x/text v0.28.0 => v0.44.0
|
||||
go: upgraded google.golang.org/genproto/googleapis/api v0.0.0-20250519155744-55703ea1f237 => v0.0.0-20260928230214-8a89bd6388cc
|
||||
go: upgraded google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 => v0.0.0-20260928230214-8a89bd6388cc
|
||||
go: upgraded google.golang.org/grpc v1.72.1 => v1.83.2
|
||||
go: upgraded google.golang.org/protobuf v1.36.6 => v1.36.12
|
||||
go: downloading github.com/google/go-cmp v0.7.0
|
||||
go: downloading go.opentelemetry.io/otel/metric/x v0.69.0
|
||||
go: downloading go.uber.org/goleak v1.3.0
|
||||
go: downloading github.com/golang/protobuf v1.5.4
|
||||
go: downloading github.com/bsm/ginkgo/v2 v2.12.0
|
||||
go: downloading github.com/bsm/gomega v1.27.10
|
||||
go: downloading gonum.org/v1/gonum v0.17.0
|
||||
go: downloading go.yaml.in/yaml/v3 v3.0.5
|
||||
# go.opentelemetry.io/contrib/bridges/otelslog
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/handler.go:347:37: undefined: log.KeyValue
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/handler.go:380:13: undefined: log.KeyValue
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/handler.go:404:41: undefined: log.KeyValue
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/handler.go:452:32: undefined: log.Value
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:20:30: undefined: log.Value
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:24:14: undefined: log.BoolValue
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:26:14: undefined: log.StringValue
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:28:14: undefined: log.Int64Value
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:30:14: undefined: log.Int64Value
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:118:37: undefined: log.Value
|
||||
/go/pkg/mod/go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0/convert.go:30:14: too many errors
|
||||
? mtusi/messenger/internal/security [no test files]
|
||||
FAIL mtusi/messenger/cmd/server [build failed]
|
||||
FAIL
|
||||
go: downloading go.opentelemetry.io/contrib v1.47.0
|
||||
go: downloading go.opentelemetry.io/contrib/bridges/otelslog v0.21.0
|
||||
go: upgraded go.opentelemetry.io/contrib/bridges/otelslog v0.11.0 => v0.21.0
|
||||
? mtusi/messenger/internal/security [no test files]
|
||||
? mtusi/messenger/cmd/server [no test files]
|
||||
@@ -0,0 +1,118 @@
|
||||
mtusi/messenger
|
||||
cel.dev/expr v0.25.2
|
||||
cloud.google.com/go/auth v0.18.2
|
||||
cloud.google.com/go/compute/metadata v0.9.0
|
||||
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0
|
||||
github.com/apapsch/go-jsonmerge/v2 v2.0.0
|
||||
github.com/bsm/ginkgo/v2 v2.12.0
|
||||
github.com/bsm/gomega v1.27.10
|
||||
github.com/cenkalti/backoff/v5 v5.0.3
|
||||
github.com/cespare/xxhash/v2 v2.3.0
|
||||
github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2
|
||||
github.com/davecgh/go-spew v1.1.1
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
|
||||
github.com/disintegration/imaging v1.6.2
|
||||
github.com/dustin/go-humanize v1.0.1
|
||||
github.com/envoyproxy/go-control-plane v0.14.0
|
||||
github.com/envoyproxy/go-control-plane/envoy v1.37.0
|
||||
github.com/envoyproxy/go-control-plane/ratelimit v0.1.0
|
||||
github.com/envoyproxy/protoc-gen-validate v1.3.3
|
||||
github.com/felixge/httpsnoop v1.1.0
|
||||
github.com/go-ini/ini v1.67.0
|
||||
github.com/go-jose/go-jose/v4 v4.1.4
|
||||
github.com/go-logr/logr v1.4.4
|
||||
github.com/go-logr/stdr v1.2.2
|
||||
github.com/go-openapi/analysis v0.25.5
|
||||
github.com/go-openapi/errors v0.22.8
|
||||
github.com/go-openapi/jsonpointer v1.0.0
|
||||
github.com/go-openapi/jsonreference v1.0.0
|
||||
github.com/go-openapi/loads v0.25.0
|
||||
github.com/go-openapi/runtime v0.33.0
|
||||
github.com/go-openapi/runtime/server-middleware v0.30.0
|
||||
github.com/go-openapi/spec v0.22.9
|
||||
github.com/go-openapi/strfmt v0.27.0
|
||||
github.com/go-openapi/swag v0.28.0
|
||||
github.com/go-openapi/swag/cmdutils v0.28.0
|
||||
github.com/go-openapi/swag/conv v0.28.0
|
||||
github.com/go-openapi/swag/fileutils v0.28.0
|
||||
github.com/go-openapi/swag/jsonutils v0.28.0
|
||||
github.com/go-openapi/swag/loading v0.28.0
|
||||
github.com/go-openapi/swag/mangling v0.28.0
|
||||
github.com/go-openapi/swag/netutils v0.28.0
|
||||
github.com/go-openapi/swag/pools v0.28.0
|
||||
github.com/go-openapi/swag/stringutils v0.28.0
|
||||
github.com/go-openapi/swag/typeutils v0.28.0
|
||||
github.com/go-openapi/swag/yamlutils v0.28.0
|
||||
github.com/go-openapi/validate v0.26.1
|
||||
github.com/go-viper/mapstructure/v2 v2.5.0
|
||||
github.com/goccy/go-json v0.10.5
|
||||
github.com/golang/glog v1.2.5
|
||||
github.com/golang/protobuf v1.5.4
|
||||
github.com/google/go-cmp v0.7.0
|
||||
github.com/google/s2a-go v0.1.9
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.3.11
|
||||
github.com/googleapis/gax-go/v2 v2.17.0
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0
|
||||
github.com/jackc/pgpassfile v1.0.0
|
||||
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761
|
||||
github.com/jackc/pgx/v5 v5.9.2
|
||||
github.com/jackc/puddle/v2 v2.2.2
|
||||
github.com/klauspost/compress v1.20.2
|
||||
github.com/klauspost/cpuid/v2 v2.2.11
|
||||
github.com/kr/pretty v0.3.1
|
||||
github.com/minio/crc64nvme v1.0.2
|
||||
github.com/minio/md5-simd v1.1.2
|
||||
github.com/minio/minio-go/v7 v7.0.95
|
||||
github.com/oapi-codegen/runtime v1.6.0
|
||||
github.com/oklog/ulid/v2 v2.1.1
|
||||
github.com/philhofer/fwd v1.2.0
|
||||
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10
|
||||
github.com/pmezard/go-difflib v1.0.0
|
||||
github.com/redis/go-redis/v9 v9.12.1
|
||||
github.com/rogpeppe/fastuuid v1.2.0
|
||||
github.com/rogpeppe/go-internal v1.14.1
|
||||
github.com/rs/xid v1.6.0
|
||||
github.com/spiffe/go-spiffe/v2 v2.7.0
|
||||
github.com/stretchr/objx v0.1.0
|
||||
github.com/stretchr/testify v1.12.1
|
||||
github.com/tinylib/msgp v1.3.0
|
||||
go.opentelemetry.io/auto/sdk v1.2.1
|
||||
go.opentelemetry.io/contrib/bridges/otelslog v0.21.0
|
||||
go.opentelemetry.io/contrib/detectors/gcp v1.44.0
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0
|
||||
go.opentelemetry.io/otel v1.47.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.23.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.47.0
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.45.0
|
||||
go.opentelemetry.io/otel/log v1.47.0
|
||||
go.opentelemetry.io/otel/metric v1.47.0
|
||||
go.opentelemetry.io/otel/metric/x v0.69.0
|
||||
go.opentelemetry.io/otel/sdk v1.47.0
|
||||
go.opentelemetry.io/otel/sdk/log v1.47.0
|
||||
go.opentelemetry.io/otel/sdk/log/logtest v0.23.0
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0
|
||||
go.opentelemetry.io/otel/trace v1.47.0
|
||||
go.opentelemetry.io/proto/otlp v1.11.0
|
||||
go.uber.org/goleak v1.3.0
|
||||
go.yaml.in/yaml/v3 v3.0.5
|
||||
golang.org/x/crypto v0.59.0
|
||||
golang.org/x/image v0.45.0
|
||||
golang.org/x/mod v0.42.0
|
||||
golang.org/x/net v0.63.0
|
||||
golang.org/x/oauth2 v0.36.0
|
||||
golang.org/x/sync v0.25.0
|
||||
golang.org/x/sys v0.50.0
|
||||
golang.org/x/term v0.48.0
|
||||
golang.org/x/text v0.44.0
|
||||
golang.org/x/tools v0.52.0
|
||||
gonum.org/v1/gonum v0.17.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc
|
||||
google.golang.org/grpc v1.83.2
|
||||
google.golang.org/protobuf v1.36.12
|
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "https://localhost:8443" --ca-file "/Users/glebkraykin/Projects/highload-apps-labs/lab7/certs/ca.crt"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 110, "failed_attempts": 1, "first_recovery_seconds": 1.149}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,505 @@
|
||||
{
|
||||
"runtime": [
|
||||
{
|
||||
"service": "api",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 805306368,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:19:37.993962054Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 805306368,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:41.942116375Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "broker",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.562146138Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "broker-store",
|
||||
"user": "999:1000",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"started_at": "2026-12-02T14:10:38.722964263Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "cache",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.577258679Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "cache-store",
|
||||
"user": "999:1000",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"started_at": "2026-12-02T14:10:38.753695763Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "collector",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.574985221Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "collector-store",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:1ab0baba0ee3695d823c46653d8a6e8894896e668ce8bd7ebe002e948d827bc7",
|
||||
"started_at": "2026-12-02T14:10:38.874202929Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "dispatcher",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 250000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:41.933912166Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "grafana",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.559359388Z",
|
||||
"published_ports": {
|
||||
"3000/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "3007"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "grafana-store",
|
||||
"user": "472",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:b5b59bfc7561634c2d7b136c4543d702ebcc94a3da477f21ff26f89ffd4214fa",
|
||||
"started_at": "2026-12-02T14:10:38.755523763Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "housekeeping",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 250000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:41.941801375Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"image_id": "sha256:3a819392f5a6af2a9203d1c63ff0feba74f0c940623a558511be06d7d85e361c",
|
||||
"started_at": "2026-12-02T14:10:42.1189875Z",
|
||||
"published_ports": {
|
||||
"8443/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8443"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "loki",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.581135971Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "loki-store",
|
||||
"user": "10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:a74594532eec4cc313401beedc4dd2708c43674c032084b1aeb87c14a5be1745",
|
||||
"started_at": "2026-12-02T14:10:38.840854804Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "openbao",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:ba4b133eb9586630024e71a617e66f37f29cc3534cdd46a6233e098ceded8dc9",
|
||||
"started_at": "2026-12-02T14:10:39.320626388Z",
|
||||
"published_ports": {
|
||||
"8200/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8207"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "postgres",
|
||||
"user": "",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID"
|
||||
],
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 2000000000,
|
||||
"image_id": "sha256:ef257d85f76e48da1c64832459b59fcaba1a4dac97bf5d7450c77753542eee94",
|
||||
"started_at": "2026-12-02T14:10:38.582143221Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "prometheus",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.491951637Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "prometheus-store",
|
||||
"user": "nobody",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:9abc6cf6aea7710d163dbb28d8eeb7dc5baef01e38fa4cd146a406dd9f07f70d",
|
||||
"started_at": "2026-12-02T14:10:38.673212388Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "s3",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.572567096Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "s3-store",
|
||||
"user": "",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 536870912,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"image_id": "sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e",
|
||||
"started_at": "2026-12-02T14:10:38.783305721Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "tempo",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 134217728,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:10:38.500782637Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "tempo-store",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 268435456,
|
||||
"nano_cpus_limit": 500000000,
|
||||
"image_id": "sha256:3cbb1b4eae79b158d25006d88abadb1f87ef98f8a902cd54c3bdffff78ea6cda",
|
||||
"started_at": "2026-12-02T14:10:38.655961679Z",
|
||||
"published_ports": {}
|
||||
},
|
||||
{
|
||||
"service": "worker",
|
||||
"user": "10001:10001",
|
||||
"read_only": true,
|
||||
"drop_capabilities": [
|
||||
"ALL"
|
||||
],
|
||||
"add_capabilities": null,
|
||||
"security_options": [
|
||||
"no-new-privileges:true"
|
||||
],
|
||||
"memory_limit_bytes": 1073741824,
|
||||
"nano_cpus_limit": 1000000000,
|
||||
"image_id": "sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245",
|
||||
"started_at": "2026-12-02T14:19:31.736994051Z",
|
||||
"published_ports": {}
|
||||
}
|
||||
],
|
||||
"no_native_bypass": [
|
||||
{
|
||||
"service": "api",
|
||||
"native_port": 8081,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "broker",
|
||||
"native_port": 6380,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "cache",
|
||||
"native_port": 6380,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "s3",
|
||||
"native_port": 9001,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "s3",
|
||||
"native_port": 9002,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "collector",
|
||||
"native_port": 4319,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "collector",
|
||||
"native_port": 8890,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "prometheus",
|
||||
"native_port": 9091,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "loki",
|
||||
"native_port": 3101,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "tempo",
|
||||
"native_port": 3201,
|
||||
"external_namespace_connection_denied": true
|
||||
},
|
||||
{
|
||||
"service": "grafana",
|
||||
"native_port": 3001,
|
||||
"external_namespace_connection_denied": true
|
||||
}
|
||||
],
|
||||
"worker_filesystem": {
|
||||
"rootfs_write": "denied",
|
||||
"operator_key": "denied",
|
||||
"other_identity": "denied"
|
||||
},
|
||||
"worker_effective_caps_zero": true,
|
||||
"worker_no_new_privileges": true,
|
||||
"known_private_values_absent_from_config_env_and_sampled_logs": true,
|
||||
"scope": "runtime containers only; verify-profile compiler/operator tools not persistent runtime; last500 app/collector log lines sampled, not proof of all future logs"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: actual non-root/capabilities/read-only/ports, closed native hops, scoped worker mounts and sampled private-value scan
|
||||
@@ -0,0 +1,314 @@
|
||||
{
|
||||
"requested_duration_seconds": 15,
|
||||
"concurrency": 4,
|
||||
"warmup_seconds": 0,
|
||||
"before": {
|
||||
"users": 35,
|
||||
"chats": 13,
|
||||
"messages": 609,
|
||||
"attachments": 16
|
||||
},
|
||||
"after": {
|
||||
"users": 38,
|
||||
"chats": 14,
|
||||
"messages": 2995,
|
||||
"attachments": 16
|
||||
},
|
||||
"resource_observations": [
|
||||
{
|
||||
"elapsed_seconds": 1.771,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "42.59%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "21.90%",
|
||||
"MemUsage": "168.2MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "1.15MB / 1.62MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "41.75%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "18.43%",
|
||||
"MemUsage": "141.6MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "252kB / 323kB",
|
||||
"PIDs": "15"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "1.07%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "27.97%",
|
||||
"MemUsage": "71.61MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "13.7MB / 8.39MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.03%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.70%",
|
||||
"MemUsage": "17.4MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.65MB / 2.39MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_seconds": 4.804,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "15.93%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "22.06%",
|
||||
"MemUsage": "169.4MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "2.81MB / 3.99MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "29.32%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "2.75%",
|
||||
"MemUsage": "21.13MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "3.07MB / 4.39MB",
|
||||
"PIDs": "15"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "2.66%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "27.98%",
|
||||
"MemUsage": "71.63MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "14.8MB / 8.75MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.52%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.70%",
|
||||
"MemUsage": "17.43MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.66MB / 2.4MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_seconds": 7.836,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "24.06%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "5.34%",
|
||||
"MemUsage": "41.02MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "6.07MB / 8.76MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "193kB / 0B",
|
||||
"CPUPerc": "3.34%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "2.66%",
|
||||
"MemUsage": "20.4MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "5.25MB / 7.57MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "1.03%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "28.68%",
|
||||
"MemUsage": "73.43MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "17MB / 9.52MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.38%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.71%",
|
||||
"MemUsage": "17.47MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.66MB / 2.4MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_seconds": 10.883,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.61%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "5.25%",
|
||||
"MemUsage": "40.3MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "6.41MB / 9.28MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "193kB / 0B",
|
||||
"CPUPerc": "2.80%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "2.62%",
|
||||
"MemUsage": "20.16MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "5.42MB / 7.83MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "2.86%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "27.22%",
|
||||
"MemUsage": "69.68MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "17.2MB / 9.6MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.57%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.71%",
|
||||
"MemUsage": "17.51MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.67MB / 2.41MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_seconds": 13.927,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.66%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "5.25%",
|
||||
"MemUsage": "40.29MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "6.57MB / 9.51MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "193kB / 0B",
|
||||
"CPUPerc": "4.57%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "2.86%",
|
||||
"MemUsage": "21.99MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "5.76MB / 8.34MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "0.88%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "27.64%",
|
||||
"MemUsage": "70.75MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "17.4MB / 9.68MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.31%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.74%",
|
||||
"MemUsage": "17.81MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.67MB / 2.42MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"elapsed_seconds": 16.977,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.25%",
|
||||
"Container": "184f26c3f9536942f2fd500a9a9ab1a281d3790d640de4bc30a6cef3181dc4f8",
|
||||
"ID": "184f26c3f953",
|
||||
"MemPerc": "5.25%",
|
||||
"MemUsage": "40.3MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-1",
|
||||
"NetIO": "6.84MB / 9.91MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "193kB / 0B",
|
||||
"CPUPerc": "4.92%",
|
||||
"Container": "83ebe4343681af3d3dd6f2f50ff94f6e58ab419818b62255134cfed1b1606dec",
|
||||
"ID": "83ebe4343681",
|
||||
"MemPerc": "2.88%",
|
||||
"MemUsage": "22.09MiB / 768MiB",
|
||||
"Name": "mtusi-lab7-kraykin-api-2",
|
||||
"NetIO": "6.11MB / 8.83MB",
|
||||
"PIDs": "16"
|
||||
},
|
||||
{
|
||||
"BlockIO": "3.23MB / 0B",
|
||||
"CPUPerc": "1.40%",
|
||||
"Container": "7703854ae2b9a7d08fd7dc0cb9fac556b99f38527c3fc3165bbdda3972b3b68a",
|
||||
"ID": "7703854ae2b9",
|
||||
"MemPerc": "27.64%",
|
||||
"MemUsage": "70.75MiB / 256MiB",
|
||||
"Name": "mtusi-lab7-kraykin-collector-store-1",
|
||||
"NetIO": "17.6MB / 9.77MB",
|
||||
"PIDs": "19"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "0.33%",
|
||||
"Container": "71cbb9cee6bb46d0821c70ab92547aa783c85939ff465ee6f179e49377e8b9d4",
|
||||
"ID": "71cbb9cee6bb",
|
||||
"MemPerc": "1.72%",
|
||||
"MemUsage": "17.57MiB / 1GiB",
|
||||
"Name": "mtusi-lab7-kraykin-worker-1",
|
||||
"NetIO": "1.68MB / 2.43MB",
|
||||
"PIDs": "17"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"limits": "closed-loop/coordinated omission, success-only latency percentiles, shared VM, growing dataset; no capacity or TLS off/on comparison"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 7,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 15.0,
|
||||
"elapsed_seconds": 15.01,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 2386,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 158.96,
|
||||
"successful_latency_ms": {
|
||||
"p50": 8.173,
|
||||
"p95": 129.663,
|
||||
"p99": 196.474
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"lab": 7,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 15.0,
|
||||
"elapsed_seconds": 15.01,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 2386,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 158.96,
|
||||
"successful_latency_ms": {
|
||||
"p50": 8.173,
|
||||
"p95": 129.663,
|
||||
"p99": 196.474
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
MEASURED: verified HTTPS workload, errors, percentiles, CPU/RAM and dataset counts
|
||||
@@ -0,0 +1,4 @@
|
||||
/private/tmp/highload7-verify/bin/python scripts/validate_openapi.py
|
||||
/private/tmp/highload7-verify/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
|
||||
warnings.warn(
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,46 @@
|
||||
[
|
||||
{
|
||||
"role": "api",
|
||||
"ttl_seconds": 60,
|
||||
"own_read": true,
|
||||
"denied_paths": [
|
||||
"kv/data/worker",
|
||||
"sys/policies/acl/escalation",
|
||||
"sys/raw/core"
|
||||
],
|
||||
"revoked_token_denied": true
|
||||
},
|
||||
{
|
||||
"role": "worker",
|
||||
"ttl_seconds": 60,
|
||||
"own_read": true,
|
||||
"denied_paths": [
|
||||
"kv/data/api",
|
||||
"sys/policies/acl/escalation",
|
||||
"sys/raw/core"
|
||||
],
|
||||
"revoked_token_denied": true
|
||||
},
|
||||
{
|
||||
"role": "dispatcher",
|
||||
"ttl_seconds": 60,
|
||||
"own_read": true,
|
||||
"denied_paths": [
|
||||
"kv/data/api",
|
||||
"sys/policies/acl/escalation",
|
||||
"sys/raw/core"
|
||||
],
|
||||
"revoked_token_denied": true
|
||||
},
|
||||
{
|
||||
"role": "housekeeping",
|
||||
"ttl_seconds": 60,
|
||||
"own_read": true,
|
||||
"denied_paths": [
|
||||
"kv/data/api",
|
||||
"sys/policies/acl/escalation",
|
||||
"sys/raw/core"
|
||||
],
|
||||
"revoked_token_denied": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"failures": [
|
||||
{
|
||||
"successful_writes": 148,
|
||||
"errors": 1,
|
||||
"successful_rps": 17.529176246121644,
|
||||
"first_recovery_seconds": 1.118,
|
||||
"action_seconds": 0.258,
|
||||
"instances": [
|
||||
"4e1905fc-f951-4020-b910-d8ef3ccfdeea",
|
||||
"7c6edd04-09c4-48cc-993d-87981c6277ab"
|
||||
],
|
||||
"confirmed_preserved": true,
|
||||
"stopped_alias": "7c6edd04-09c4-48cc-993d-87981c6277ab"
|
||||
},
|
||||
{
|
||||
"successful_writes": 143,
|
||||
"errors": 2,
|
||||
"successful_rps": 16.77245908330838,
|
||||
"first_recovery_seconds": 0.306,
|
||||
"action_seconds": 0.29,
|
||||
"instances": [
|
||||
"032ca595-80b4-48ed-b90d-2c36098714e5",
|
||||
"4e1905fc-f951-4020-b910-d8ef3ccfdeea"
|
||||
],
|
||||
"confirmed_preserved": true,
|
||||
"stopped_alias": "4e1905fc-f951-4020-b910-d8ef3ccfdeea"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: both API replicas stopped sequentially through verified HTTPS; confirmed writes preserved
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "https://localhost:8443" --ca-file "/Users/glebkraykin/Projects/highload-apps-labs/lab7/certs/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.
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "/Users/glebkraykin/Projects/highload-apps-labs/lab7/certs/ca.crt"
|
||||
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
|
||||
@@ -0,0 +1,21 @@
|
||||
? mtusi/messenger/cmd/server [no test files]
|
||||
? mtusi/messenger/internal/database [no test files]
|
||||
=== RUN TestDatabaseConcurrentHTTP
|
||||
database_test.go:162: 100 confirmed messages from 10 clients through real HTTP and PostgreSQL; race detector enabled
|
||||
--- PASS: TestDatabaseConcurrentHTTP (1.99s)
|
||||
=== RUN TestPasswordFullUnicodeRange
|
||||
--- PASS: TestPasswordFullUnicodeRange (2.23s)
|
||||
=== RUN TestLegacyArgon2RehashOnHTTPLogin
|
||||
--- PASS: TestLegacyArgon2RehashOnHTTPLogin (2.35s)
|
||||
=== RUN TestTransformFailureClassification
|
||||
--- PASS: TestTransformFailureClassification (0.00s)
|
||||
=== RUN TestFitFloorNoUpscale
|
||||
--- PASS: TestFitFloorNoUpscale (0.00s)
|
||||
=== RUN TestTransformAlphaAndEXIF
|
||||
--- PASS: TestTransformAlphaAndEXIF (0.22s)
|
||||
=== RUN TestPNGEXIFAndMalformedIFD
|
||||
--- PASS: TestPNGEXIFAndMalformedIFD (0.11s)
|
||||
PASS
|
||||
ok mtusi/messenger/internal/messenger 7.932s
|
||||
? mtusi/messenger/internal/security [no test files]
|
||||
? mtusi/messenger/internal/telemetry [no test files]
|
||||
@@ -0,0 +1,8 @@
|
||||
Container mtusi-lab7-kraykin-api-1 Created
|
||||
Container mtusi-lab7-kraykin-api-2 Running
|
||||
Container mtusi-lab7-kraykin-api-1 Starting
|
||||
Container mtusi-lab7-kraykin-api-1 Started
|
||||
Container mtusi-lab7-kraykin-api-2 Waiting
|
||||
Container mtusi-lab7-kraykin-api-1 Waiting
|
||||
Container mtusi-lab7-kraykin-api-2 Healthy
|
||||
Container mtusi-lab7-kraykin-api-1 Healthy
|
||||
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"expired_correct_identity_leaf": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"sealed_timeline": [
|
||||
{
|
||||
"seconds": 1.42,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 3.435,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 5.495,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 7.532,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 9.555,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 11.608,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 13.635,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 15.718,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 17.746,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 19.83,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 21.852,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 23.921,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 25.991,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 28.05,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 30.101,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 32.167,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 34.196,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 36.259,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 38.281,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 40.304,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 42.328,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 44.362,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 46.421,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 48.456,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 50.491,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 52.516,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 54.613,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 56.638,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 58.671,
|
||||
"http_status": 200
|
||||
},
|
||||
{
|
||||
"seconds": 60.698,
|
||||
"http_status": 503
|
||||
},
|
||||
{
|
||||
"seconds": 62.766,
|
||||
"http_status": 503
|
||||
},
|
||||
{
|
||||
"seconds": 64.775,
|
||||
"http_status": 503
|
||||
},
|
||||
{
|
||||
"seconds": 66.824,
|
||||
"http_status": 503
|
||||
}
|
||||
],
|
||||
"authorization_ttl_seconds": 60,
|
||||
"poll_seconds": 5,
|
||||
"observation_step_seconds": 2,
|
||||
"restarted_one_api_while_sealed": true,
|
||||
"restart_had_no_static_secret_fallback": true,
|
||||
"all_api_unavailable_observed_seconds": 60.698,
|
||||
"recovery_seconds_after_unseal": 4.324,
|
||||
"same_user_token_valid": true,
|
||||
"original_identical": true,
|
||||
"limits": "successful secret-read authorization cached until60s, refresh attempt timeout<=3s and loop5s; external TLS remains required; local single Bao fails closed after bounded cache"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: expired correct-SAN leaf rejected; sealed Bao bounds authorization, restarted API has no fallback, operator unseal restores same session/file
|
||||
@@ -0,0 +1,4 @@
|
||||
PASS: every API replica, broker, Collector and backend trust matrix; real TLS verification failures
|
||||
PASS: actual scoped OpenBao read/deny, short TTL, token revocation, forbidden identity
|
||||
PASS: attachment ACL, forged header, cross-chat link, expiry/logout, password/token hashes
|
||||
PASS: shared rate limit across two replicas with429/Retry-After; measured KDF budget
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "/Users/glebkraykin/Projects/highload-apps-labs/lab7/certs/ca.crt"
|
||||
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,206 @@
|
||||
Operator bootstrap complete; private values hidden; existing identities preserved.
|
||||
Compose can now delegate builds to bake for better performance.
|
||||
To do so, set COMPOSE_BAKE=true.
|
||||
#0 building with "desktop-linux" instance using docker driver
|
||||
|
||||
#1 [api internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 1.11kB done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [api internal] load metadata for docker.io/library/alpine:3.24.4
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [api internal] load metadata for docker.io/library/golang:1.27.4-alpine3.24
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [api internal] load .dockerignore
|
||||
#4 transferring context: 196B done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [api build 1/7] FROM docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280
|
||||
#5 resolve docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [api stage-2 1/4] FROM docker.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf
|
||||
#6 resolve docker.io/library/alpine:3.24.4@sha256:f59abe656b692d901e184be3445e084786602108599d2a51d229c0f5a48c71bf done
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 [api internal] load build context
|
||||
#7 transferring context: 9.92kB done
|
||||
#7 DONE 0.0s
|
||||
|
||||
#8 [api build 2/7] WORKDIR /src
|
||||
#8 CACHED
|
||||
|
||||
#9 [api build 3/7] COPY go.mod go.sum ./
|
||||
#9 CACHED
|
||||
|
||||
#10 [api build 4/7] RUN --mount=type=cache,target=/go/pkg/mod GODEBUG=http2client=0 GOPROXY="https://proxy.golang.org,direct" go mod download
|
||||
#10 CACHED
|
||||
|
||||
#11 [api build 5/7] COPY cmd/ ./cmd/
|
||||
#11 DONE 0.0s
|
||||
|
||||
#12 [api build 6/7] COPY internal/ ./internal/
|
||||
#12 DONE 0.0s
|
||||
|
||||
#13 [api build 7/7] RUN --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd/server
|
||||
#13 DONE 10.9s
|
||||
|
||||
#14 [api stage-2 2/4] RUN apk add --no-cache libwebp-tools
|
||||
#14 CACHED
|
||||
|
||||
#15 [api stage-2 3/4] RUN addgroup -g 10001 app && adduser -D -u 10001 -G app app
|
||||
#15 CACHED
|
||||
|
||||
#16 [api stage-2 4/4] COPY --from=build /out/messenger /usr/local/bin/messenger
|
||||
#16 DONE 0.1s
|
||||
|
||||
#17 [api] exporting to image
|
||||
#17 exporting layers
|
||||
#17 exporting layers 0.6s done
|
||||
#17 exporting manifest sha256:d38e4cb8b5519627f629121a7d8594bcdf1d12af48551b725a9de6b1e2fa75a5
|
||||
#17 exporting manifest sha256:d38e4cb8b5519627f629121a7d8594bcdf1d12af48551b725a9de6b1e2fa75a5 done
|
||||
#17 exporting config sha256:f7008c0974492ee68462da13a3f1453ee646c42b1e5a2f1dac8553c6867b0ee2 done
|
||||
#17 exporting attestation manifest sha256:eda01449c2bd6404cf741bf9e9e8925f1985f3ac6f9d39c5398b95ab5a356bcb done
|
||||
#17 exporting manifest list sha256:cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245 done
|
||||
#17 naming to docker.io/library/mtusi-messenger:lab7 done
|
||||
#17 unpacking to docker.io/library/mtusi-messenger:lab7
|
||||
#17 unpacking to docker.io/library/mtusi-messenger:lab7 0.3s done
|
||||
#17 DONE 0.9s
|
||||
|
||||
#18 [api] resolving provenance for metadata file
|
||||
#18 DONE 0.0s
|
||||
api Built
|
||||
Container mtusi-lab7-kraykin-tempo-1 Recreate
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Recreate
|
||||
Container mtusi-lab7-kraykin-broker-1 Recreate
|
||||
Container mtusi-lab7-kraykin-prometheus-1 Recreate
|
||||
Container mtusi-lab7-kraykin-collector-1 Recreate
|
||||
Container mtusi-lab7-kraykin-grafana-1 Recreate
|
||||
Container mtusi-lab7-kraykin-loki-1 Recreate
|
||||
Container mtusi-lab7-kraykin-cache-1 Recreate
|
||||
Container mtusi-lab7-kraykin-postgres-1 Recreate
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Stopping
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Stopped
|
||||
Container mtusi-lab7-kraykin-s3-1 Recreate
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Recreated
|
||||
Container mtusi-lab7-kraykin-openbao-1 Recreate
|
||||
Container mtusi-lab7-kraykin-prometheus-1 Recreated
|
||||
Container mtusi-lab7-kraykin-prometheus-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-loki-1 Recreated
|
||||
Container mtusi-lab7-kraykin-loki-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-tempo-1 Recreated
|
||||
Container mtusi-lab7-kraykin-tempo-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-s3-1 Recreated
|
||||
Container mtusi-lab7-kraykin-s3-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-cache-1 Recreated
|
||||
Container mtusi-lab7-kraykin-cache-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-grafana-1 Recreated
|
||||
Container mtusi-lab7-kraykin-grafana-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-broker-1 Recreated
|
||||
Container mtusi-lab7-kraykin-broker-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-collector-1 Recreated
|
||||
Container mtusi-lab7-kraykin-collector-store-1 Recreate
|
||||
Container mtusi-lab7-kraykin-postgres-1 Recreated
|
||||
Container mtusi-lab7-kraykin-migrate-1 Recreate
|
||||
Container mtusi-lab7-kraykin-cache-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-collector-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-broker-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-migrate-1 Recreated
|
||||
Container mtusi-lab7-kraykin-prometheus-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-s3-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Recreate
|
||||
Container mtusi-lab7-kraykin-tempo-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-loki-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-grafana-store-1 Recreated
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Recreated
|
||||
Container mtusi-lab7-kraykin-openbao-1 Recreated
|
||||
Container mtusi-lab7-kraykin-dispatcher-1 Recreate
|
||||
Container mtusi-lab7-kraykin-worker-1 Recreate
|
||||
Container mtusi-lab7-kraykin-api-2 Recreate
|
||||
Container mtusi-lab7-kraykin-api-1 Recreate
|
||||
Container mtusi-lab7-kraykin-housekeeping-1 Recreate
|
||||
Container mtusi-lab7-kraykin-housekeeping-1 Recreated
|
||||
Container mtusi-lab7-kraykin-dispatcher-1 Recreated
|
||||
Container mtusi-lab7-kraykin-api-1 Recreated
|
||||
Container mtusi-lab7-kraykin-api-2 Recreated
|
||||
Container mtusi-lab7-kraykin-lb-1 Recreate
|
||||
Container mtusi-lab7-kraykin-worker-1 Recreated
|
||||
Container mtusi-lab7-kraykin-lb-1 Recreated
|
||||
Container mtusi-lab7-kraykin-prometheus-1 Starting
|
||||
Container mtusi-lab7-kraykin-collector-1 Starting
|
||||
Container mtusi-lab7-kraykin-postgres-1 Starting
|
||||
Container mtusi-lab7-kraykin-tempo-1 Starting
|
||||
Container mtusi-lab7-kraykin-loki-1 Starting
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Starting
|
||||
Container mtusi-lab7-kraykin-broker-1 Starting
|
||||
Container mtusi-lab7-kraykin-cache-1 Starting
|
||||
Container mtusi-lab7-kraykin-s3-1 Starting
|
||||
Container mtusi-lab7-kraykin-grafana-1 Starting
|
||||
Container mtusi-lab7-kraykin-tempo-1 Started
|
||||
Container mtusi-lab7-kraykin-tempo-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-prometheus-1 Started
|
||||
Container mtusi-lab7-kraykin-prometheus-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-broker-1 Started
|
||||
Container mtusi-lab7-kraykin-broker-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-grafana-1 Started
|
||||
Container mtusi-lab7-kraykin-grafana-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-prometheus-store-1 Started
|
||||
Container mtusi-lab7-kraykin-tempo-store-1 Started
|
||||
Container mtusi-lab7-kraykin-cache-1 Started
|
||||
Container mtusi-lab7-kraykin-cache-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-s3-1 Started
|
||||
Container mtusi-lab7-kraykin-s3-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Started
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Waiting
|
||||
Container mtusi-lab7-kraykin-broker-store-1 Started
|
||||
Container mtusi-lab7-kraykin-loki-1 Started
|
||||
Container mtusi-lab7-kraykin-loki-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-postgres-1 Started
|
||||
Container mtusi-lab7-kraykin-postgres-1 Waiting
|
||||
Container mtusi-lab7-kraykin-cache-store-1 Started
|
||||
Container mtusi-lab7-kraykin-grafana-store-1 Started
|
||||
Container mtusi-lab7-kraykin-collector-1 Started
|
||||
Container mtusi-lab7-kraykin-collector-store-1 Starting
|
||||
Container mtusi-lab7-kraykin-s3-store-1 Started
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Starting
|
||||
Container mtusi-lab7-kraykin-loki-store-1 Started
|
||||
Container mtusi-lab7-kraykin-collector-store-1 Started
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Started
|
||||
Container mtusi-lab7-kraykin-storage-init-1 Exited
|
||||
Container mtusi-lab7-kraykin-openbao-1 Starting
|
||||
Container mtusi-lab7-kraykin-openbao-1 Started
|
||||
Container mtusi-lab7-kraykin-postgres-1 Healthy
|
||||
Container mtusi-lab7-kraykin-migrate-1 Starting
|
||||
Container mtusi-lab7-kraykin-migrate-1 Started
|
||||
Container mtusi-lab7-kraykin-migrate-1 Waiting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Waiting
|
||||
Container mtusi-lab7-kraykin-migrate-1 Waiting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Waiting
|
||||
Container mtusi-lab7-kraykin-migrate-1 Waiting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Waiting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Waiting
|
||||
Container mtusi-lab7-kraykin-migrate-1 Waiting
|
||||
Container mtusi-lab7-kraykin-migrate-1 Exited
|
||||
Container mtusi-lab7-kraykin-migrate-1 Exited
|
||||
Container mtusi-lab7-kraykin-migrate-1 Exited
|
||||
Container mtusi-lab7-kraykin-migrate-1 Exited
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Exited
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Exited
|
||||
Container mtusi-lab7-kraykin-worker-1 Starting
|
||||
Container mtusi-lab7-kraykin-dispatcher-1 Starting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Exited
|
||||
Container mtusi-lab7-kraykin-housekeeping-1 Starting
|
||||
Container mtusi-lab7-kraykin-s3-init-1 Exited
|
||||
Container mtusi-lab7-kraykin-api-2 Starting
|
||||
Container mtusi-lab7-kraykin-api-2 Started
|
||||
Container mtusi-lab7-kraykin-api-1 Starting
|
||||
Container mtusi-lab7-kraykin-dispatcher-1 Started
|
||||
Container mtusi-lab7-kraykin-worker-1 Started
|
||||
Container mtusi-lab7-kraykin-housekeeping-1 Started
|
||||
Container mtusi-lab7-kraykin-api-1 Started
|
||||
Container mtusi-lab7-kraykin-lb-1 Starting
|
||||
Container mtusi-lab7-kraykin-lb-1 Started
|
||||
Scoped DB grants, service certificate auth, TTL60s policies, KV and HMAC audit configured; no private output.
|
||||
HTTPS/mTLS application ready; certificate verification enabled.
|
||||
@@ -0,0 +1,285 @@
|
||||
{
|
||||
"trace_id": "812db861dd0a4b93aa8807695b66f0b2",
|
||||
"spans": [
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "O2YRVKOYy6I=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.BEGIN",
|
||||
"id": "ibl8t1nNTiU=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.SELECT",
|
||||
"id": "MCcFjU/wpbc=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.SELECT",
|
||||
"id": "huCq7TgJ61g=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.UPDATE",
|
||||
"id": "NdsW/ZtRneo=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.UPDATE",
|
||||
"id": "KV4p5MBESl0=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.INSERT",
|
||||
"id": "aKL4ST7Emd0=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.COMMIT",
|
||||
"id": "dtxWn9Ie0X8=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "u+1N60fie0E=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "image.transform",
|
||||
"id": "dtW6UvyILt8=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "ljpUDpbkzKQ=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "cGI9hkbOsJ8=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "GlO6R2oKt0Q=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "l2f55D1Pcjw=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "z9lGAMvTtbM=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.BEGIN",
|
||||
"id": "uJcDUteTSnc=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.SELECT",
|
||||
"id": "EGnFkBgBqYw=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.UPDATE",
|
||||
"id": "Fk9IhZKRVr8=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.UPDATE",
|
||||
"id": "0/97k/31Ghg=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.INSERT",
|
||||
"id": "W82YvgGP5MA=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.COMMIT",
|
||||
"id": "zFFKbtJtSKk=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "5YaX+CjvQr0=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "db.SELECT",
|
||||
"id": "bnzbV3PTapI=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "s3.request",
|
||||
"id": "aGQDo93CpA8=",
|
||||
"parent": "9uIhhOld4Qg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-worker",
|
||||
"name": "queue.consume",
|
||||
"id": "9uIhhOld4Qg=",
|
||||
"parent": "R5U7TxrT3zQ="
|
||||
},
|
||||
{
|
||||
"service": "messenger-dispatcher",
|
||||
"name": "queue.publish",
|
||||
"id": "R5U7TxrT3zQ=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "35IY3FPNKUk=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "+oHST1NpIO8=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "tGuqjrSBOhw=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "ouKeDW2Dq0I=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "YYdhyluyZrw=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.INSERT",
|
||||
"id": "DiyP3QpIf7w=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "XsCx/KIGuQw=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.BEGIN",
|
||||
"id": "UQajRvtw+3U=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "yDz3YACKb1Q=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "s3.request",
|
||||
"id": "UxX7i4T/T4Y=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.INSERT",
|
||||
"id": "fMpGQNiaGSM=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "JXpN2tfGZqs=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "Cqz3Pg+0XM8=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.INSERT",
|
||||
"id": "qe+1wPlaTfc=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.DELETE",
|
||||
"id": "18xzGgXSD7U=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.COMMIT",
|
||||
"id": "u7x2LULtKYo=",
|
||||
"parent": "Yn1H6K5Bxsg="
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "POST /chats/{id}/attachments",
|
||||
"id": "Yn1H6K5Bxsg=",
|
||||
"parent": "6EfH5YuwShc="
|
||||
}
|
||||
],
|
||||
"services": [
|
||||
"messenger-api",
|
||||
"messenger-dispatcher",
|
||||
"messenger-worker"
|
||||
],
|
||||
"log_services": [
|
||||
"messenger-api",
|
||||
"messenger-dispatcher",
|
||||
"messenger-worker"
|
||||
],
|
||||
"log_lines": 4,
|
||||
"known_synthetic_tokens_passwords_absent": true,
|
||||
"dashboard": {
|
||||
"uid": "messenger-lab7",
|
||||
"panels": 24
|
||||
},
|
||||
"actual_grafana_datasource_health": {
|
||||
"prometheus": "actual query via Grafana proxy succeeded",
|
||||
"loki": "actual query via Grafana proxy succeeded",
|
||||
"tempo": "actual query via Grafana proxy succeeded"
|
||||
},
|
||||
"network_protocol": "all queries and OTLP use verified TLS/mTLS; native loopback remains inside gateway boundary"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS: real TLS trace/log/metrics chain, privacy and all three provisioned Grafana datasource connections
|
||||
@@ -0,0 +1,91 @@
|
||||
Compose can now delegate builds to bake for better performance.
|
||||
To do so, set COMPOSE_BAKE=true.
|
||||
#0 building with "desktop-linux" instance using docker driver
|
||||
|
||||
#1 [tests internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 1.11kB done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [tests internal] load metadata for docker.io/library/golang:1.27.4-alpine3.24
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [tests internal] load .dockerignore
|
||||
#3 transferring context: 196B done
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [tests internal] load build context
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [tests build 1/7] FROM docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280
|
||||
#5 resolve docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280
|
||||
#5 resolve docker.io/library/golang:1.27.4-alpine3.24@sha256:70bd7ddea8b6cbe5d6943cde279d6b67feb10cc924fb9100d1d8757c1575b280 4.3s done
|
||||
#5 DONE 4.3s
|
||||
|
||||
#4 [tests internal] load build context
|
||||
#4 transferring context: 3.99kB done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#6 [tests build 2/7] WORKDIR /src
|
||||
#6 CACHED
|
||||
|
||||
#7 [tests build 3/7] COPY go.mod go.sum ./
|
||||
#7 CACHED
|
||||
|
||||
#8 [tests build 4/7] RUN --mount=type=cache,target=/go/pkg/mod GODEBUG=http2client=0 GOPROXY="https://proxy.golang.org,direct" go mod download
|
||||
#8 CACHED
|
||||
|
||||
#9 [tests build 5/7] COPY cmd/ ./cmd/
|
||||
#9 CACHED
|
||||
|
||||
#10 [tests build 6/7] COPY internal/ ./internal/
|
||||
#10 DONE 0.0s
|
||||
|
||||
#11 [tests build 7/7] RUN --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/messenger ./cmd/server
|
||||
#11 DONE 12.0s
|
||||
|
||||
#12 [tests tests 1/2] RUN apk add --no-cache gcc musl-dev libwebp-tools
|
||||
#12 1.242 ( 1/22) Installing libgcc (15.2.0-r5)
|
||||
#12 1.327 ( 2/22) Installing jansson (2.15.0-r0)
|
||||
#12 1.411 ( 3/22) Installing libstdc++ (15.2.0-r5)
|
||||
#12 1.529 ( 4/22) Installing zstd-libs (1.6.0-r1)
|
||||
#12 1.628 ( 5/22) Installing binutils (2.45.1-r1)
|
||||
#12 1.887 ( 6/22) Installing libgcc-static (15.2.0-r5)
|
||||
#12 2.036 ( 7/22) Installing libgomp (15.2.0-r5)
|
||||
#12 2.123 ( 8/22) Installing libatomic (15.2.0-r5)
|
||||
#12 2.208 ( 9/22) Installing gmp (6.3.0-r4)
|
||||
#12 2.298 (10/22) Installing isl26 (0.26-r2)
|
||||
#12 2.411 (11/22) Installing mpfr4 (4.2.2-r0)
|
||||
#12 2.508 (12/22) Installing mpc1 (1.3.1-r1)
|
||||
#12 2.593 (13/22) Installing gcc (15.2.0-r5)
|
||||
#12 5.309 (14/22) Installing giflib (5.2.2-r2)
|
||||
#12 5.391 (15/22) Installing libjpeg-turbo (3.1.3-r0)
|
||||
#12 5.484 (16/22) Installing libpng (1.6.59-r0)
|
||||
#12 5.571 (17/22) Installing libsharpyuv (1.6.0-r0)
|
||||
#12 5.652 (18/22) Installing libwebp (1.6.0-r0)
|
||||
#12 5.746 (19/22) Installing libwebpdemux (1.6.0-r0)
|
||||
#12 5.827 (20/22) Installing libwebpmux (1.6.0-r0)
|
||||
#12 5.908 (21/22) Installing libwebp-tools (1.6.0-r0)
|
||||
#12 5.994 (22/22) Installing musl-dev (1.2.6-r3)
|
||||
#12 6.215 Executing busybox-1.37.0-r31.trigger
|
||||
#12 6.219 OK: 176.0 MiB in 39 packages
|
||||
#12 DONE 6.3s
|
||||
|
||||
#13 [tests tests 2/2] RUN --mount=type=cache,target=/go/pkg/mod mkdir -p /opt/gomod && cp -a /go/pkg/mod/. /opt/gomod/
|
||||
#13 DONE 3.2s
|
||||
|
||||
#14 [tests] exporting to image
|
||||
#14 exporting layers
|
||||
#14 exporting layers 13.8s done
|
||||
#14 exporting manifest sha256:751c0994edb23c339d824f7b1b5ab34eead7fa86674f6b6a8730c0d29152b04f
|
||||
#14 exporting manifest sha256:751c0994edb23c339d824f7b1b5ab34eead7fa86674f6b6a8730c0d29152b04f done
|
||||
#14 exporting config sha256:76c5a99052717ce0a06ada850e20c70116ecfdfb4118ce3feb0f6d3eb8d8be41 0.0s done
|
||||
#14 exporting attestation manifest sha256:e9c619fec55f2e37e9c1a48c415891c9ef6a3c305fab001795e11c73366f0c74 0.0s done
|
||||
#14 exporting manifest list sha256:f6df1b400bba5b39f2293beb4bd9230788d0a240df1e278745d327d715443ebf done
|
||||
#14 naming to docker.io/library/mtusi-messenger-tests:lab7 done
|
||||
#14 unpacking to docker.io/library/mtusi-messenger-tests:lab7
|
||||
#14 unpacking to docker.io/library/mtusi-messenger-tests:lab7 3.9s done
|
||||
#14 DONE 17.8s
|
||||
|
||||
#15 [tests] resolving provenance for metadata file
|
||||
#15 DONE 0.0s
|
||||
tests Built
|
||||
@@ -0,0 +1,239 @@
|
||||
[
|
||||
{
|
||||
"target": "broker",
|
||||
"positive": {
|
||||
"ok": true
|
||||
},
|
||||
"negative": {
|
||||
"no_certificate": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"foreign_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_identity_same_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "collector",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"negative": {
|
||||
"no_certificate": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"foreign_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_identity_same_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "api1",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"negative": {
|
||||
"no_certificate": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"foreign_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_identity_same_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "api2",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"negative": {
|
||||
"no_certificate": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"foreign_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_identity_same_ca": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "s3",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "prometheus",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "loki",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "tempo",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "collector_metrics",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "ingress_metrics",
|
||||
"positive": {
|
||||
"ok": true,
|
||||
"status": 200,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"ok": false,
|
||||
"status": 403,
|
||||
"tls": true
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
},
|
||||
"wrong_hostname": {
|
||||
"error_category": "hostname_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "postgres_api",
|
||||
"positive": {
|
||||
"ok": true
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "postgres_worker",
|
||||
"positive": {
|
||||
"ok": true
|
||||
},
|
||||
"wrong_ca": {
|
||||
"error_category": "ca_verification_failed",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "cache",
|
||||
"positive": {
|
||||
"ok": true
|
||||
},
|
||||
"wrong_identity": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"model": "exfiltrated live worker leaf+service credentials, no host/Docker/CA compromise; operator probes use only selected worker identity; baseline is a deliberately overprivileged test fixture, never mounted into runtime worker",
|
||||
"images_before": [
|
||||
"6e202c00610daf051d71449e414f6d1a285da1a89ea49c4bb12e0528d5378ce2"
|
||||
],
|
||||
"before_least_privilege": {
|
||||
"password_table": {
|
||||
"ok": true
|
||||
},
|
||||
"bucket_administration": {
|
||||
"ok": true
|
||||
}
|
||||
},
|
||||
"accepted_while_quarantined": 8,
|
||||
"least_privilege": {
|
||||
"allowed": {
|
||||
"db_pipeline": {
|
||||
"ok": true
|
||||
},
|
||||
"s3_staging": {
|
||||
"ok": true
|
||||
},
|
||||
"queue_ping": {
|
||||
"ok": true
|
||||
}
|
||||
},
|
||||
"denied": {
|
||||
"password_table": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"sessions": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"messages": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"change_owner": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"drop_table": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"s3_private_prefix": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"s3_staging_write": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"bucket_administration": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_publish": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_flush": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_other_key": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"bao_api_secret": {
|
||||
"ok": false,
|
||||
"error_category": "policy_denied"
|
||||
}
|
||||
}
|
||||
},
|
||||
"after_revocation": {
|
||||
"old_cert_queue": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"old_cert_s3": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"old_bao_token_denied": true,
|
||||
"old_sql_password": {
|
||||
"error_category": "credential_denied",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
"recovery_all_ready_seconds": 4.101,
|
||||
"all_accepted_originals_identical": true,
|
||||
"background_messages_success": 98,
|
||||
"background_messages_errors": 2,
|
||||
"images_after": [
|
||||
"6e202c00610daf051d71449e414f6d1a285da1a89ea49c4bb12e0528d5378ce2"
|
||||
],
|
||||
"new_worker_connects": {
|
||||
"ok": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
{
|
||||
"model": "exfiltrated live worker leaf+service credentials, no host/Docker/CA compromise; operator probes use only selected worker identity; baseline is a deliberately overprivileged test fixture, never mounted into runtime worker",
|
||||
"images_before": [
|
||||
"cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245"
|
||||
],
|
||||
"before_least_privilege": {
|
||||
"password_table": {
|
||||
"ok": true
|
||||
},
|
||||
"bucket_administration": {
|
||||
"ok": true
|
||||
}
|
||||
},
|
||||
"accepted_while_quarantined": 8,
|
||||
"least_privilege": {
|
||||
"allowed": {
|
||||
"db_pipeline": {
|
||||
"ok": true
|
||||
},
|
||||
"db_execution_update": {
|
||||
"ok": true
|
||||
},
|
||||
"s3_staging": {
|
||||
"ok": true
|
||||
},
|
||||
"s3_final_put": {
|
||||
"ok": true
|
||||
},
|
||||
"queue_ping": {
|
||||
"ok": true
|
||||
}
|
||||
},
|
||||
"denied": {
|
||||
"password_table": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"sessions": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"messages": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"change_owner": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"change_checksum": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"drop_table": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"s3_private_prefix": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"s3_staging_write": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"s3_final_delete": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"bucket_administration": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_publish": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_flush": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"queue_other_key": {
|
||||
"error_category": "permission_denied",
|
||||
"ok": false
|
||||
},
|
||||
"bao_api_secret": {
|
||||
"ok": false,
|
||||
"error_category": "policy_denied"
|
||||
}
|
||||
}
|
||||
},
|
||||
"after_revocation": {
|
||||
"old_cert_queue": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"old_cert_s3": {
|
||||
"error_category": "tls_handshake_denied",
|
||||
"ok": false
|
||||
},
|
||||
"old_bao_token_denied": true,
|
||||
"old_sql_password": {
|
||||
"error_category": "credential_denied",
|
||||
"ok": false
|
||||
}
|
||||
},
|
||||
"recovery_all_ready_seconds": 3.823,
|
||||
"all_accepted_originals_identical": true,
|
||||
"background_messages_success": 80,
|
||||
"background_messages_errors": 0,
|
||||
"images_after": [
|
||||
"cb322a99165b3a55da20e45ee33ed9f55d84e6a08d932a4589bb51f9052d7245"
|
||||
],
|
||||
"new_worker_connects": {
|
||||
"ok": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user