-
Notifications
You must be signed in to change notification settings - Fork 601
[Rule Tunings] AWS Root Access Rules #5218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
imays11
wants to merge
3
commits into
main
Choose a base branch
from
tune_aws_root_access_rules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+181
−157
Conversation
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
AWS IAM Password Recovery Requested > AWS Sign-In Root Password Recovery Requested - Name change to properly indicate the service Sign-In vs IAM which is used for this API call. Also highlights that this is `Root` activity. In AWS, the PasswordRecoveryRequested event from signin.amazonaws.com applies to the root user’s “Forgot your password?” flow. Other identity types, like IAM and federated users, do not generate this event. - reduced execution window - updated Investigation Guide - updated tag - added highlighted fields AWS IAM Login Profile Added for Root - changed rule type from esql to eql - added index - reduced execution window - updated description and investigation guide to clarify emphasis on Root identity scope - added highlighted fields
increased severity score since this is related to root
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
terrancedejesus
approved these changes
Oct 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
Domain: Cloud
Integration: AWS
AWS related rules
Rule: Tuning
tweaking or tuning an existing rule
Team: TRADE
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
AWS IAM Password Recovery Requested > AWS Sign-In Root Password Recovery Requested
Root
activity. In AWS, the PasswordRecoveryRequested event from signin.amazonaws.com applies to the root user’s “Forgot your password?” flow. Other identity types, like IAM and federated users, do not generate this event.AWS IAM Login Profile Added for Root
How To Test
These rules should only be explicitly tested by account Admins, I didn't create test scripts for these as I used a real recent
PasswordRecoveryRequested
event, and previousCreateLoginProfile
events stored in our shared test stack. Both queries can be run against that data.Screenshots showing CreateLoginProfile for IAM users vs Root identity
Screenshot showing Recovery Request Alert execution as expected