Enabling RDS Protection in multiple-account environments
In a multiple-account environment, only the delegated GuardDuty administrator account has the option to enable or disable the RDS Protection feature, including the RDS data activity monitoring additional configuration, for the member accounts in their organization. The GuardDuty member accounts can't modify this configuration from their accounts. The delegated GuardDuty administrator account manages their member accounts using AWS Organizations. This delegated GuardDuty administrator account can choose to auto-enable RDS login activity monitoring and RDS data activity monitoring for all the new accounts as they join the organization. For more information about multiple-account environments, see Managing multiple accounts.
Choose your preferred access method to enable RDS Protection, including the RDS data activity monitoring additional configuration, for the delegated GuardDuty administrator account.
- Console
-
Open the GuardDuty console at https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/
. -
In the navigation pane, choose Protection Plans.
-
Choose Configure all enablements.
-
Under RDS Protection, locate the RDS Login Activity Monitoring and RDS Data Activity Monitoring entries.
-
In the This account column, choose Enabled for each entry that you want to turn on, or Not enabled to leave it off.
Note
RDS Login Activity Monitoring must be enabled before you can enable RDS Data Activity Monitoring.
- API/CLI
-
Run the updateDetector API operation using your own regional detector ID and passing the
featuresobjectnameasRDS_LOGIN_EVENTSandstatusasENABLED. To also enable RDS data activity monitoring, passRDS_DATA_RISKas thenameunderAdditionalConfigurationwithstatusset toENABLED.Alternatively, you can use AWS CLI to enable RDS Protection. Run the following command, and replace
12abc34d567e8fa901bc2d34e56789f0with your account's detector ID andus-east-1with the Region where you want to enable RDS Protection.To find the
detectorIdfor your account and current Region, see the Settings page in the https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/console, or run the ListDetectors API. The following example enables RDS login activity monitoring on the delegated administrator account, and uses
AdditionalConfigurationto also enable RDS data activity monitoring:aws guardduty update-detector \ --detector-id12abc34d567e8fa901bc2d34e56789f0\ --regionus-east-1\ --features '[ { "Name": "RDS_LOGIN_EVENTS", "Status": "ENABLED", "AdditionalConfiguration": [ { "Name": "RDS_DATA_RISK", "Status": "ENABLED" } ] } ]'
Choose your preferred access method to enable the RDS Protection feature, including the RDS data activity monitoring additional configuration, for all member accounts. This includes existing member accounts and the new accounts that join the organization.
- Console
-
Open the GuardDuty console at https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/
. Make sure to use the delegated GuardDuty administrator account credentials.
-
In the navigation pane, choose Protection Plans.
-
Choose Configure all enablements.
-
Under RDS Protection, choose Enable for all accounts. This action automatically enables RDS Protection for both existing and new accounts in the organization.
-
To also turn on RDS data activity monitoring for every account, expand Additional configuration and choose Enable for all accounts for RDS Data Activity Monitoring.
-
Choose Save all, then choose Confirm and save.
Note
It may take up to 24 hours to update the configuration for the member accounts.
- API/CLI
-
To enable RDS Protection for all member accounts in your organization, including existing members and new accounts that join later, invoke the UpdateOrganizationConfiguration API operation using your own
detector ID. SetAutoEnabletoALLfor theRDS_LOGIN_EVENTSfeature, and passRDS_DATA_RISKunderAdditionalConfigurationwithAutoEnableset toALLto also auto-enable RDS data activity monitoring.Alternatively, you can use AWS CLI to enable RDS Protection. Run the following command, and replace
12abc34d567e8fa901bc2d34e56789f0with your account's detector ID andus-east-1with the Region where you want to enable RDS Protection.To find the
detectorIdfor your account and current Region, see the Settings page in the https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/console, or run the ListDetectors API. The following example auto-enables both
RDS_LOGIN_EVENTSandRDS_DATA_RISKfor every member account in the organization:aws guardduty update-organization-configuration \ --detector-id12abc34d567e8fa901bc2d34e56789f0\ --regionus-east-1\ --auto-enable-organization-members ALL \ --features '[ { "Name": "RDS_LOGIN_EVENTS", "AutoEnable": "ALL", "AdditionalConfiguration": [ { "Name": "RDS_DATA_RISK", "AutoEnable": "ALL" } ] } ]'Note
It may take up to 24 hours to update the configuration for the member accounts.
Choose your preferred access method to enable RDS Protection, including the RDS data activity monitoring additional configuration, for all the existing active member accounts in your organization. The member accounts that already have GuardDuty enabled, are referred to as existing active members.
Note
RDS Login Activity Monitoring must be enabled on a member account before you can enable RDS Data Activity Monitoring on that account.
- Console
-
Sign in to the AWS Management Console and open the GuardDuty console at https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/
. Sign in using the delegated GuardDuty administrator account credentials.
-
In the navigation pane, choose Accounts.
-
On the Accounts page, select the existing active member accounts you want to enable. To select every account, use the checkbox in the table header.
-
From the Edit Protection Plans dropdown menu, choose RDS Login Activity, and then choose Enable.
-
To also enable RDS data activity monitoring on the selected accounts, open the Edit Protection Plans dropdown menu again, choose RDS Data Activity, and then choose Enable. RDS Login Activity Monitoring must already be enabled on each selected account.
- API/CLI
-
Run the updateMemberDetectors API operation using your own
detector ID. PassRDS_DATA_RISKunderAdditionalConfigurationon theRDS_LOGIN_EVENTSfeature to also control RDS data activity monitoring.Alternatively, you can use AWS CLI to enable RDS Protection. Run the following command, and replace
12abc34d567e8fa901bc2d34e56789f0with your account's detector ID andus-east-1with the Region where you want to enable RDS Protection.To find the
detectorIdfor your account and current Region, see the Settings page in the https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/console, or run the ListDetectors API. The following example enables RDS login activity monitoring on an existing active member account, and uses
AdditionalConfigurationto also enable RDS data activity monitoring:aws guardduty update-member-detectors \ --detector-id12abc34d567e8fa901bc2d34e56789f0\ --regionus-east-1\ --account-ids111122223333\ --features '[ { "Name": "RDS_LOGIN_EVENTS", "Status": "ENABLED", "AdditionalConfiguration": [ { "Name": "RDS_DATA_RISK", "Status": "ENABLED" } ] } ]'You can also pass a list of account IDs separated by a space.
When the code has successfully executed, it returns an empty list of
UnprocessedAccounts. If there were any problems changing the detector settings for an account, that account ID is listed along with a summary of the issue.
Choose your preferred access method to enable RDS login activity monitoring and RDS data activity monitoring for new accounts that join your organization.
- Console
-
Open the GuardDuty console at https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/
. Make sure to use the delegated GuardDuty administrator account credentials.
-
In the navigation pane, choose Protection Plans.
-
Choose Configure all enablements.
-
Choose Configure accounts manually.
-
Under RDS Protection, select Automatically enable for new member accounts. This step ensures that whenever a new account joins your organization, RDS Protection will be automatically enabled for their account. Only the organization delegated GuardDuty administrator account can modify this configuration.
-
To also auto-enable RDS data activity monitoring for new accounts, expand Additional configuration and select Automatically enable for new member accounts for RDS Data Activity Monitoring.
-
Choose Save.
- API/CLI
-
To auto-enable RDS Protection for new accounts that join your organization, invoke the UpdateOrganizationConfiguration API operation using your own
detector ID. SetAutoEnabletoNEWfor theRDS_LOGIN_EVENTSfeature, and passRDS_DATA_RISKunderAdditionalConfigurationwithAutoEnableset toNEWto also auto-enable RDS data activity monitoring. To stop auto-enabling a feature for new accounts, set itsAutoEnablevalue toNONE.Alternatively, you can use AWS CLI to enable RDS Protection. Run the following command, and replace
12abc34d567e8fa901bc2d34e56789f0with your account's detector ID andus-east-1with the Region where you want to enable RDS Protection.To find the
detectorIdfor your account and current Region, see the Settings page in the https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/console, or run the ListDetectors API. The following example auto-enables both
RDS_LOGIN_EVENTSandRDS_DATA_RISKfor new accounts that join the organization:aws guardduty update-organization-configuration \ --detector-id12abc34d567e8fa901bc2d34e56789f0\ --regionus-east-1\ --auto-enable-organization-members NEW \ --features '[ { "Name": "RDS_LOGIN_EVENTS", "AutoEnable": "NEW", "AdditionalConfiguration": [ { "Name": "RDS_DATA_RISK", "AutoEnable": "NEW" } ] } ]'
Choose your preferred access method to selectively enable monitoring RDS login activity and RDS data activity for member accounts.
- Console
-
Open the GuardDuty console at https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/
. Make sure to use the delegated GuardDuty administrator account credentials.
-
In the navigation pane, choose Accounts.
On the Accounts page, review the RDS login activity and RDS data activity columns for the status of your member account.
-
To selectively enable or disable RDS login activity
Select the account for which you want to configure RDS Protection. You can select multiple accounts at a time. In the Edit Protection Plans dropdown menu, choose RDS Login Activity, and then choose the appropriate option.
-
To selectively enable or disable RDS data activity
Select the account for which you want to configure RDS data activity monitoring. You can select multiple accounts at a time. In the Edit Protection Plans dropdown menu, choose RDS Data Activity, and then choose the appropriate option.
- API/CLI
-
To selectively enable or disable RDS Protection for your member accounts, invoke the updateMemberDetectors API operation using your own
detector ID. PassRDS_DATA_RISKunderAdditionalConfigurationon theRDS_LOGIN_EVENTSfeature to control RDS data activity monitoring independently.Alternatively, you can use AWS CLI to enable RDS Protection. Run the following command, and replace
12abc34d567e8fa901bc2d34e56789f0with your account's detector ID andus-east-1with the Region where you want to enable RDS Protection.To find the
detectorIdfor your account and current Region, see the Settings page in the https://eusc-de-east-1.console.amazonaws-eusc.eu/guardduty/console, or run the ListDetectors API. The following example enables both
RDS_LOGIN_EVENTSandRDS_DATA_RISK:aws guardduty update-member-detectors --detector-id12abc34d567e8fa901bc2d34e56789f0--regionus-east-1--account-ids111122223333--features '[{"Name": "RDS_LOGIN_EVENTS", "Status": "ENABLED", "AdditionalConfiguration": [{"Name": "RDS_DATA_RISK", "Status": "ENABLED"}]}]'To keep RDS login activity monitoring on while turning off RDS data activity monitoring, set
RDS_LOGIN_EVENTSStatustoENABLEDandRDS_DATA_RISKStatustoDISABLED:aws guardduty update-member-detectors --detector-id12abc34d567e8fa901bc2d34e56789f0--regionus-east-1--account-ids111122223333--features '[{"Name": "RDS_LOGIN_EVENTS", "Status": "ENABLED", "AdditionalConfiguration": [{"Name": "RDS_DATA_RISK", "Status": "DISABLED"}]}]'Note
You can also pass a list of account IDs separated by a space.
When the code has successfully executed, it returns an empty list of
UnprocessedAccounts. If there were any problems changing the detector settings for an account, that account ID is listed along with a summary of the issue.