Skip to content

[v3-2-test] Extend DEFAULT_SENSITIVE_FIELDS with common credential field names (#66673) - #66991

Merged
shahar1 merged 1 commit into
v3-2-testfrom
backport-32ac8ad-v3-2-test
May 15, 2026
Merged

shahar1 merged 1 commit into
v3-2-testfrom
backport-32ac8ad-v3-2-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

DEFAULT_SENSITIVE_FIELDS is the allowlist used by the secrets masker
for masking Variables and Connection extras. Several common field
names used by official Airflow providers and standard HTTP/database
configurations are not in the allowlist.

This commit adds five field names commonly used in connection extras
and provider configurations:

  • webhook_url — Slack provider webhook URL key
  • bearer — HTTP bearer-token auth key
  • dsn — database connection strings (which typically embed
    credentials, e.g. postgres://user:pass@host/db)
  • auth_header — custom HTTP auth header values
  • service_key — service-account-like keys

Related: https://github.com/airflow-s/airflow-s/issues/377
(cherry picked from commit 32ac8ad)

Co-authored-by: Jarek Potiuk [email protected]
Generated-by: Claude Opus 4.7 (1M context) following the guidelines at
https: //github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions

…eld names (#66673)

DEFAULT_SENSITIVE_FIELDS is the allowlist used by the secrets masker
for masking Variables and Connection extras. Several common field
names used by official Airflow providers and standard HTTP/database
configurations are not in the allowlist.

This commit adds five field names commonly used in connection extras
and provider configurations:

- webhook_url — Slack provider webhook URL key
- bearer      — HTTP bearer-token auth key
- dsn         — database connection strings (which typically embed
                credentials, e.g. postgres://user:pass@host/db)
- auth_header — custom HTTP auth header values
- service_key — service-account-like keys

Related: airflow-s/airflow-s#377
(cherry picked from commit 32ac8ad)

Co-authored-by: Jarek Potiuk <[email protected]>
Generated-by: Claude Opus 4.7 (1M context) following the guidelines at
https: //github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.2.2 milestone May 15, 2026
@shahar1
shahar1 merged commit 06a3636 into v3-2-test May 15, 2026
71 checks passed
@shahar1
shahar1 deleted the backport-32ac8ad-v3-2-test branch May 15, 2026 17:26
@vatsrahul1001 vatsrahul1001 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label May 18, 2026
vatsrahul1001 pushed a commit that referenced this pull request May 20, 2026
…eld names (#66673) (#66991)

DEFAULT_SENSITIVE_FIELDS is the allowlist used by the secrets masker
for masking Variables and Connection extras. Several common field
names used by official Airflow providers and standard HTTP/database
configurations are not in the allowlist.

This commit adds five field names commonly used in connection extras
and provider configurations:

- webhook_url — Slack provider webhook URL key
- bearer      — HTTP bearer-token auth key
- dsn         — database connection strings (which typically embed
                credentials, e.g. postgres://user:pass@host/db)
- auth_header — custom HTTP auth header values
- service_key — service-account-like keys

Related: airflow-s/airflow-s#377
(cherry picked from commit 32ac8ad)


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

Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 pushed a commit that referenced this pull request May 20, 2026
…eld names (#66673) (#66991)

DEFAULT_SENSITIVE_FIELDS is the allowlist used by the secrets masker
for masking Variables and Connection extras. Several common field
names used by official Airflow providers and standard HTTP/database
configurations are not in the allowlist.

This commit adds five field names commonly used in connection extras
and provider configurations:

- webhook_url — Slack provider webhook URL key
- bearer      — HTTP bearer-token auth key
- dsn         — database connection strings (which typically embed
                credentials, e.g. postgres://user:pass@host/db)
- auth_header — custom HTTP auth header values
- service_key — service-account-like keys

Related: airflow-s/airflow-s#377
(cherry picked from commit 32ac8ad)


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

Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 pushed a commit that referenced this pull request May 21, 2026
…eld names (#66673) (#66991)

DEFAULT_SENSITIVE_FIELDS is the allowlist used by the secrets masker
for masking Variables and Connection extras. Several common field
names used by official Airflow providers and standard HTTP/database
configurations are not in the allowlist.

This commit adds five field names commonly used in connection extras
and provider configurations:

- webhook_url — Slack provider webhook URL key
- bearer      — HTTP bearer-token auth key
- dsn         — database connection strings (which typically embed
                credentials, e.g. postgres://user:pass@host/db)
- auth_header — custom HTTP auth header values
- service_key — service-account-like keys

Related: airflow-s/airflow-s#377
(cherry picked from commit 32ac8ad)


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

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

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants