Control: API Gateway methods request parameter should be validated
Description
This control checks whether API Gateway method request parameter is validated. This rule is non-compliant if API Gateway method request parameter is not validated.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.api_gateway_method_request_parameter_validated
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.api_gateway_method_request_parameter_validated --share
SQL
This control uses a named query:
select resource_id as resource, case when request_validator_id is null then 'alarm' else 'ok' end as status, case when request_validator_id is null then title || ' request parameter not validated.' else title || ' request parameter validated.' end as reason , region, account_idfrom aws_api_gateway_method;