Pipeline: 9.6 Ensure that 'Basic Authentication' is 'Disabled'
Description
Basic Authentication provides the ability to create identities and authentication for an App Service without a centralized Identity Provider. For a more effective, capable, and secure solution for Identity, Authentication, Authorization, and Accountability, a centralized Identity Provider such as Entra ID is strongly advised.
Basic Authentication introduces an identity silo which can produce privileged access to a resource. This can be exploited in numerous ways and represents a significant vulnerability and attack vector.
Remediation
From Azure Portal
- Search for, and open
App Servicesfrom the search bar. - For each App Service listed:
- Click on the App Service name.
- Under the
Settingsmenu item, click onConfiguration. - Under the
General settingstab, scroll down to locate the two Basic Auth settings:
- Set the
SCM Basic Auth Publishing Credentialsradio button toOff. - Set the
FTP Basic Auth Publishing Credentialsradio button toOff.
CAUTION: The new settings are not yet applied. Applying them may cause your App Service resource to restart - proceed with caution. Click the Save button, then click Continue to apply the updated configuration.
Repeat this procedure for each App Service.
Default Value
Both parameters for Basic Authentication (SCM and FTP) are set to On by default.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure_cis.pipeline.cis_v300_9_6Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure_cis.pipeline.cis_v300_9_6 }Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| database | connection.steampipe | Yes | Database connection string. | connection.steampipe.default |
| notifier | notifier | Yes | The name of the notifier to use for sending notification messages. | notifier.default |
| notification_level | string | Yes | The verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'. | info |
| approvers | list(notifier) | Yes | List of notifiers to be used for obtaining action/approval decisions. | notifier.default |
Outputs
This pipeline has no outputs.