Skip to content

Commit 6a49fa6

Browse files
Migrate SecurityInsights from generation to main (#22662)
* Move SecurityInsights to main * changelog for breaking change message --------- Co-authored-by: JoyerJin <[email protected]>
1 parent 6b649c1 commit 6a49fa6

File tree

76 files changed

+255
-97
lines changed

Some content is hidden

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

76 files changed

+255
-97
lines changed

src/SecurityInsights/Az.SecurityInsights.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 6/25/2023
6+
# Generated on: 8/28/2023
77
#
88

99
@{

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+
* Added breaking change message for `Az.SecurityInsights`.
2223

2324
## Version 3.0.1
2425
* Fixed for `Update-AzSentinelAlertRule` fails when using `-TriggerThreshold 0` [#20417]

src/SecurityInsights/README.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,4 +342,101 @@ 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
345442
```

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", "{DE19DEE2-6DBA-4A7C-A373-0450A257A434}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{01B5100F-D904-494E-A1F1-4DD7C8C1324A}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{D6138496-0188-4ADA-9D07-0E36C606E10E}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{B37C0D97-969B-409A-B708-D71E3EEBF2C5}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{ACCBC74D-720B-4472-9BDF-75D41655624D}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{384B3059-A5ED-4594-9FF4-015674C6F3F4}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{121EC723-7F45-4FEB-89AA-3FA6B0483818}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{93E95C0E-C1A4-4494-A0FA-5429A7DF30DC}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{E636510E-D8FB-4B8F-8D3E-558EC5A613F3}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{079C4B44-6179-4586-A15D-0A9F3A00907C}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{D4611E73-F26B-42F5-BC1E-C69489D9D6B8}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{EBE142FA-D5AE-4EA7-AC89-6EA38C75250E}"
1717
EndProject
18-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.SecurityInsights", "Az.SecurityInsights.csproj", "{CFEC1A84-CB21-456A-AA99-64F85B4297DA}"
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.SecurityInsights", "Az.SecurityInsights.csproj", "{C1143F0C-1FBE-46A6-861D-30999CA4BED6}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -26,33 +26,33 @@ Global
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
2828
GlobalSection(ProjectConfigurationPlatforms) = postSolution
29-
{DE19DEE2-6DBA-4A7C-A373-0450A257A434}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{DE19DEE2-6DBA-4A7C-A373-0450A257A434}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{DE19DEE2-6DBA-4A7C-A373-0450A257A434}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{DE19DEE2-6DBA-4A7C-A373-0450A257A434}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{D6138496-0188-4ADA-9D07-0E36C606E10E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{D6138496-0188-4ADA-9D07-0E36C606E10E}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{D6138496-0188-4ADA-9D07-0E36C606E10E}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{D6138496-0188-4ADA-9D07-0E36C606E10E}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{ACCBC74D-720B-4472-9BDF-75D41655624D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{ACCBC74D-720B-4472-9BDF-75D41655624D}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{ACCBC74D-720B-4472-9BDF-75D41655624D}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{ACCBC74D-720B-4472-9BDF-75D41655624D}.Release|Any CPU.Build.0 = Release|Any CPU
41-
{121EC723-7F45-4FEB-89AA-3FA6B0483818}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42-
{121EC723-7F45-4FEB-89AA-3FA6B0483818}.Debug|Any CPU.Build.0 = Debug|Any CPU
43-
{121EC723-7F45-4FEB-89AA-3FA6B0483818}.Release|Any CPU.ActiveCfg = Release|Any CPU
44-
{121EC723-7F45-4FEB-89AA-3FA6B0483818}.Release|Any CPU.Build.0 = Release|Any CPU
45-
{E636510E-D8FB-4B8F-8D3E-558EC5A613F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46-
{E636510E-D8FB-4B8F-8D3E-558EC5A613F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
47-
{E636510E-D8FB-4B8F-8D3E-558EC5A613F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
48-
{E636510E-D8FB-4B8F-8D3E-558EC5A613F3}.Release|Any CPU.Build.0 = Release|Any CPU
49-
{D4611E73-F26B-42F5-BC1E-C69489D9D6B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50-
{D4611E73-F26B-42F5-BC1E-C69489D9D6B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
51-
{D4611E73-F26B-42F5-BC1E-C69489D9D6B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
52-
{D4611E73-F26B-42F5-BC1E-C69489D9D6B8}.Release|Any CPU.Build.0 = Release|Any CPU
53-
{CFEC1A84-CB21-456A-AA99-64F85B4297DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54-
{CFEC1A84-CB21-456A-AA99-64F85B4297DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
55-
{CFEC1A84-CB21-456A-AA99-64F85B4297DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
56-
{CFEC1A84-CB21-456A-AA99-64F85B4297DA}.Release|Any CPU.Build.0 = Release|Any CPU
29+
{01B5100F-D904-494E-A1F1-4DD7C8C1324A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{01B5100F-D904-494E-A1F1-4DD7C8C1324A}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{01B5100F-D904-494E-A1F1-4DD7C8C1324A}.Release|Any CPU.ActiveCfg = Release|Any CPU
32+
{01B5100F-D904-494E-A1F1-4DD7C8C1324A}.Release|Any CPU.Build.0 = Release|Any CPU
33+
{B37C0D97-969B-409A-B708-D71E3EEBF2C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34+
{B37C0D97-969B-409A-B708-D71E3EEBF2C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
35+
{B37C0D97-969B-409A-B708-D71E3EEBF2C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
36+
{B37C0D97-969B-409A-B708-D71E3EEBF2C5}.Release|Any CPU.Build.0 = Release|Any CPU
37+
{384B3059-A5ED-4594-9FF4-015674C6F3F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38+
{384B3059-A5ED-4594-9FF4-015674C6F3F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
39+
{384B3059-A5ED-4594-9FF4-015674C6F3F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
40+
{384B3059-A5ED-4594-9FF4-015674C6F3F4}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{93E95C0E-C1A4-4494-A0FA-5429A7DF30DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{93E95C0E-C1A4-4494-A0FA-5429A7DF30DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{93E95C0E-C1A4-4494-A0FA-5429A7DF30DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{93E95C0E-C1A4-4494-A0FA-5429A7DF30DC}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{079C4B44-6179-4586-A15D-0A9F3A00907C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{079C4B44-6179-4586-A15D-0A9F3A00907C}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{079C4B44-6179-4586-A15D-0A9F3A00907C}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{079C4B44-6179-4586-A15D-0A9F3A00907C}.Release|Any CPU.Build.0 = Release|Any CPU
49+
{EBE142FA-D5AE-4EA7-AC89-6EA38C75250E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
50+
{EBE142FA-D5AE-4EA7-AC89-6EA38C75250E}.Debug|Any CPU.Build.0 = Debug|Any CPU
51+
{EBE142FA-D5AE-4EA7-AC89-6EA38C75250E}.Release|Any CPU.ActiveCfg = Release|Any CPU
52+
{EBE142FA-D5AE-4EA7-AC89-6EA38C75250E}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{C1143F0C-1FBE-46A6-861D-30999CA4BED6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{C1143F0C-1FBE-46A6-861D-30999CA4BED6}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{C1143F0C-1FBE-46A6-861D-30999CA4BED6}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{C1143F0C-1FBE-46A6-861D-30999CA4BED6}.Release|Any CPU.Build.0 = Release|Any CPU
5757
EndGlobalSection
5858
EndGlobal

src/SecurityInsights/custom/New-AzSentinelAlertRule.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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.")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AlertRule])]
2728
[CmdletBinding(DefaultParameterSetName = 'FusionMLTI', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(
@@ -65,7 +66,7 @@ function New-AzSentinelAlertRule {
6566
[Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Category('Body')]
6667
[System.String]
6768
${AlertRuleTemplate},
68-
69+
6970
[Parameter(ParameterSetName = 'MicrosoftSecurityIncidentCreation')]
7071
[Parameter(ParameterSetName = 'NRT')]
7172
[Parameter(ParameterSetName = 'Scheduled')]

src/SecurityInsights/custom/New-AzSentinelDataConnector.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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.")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnector])]
2728
[CmdletBinding(DefaultParameterSetName = 'AADAATP', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(

src/SecurityInsights/custom/New-AzSentinelEntityQuery.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.CustomEntityQuery])]
2728
[CmdletBinding(DefaultParameterSetName = 'Activity', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(

src/SecurityInsights/custom/Test-AzSentinelDataConnectorCheckRequirement.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnectorsCheckRequirements])]
2728
[CmdletBinding(DefaultParameterSetName = 'AADTenant', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(

src/SecurityInsights/custom/Update-AzSentinelAlertRule.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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.")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AlertRule])]
2728
[CmdletBinding(DefaultParameterSetName = 'UpdateScheduled', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(

src/SecurityInsights/custom/Update-AzSentinelDataConnector.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ 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.")]
2627
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.DataConnector])]
2728
[CmdletBinding(DefaultParameterSetName = 'UpdateAADAATP', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2829
param(

0 commit comments

Comments
 (0)