Skip to content

Commit 6ac1818

Browse files
committed
feat: enable unique writer identity for log sink updates
1 parent 2987e69 commit 6ac1818

File tree

1 file changed

+2
-1
lines changed
  • internal/reconcilers/google/audit

1 file changed

+2
-1
lines changed

internal/reconcilers/google/audit/sinks.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ func (r *auditLogReconciler) createOrUpdateLogSinkIfNeeded(ctx context.Context,
8888
if needsUpdate {
8989
// Update the sink
9090
updateReq := &loggingpb.UpdateSinkRequest{
91-
SinkName: sinkPath,
91+
SinkName: sinkPath,
92+
UniqueWriterIdentity: true,
9293
Sink: &loggingpb.LogSink{
9394
Name: existingSink.Name,
9495
Destination: destination,

0 commit comments

Comments
 (0)