> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Best practice

> [accordion] azure-appgateway-enables-waf
>
> Ensure that Application Gateway enables WAF

> [accordion] azure-appservice-https-20-enabled
>
> Ensure that HTTP Version is the latest if used to run the web app

> [accordion] azure-postgresql-geo-backup-enabled
>
> Ensure that PostgreSQL server enables geo-redundant backups

> [accordion] azure-sqlserver-email-alerts-enabled
>
> Ensure that Send Alerts To is enabled for MSSQL servers

> [accordion] azure-appservice-used-azure-files
>
> Ensure that app services use Azure Files

> [accordion] azure-ad-used-auth-service-fabric
>
> Ensures that Active Directory is used for authentication for Service Fabric

> [accordion] azure-defenderon-sqlservers-vms
>
> Ensure that Azure Defender is set to On for SQL servers on machines

> [accordion] azure-securitycenter-standard-pricing
>
> Ensure that standard pricing tier is selected

> [accordion] azure-vmscale-sets-auto-os-image-patching-enabled
>
> Ensure that automatic OS image patching is enabled for Virtual Machine Scale Sets

> [accordion] azure-networkinterface-enable-ip-forwarding
>
> Ensure that Network Interfaces disable IP forwarding\
> **Likelihood**: LOW\
> **Confidence**: LOW\
> **CWE**: \
> \- CWE-284: Improper Access Control
> \
> **OWASP**: \
> \- A05:2017 - Broken Access Control
> \
> \- A01:2021 - Broken Access Control

> [accordion] azure-postgresql-server-connection-throttling-enabled
>
> Ensure server parameter connection\_throttling is set to ON for PostgreSQL Database Server

> [accordion] azure-securitycenter-contact-phone
>
> Ensure that Security contact Phone number is set

> [accordion] azure-defenderon-servers
>
> Ensure that Azure Defender is set to On for Servers

> [accordion] azure-appservice-dotnet-framework-version
>
> Ensure that Net Framework version is the latest, if used as a part of the web app

> [accordion] azure-postgresql-server-log-connections-enabled
>
> Ensure server parameter log\_connections is set to ON for PostgreSQL Database Server

> [accordion] azure-appservice-python-version
>
> Ensure that Python version is the latest, if used to run the web app

> [accordion] azure-functionapps-accessible-over-https
>
> Ensure that HTTP Version is the latest if used to run the Function app

> [accordion] azure-sqlserver-threat-detection-types
>
> Ensure that Threat Detection types is set to All

> [accordion] azure-aks-uses-azure-policies-addon
>
> Ensure that AKS uses Azure Policies Add-on

> [accordion] azure-defenderon-appservices
>
> Ensure that Azure Defender is set to On for App Service

> [accordion] azure-securitycenter-email-alert-admins
>
> Ensure that Send email notification for high severity alerts is set to On

> [accordion] azure-securitcenter-email-alert
>
> Ensure that Send email notification for high severity alerts is set to On

> [accordion] azure-mariadb-geo-backup-enabled
>
> Ensure that MariaDB server enables geo-redundant backups

> [accordion] azure-secret-content-type
>
> Ensure that key vault secrets have “content\_type” set

> [accordion] azure-keyvault-enables-firewall-rules-settings
>
> Ensure that key vault allows firewall rules settings

> [accordion] azure-mysql-threat-detection-enabled
>
> Ensure that MySQL server enables Threat detection policy

> [accordion] azure-securitycenter-contact-emails
>
> Ensure that Security contact emails is set

> [accordion] azure-keyvault-recovery-enabled
>
> Ensure the key vault is recoverable [https://docs.bridgecrew.io/docs/ensure-the-key-vault-is-recoverable](https://docs.bridgecrew.io/docs/ensure-the-key-vault-is-recoverable)

> [accordion] azure-postgresql-server-log-checkpoint-enabled
>
> Ensure server parameter log\_checkpoints is set to ON for PostgreSQL Database Server

> [accordion] azure-appservice-php-version
>
> Ensure that PHP version is the latest, if used to run the web app

> [accordion] azure-mariadb-sslenforcement-enabled
>
> Ensure Enforce SSL connection is set to Enabled for MariaDB servers

> [accordion] azure-frontdoor-enables-waf
>
> Ensure that Azure Front Door enables WAF

> [accordion] azure-secret-expiration-date
>
> Ensure that the expiration date is set on all secrets

> [accordion] azure-monitor-log-profile-categories
>
> Ensure audit profile captures all the activities

> [accordion] azure-monitor-log-profile-retention-days
>
> Ensure that Activity Log Retention is set 365 days or greater

> [accordion] azure-sqlserver-email-alerts-toadmins-enabled
>
> Ensure that Email service and co-administrators is Enabled for MSSQL servers

> [accordion] azure-defenderon-keyvaults
>
> Ensure that Azure Defender is set to On for Key Vault

> [accordion] azure-postgresql-flexi-server-geo-backup-enabled
>
> Ensure that PostgreSQL Flexible server enables geo-redundant backups

> [accordion] azure-postgresql-threat-detection-enabled
>
> Ensure that PostgreSQL server enables Threat detection policy

> [accordion] azure-appservice-java-version
>
> Ensure that Java version is the latest, if used to run the web app

> [accordion] azure-keyvault-enables-purge-protection
>
> Ensure that key vault enables purge protection

> [accordion] azure-functionapp-http-version-latest
>
> Ensure that HTTP Version is the latest if used to run the Function app

> [accordion] azure-storage-account-enables-secure-transfer
>
> Ensure that storage account enables secure transfer

> [accordion] azure-mysql-server-tlsenforcement-enabled
>
> Ensure Enforce SSL connection is set to Enabled for MySQL servers

> [accordion] azure-appservice-ftps-state
>
> Ensure FTP deployments are disabled

> [accordion] azure-defenderon-storage
>
> Ensure that Azure Defender is set to On for Storage

> [accordion] azure-mysql-geo-backup-enabled
>
> Ensure that MySQL server enables geo-redundant backups

> [accordion] azure-synapse-workscape-enables-managed-virtual-network
>
> Ensure that Azure Synapse workspaces enables managed virtual networks

> [accordion] azure-defenderon-sqlservers
>
> Ensure that Azure Defender is set to On for SQL servers

> [accordion] azure-defenderon-container-registry
>
> Ensure that Azure Defender is set to On for Container

> [accordion] azure-defenderon-kubernetes
>
> Ensure that Azure Defender is set to On for Kubernetes

> [accordion] azure-frontdoor-use-wafmode
>
> Ensure that Azure Front Door uses WAF and configured in “Detection” or “Prevention” modes

> [accordion] azure-postgresql-ssl-enforcement-enabled
>
> Ensure Enforce SSL connection is set to Enabled for PostgreSQL servers

> [accordion] azure-keyvault-enables-soft-delete
>
> Ensure that key vault enables soft delete

> [accordion] azure-waf-specificed-mode-app-gw
>
> Ensure that Application Gateway uses WAF in “Detection” or “Prevention” modes


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.