bugraoz93 commented on code in PR #55116:
URL: https://github.com/apache/airflow/pull/55116#discussion_r2312595513
##########
airflow-core/src/airflow/api_fastapi/logging/decorators.py:
##########
@@ -98,6 +98,9 @@ async def log_action(
request_body = {}
masked_body_json = {}
+ if request_body.get("dry_run"):
Review Comment:
I don't want to extend the current PR's scope, but making a door for
skipping audit via request is only reasonable if we have a configuration in the
API server that, when you run in dry_run mode, it should only then accept
dry_run requests, otherwise, this is just a backdoor for skipping the audit
logs. What do you think?
--
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]