Skip to main content

DoiT RootGuard

What is RootGuard?

As an AWS partner, we are required to monitor specific activities within the management account. RootGuard, DoiT's solution, fulfills this monitoring obligation by tracking root user activity, billing modifications, and contact information changes.

Architecture

DoiT RootGuard client side architecture

RootGuard operates through two key components:

  • An AWS EventBridge rule that monitors the default event bus using specific event patterns to detect targeted activities.
  • A Lambda function that runs on a six-hour schedule. This function verifies existence of at least one CloudTrail and reports the state back by publishing a custom event to the event bus.
Note

RootGuard requires an active CloudTrail in the US East (N. Virginia/us-east-1) region to function properly. Most events are only available through CloudTrail logs.

The RootGuard Cloudformation template can be accessed from here.

Events

In addition to monitoring all activities performed by the AWS account root user, RootGuard collects the following events:

EventEventSource
PutContactInformationaccount.amazonaws.com
DeleteAlternateContactaccount.amazonaws.com
PutAlternateContactaccount.amazonaws.com
SetContactAddressbillingconsole.amazonaws.com
SetDefaultPaymentMethodbillingconsole.amazonaws.com
SetAdditionalContactsbillingconsole.amazonaws.com
SetAccountPreferencesbillingconsole.amazonaws.com
AWSPaymentPortalService.ValidatePaymentInstrumentOperationbillingconsole.amazonaws.com
CreatePaymentInstrumentaws-payment-encryption.amazonaws.com
Preferences_CreatePaymentProfilepayments.amazonaws.com
Preferences_UpdatePaymentProfilepayments.amazonaws.com
Instruments_Createpayments.amazonaws.com
Instruments_Updatepayments.amazonaws.com
DeleteTaxRegistrationtax.amazonaws.com
CreateCustomerCasetaxconsole.amazonaws.com
PreviewTaxRegistrationChangetaxconsole.amazonaws.com
Healthcheckrootguard.doit.com