74d1715f6e
* [Rule Tuning] AWS EC2 User Data Retrieval for EC2 Instance - changed execution window - explicitly added flattened fields to query, to reduce wildcard usage - added investigation fields - changed new terms field to evaluate `user.name` over `aws.cloudtrail.user_identity.arn` so that only the role name for Assumed Role identitites is being evaluated instead of each individual session. This should greatly impact performance as most instances of this rule in telemetry is triggered by Assumed Roles. * Apply suggestions from code review * remove instanceId parameter Co-authored-by: Mika Ayenson, PhD <Mikaayenson@users.noreply.github.com> --------- Co-authored-by: Mika Ayenson, PhD <Mikaayenson@users.noreply.github.com>