Skip to content

Implement filtering utilities and helper functions #20926

Description

@chargome

Build the utilities that will be used in the migration to filter key-value data according to KeyValueCollectionBehavior rules, and convenient helpers to read the resolved config from a client instance.

We need to support off/denyList/allowList filtering to a key-value record:

  • Built-in denylist terms per spec: auth, token, secret, password, passwd, pwd, key, jwt, bearer, sso, saml, csrf, xsrf, credentials, session, sid, identity
  • Matching: partial, case-insensitive (e.g. "Authorization" matches "auth")
  • Matched values replaced with "[Filtered]"; key names always preserved
  • Export all helpers from core package

Activity

  1. linear-code commented on May 15, 2026

    @linear-code
  2. self-assigned this
    on May 18, 2026
  3. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #20989, which was included in the 10.54.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions