Security best practices for AWS Assurance
AWS Assurance provides a number of security features to consider as you develop and implement your own security policies. The following best practices are general guidelines and don’t represent a complete security solution. Because these best practices might not be appropriate or sufficient for your environment, treat them as helpful considerations rather than prescriptions.
Preventative best practices
Use least privilege access
Grant the minimum permissions necessary for users and roles to perform their tasks in AWS Assurance. Use permission sets with project-level scoping to restrict access to only the environments and projects that each user needs. Avoid assigning the Admin permission set template broadly.
Use customer-managed KMS keys for sensitive environments
If your compliance requirements call for key management control, configure a customer-managed KMS key on your AWS Assurance environment. This gives you control over key rotation, access policies, and the ability to revoke access (crypto-shred) if needed.
Restrict network access with VPC endpoints
If your organization’s security policies require private network access, create an interface VPC endpoint for AWS Assurance. This keeps API traffic between your VPC and AWS Assurance on the AWS network without traversing the public internet.
Apply least privilege to cross-account roles
When configuring connected accounts for compliance assessments, scope the IAM role’s permissions to only the read actions needed for evidence collection. Use aws:SourceArn and aws:SourceAccount condition keys in the role’s trust policy to prevent confused deputy attacks.
Use tagging for access control
Apply tags to AWS Assurance environments and use aws:ResourceTag condition keys in IAM policies to implement attribute-based access control (ABAC). This allows you to manage permissions at scale without updating policies for each new resource.
Detective best practices
Enable AWS CloudTrail logging
Use AWS CloudTrail to monitor all API activity in your AWS Assurance environments. CloudTrail provides a record of actions taken by users, roles, and services, allowing you to audit access and detect unauthorized activity.
Monitor for unauthorized access attempts
Set up Amazon CloudWatch alarms or Amazon EventBridge rules to alert on access-denied events and unusual API patterns in your CloudTrail logs. Pay attention to failed CreateEnvironment, StartAssessment, and PutEvidence calls that could indicate unauthorized access attempts.
Review permission set assignments regularly
Periodically review who has access to your AWS Assurance environments by listing permission set assignments. Remove assignments for users who no longer need access and verify that permission sets grant only the required permissions.