Skip to content

Commit

Permalink
public phising check change to only alert when receiving request from…
Browse files Browse the repository at this point in the history
… clone.cipp.app
  • Loading branch information
KelvinTegelaar committed Aug 9, 2024
1 parent e42b314 commit a8bd43f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
30 changes: 5 additions & 25 deletions Modules/CIPPCore/Public/Entrypoints/Invoke-PublicPhishingCheck.ps1

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Modules/CippEntrypoints/CippEntrypoints.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function Receive-CippHttpTrigger {
$Request,
$TriggerMetadata
)
Write-Host "Request: $($Request | ConvertTo-Json -Depth 100 -Compress)"
# Convert the request to a PSCustomObject because the httpContext is case sensitive since 7.3
$Request = $Request | ConvertTo-Json -Depth 100 | ConvertFrom-Json
Set-Location (Get-Item $PSScriptRoot).Parent.Parent.FullName
Expand Down

0 comments on commit a8bd43f

Please sign in to comment.