lab7: тесты безопасности и перевод своих тестов на HTTPS, документы (trust-matrix, THREAT_MODEL, OPERATOR, DEFENSE, WINDOWS, PR), сборщик доказательств, чистка legacy bench

This commit is contained in:
Alexey Bodanyuk
2026-11-27 17:43:14 +03:00
parent 05df1695fe
commit 84dbdb4735
44 changed files with 1644 additions and 2686 deletions
+5
View File
@@ -38,6 +38,11 @@ GRANT UPDATE ON jobs, attachments TO messenger_jobctl;
-- Auditor: read-only checker of the pipeline invariants.
GRANT SELECT ON jobs, job_attempts, job_events, outbox, attachments, attachment_variants TO messenger_auditor;
-- job_events (pipeline audit log, no user data): the failure-injection points of the experiments
-- (service.crash_once, FAULT_POINTS) look up their own "fault_injected" marker before crashing, so
-- the services that can crash on purpose may read it.
GRANT SELECT ON job_events TO messenger_api, messenger_relay, messenger_worker;
-- Identity columns of outbox/job_events: inserting roles need the sequences.
GRANT USAGE ON SEQUENCE outbox_id_seq, job_events_id_seq
TO messenger_api, messenger_relay, messenger_worker, messenger_jobctl;