You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "nosami (via GitHub)" <gi...@apache.org> on 2026/03/03 08:30:18 UTC

[I] JWT tokens appearing in logs [airflow]

nosami opened a new issue, #62773:
URL: https://github.com/apache/airflow/issues/62773

   ### Apache Airflow version
   
   3.1.7
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   We discovered JWT tokens appearing in the logs.
   
   <img width="633" height="625" alt="Image" src="https://github.com/user-attachments/assets/dcd0b8c4-926e-4397-aeb4-6fc2541fc6a3" />
   
   
   There exists a function for redacting JWT tokens https://github.com/apache/airflow/blob/c7cbced12678ca1c6b2b1dcbcdf83eec2b1897d7/shared/logging/src/airflow_shared/logging/structlog.py#L205-L216
   
   But it doesn't work for this line, presumably because `workload` is an object not a string - https://github.com/apache/airflow/blob/c7cbced12678ca1c6b2b1dcbcdf83eec2b1897d7/task-sdk/src/airflow/sdk/execution_time/execute_workload.py#L56
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Run any DAG
   
   ### Operating System
   
   debian bookworm
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JWT tokens appearing in logs [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed issue #62773: JWT tokens appearing in logs
URL: https://github.com/apache/airflow/issues/62773


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JWT tokens appearing in logs [airflow]

Posted by "tirkarthi (via GitHub)" <gi...@apache.org>.
tirkarthi commented on issue #62773:
URL: https://github.com/apache/airflow/issues/62773#issuecomment-3994873281

   This looks like a duplicate of https://github.com/apache/airflow/issues/62428


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] JWT tokens appearing in logs [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #62773:
URL: https://github.com/apache/airflow/issues/62773#issuecomment-3989482902

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org