Защитить мессенджер TLS и OpenBao и проверить отзыв прав worker

This commit is contained in:
2026-11-06 18:32:19 +03:00
parent 20afc2c790
commit 8f82949094
89 changed files with 8323 additions and 76 deletions
+13
View File
@@ -0,0 +1,13 @@
listen loki
mode http
bind :3100 ssl crt /run/tls/server/service.pem verify required ca-file /run/tls/trust/ca.crt crl-file /run/tls/trust/revoked.crl
acl allowed_identity ssl_c_s_dn(CN) -m str collector-client grafana-client
http-request deny unless allowed_identity
acl ingestion path /otlp/v1/logs
acl collector ssl_c_s_dn(CN) -m str collector-client
http-request deny if ingestion !collector
http-request deny if collector !ingestion
http-request deny if !collector !{ method GET POST }
http-request deny if !collector !{ path_beg /loki/api/v1/ /ready }
http-request deny if !collector { path_beg /loki/api/v1/delete }
server local 127.0.0.1:13100