Benchmark: PR.AC-4
Description
Access permissions and authorizations are managed, incorporating the principles of least privilege and separation of duties.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select PR.AC-4.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.nist_csf_pr_ac_4Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.nist_csf_pr_ac_4 --shareControls
- Auto Scaling launch config public IP should be disabled
 - CodeBuild project environments should not have privileged mode enabled
 - DMS replication instances should not be publicly accessible
 - EBS snapshots should not be publicly restorable
 - EC2 instances should have IAM profile attached
 - EC2 instances should be in a VPC
 - EC2 instances should not have a public IP address
 - EC2 instances should use IMDSv2
 - ECS containers should run as non-privileged
 - ECS containers should be limited to read-only access to root filesystems
 - ECS task definition container definitions should be checked for host mode
 - EFS access points should enforce a root directory
 - EFS access points should enforce a user identity
 - EKS clusters endpoint should restrict public access
 - EMR cluster Kerberos should be enabled
 - EMR cluster master nodes should not have public IP addresses
 - ES domains should be in a VPC
 - Ensure IAM policy should not grant full access to service
 - IAM groups should have at least one user
 - IAM groups, users, and roles should not have any inline policies
 - IAM AWS managed policies should be attached to IAM role
 - 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 policy should be in use
 - IAM root user should not have access keys
 - IAM users should be in at least one group
 - IAM user should not have any inline or attached policies
 - IAM user credentials that have not been used in 90 days should be disabled
 - Lambda functions should be in a VPC
 - Lambda functions should restrict public access
 - OpenSearch domains should have fine-grained access control enabled
 - OpenSearch domains should be in a VPC
 - IAM authentication should be configured for RDS clusters
 - RDS DB instances should have iam authentication enabled
 - RDS DB instances should prohibit public access
 - RDS snapshots should prohibit public access
 - Redshift clusters should prohibit public access
 - S3 bucket policy should prohibit public access
 - S3 buckets should prohibit public read access
 - S3 buckets should prohibit public write access
 - S3 public access should be blocked at bucket levels
 - SageMaker notebook instances should not have direct internet access
 - SSM documents should not be public
 - VPC should be configured to use VPC endpoints
 - VPC internet gateways should be attached to authorized vpc
 - VPC subnet auto assign public IP should be disabled