Control: API Gateway REST API endpoint type should be configured to private
Description
This control checks whether API Gateway endpoint is public or private. This rule is non-compliant if API Gateway endpoint is public.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.apigateway_rest_api_endpoint_restrict_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.apigateway_rest_api_endpoint_restrict_public_access --share
SQL
This control uses a named query:
apigateway_rest_api_endpoint_restrict_public_access