Files
zitadel/cmd/setup
c02d812b6c fix(slog): masking of grouped attributes (#11606)
# Which Problems Are Solved

Group attributes weren't masked if their corresponding key was
configured. For example setting `data` as a masked key entry in the
runtime config would still print unmasked event data. This was because
ReplaceAttr does not receive group attributes, only the flattened
attributes with group information.

# How the Problems Are Solved

Check the current groups stack in the replacer. When a configured key is
found in the group, mask the current attribute. This means that the
attribute structure is preserved and all sub-keys of a masked group are
still printed.

# Additional Changes

- Use a binary search for key matching. As we are now comparing slice
against slice, a binary search should make the process a little faster
if many keys are configured.

# Additional Context

- Follow-up for PR #11435

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: muhlemmer <[email protected]>
2026-02-18 06:00:13 +00:00
..
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2023-09-22 13:06:59 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2026-02-04 11:51:43 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2023-11-22 12:05:14 +00:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2023-12-08 13:14:22 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-17 10:16:48 +00:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2025-04-02 16:53:06 +02:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2024-10-28 08:29:34 +00:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2026-02-04 11:51:43 +01:00
2025-07-02 13:57:41 +02:00
2026-02-04 11:51:43 +01:00