Repository navigation
UI: Add team column and filter to the audit log - #71916
Conversation
61dc4b4 to
97a1258
Compare
o-nikolas
left a comment
There was a problem hiding this comment.
The backport to 3.3 tag is on this PR, was that intentional? From the code (e.g. the migration seems to be for 3.4)
97a1258 to
a048b08
Compare
When multi-team mode is enabled, operators reviewing the audit log need to know which team owns the resource an event was recorded against, and to scope the log to a single team when auditing that team's activity. Some audited actions own no Dag to resolve a team through — a triggerer started for one team, a team-scoped pool or variable, the team commands themselves — so the team is recorded on the event itself and read back in preference to the one derived from the Dag. Without it, those events would show no team at all and, worse, would silently disappear from the log whenever a team filter was applied. The column and the filter render only when the `multi_team` configuration is enabled, and no team data is loaded when it is off, so single-team deployments are unaffected.
a048b08 to
6eb5553
Compare
Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker a0d563a airflow-ctl/v0-1-testThis should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
When multi-team mode is enabled, operators reviewing the audit log need to know which team owns the resource an event was recorded against, and to scope the log to a single team when auditing that team's activity.
The column and the filter render only when the
multi_teamconfiguration is enabled, and no team data is loaded when it is off, so single-team deployments are unaffected.Screenshots
Dag related resources
Non Dag related resources
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.