Skip to content

[Rule Tuning] Google Workspace User Login with Unusual ASN - #7094

Open
tradebot-elastic wants to merge 2 commits into
mainfrom
tuning/1f489c86-d9c4-40de-9316-931721ca9b45
Open

tradebot-elastic wants to merge 2 commits into
mainfrom
tuning/1f489c86-d9c4-40de-9316-931721ca9b45

Conversation

@tradebot-elastic

Copy link
Copy Markdown
Contributor

Resolves elastic/ia-trade-team#1200

Reduces noise from OAuth token-grant (authorize) events and non-interactive token-exchange logins that dominated alert volume. Narrows the index to google_workspace.login only, restricts event.action to login_success, excludes the exchange login type, and extends the new-terms history window from 7 to 14 days to align with the rule description and reduce false-positive churn from bi-weekly network rotation.


Full telemetry triage, analytics links, and KQL verification: see linked ia-trade-team issue.

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.

🟢 Approval recommended

The focused filtering and history-window changes match the stated tuning scope, with no identified blocking issues.

No open issues 🎉

What changed in this PR

Tunes the Google Workspace unusual-ASN login rule to reduce noise from OAuth grants and non-interactive logins.

Changes:

  • Limits the index and query to Google Workspace login events with event.action: "login_success".
  • Excludes the exchange login type.
  • Extends the new-terms history window from 7 to 14 days and updates the metadata date.
File Description
rules/​integrations/​google_workspace/​initial_access_google_workspace_login_from_atypical_asn.toml Narrows login detection scope and extends the unusual-ASN baseline window.

Review effort: Balanced

@Mikaayenson Mikaayenson assigned imays11 and unassigned Mikaayenson Oct 27, 2026
event.action: ("login_success" or "authorize") and
data_stream.dataset: "google_workspace.login" and
event.action: "login_success" and
not google_workspace.login.type : "exchange" and

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.

If we exclude exchange events here we will probably want to make sure they are covered by other rule(s).

@eric-forte-elastic eric-forte-elastic 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.

@terrancedejesus

Copy link
Copy Markdown
Contributor

Will take a closer look at this one. Removed currentrelease tag.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants