Skip to content

fix(api): add code, signature and sig to sensitive log keys - #84

Open
josuegiron wants to merge 1 commit into
masterfrom
fix/default-sensitive-keys-signature
Open

josuegiron wants to merge 1 commit into
masterfrom
fix/default-sensitive-keys-signature

Conversation

@josuegiron

Copy link
Copy Markdown
Member

Adds code, signature and sig to the built-in sensitive log keys (case-insensitive substring match), so an OAuth code, X-Amz-Signature and sig query values are masked in uri and URL-valued headers.

  • Doc comments, README (Logging, Security notes), ADR 0001 and the migration guide list the new defaults.
  • Substring matching also masks names such as country_code; the deprecated body-logging functions now mask the envelope's response code (documented).
  • Tests for uri and Referer on an instance and on the default instance.

Release: PATCH (v1.1.2); log content only (constitution V).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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