Control: API Gateway stage should uses SSL certificate
Description
Ensure that a REST API stage uses a Secure Sockets Layer (SSL) certificate. This rule is compliant if the REST API stage does not have an associated SSL certificate.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.apigateway_rest_api_stage_use_ssl_certificateSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.apigateway_rest_api_stage_use_ssl_certificate --shareSQL
This control uses a named query:
select arn as resource, case when client_certificate_id is null then 'alarm' else 'ok' end as status, case when client_certificate_id is null then title || ' does not use SSL certificate.' else title || ' uses SSL certificate.' end as reason , region, account_idfrom aws_api_gateway_stage;