This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6850b5c777 Add tip on host settings for Spark provider (#33233)
6850b5c777 is described below

commit 6850b5c777fa515e110ad1daa85242209a8ec6c0
Author: Pankaj Koti <[email protected]>
AuthorDate: Wed Aug 9 15:05:01 2023 +0530

    Add tip on host settings for Spark provider (#33233)
---
 docs/apache-airflow-providers-apache-spark/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 be6981e82a..97a432c887 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.

Reply via email to