From 21cedff205e7d62675949fda2aa4616d77232b76 Mon Sep 17 00:00:00 2001 From: Ian Carroll Date: Wed, 27 Jan 2021 13:47:45 -0800 Subject: [PATCH] Add authentication to lineage endpoint for experimental API (#13870) (cherry picked from commit 24a54242d56058846c7978130b3f37ca045d5142) --- airflow/www/api/experimental/endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/www/api/experimental/endpoints.py b/airflow/www/api/experimental/endpoints.py index ada059b8575e..e24ed5ef7be6 100644 --- a/airflow/www/api/experimental/endpoints.py +++ b/airflow/www/api/experimental/endpoints.py @@ -389,6 +389,7 @@ def delete_pool(name): @api_experimental.route('/lineage//', methods=['GET']) +@requires_authentication def get_lineage(dag_id: str, execution_date: str): """Get Lineage details for a DagRun""" # Convert string datetime into actual datetime