Skip to content

out_opensearch,in_opensearch: mask hosts in the configuration dump - #193

Draft
kenhys wants to merge 1 commit into
mainfrom
fix-secret
Draft

kenhys wants to merge 1 commit into
mainfrom
fix-secret

Conversation

@kenhys

@kenhys kenhys commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Before: hosts accepts "https://user:password@host" and endpoint.url can carry a user and a password, but neither was marked secret. Fluentd logs the whole configuration after configure and masks only secret parameters, so those passwords were written to the log in plain text.

After: hosts in both plugins and endpoint.url are secret, so the dump shows "xxxxxx" for them. The host list no longer appears in the startup log.

Before: `hosts` accepts "https://user:password@host" and `endpoint.url`
can carry a user and a password, but neither was marked secret. Fluentd
logs the whole configuration after configure and masks only secret
parameters, so those passwords were written to the log in plain text.

After: `hosts` in both plugins and `endpoint.url` are secret, so the
dump shows "xxxxxx" for them. The host list no longer appears in the
startup log.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant