Skip to content

fix(trace): extend redaction to common CLI secret flags#1238

Merged
chaliy merged 1 commit intomainfrom
fix/1166-trace-redaction
Apr 12, 2026
Merged

fix(trace): extend redaction to common CLI secret flags#1238
chaliy merged 1 commit intomainfrom
fix/1166-trace-redaction

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 12, 2026

Summary\n\n- Add SECRET_FLAGS list covering --token, --api-key, --password, --secret, -p for both standalone and =VALUE forms\n- Add X-Vault-Token and X-Jenkins-Crumb to SECRET_HEADERS\n- 8 new test cases covering all new patterns\n\n## Test plan\n\n- [x] All 19 trace redaction tests pass\n- [x] cargo clippy and cargo fmt clean\n\nCloses #1166

…ret, -p flags

Adds SECRET_FLAGS list for common CLI secret-passing patterns and two
new headers (X-Vault-Token, X-Jenkins-Crumb). Covers both standalone
and =VALUE concatenated forms.

Closes #1166
@chaliy chaliy merged commit c539ba9 into main Apr 12, 2026
25 of 27 checks passed
@chaliy chaliy deleted the fix/1166-trace-redaction branch April 12, 2026 09:51
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