Skip to content

[v3-4-test] Mask registered secrets at any nesting depth (#73793) - #75112

Merged
potiuk merged 1 commit into
v3-4-testfrom
backport-bfa2390-v3-4-test
Oct 19, 2026
Merged

potiuk merged 1 commit into
v3-4-testfrom
backport-bfa2390-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Mask registered secrets at any nesting depth

Pattern-based masking of registered secrets stopped at max_depth: a
string nested deeper than that was returned without the replacer being
applied, while key-name masking already worked at any depth. Apply the
replacer to string leaves wherever they sit. max_depth still bounds the
fail-closed walk of a value already known to be sensitive.

Generated-by: Claude Opus 5

  • Add newsfragment
    (cherry picked from commit bfa2390)

Co-authored-by: Jarek Potiuk jarek@potiuk.com
Generated-by: Claude Opus 5

* Mask registered secrets at any nesting depth

Pattern-based masking of registered secrets stopped at max_depth: a
string nested deeper than that was returned without the replacer being
applied, while key-name masking already worked at any depth. Apply the
replacer to string leaves wherever they sit. max_depth still bounds the
fail-closed walk of a value already known to be sensitive.

Generated-by: Claude Opus 5

* Add newsfragment
(cherry picked from commit bfa2390)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Generated-by: Claude Opus 5
@potiuk
potiuk marked this pull request as ready for review October 19, 2026 16:26
@potiuk
potiuk merged commit 43b674c into v3-4-test Oct 19, 2026
77 of 78 checks passed
@potiuk
potiuk deleted the backport-bfa2390-v3-4-test branch October 19, 2026 16:26
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 19, 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
…5112)

* Mask registered secrets at any nesting depth

Pattern-based masking of registered secrets stopped at max_depth: a
string nested deeper than that was returned without the replacer being
applied, while key-name masking already worked at any depth. Apply the
replacer to string leaves wherever they sit. max_depth still bounds the
fail-closed walk of a value already known to be sensitive.

Generated-by: Claude Opus 5

* Add newsfragment
(cherry picked from commit bfa2390)


Generated-by: Claude Opus 5

Co-authored-by: Jarek Potiuk <jarek@potiuk.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.

2 participants