[release/2.2] Use ScrubLogs by default on Windows by samuelkarp · Pull Request #13882 · containerd/containerd · GitHub
Skip to content

[release/2.2] Use ScrubLogs by default on Windows - #13882

Merged
samuelkarp merged 2 commits into
containerd:release/2.2from
samuelkarp:hcsshim-scrub-logs-2.2
Aug 6, 2026
Merged

[release/2.2] Use ScrubLogs by default on Windows#13882
samuelkarp merged 2 commits into
containerd:release/2.2from
samuelkarp:hcsshim-scrub-logs-2.2

Conversation

@samuelkarp

@samuelkarp samuelkarp commented Jul 31, 2026

Copy link
Copy Markdown
Member

Cherry pick of #13837

Enable log scrubbing by default on Windows

The io.containerd.runhcs.v1 shim can scrub sensitive information from
logs it emits. Since v0.15.0-rc.2 this is done by default, but older
branches still require the option to be explicitly enabled. Explicitly
enable the scrubbing by default for the CRI configuration.

See also: microsoft/hcsshim#2725

Google-Bug-Id: 481375460
Signed-off-by: Samuel Karp <samuelkarp@google.com>
(cherry picked from commit f4e7944)
Adds a new --scrub-logs flag to ctr run on Windows. This flag enables
the ScrubLogs option for the io.containerd.runhcs.v1 shim.

Assisted-by: gemini-cli
Signed-off-by: Samuel Karp <samuelkarp@google.com>
(cherry picked from commit 18a01c0)
@samuelkarp
samuelkarp force-pushed the hcsshim-scrub-logs-2.2 branch from b46bd80 to 4c93ae6 Compare July 31, 2026 23:22
@AkihiroSuda

Copy link
Copy Markdown
Member

@samuelkarp

Copy link
Copy Markdown
Member Author

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 6, 2026
@samuelkarp
samuelkarp merged commit 2b9262b into containerd:release/2.2 Aug 6, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants