From 6850b5c777fa515e110ad1daa85242209a8ec6c0 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Wed, 9 Aug 2023 15:05:01 +0530 Subject: [PATCH] Add tip on host settings for Spark provider (#33233) --- .../connections/spark.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/apache-airflow-providers-apache-spark/connections/spark.rst b/docs/apache-airflow-providers-apache-spark/connections/spark.rst index be6981e82a56..97a432c887af 100644 --- a/docs/apache-airflow-providers-apache-spark/connections/spark.rst +++ b/docs/apache-airflow-providers-apache-spark/connections/spark.rst @@ -56,3 +56,10 @@ For example: .. code-block:: bash export AIRFLOW_CONN_SPARK_DEFAULT='spark://mysparkcluster.com:80?deploy-mode=cluster&spark_binary=command&namespace=kube+namespace' + +.. warning:: + + Make sure you trust your users with the ability to configure the host settings as it may enable the connection to + establish communication with external servers. It's crucial to understand that directing the connection towards a + malicious server can lead to significant security vulnerabilities, including the risk of encountering + Remote Code Execution (RCE) attacks.