bolkedebruin commented on code in PR #27887:
URL: https://github.com/apache/airflow/pull/27887#discussion_r1032661594


##########
airflow/config_templates/default_airflow.cfg:
##########
@@ -127,6 +127,11 @@ unit_test_mode = False
 # RCE exploits).
 enable_xcom_pickling = False
 
+# What classes can be imported during deserialization. This is a json encoded
+# array. The individual items will be parsed as regexp. Python built-in 
classes (like dict)
+# are always allowed
+allowed_deserialization_classes = ["airflow[.].*"]

Review Comment:
   what feels odd about it? I opted for regex as it is the most flexible and 
you probably only set it once or twice anyway. Expressing this in a JSON array 
feels a bit odd, but that is what our config relies on unfortunately



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