Benchmark: ACSC-EE-ML1-5.5: Restrict administrative privileges ML1
Description
Privileged accounts (excluding local administrator accounts) cannot logon to unprivileged operating environments.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select ACSC-EE-ML1-5.5: Restrict administrative privileges ML1.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.acsc_essential_eight_ml_1_5_5
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.acsc_essential_eight_ml_1_5_5 --share
Controls
- CodeBuild project environments should not have privileged mode enabled
- CodeBuild GitHub or Bitbucket source repository URLs should use OAuth
- ECS containers should run as non-privileged
- ECS task definitions should not use root user.
- Ensure managed IAM policies should not allow blocked actions on KMS keys
- Ensure inline policies attached to IAM users, roles, and groups should not allow blocked actions on KMS keys
- IAM policy should not have statements with admin access
- IAM root user should not have access keys
- SageMaker notebook instances root access should be disabled
- VPC security groups should restrict ingress SSH access from 0.0.0.0/0