Skip to content

Commit

Permalink
resource adding back
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Dec 29, 2023
1 parent fb195d5 commit 360a56a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/CIPPCore/Public/New-CIPPGraphSubscription.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function New-CIPPGraphSubscription {
$EventTypes = @('Audit.AzureActiveDirectory', 'Audit.Exchange', 'Audit.SharePoint', 'Audit.General,DLP.All')
foreach ($EventType in $EventTypes) {
$CIPPID = (New-Guid).GUID
$Resource = $EventType
$AuditLogParams = @{
webhook = @{
'address' = "$BaseURL/API/Publicwebhooks?EventType=$EventType&CIPPID=$CIPPID"
Expand Down

0 comments on commit 360a56a

Please sign in to comment.