Watch
0
0
Fork
You've already forked hyperhive
0

gateway: cache authelia's 200 verdicts on the log and metric ingest routes

This commit is contained in:
atlas 2026-11-14 22:05:08 +01:00
commit f5e99fe248

View file

@ -329,7 +329,9 @@ let
&& lib.all (p: policy "user:someone" p == "deny") (collectorPaths ++ readPaths)
&& lib.all (p: policy "group:admins" p == "deny") collectorPaths
&& lib.all (p: policy "group:admins" p == "one_factor") readPaths
&& lib.hasInfix "auth_request /__metrics_authelia;" locs."= /opentelemetry/api/v1/push".extraConfig
&&
lib.hasInfix "auth_request /__metrics_ingest_authz;"
locs."= /opentelemetry/api/v1/push".extraConfig
&& lib.hasInfix "auth_request /__metrics_authelia;" locs."= /metrics".extraConfig;
}
{