Control: Function apps should have 'Client Certificates (Incoming client certificates)' enabled
Description
Client certificates allow for the app to request a certificate for incoming requests. Only clients with valid certificates will be able to reach the app.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.appservice_function_app_client_certificates_on
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.appservice_function_app_client_certificates_on --share
SQL
This control uses a named query:
select app.id as resource, case when client_cert_enabled then 'ok' else 'alarm' end as status, case when client_cert_enabled then app.name || ' client certificate enabled.' else app.name || ' client certificate disabled.' end as reason , app.resource_group as resource_group , sub.display_name as subscriptionfrom azure_app_service_function_app as app, azure_subscription as subwhere sub.subscription_id = app.subscription_id;