root switching action using sudo su - on Ec2 instances needed to be monitored. Implemented this using bashrc and aws cli cloudwatch put events.
aws events alert howto cloudwatch sudo sns notification root how-to ec2-instance configure alertnotification rootalertnotification
-
Updated
Oct 21, 2019