Replies: 1 comment 3 replies
-
|
I think adding a log entry in this case might be a good idea if it is not done today. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to identify a user (airflow user) which created a dag run through REST API⚠️ .
There are some advices in stackoverflow, here for instance. They query
ownercolumn fromLogtable in metadb whereeventequals "trigger".Above, admin is an airflow user.
This approach doesn't work in case we trigger a dag through rest api. There is no such event as "trigger" for the dag run created in such a way.
This looks strange as we are passing credentials when calling HTTP request and therefore Airflow "knows" who requested.
So, is there any way to retrieve a dag runner in this particular case ❓
Beta Was this translation helpful? Give feedback.
All reactions