Skip to content

Commit a9add54

Browse files
authored
Add support for /security/alerts_v2 in v1 (#1909)
* Add alerts_v2 to v1 * Resolve alerts conflict in Security module. * Add generated MgCommandMetadata.json. [run ci] * Bump version number.
1 parent b5429f8 commit a9add54

File tree

46 files changed

+112401
-108683
lines changed

Some content is hidden

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

46 files changed

+112401
-108683
lines changed

config/ModuleMetadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
],
2626
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
2727
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
28-
"version": "1.24.0"
28+
"version": "1.25.0"
2929
}

openApiDocs/beta/Security.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ paths:
484484
externalDocs:
485485
description: Find more info here
486486
url: https://docs.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
487-
operationId: security_ListAlerts_v2
487+
operationId: security_ListAlertsGraphVTwo
488488
parameters:
489489
- $ref: '#/components/parameters/top'
490490
- $ref: '#/components/parameters/skip'
@@ -628,7 +628,7 @@ paths:
628628
tags:
629629
- security.alert
630630
summary: Create new navigation property to alerts_v2 for security
631-
operationId: security_CreateAlerts_v2
631+
operationId: security_CreateAlertsGraphVTwo
632632
requestBody:
633633
description: New navigation property
634634
content:
@@ -652,7 +652,7 @@ paths:
652652
- security.alert
653653
summary: Get alerts_v2 from security
654654
description: A collection of alerts in Microsoft 365 Defender.
655-
operationId: security_GetAlerts_v2
655+
operationId: security_GetAlertsGraphVTwo
656656
parameters:
657657
- name: alert-id
658658
in: path
@@ -729,7 +729,7 @@ paths:
729729
tags:
730730
- security.alert
731731
summary: Update the navigation property alerts_v2 in security
732-
operationId: security_UpdateAlerts_v2
732+
operationId: security_UpdateAlertsGraphVTwo
733733
parameters:
734734
- name: alert-id
735735
in: path
@@ -756,7 +756,7 @@ paths:
756756
tags:
757757
- security.alert
758758
summary: Delete navigation property alerts_v2 for security
759-
operationId: security_DeleteAlerts_v2
759+
operationId: security_DeleteAlertsGraphVTwo
760760
parameters:
761761
- name: alert-id
762762
in: path

openApiDocs/v1.0/Security.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ paths:
404404
externalDocs:
405405
description: Find more info here
406406
url: https://docs.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
407-
operationId: security_ListAlerts_v2
407+
operationId: security_ListAlertsGraphVTwo
408408
parameters:
409409
- $ref: '#/components/parameters/top'
410410
- $ref: '#/components/parameters/skip'
@@ -545,7 +545,7 @@ paths:
545545
tags:
546546
- security.alert
547547
summary: Create new navigation property to alerts_v2 for security
548-
operationId: security_CreateAlerts_v2
548+
operationId: security_CreateAlertsGraphVTwo
549549
requestBody:
550550
description: New navigation property
551551
content:
@@ -569,7 +569,7 @@ paths:
569569
- security.alert
570570
summary: Get alerts_v2 from security
571571
description: A collection of alerts in Microsoft 365 Defender.
572-
operationId: security_GetAlerts_v2
572+
operationId: security_GetAlertsGraphVTwo
573573
parameters:
574574
- name: alert-id
575575
in: path
@@ -645,7 +645,7 @@ paths:
645645
tags:
646646
- security.alert
647647
summary: Update the navigation property alerts_v2 in security
648-
operationId: security_UpdateAlerts_v2
648+
operationId: security_UpdateAlertsGraphVTwo
649649
parameters:
650650
- name: alert-id
651651
in: path
@@ -672,7 +672,7 @@ paths:
672672
tags:
673673
- security.alert
674674
summary: Delete navigation property alerts_v2 for security
675-
operationId: security_DeleteAlerts_v2
675+
operationId: security_DeleteAlertsGraphVTwo
676676
parameters:
677677
- name: alert-id
678678
in: path
@@ -23474,4 +23474,4 @@ components:
2347423474
tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
2347523475
scopes: { }
2347623476
security:
23477-
- azureaadv2: [ ]
23477+
- azureaadv2: [ ]

src/Applications/Applications/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ directive:
7878
### Versioning
7979
8080
``` yaml
81-
module-version: 1.24.0
81+
module-version: 1.25.0
8282
release-notes: See https://aka.ms/GraphPowerShell-Release.
8383
```

src/Authentication/Authentication/Microsoft.Graph.Authentication.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = './Microsoft.Graph.Authentication.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.24.0'
15+
ModuleVersion = '1.25.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'

0 commit comments

Comments
 (0)