Skip to content

Commit d1899d9

Browse files
Migrate SecurityInsights from generation to main (#22924)
* Move SecurityInsights to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu <[email protected]>
1 parent ab2ff2d commit d1899d9

File tree

141 files changed

+609
-226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+609
-226
lines changed

src/SecurityInsights/Az.SecurityInsights.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 9/20/2023
6+
# Generated on: 10/10/2023
77
#
88

99
@{
@@ -141,7 +141,7 @@ PrivateData = @{
141141
# IconUri = ''
142142

143143
# ReleaseNotes of this module
144-
ReleaseNotes = '* Fixed parameters'' issues for ''New-AzSentinelAlertRule'' and ''Update-AzSentinelAlertRule'' [#21181][#21217][#22318]'
144+
# ReleaseNotes = ''
145145

146146
# Prerelease string of this module
147147
# Prerelease = ''

src/SecurityInsights/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Removed unnecessary breaking change messages.
2223

2324
## Version 3.1.0
2425
* Fixed parameters' issues for `New-AzSentinelAlertRule` and `Update-AzSentinelAlertRule` [#21181][#21217][#22318]

src/SecurityInsights/README.md

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -342,101 +342,4 @@ directive:
342342
enum-value-name: Equals
343343
set:
344344
enum-value-name: Equal
345-
# breaking change message
346-
- where:
347-
subject: BookmarkRelation
348-
set:
349-
breaking-change:
350-
deprecated-by-version: 4.0.0
351-
deprecated-by-azversion: 11.0.0
352-
change-effective-date: 2023/11/15
353-
- where:
354-
subject: EntityQuery
355-
set:
356-
breaking-change:
357-
deprecated-by-version: 4.0.0
358-
deprecated-by-azversion: 11.0.0
359-
change-effective-date: 2023/11/15
360-
- where:
361-
subject: Setting
362-
set:
363-
breaking-change:
364-
deprecated-by-version: 4.0.0
365-
deprecated-by-azversion: 11.0.0
366-
change-effective-date: 2023/11/15
367-
- where:
368-
verb: Get
369-
subject: Enrichment|Entity|EntityActivity|EntityInsight|EntityQueryTemplate|EntityRelation|EntityTimeline
370-
set:
371-
breaking-change:
372-
deprecated-by-version: 4.0.0
373-
deprecated-by-azversion: 11.0.0
374-
change-effective-date: 2023/11/15
375-
- where:
376-
verb: New
377-
subject: IncidentTeam
378-
set:
379-
breaking-change:
380-
deprecated-by-version: 4.0.0
381-
deprecated-by-azversion: 11.0.0
382-
change-effective-date: 2023/11/15
383-
- where:
384-
parameter-name: Action
385-
set:
386-
breaking-change:
387-
become-mandatory: true
388-
change-description: Action is required.
389-
deprecated-by-version: 4.0.0
390-
deprecated-by-azversion: 11.0.0
391-
change-effective-date: 2023/11/15
392-
- where:
393-
parameter-name: Order
394-
subject: AutomationRule
395-
set:
396-
breaking-change:
397-
become-mandatory: true
398-
change-description: Order is required.
399-
deprecated-by-version: 4.0.0
400-
deprecated-by-azversion: 11.0.0
401-
change-effective-date: 2023/11/15
402-
- where:
403-
parameter-name: DisplayName
404-
subject: AutomationRule
405-
set:
406-
breaking-change:
407-
become-mandatory: true
408-
change-description: DisplayName is required.
409-
deprecated-by-version: 4.0.0
410-
deprecated-by-azversion: 11.0.0
411-
change-effective-date: 2023/11/15
412-
- where:
413-
verb: New
414-
subject: Incident
415-
variant: Create
416-
set:
417-
breaking-change:
418-
change-description: ParameterSet Create will be deprecated.
419-
deprecated-by-version: 4.0.0
420-
deprecated-by-azversion: 11.0.0
421-
change-effective-date: 2023/11/15
422-
- where:
423-
verb: New
424-
subject: AutomationRule
425-
variant: Create
426-
set:
427-
breaking-change:
428-
change-description: ParameterSet Create will be deprecated.
429-
deprecated-by-version: 4.0.0
430-
deprecated-by-azversion: 11.0.0
431-
change-effective-date: 2023/11/15
432-
- where:
433-
verb: New
434-
subject: Bookmark
435-
variant: Create
436-
set:
437-
breaking-change:
438-
change-description: ParameterSet Create will be deprecated.
439-
deprecated-by-version: 4.0.0
440-
deprecated-by-azversion: 11.0.0
441-
change-effective-date: 2023/11/15
442345
```

src/SecurityInsights/SecurityInsights.sln

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{D192AA4A-E37B-4F8D-A071-4DA100FC4FCF}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{D4040DED-93F9-4689-ABE2-26CD7CDD52FD}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{3C350677-1B17-44C3-87C9-04AA0BEEBF44}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{742D080F-9B11-4B81-9DB0-C6AF5297692F}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{F2EF809D-66DF-4869-A679-40C714667376}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{08BDD742-3D18-4C0E-A092-AE5976502021}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{1FFBFDBE-6166-45CD-A729-874B98B0D7D6}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{5AF97D2F-4347-4F42-B27B-497BD2B1460F}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{20792480-64B7-4708-B7F6-9E375FA85BA0}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{7EE4EEE0-52CF-492D-A247-E4C18DE46426}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{553139FF-9CA2-4374-9107-862107F89993}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{4FE85DEE-D04B-47E8-B34A-0D10CB742164}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.SecurityInsights", "Az.SecurityInsights.csproj", "{3FCC12DB-E839-4AFC-8942-317EB7F2EEC5}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.SecurityInsights", "Az.SecurityInsights.csproj", "{01B661B3-9A61-48D5-A13C-DA3DCF2D5A9A}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{D192AA4A-E37B-4F8D-A071-4DA100FC4FCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{D192AA4A-E37B-4F8D-A071-4DA100FC4FCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{D192AA4A-E37B-4F8D-A071-4DA100FC4FCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{D192AA4A-E37B-4F8D-A071-4DA100FC4FCF}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{3C350677-1B17-44C3-87C9-04AA0BEEBF44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{3C350677-1B17-44C3-87C9-04AA0BEEBF44}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{3C350677-1B17-44C3-87C9-04AA0BEEBF44}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{3C350677-1B17-44C3-87C9-04AA0BEEBF44}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{F2EF809D-66DF-4869-A679-40C714667376}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{F2EF809D-66DF-4869-A679-40C714667376}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{F2EF809D-66DF-4869-A679-40C714667376}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{F2EF809D-66DF-4869-A679-40C714667376}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{1FFBFDBE-6166-45CD-A729-874B98B0D7D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{1FFBFDBE-6166-45CD-A729-874B98B0D7D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{1FFBFDBE-6166-45CD-A729-874B98B0D7D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{1FFBFDBE-6166-45CD-A729-874B98B0D7D6}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{20792480-64B7-4708-B7F6-9E375FA85BA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{20792480-64B7-4708-B7F6-9E375FA85BA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{20792480-64B7-4708-B7F6-9E375FA85BA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{20792480-64B7-4708-B7F6-9E375FA85BA0}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{553139FF-9CA2-4374-9107-862107F89993}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{553139FF-9CA2-4374-9107-862107F89993}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{553139FF-9CA2-4374-9107-862107F89993}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{553139FF-9CA2-4374-9107-862107F89993}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{3FCC12DB-E839-4AFC-8942-317EB7F2EEC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{3FCC12DB-E839-4AFC-8942-317EB7F2EEC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{3FCC12DB-E839-4AFC-8942-317EB7F2EEC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{3FCC12DB-E839-4AFC-8942-317EB7F2EEC5}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{D4040DED-93F9-4689-ABE2-26CD7CDD52FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{D4040DED-93F9-4689-ABE2-26CD7CDD52FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{D4040DED-93F9-4689-ABE2-26CD7CDD52FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{D4040DED-93F9-4689-ABE2-26CD7CDD52FD}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{742D080F-9B11-4B81-9DB0-C6AF5297692F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{742D080F-9B11-4B81-9DB0-C6AF5297692F}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{742D080F-9B11-4B81-9DB0-C6AF5297692F}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{742D080F-9B11-4B81-9DB0-C6AF5297692F}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{08BDD742-3D18-4C0E-A092-AE5976502021}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{08BDD742-3D18-4C0E-A092-AE5976502021}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{08BDD742-3D18-4C0E-A092-AE5976502021}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{08BDD742-3D18-4C0E-A092-AE5976502021}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{5AF97D2F-4347-4F42-B27B-497BD2B1460F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{5AF97D2F-4347-4F42-B27B-497BD2B1460F}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{5AF97D2F-4347-4F42-B27B-497BD2B1460F}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{5AF97D2F-4347-4F42-B27B-497BD2B1460F}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{7EE4EEE0-52CF-492D-A247-E4C18DE46426}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{7EE4EEE0-52CF-492D-A247-E4C18DE46426}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{7EE4EEE0-52CF-492D-A247-E4C18DE46426}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{7EE4EEE0-52CF-492D-A247-E4C18DE46426}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{4FE85DEE-D04B-47E8-B34A-0D10CB742164}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{4FE85DEE-D04B-47E8-B34A-0D10CB742164}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{4FE85DEE-D04B-47E8-B34A-0D10CB742164}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{4FE85DEE-D04B-47E8-B34A-0D10CB742164}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{01B661B3-9A61-48D5-A13C-DA3DCF2D5A9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{01B661B3-9A61-48D5-A13C-DA3DCF2D5A9A}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{01B661B3-9A61-48D5-A13C-DA3DCF2D5A9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{01B661B3-9A61-48D5-A13C-DA3DCF2D5A9A}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/SecurityInsights/custom/New-AzSentinelAlertRule.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Creates the alert rule.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/new-azsentinelalertrule
2424
#>
2525
function New-AzSentinelAlertRule {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15", ChangeDescription="Parameters of NRT set will be deprecated.")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AlertRule])]
2827
[CmdletBinding(DefaultParameterSetName = 'FusionMLTI', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

src/SecurityInsights/custom/New-AzSentinelDataConnector.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Creates or updates the data connector.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/new-azsentineldataconnector
2424
#>
2525
function New-AzSentinelDataConnector {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15", ChangeDescription="ParameterSets AmazonWebServicesS3, Dynamics365, MicrosoftThreatIntelligence, MicrosoftThreatProtection, OfficeATP, OfficeIRM, ThreatIntelligenceTaxii will be deprecated.")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnector])]
2827
[CmdletBinding(DefaultParameterSetName = 'AADAATP', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

src/SecurityInsights/custom/New-AzSentinelEntityQuery.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Creates or updates the entity query.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/new-azsentinelentityquery
2424
#>
2525
function New-AzSentinelEntityQuery {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.CustomEntityQuery])]
2827
[CmdletBinding(DefaultParameterSetName = 'Activity', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

src/SecurityInsights/custom/Test-AzSentinelDataConnectorCheckRequirement.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Get requirements state for a data connector type.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/test-azsentineldataconnectorcheckrequirement
2424
#>
2525
function Test-AzSentinelDataConnectorCheckRequirement {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnectorsCheckRequirements])]
2827
[CmdletBinding(DefaultParameterSetName = 'AADTenant', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

src/SecurityInsights/custom/Update-AzSentinelAlertRule.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Updates the alert rule.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/Update-azsentinelalertrule
2424
#>
2525
function Update-AzSentinelAlertRule {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15", ChangeDescription="Parameters of NRT set will be deprecated.")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AlertRule])]
2827
[CmdletBinding(DefaultParameterSetName = 'UpdateScheduled', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

src/SecurityInsights/custom/Update-AzSentinelDataConnector.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Updates the data connector.
2323
https://learn.microsoft.com/powershell/module/az.securityinsights/update-azsentineldataconnector
2424
#>
2525
function Update-AzSentinelDataConnector {
26-
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.CmdletBreakingChange("11.0.0", "4.0.0", "2023/11/15", ChangeDescription="ParameterSets AmazonWebServicesS3, Dynamics365, MicrosoftThreatIntelligence, MicrosoftThreatProtection, OfficeATP, OfficeIRM, ThreatIntelligenceTaxii will be deprecated.")]
2726
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnector])]
2827
[CmdletBinding(DefaultParameterSetName = 'UpdateAADAATP', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2928
param(

0 commit comments

Comments
 (0)