lab7: TLS/mTLS по trust matrix, OpenBao (cert auth, KV, policies), роли БД, Argon2id+rehash, лимит входа, hardening, secprobe и тесты

This commit is contained in:
2026-11-12 12:39:15 +03:00
parent 20afc2c790
commit c063b15869
138 changed files with 18136 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
DROP TABLE IF EXISTS job_events;
DROP TABLE IF EXISTS outbox;
DROP TABLE IF EXISTS jobs;
DROP TABLE IF EXISTS attachment_variants;
ALTER TABLE attachments DROP COLUMN IF EXISTS staging_key;
ALTER TABLE attachments DROP COLUMN IF EXISTS pipeline_version;
ALTER TABLE attachments DROP COLUMN IF EXISTS error_code;
ALTER TABLE attachments DROP CONSTRAINT attachments_status_check;
ALTER TABLE attachments ADD CONSTRAINT attachments_status_check
CHECK (status IN ('uploading', 'ready', 'missing'));