Control: Eliminate use of the 'root' user for administrative and daily tasks
Description
This control checks whether the root user has been used in the last 90 days. The control fails if the root user has been used in the last 90 days.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_root_last_used
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_root_last_used --share
SQL
This control uses a named query:
iam_root_last_used