turbot/steampipe-mod-azure-compliance

Control: Ensure 'HTTP2' is set to 'Enabled' on Azure Application Gateway

Description

HTTP/2 is a major revision of the HTTP network protocol and offers significant performance improvements over HTTP/1.1. Enabling HTTP/2 on Application Gateway can improve application performance and reduce latency.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.application_gateway_http2_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.application_gateway_http2_enabled --share

SQL

This control uses a named query:

select
ag.id as resource,
case
when enable_http2 then 'ok'
else 'alarm'
end as status,
case
when enable_http2 then ag.name || ' HTTP2 enabled.'
else ag.name || ' HTTP2 disabled.'
end as reason
, ag.resource_group as resource_group
, sub.display_name as subscription
from
azure_application_gateway as ag
left join azure_subscription as sub on sub.subscription_id = ag.subscription_id;

Tags