Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
vpc_endpoint_connections_trust_boundariesProvider: AWS
Service:
vpcSeverity: HIGH
Categories:
trust-boundaries, identity-accessResource type:
AwsEc2VpcEndpointServiceWhat this check verifies
VPC endpoint policies are assessed for restriction to configured trusted AWS accounts. IfPrincipal values (including *) or account ARNs permit non-trusted principals, or conditions aren’t sufficiently restrictive, the endpoint is identified. Endpoints without editable policies are excluded.
Risk
Non-trusted principals using your endpoint can access AWS services as if from your VPC, weakening segmentation. This enables unauthorized reads/writes and data exfiltration from resources tied to the endpoint, harming confidentiality and integrity, and potentially increasing costs.Recommendation
Apply least privilege: restrict endpoint policies to your account and an explicit allowlist of trusted accounts. Avoid* principals unless coupled with strict conditions. Prevent transitive trust across network links, and use resource policies and monitoring as defense in depth to limit endpoint use.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = vpc_endpoint_connections_trust_boundaries. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks