ephraimbuddy commented on issue #27907:
URL: https://github.com/apache/airflow/issues/27907#issuecomment-1327839476

   This looks like the fix:
   ```diff
   
   diff --git a/airflow/www/decorators.py b/airflow/www/decorators.py
   index 079c91fdfa..16a886098b 100644
   --- a/airflow/www/decorators.py
   +++ b/airflow/www/decorators.py
   @@ -30,6 +30,7 @@ from pendulum.parsing.exceptions import ParserError
    
    from airflow.models import Log
    from airflow.utils.session import create_session
   +from airflow.utils.log import secrets_masker
    
    T = TypeVar("T", bound=Callable)
    
   @@ -56,6 +57,7 @@ def action_logging(func: Callable | None = None, event: 
str | None = None) -> Ca
                        for k, v in chain(request.values.items(multi=True), 
request.view_args.items())
                        if k not in fields_skip_logging
                    ]
   +                extra_fields = [(k, '****') if 
secrets_masker.should_hide_value_for_key(k) else (k, v) for k, v in 
extra_fields]
    
                    params = {k: v for k, v in chain(request.values.items(), 
request.view_args.items())}
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to