Skip to content

fix: update SQL expressions in console login and MFA trend charts#23

Merged
fukusuket merged 1 commit into
mainfrom
fix-console-login-chart
Jun 13, 2026
Merged

fix: update SQL expressions in console login and MFA trend charts#23
fukusuket merged 1 commit into
mainfrom
fix-console-login-chart

Conversation

@fukusuket

Copy link
Copy Markdown
Collaborator

No description provided.

@fukusuket fukusuket requested a review from Copilot June 13, 2026 10:54
@fukusuket fukusuket self-assigned this Jun 13, 2026
@fukusuket fukusuket added the bug Something isn't working label Jun 13, 2026
@fukusuket fukusuket marked this pull request as ready for review June 13, 2026 10:55

Copilot AI 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.

Pull request overview

Updates Superset chart SQL expressions for CloudTrail console login and MFA trend visualizations to use hoisted JSON columns (response_elements, additional_event_data) and a more specific ConsoleLogin event filter, aligning dashboard queries with the ingester’s enriched schema.

Changes:

  • Switched ConsoleLogin success/failure extraction from raw_event to response_elements.
  • Switched MFAUsed extraction from raw_event to additional_event_data.
  • Updated the documented/example SQL filter to event_source = 'signin.amazonaws.com' AND event_name = 'ConsoleLogin'.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
dashboard/assets/cloudtrail_default/charts/mfa_less_login_trend.yaml Updates MFAUsed extraction to use additional_event_data and refreshes the example SQL.
dashboard/assets/cloudtrail_default/charts/console_login_activity.yaml Updates ConsoleLogin and MFAUsed extraction to use response_elements / additional_event_data and refreshes the example SQL filter.

@fukusuket fukusuket merged commit 498a866 into main Jun 13, 2026
5 checks passed
@fukusuket fukusuket deleted the fix-console-login-chart branch June 13, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants