forked from mtusi2026/mtusi2026lab7
fix: address container-hardening re-verify findings
Recheck processes with a privilege sign in hardening-check and fail only when the same process (PID and start time) keeps the sign in every scan, so the transient runc process of any docker exec no longer gives a false FAIL; run the root-write probe after the process probes. Name the second Loki retention error form, fix the exit-code wording in the threat model and record the live Loki retention probe in the evidence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-2
@@ -1429,8 +1429,11 @@ services:
|
||||
# меток retention через системный временный каталог и при обработке
|
||||
# копирует каждый туда же (retention/marker.go: os.TempDir,
|
||||
# os.CreateTemp("", …)): на корне только на чтение — «failed to process
|
||||
# marks … open /tmp/…: read-only file system», и чанки старше срока не
|
||||
# удаляются (правки verify change container-hardening, C1). Файл меток —
|
||||
# marks … open /tmp/…: read-only file system», а при пустом хранилище
|
||||
# меток — «failed to apply retention … failed to create marker writer …
|
||||
# read-only file system» (запись новых меток), и чанки старше срока не
|
||||
# удаляются (правки verify change container-hardening, C1; вторая форма —
|
||||
# правки повторного verify). Файл меток —
|
||||
# boltdb до 100 000 ID чанков; у стенда — десятки KiB. Предел с запасом,
|
||||
# tmpfs считается памятью контейнера (лимит 512M, GOMEMLIMIT 400MiB)
|
||||
tmpfs:
|
||||
|
||||
Reference in New Issue
Block a user