Skip to content

Excluding composer audit log from composer environment log query - #880

Merged
kyasbal merged 1 commit into
GoogleCloudPlatform:mainfrom
kyasbal:push-yyvmvooxqmyw
Aug 12, 2026
Merged

kyasbal merged 1 commit into
GoogleCloudPlatform:mainfrom
kyasbal:push-yyvmvooxqmyw

Conversation

@kyasbal

@kyasbal kyasbal commented Aug 12, 2026

Copy link
Copy Markdown
Member

The log filter for querying Managed Airflow environment logs were over wrapping the audit logs for composer environment.
This PR excludes the audit logs from the environment log filter.

@kyasbal kyasbal added the type:bug Something isn't working as expected label Aug 12, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the Google Cloud Composer log query generation to use uppercase LOG_ID and excludes audit logs (cloudaudit.googleapis.com/activity and cloudaudit.googleapis.com/data_access) from the query. It also refactors the corresponding unit tests to use a table-driven approach. The reviewer suggested updating the example query generator (generateExampleQuery) to also exclude these audit logs for consistency.

@kyasbal
kyasbal force-pushed the push-yyvmvooxqmyw branch from ec6445f to 9d01229 Compare August 12, 2026 07:58
@kyasbal
kyasbal marked this pull request as ready for review August 12, 2026 07:58
@kyasbal
kyasbal merged commit 821eb64 into GoogleCloudPlatform:main Aug 12, 2026
16 checks passed
@kyasbal
kyasbal deleted the push-yyvmvooxqmyw branch August 12, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working as expected

1 participant