Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .azure-pipelines/security-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,21 @@ jobs:
targetType: inline
script: ./src/lib/pdb/CopyPdbToArtifacts.ps1
pwsh: true

- task: PowerShell@2
displayName: Generate a response text file for BinSkim
inputs:
targetType: 'inline'
script: |
New-Item $(Build.SourcesDirectory)/artifacts/MyFileList.rsp -ItemType File -Force
(Get-ChildItem -Path .\artifacts\Debug -Include *.dll,*.exe -Exclude msalruntime.dll,msalruntime_arm64.dll,msalruntime_x86.dll -Recurse).FullName > $(Build.SourcesDirectory)/artifacts/MyFileList.rsp
pwsh: true

- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
displayName: Run BinSkim
inputs:
InputType: 'Basic'
Function: 'analyze'
AnalyzeTarget: '$(Build.SourcesDirectory)/artifacts/Debug/*.dll;$(Build.SourcesDirectory)/artifacts/*.exe'
AnalyzeStatistics: true
InputType: 'CommandLine'
arguments: 'analyze @$(Build.SourcesDirectory)/artifacts/MyFileList.rsp --recurse'

- task: PowerShell@2
displayName: Cleanup Build
Expand All @@ -88,4 +95,4 @@ jobs:
inputs:
artifactName: artifacts
targetPath: artifacts
...
...
Binary file modified src/lib/netstandard2.0/Azure.Core.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/Azure.Identity.Broker.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/Azure.Identity.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/Microsoft.Identity.Client.Broker.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/lib/netstandard2.0/Microsoft.Identity.Client.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/Microsoft.IdentityModel.Abstractions.dll
Binary file not shown.
Binary file added src/lib/netstandard2.0/System.ClientModel.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/msalruntime.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/msalruntime_arm64.dll
Binary file not shown.
Binary file modified src/lib/netstandard2.0/msalruntime_x86.dll
Binary file not shown.
294 changes: 192 additions & 102 deletions tools/Az/Az.psd1

Large diffs are not rendered by default.

102 changes: 52 additions & 50 deletions tools/AzPreview/AzPreview.psd1

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions tools/AzPreview/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,209 @@
## 12.0.0 - May 2024
#### Az.Accounts 3.0.0
* Web Account Manager (WAM) was set the default experience of interactive login. For more details please refer to https://go.microsoft.com/fwlink/?linkid=2272007
* Enabled secrets detection option by default.
* Fixed a null reference issue during the process of 'Get-AzContext -ListAvailable' [#24854].
* Supported interactive subscription selection for user login flow. See more details at [Announcing a new login experience with Azure PowerShell and Azure CLI
](https://techcommunity.microsoft.com/t5/azure-tools-blog/announcing-a-new-login-experience-with-azure-powershell-and/ba-p/4109357)
* Added config 'LoginExperienceV2' to allow customer to switch the default behavior of context selection back. Check the help document of 'Update-AzConfig' for more details.
* Supported auto-discovery of the endpoint of OperationalInsights (azure-powershell-common/pull/414)
* Updated the reference of Azure PowerShell Common to 1.3.94-preview.
* [Breaking Change] Removed config 'DisableErrorRecordsPersistence' to disable writing error records, error recording is now opt-in
* Added config 'EnableErrorRecordsPersistence' to enable writing error records to file system

#### Az.AnalysisServices 1.1.5
* Removed the outdated deps.json file.

#### Az.ApiManagement 4.0.3
* Removed the outdated deps.json file.

#### Az.Batch 3.6.1
* Removed the out-of-date breaking change message for 'Get-AzBatchCertificate' and 'New-AzBatchCertificate'.

#### Az.Billing 2.0.4
* Removed the outdated deps.json file.

#### Az.Blueprint 0.4.3
* Removed the outdated deps.json file.

#### Az.Chaos 0.1.0
* First preview release for module Az.Chaos

#### Az.Compute 8.0.0
* Added new optional parameter 'SecureVMGuestStateSAS' to cmdlet 'Grant-AzDiskAccess'.
* [Breaking Change] Added ValidateNotNullOrEmpty for '-ResourceGroupName' and '-VMScaleSetName' parameters to 'Get-AzVmss' cmdlet. [#20095]
* Added 'Etag' property to PSVirtualMachine and PSVirtualMachineScaleSet objects.
* Added parameters '-IfMatch' and '-IfNoneMatch' to 'Update-AzVM', 'Update-AzVmss', 'New-AzVm', 'New-AzVmss', 'New-AzVmConfig', and 'New-AzVmssConfig' cmdlets.
* [Breaking Change] Cmdlet 'New-AzGalleryImageDefinition' will default parameter '-HyperVGeneration' to 'V2' if it is not set as 'V1' explicitly, and also default parameter '-Feature' by adding '@{Name='SecurityType';Value='TrustedLaunchSupported'}' if the 'SecurityType' feature is not set explicitly.
* Resolved the bug with 'New-AzVMConfig' for '-CommunityGalleryImageId' and '-SharedGalleryImageId' parameters.
* [Breaking Change] Added ValidateNotNullOrEmpty for '-ResourceGroupName' and '-VMScaleSetName' parameters to 'Get-AzVmss' cmdlet. [#20095]
* [Breaking Change] Added new business logic to 'New-AzVmss' and 'New-AzVM' cmdlets. When the user explicitly sets the 'SecurityType' to 'Standard', the Image alias defaults to 'Win2022AzureEdition' to make future migrations to Trusted Launch easier.

#### Az.ConnectedVMware 0.1.2
* Fixed the placeholder in psd1 file.

#### Az.CosmosDB 1.14.3
* Removed the out-of-date breaking change message for 'Get-AzCosmosDBAccountKey'.

#### Az.CustomLocation 0.2.0
* Upgraded managed identity parameters.
* Updated example for new managed identity.

#### Az.DataBoxEdge 1.1.1
* Removed the outdated deps.json file.

#### Az.DataFactory 1.18.4
* Updated ADF encryption client SDK version to 5.29.8499.2

#### Az.DataLakeStore 1.3.1
* Removed the outdated deps.json file.

#### Az.DataShare 1.0.2
* Removed the outdated deps.json file.

#### Az.DeviceProvisioningServices 0.10.1
* Removed the outdated deps.json file.

#### Az.DevTestLabs 1.0.3
* Removed the outdated deps.json file.

#### Az.DnsResolver 1.0.0
* General availability for module Az.DnsResolver

#### Az.EdgeZones 0.1.1
* Fixed the placeholder in psd1 file.

#### Az.EventGrid 2.0.0
* Updated to use the 2023-06-01-preview API version.

#### Az.EventHub 5.0.0
* Moved cmdlets to V4

#### Az.FirmwareAnalysis 0.1.3
* Fixed the placeholder in psd1 file.

#### Az.Fleet 0.2.1
* Fixed the placeholder in psd1 file.

#### Az.FrontDoor 1.10.1
* Removed the outdated deps.json file.

#### Az.HPCCache 0.1.2
* Removed the outdated deps.json file.

#### Az.IotCentral 0.10.1
* Removed the outdated deps.json file.

#### Az.IotHub 2.7.6
* Removed the outdated deps.json file.

#### Az.KeyVault 6.0.0
* [Breaking change] Removed the offline fallback policy if specify parameter 'UseDefaultCVMPolicy' in 'Add-AzKeyVaultKey'. Key creation will fail if unable to get regional default CVM SKR policy from MAA Service Discovery API.
* [Breaking change] Removed parameter 'Value' from 'Invoke-AzKeyVaultKeyOperation'.
* [Breaking change] Removed property 'Result' from the output type 'PSKeyOperationResult' of 'Invoke-AzKeyVaultKeyOperation'.
* [Breaking Change] Replaced parameter 'EnableRbacAuthorization' by 'DisableRbacAuthorization' in 'New-AzKeyVault' and 'Update-AzKeyVault'.
- RBAC will be enabled by default during the process of key vault creation.

#### Az.KubernetesConfiguration 0.7.2
* Fixed issue that 'New-AzKubernetesExtension' installing Flux fails with error 'Failed to perform resource identity operation' [#22455]

#### Az.MachineLearning 1.1.4
* Removed the outdated deps.json file.

#### Az.MachineLearningServices 1.0.1
* Removed the outdated deps.json file.

#### Az.ManagedNetworkFabric 0.1.2
* Fixed the placeholder in psd1 file.

#### Az.Monitor 5.2.1
* Removed breaking change warning messages for Metric Management Plane
* Get-AzMetric
* Get-AzMetricDefinition
* New-AzMetricFilter

#### Az.Network 7.6.0
* Added cmdlet 'New-AzVirtualApplianceNetworkProfile' to build network profile for network virtual appliance and pass as a parameter.
* Added cmdlet 'New-AzVirtualApplianceNetworkInterfaceConfiguration' and 'New-AzVirtualApplianceIpConfiguration' to build 'New-AzVirtualApplianceNetworkProfile'.
* Added support for ApplicationGatewaySkuFamily
* Updated cmdlet to add the property of JSChallengeCookieExpirationInMins
- 'New-AzApplicationGatewayFirewallPolicySetting'
* Added optional property 'HeaderValueMatcher' to 'New-AzApplicationGatewayRewriteRuleHeaderConfiguration'
* Added new cmdlet 'New-AzApplicationGatewayHeaderValueMatcher' to support for the new property 'HeaderValueMatcher'
* Added new cmdlet 'Update-AzVirtualApplianceInboundSecurityRule' to support Inbound Security Rule for Network Virtual Appliance
* Added new cmdlet 'New-AzVirtualApplianceInboundSecurityRulesProperty' to support for the property 'rules' of Inbound Security Rules
* Added AdminState parameter to Load Balancer Backend Address
- 'New-AzLoadBalancerBackendAddressConfig'
* Updated PS SDK to older SDK removing identity field

#### Az.NetworkFunction 0.1.4
* Changed parsing logic in ATC custom cmdlet

#### Az.OperationalInsights 3.2.1
* Fixed an issue that 'Invoke-AzOperationalInsightsQuery' timed out after 100 seconds. The timeout is now bound to the '-Wait' parameter. (#16553)
* Removed the outdated deps.json file.

#### Az.PrivateDns 1.0.5
* Removed the outdated deps.json file.

#### Az.RecoveryServices 7.0.0
* [Breaking Change] Renamed the property 'ResouceType' of 'ASRVaultSettings' to 'ResourceType'.

#### Az.RedisCache 1.9.1
* Fixed pattern for access policy resource names

#### Az.ResourceGraph 1.0.0
* General availability for module Az.ResourceGraph

#### Az.Resources 7.1.0
* Fixed deployment and deployment stack New/Set cmdlets to fail if template/parameter uri fails to downloads.
* Deployment Stack cmdlets GA release/updates.
* [Breaking Change] Redesigned CRUD cmdlets for 'PolicyAssignment', 'PolicyDefinition', 'PolicyExemption', 'PolicySetDefinition'. Please see Az 12 migration guide https://learn.microsoft.com/en-us/powershell/azure/migrate-az-12.0.0 for more detail.
* Added null check to the permissions object in the ToPSRoleDefinition method to return if the whole permissions object array is null.

#### Az.ServiceBus 4.0.0
* Moved cmdlets to V4.

#### Az.ServiceFabric 3.3.3
* Updated location of nodeType to use cluster location in stead of resource group location

#### Az.Sphere 0.1.1
* Fixed the placeholder in psd1 file.

#### Az.Sql 5.0.0
* Added multi-secondary support for 'Get-AzSqlDatabaseFailoverGroup', 'Remove-AzSqlDatabaseFromFailoverGroup' and 'Add-AzSqlDatabaseFromFailoverGroup'
* Changed default FailoverPolicy value for 'New-AzSqlDatabaseFailoverGroup', 'Set-AzSqlDatabaseFailoverGroup' from 'Automatic' to 'Manual'
* Added 'ManualCutover' and 'PerformCutover' parameters to 'Set-AzSqlInstance' for Azure Sql Sterling database to Azure Sql Hyperscale database
* Added 'OperationPhaseDetails' parameter to 'Get-AzSqlDatabaseActivity' and updated 'DatabaseOperations' Api to version '2022-11-01-preview' for .Net Sdk

#### Az.Ssh 0.2.1
* Removed the outdated deps.json file.

#### Az.StackHCIVM 1.0.4
* Fixed the placeholder in psd1 file.

#### Az.StandbyPool 0.1.1
* Fixed the placeholder in psd1 file.

#### Az.Storage 7.0.0
* Added a prompt that needs confirmation when upgrading a storage account from StorageV1 or BlobStorage to StorageV2. Can be suppressed with -Force.
- 'Set-AzStorageAccount'
* Removed references to 'Microsoft.Azure.Storage.Queue' in Queue cmdlets
- 'Get-AzStorageQueue'
- 'New-AzStorageQueue'
- 'New-AzStorageQueueSASToken'
* When uploading an Azure File with write only SAS token, take the parameter -Path as destination file path, instead of destination directory path previously.
- 'Set-AzStorageFileContent'

#### Az.StorageAction 0.1.0
* First preview release for module Az.StorageAction

#### Az.Support 2.0.0
* Converted Az.Support to autorest-based module.

#### Az.Synapse 3.0.8
* Upgraded 'Microsoft.DataTransfer.Gateway.Encryption' to '5.29.8499.2'

## 11.6.0 - April 2024
#### Az.Accounts 2.19.0
> [!IMPORTANT]
Expand Down
2 changes: 1 addition & 1 deletion tools/Common.Netcore.Dependencies.targets
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.37.0"/>
<PackageReference Include="Azure.Core" Version="1.38.0"/>
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)' != 'true'">
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.18.0">
Expand Down
Loading