Control: Ensure App Service authentication is set up for function apps in Azure App Service
Description
Azure App Service authentication is a feature that can prevent anonymous HTTP requests from reaching a Web Application or authenticate those with tokens before they reach the app. If an anonymous request is received from a browser, App Service will redirect to a logon page. To handle the logon process, a choice from a set of identity providers can be made, or a custom authentication mechanism can be implemented.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.appservice_function_app_authentication_on
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.appservice_function_app_authentication_on --share
SQL
This control uses a named query:
appservice_function_app_authentication_on