azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az postgres up: created database doesn't have SSL enforcement turned on

Open chenlomis opened this issue 6 years ago • 2 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug By default, the postgres database created with az postgres up doesn't have SSL enforcement turned on.

Combined with not offering SSL by default for deployed apps (See 682 By default, deployed web app is not SSL enabled

Active ) and allowing access from all Azure IPs as a default firewall setting this encourages insecure practices.

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Environment summary Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Additional context Add any other context about the problem here.

chenlomis avatar Dec 20 '19 18:12 chenlomis

add to S164.

yonzhan avatar Dec 21 '19 12:12 yonzhan

Yes. For the simplest az postgres up, we don't enable SSL enforcement by design. We will discuss if we need to enable it by default.

Juliehzl avatar Mar 12 '20 13:03 Juliehzl