Skip to content

[v3-4-test] Match camelCase keys against sensitive field names in masker (#74840) - #74897

Merged
potiuk merged 1 commit into
v3-4-testfrom
backport-20ccfcd-v3-4-test
Oct 17, 2026
Merged

potiuk merged 1 commit into
v3-4-testfrom
backport-20ccfcd-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Match camelCase keys against sensitive field names in masker

should_hide_value_for_key() only lowercased the key and replaced
non-word runs with "_", so camelCase keys such as privateKey,
connectionString or webhookUrl never matched multi-word entries like
private_key. Keys are now also split on camelCase/PascalCase word
boundaries (including acronym runs such as APIKey) before matching.

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

  • Rename newsfragment to the PR number

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

  • Pin prefix, digit and nested redact cases for camelCase key masking
    (cherry picked from commit 20ccfcd)

Co-authored-by: Jarek Potiuk [email protected]
Generated-by: Claude Opus 5

…ker (#74840)

* Match camelCase keys against sensitive field names in masker

should_hide_value_for_key() only lowercased the key and replaced
non-word runs with "_", so camelCase keys such as privateKey,
connectionString or webhookUrl never matched multi-word entries like
private_key. Keys are now also split on camelCase/PascalCase word
boundaries (including acronym runs such as APIKey) before matching.

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

* Rename newsfragment to the PR number

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

* Pin prefix, digit and nested redact cases for camelCase key masking
(cherry picked from commit 20ccfcd)

Co-authored-by: Jarek Potiuk <[email protected]>
Generated-by: Claude Opus 5
@potiuk
potiuk marked this pull request as ready for review October 17, 2026 00:37
@potiuk
potiuk merged commit 4cd3340 into v3-4-test Oct 17, 2026
3 checks passed
@potiuk
potiuk deleted the backport-20ccfcd-v3-4-test branch October 17, 2026 00:37
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.4.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

vatsrahul1001 pushed a commit that referenced this pull request Oct 20, 2026
…ker (#74840) (#74897)

* Match camelCase keys against sensitive field names in masker

should_hide_value_for_key() only lowercased the key and replaced
non-word runs with "_", so camelCase keys such as privateKey,
connectionString or webhookUrl never matched multi-word entries like
private_key. Keys are now also split on camelCase/PascalCase word
boundaries (including acronym runs such as APIKey) before matching.

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

* Rename newsfragment to the PR number

Generated-by: Claude Opus 5 following the guidelines at https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

* Pin prefix, digit and nested redact cases for camelCase key masking
(cherry picked from commit 20ccfcd)


Generated-by: Claude Opus 5

Co-authored-by: Jarek Potiuk <[email protected]>
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.

2 participants