Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TLS 1.2 as default MinimalTlsVersion #24428

Merged
merged 4 commits into from
Mar 29, 2024

Conversation

jha1bhavna
Copy link
Contributor

@jha1bhavna jha1bhavna commented Mar 21, 2024

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Testing:

PS D:\src\Powershell\azure-powershell> $serverCreds = New-Object System.Management.Automation.PSCredential("cloudsa",("bhavnajha123#" | ConvertTo-SecureString -AsPlainText -Force))
PS D:\src\Powershell\azure-powershell>
PS D:\src\Powershell\azure-powershell>
PS D:\src\Powershell\azure-powershell> New-AzSqlServer -ServerName testdefaulttls12 -ResourceGroupName bhavnajha-rg -SqlAdministratorCredentials $serverCreds

cmdlet New-AzSqlServer at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Location: East US 2

ResourceGroupName : bhavnajha-rg
ServerName : testdefaulttls12
Location : eastus2
SqlAdministratorLogin : cloudsa
SqlAdministratorPassword :
ServerVersion : 12.0
Tags :
Identity :
FullyQualifiedDomainName : testdefaulttls12.database.windows.net
ResourceId : /subscriptions/eb951d38-18d9-46d4-9a0c-f694b148c76a/resourceGroups/bhavnajha-rg/provide
rs/Microsoft.Sql/servers/testdefaulttls12
MinimalTlsVersion : 1.2
PublicNetworkAccess : Enabled
RestrictOutboundNetworkAccess : Disabled
Administrators :
PrimaryUserAssignedIdentityId :
KeyId :
FederatedClientId :

PS D:\src\Powershell\azure-powershell> (Get-AzSqlServer -ServerName testdefaulttls12 -ResourceGroupName bhavnajha-rg).MinimalTlsVersion
1.2

Copy link

azure-client-tools-bot-prd bot commented Mar 21, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Compute
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.EventHub
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.KeyVault
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Monitor
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Network
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️PowerShell Core - Linux
️✔️PowerShell Core - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.OperationalInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.PrivateDns
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Sql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️PowerShell Core - Linux
️✔️PowerShell Core - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Storage
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows

@vidai-msft
Copy link
Contributor

vidai-msft commented Mar 28, 2024

@jha1bhavna can you please write/update a test case to cover the default check and update the doc as well?

@vidai-msft
Copy link
Contributor

@jha1bhavna Please fix the test issue and update the doc accordingly.

src/Sql/Sql/ChangeLog.md Outdated Show resolved Hide resolved
@vidai-msft vidai-msft merged commit 8c8b64d into Azure:main Mar 29, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants