turbot/aws_compliance

Query: api_gatewayv2_route_authorizer_configured

Usage

powerpipe query aws_compliance.query.api_gatewayv2_route_authorizer_configured

Steampipe Tables

SQL

select
'arn:' || partition || ':apigateway:' || region || '::/apis/' || api_id || '/routes/' || route_id as resource,
case
when authorizer_id is null then 'alarm'
else 'ok'
end as status,
case
when authorizer_id is null then route_id || ' authorizer not configured.'
else route_id || ' authorizer ' || authorizer_id || ' configured.'
end as reason
, region, account_id
from
aws_api_gatewayv2_route;

Controls

The query is being used by the following controls: