jason810496 commented on issue #45304:
URL: https://github.com/apache/airflow/issues/45304#issuecomment-2569181088

   Hi @bugraoz93,  
   
   If I may suggest, this could also be achieved by using a 
command-line-specific `audience` in the JWT. Once the new `action_logging` 
decorator is applied to FastAPI, the audit log logic could be handled in a 
single API call.  
   This approach could also reduce the chances of missing audit logs. For 
instance, if the CLI is forcibly terminated right after calling the core API 
and before the audit log API is invoked, the audit log might not be recorded.  
   
   What do you think? cc @pierrejeambrun  
   


-- 
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