Ensure that the APIs created with Amazon API Gateway service are only accessible via private API endpoints and not visible to the Internet. When the Amazon API Gateway API is private, it can be accessed only privately through the VPC endpoint.
This rule can help you with the following compliance standards:
- MAS
- NIST4
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
With a private API endpoint configuration, the traffic to your Amazon API Gateway APIs is using secure connections and does not leave the AWS network. Having private API endpoints for your REST APIs allows you to use all API Gateway service features, while securely connecting them to other AWS cloud services and resources inside your Virtual Private Cloud (VPC).
Audit
To determine if your Amazon API Gateway APIs are using private endpoints, perform the following actions:
Remediation / Resolution
To change the endpoint type for your Amazon API Gateway APIs in order to be accessible only through private VPC endpoints, perform the following actions:
References
- AWS Documentation
- Amazon API Gateway FAQs
- Creating a private API in Amazon API Gateway
- Change a Public or Private API Endpoint Type in API Gateway
- Create and Attach an API Gateway Resource Policy to an API
- API Gateway Resource Policy Examples
- AWS Command Line Interface (CLI) Documentation
- apigateway
- get-rest-apis
- update-rest-api
- CloudFormation Documentation
- Amazon API Gateway resource type reference
- Terraform Documentation
- AWS Provider
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
Private Endpoint
Risk Level: Medium