Skip to content

Commit 3a70a8a

Browse files
committed
fix(agentapi): only log matched_rule for denied boundary requests
1 parent c1c56e3 commit 3a70a8a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coderd/agentapi/boundary_logs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ func (a *BoundaryLogsAPI) ReportBoundaryLogs(ctx context.Context, req *agentprot
3535
slog.F("http_method", l.HttpMethod),
3636
slog.F("http_url", l.HttpUrl),
3737
slog.F("event_time", logTime.Format(time.RFC3339Nano)),
38-
slog.F("matched_rule", l.MatchedRule),
3938
)
4039
} else {
4140
a.Log.Warn(ctx, "boundary request denied",

0 commit comments

Comments
 (0)