Skip to content

Commit

Permalink
Add support for /security/alerts_v2 in v1 (#1909)
Browse files Browse the repository at this point in the history
* Add alerts_v2 to v1

* Resolve alerts conflict in Security module.

* Add generated MgCommandMetadata.json. [run ci]

* Bump version number.
  • Loading branch information
peombwa authored Mar 30, 2023
1 parent b5429f8 commit a9add54
Show file tree
Hide file tree
Showing 46 changed files with 112,401 additions and 108,683 deletions.
2 changes: 1 addition & 1 deletion config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
],
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
"version": "1.24.0"
"version": "1.25.0"
}
10 changes: 5 additions & 5 deletions openApiDocs/beta/Security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ paths:
externalDocs:
description: Find more info here
url: https://docs.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
operationId: security_ListAlerts_v2
operationId: security_ListAlertsGraphVTwo
parameters:
- $ref: '#/components/parameters/top'
- $ref: '#/components/parameters/skip'
Expand Down Expand Up @@ -628,7 +628,7 @@ paths:
tags:
- security.alert
summary: Create new navigation property to alerts_v2 for security
operationId: security_CreateAlerts_v2
operationId: security_CreateAlertsGraphVTwo
requestBody:
description: New navigation property
content:
Expand All @@ -652,7 +652,7 @@ paths:
- security.alert
summary: Get alerts_v2 from security
description: A collection of alerts in Microsoft 365 Defender.
operationId: security_GetAlerts_v2
operationId: security_GetAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand Down Expand Up @@ -729,7 +729,7 @@ paths:
tags:
- security.alert
summary: Update the navigation property alerts_v2 in security
operationId: security_UpdateAlerts_v2
operationId: security_UpdateAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand All @@ -756,7 +756,7 @@ paths:
tags:
- security.alert
summary: Delete navigation property alerts_v2 for security
operationId: security_DeleteAlerts_v2
operationId: security_DeleteAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand Down
12 changes: 6 additions & 6 deletions openApiDocs/v1.0/Security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ paths:
externalDocs:
description: Find more info here
url: https://docs.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
operationId: security_ListAlerts_v2
operationId: security_ListAlertsGraphVTwo
parameters:
- $ref: '#/components/parameters/top'
- $ref: '#/components/parameters/skip'
Expand Down Expand Up @@ -545,7 +545,7 @@ paths:
tags:
- security.alert
summary: Create new navigation property to alerts_v2 for security
operationId: security_CreateAlerts_v2
operationId: security_CreateAlertsGraphVTwo
requestBody:
description: New navigation property
content:
Expand All @@ -569,7 +569,7 @@ paths:
- security.alert
summary: Get alerts_v2 from security
description: A collection of alerts in Microsoft 365 Defender.
operationId: security_GetAlerts_v2
operationId: security_GetAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand Down Expand Up @@ -645,7 +645,7 @@ paths:
tags:
- security.alert
summary: Update the navigation property alerts_v2 in security
operationId: security_UpdateAlerts_v2
operationId: security_UpdateAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand All @@ -672,7 +672,7 @@ paths:
tags:
- security.alert
summary: Delete navigation property alerts_v2 for security
operationId: security_DeleteAlerts_v2
operationId: security_DeleteAlertsGraphVTwo
parameters:
- name: alert-id
in: path
Expand Down Expand Up @@ -23474,4 +23474,4 @@ components:
tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
scopes: { }
security:
- azureaadv2: [ ]
- azureaadv2: [ ]
2 changes: 1 addition & 1 deletion src/Applications/Applications/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ directive:
### Versioning
``` yaml
module-version: 1.24.0
module-version: 1.25.0
release-notes: See https://aka.ms/GraphPowerShell-Release.
```
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = './Microsoft.Graph.Authentication.psm1'

# Version number of this module.
ModuleVersion = '1.24.0'
ModuleVersion = '1.25.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down
Loading

0 comments on commit a9add54

Please sign in to comment.