[New Rule] Google Workspace User Sign-in from Atypical Device Type#6153
Open
terrancedejesus wants to merge 6 commits into
Open
[New Rule] Google Workspace User Sign-in from Atypical Device Type#6153terrancedejesus wants to merge 6 commits into
terrancedejesus wants to merge 6 commits into
Conversation
Contributor
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
imays11
reviewed
May 20, 2026
|
|
||
| [rule.new_terms] | ||
| field = "new_terms_fields" | ||
| value = ["google_workspace.device.type", "user.email"] |
Contributor
There was a problem hiding this comment.
why aren't you using user.id field? Just curious on your choice of email since I don't typically see us using this field for new terms.
Contributor
Author
There was a problem hiding this comment.
@imays11 good question. Honestly subjective. Emails are typically the universally accepted "ID" for Google. The user.id is unique to each user, but I am unsure if it translates to GCP or data sources. If you happen to notice any inconsistencies, we can update.
imays11
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Adds a new Google Workspace rule for sign-ins from an atypical device type (new terms). When user's sign-in Google Workspace will automatically register a device to a user as an attestation. Model/Versions will cause new attestations while the type itself is typically OS-related.
This is observed in AiTM attacks where the victim and relay infrastructure may diff, causing the same user to have different device types registered.
How To Test
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hoursContributor checklist