Skip to content

UI: Add team column and filter to the audit log - #71916

Merged
vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:team-column-audit-log
Aug 25, 2026
Merged

vincbeck merged 1 commit into
apache:mainfrom
aws-mwaa:team-column-audit-log

Conversation

@vincbeck

@vincbeck vincbeck commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

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_team configuration is enabled, and no team data is loaded when it is off, so single-team deployments are unaffected.

Screenshots

Dag related resources

Screenshot 2026-08-20 at 3 13 19 PM

Non Dag related resources

Screenshot 2026-08-20 at 4 33 50 PM
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@o-nikolas o-nikolas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

@bbovenzi bbovenzi added this to the Airflow 3.4.0 milestone Aug 21, 2026
@vincbeck
vincbeck force-pushed the team-column-audit-log branch from 97a1258 to a048b08 Compare August 21, 2026 19:12
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.
@vincbeck
vincbeck force-pushed the team-column-audit-log branch from a048b08 to 6eb5553 Compare August 24, 2026 15:47
@vincbeck
vincbeck merged commit a0d563a into apache:main Aug 25, 2026
302 of 303 checks passed
@vincbeck
vincbeck deleted the team-column-audit-log branch August 25, 2026 12:44
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: airflow-ctl/v0-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ airflow-ctl/v0-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker a0d563a airflow-ctl/v0-1-test

This should apply the commit to the airflow-ctl/v0-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:API Airflow's REST/HTTP API area:dev-tools area:UI Related to UI/UX. For Frontend Developers. backport-to-airflow-ctl/v0-1-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants