File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Modules/CIPPCore/Public/Entrypoints Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11using namespace System.Net
22
3- Function Invoke-ExecBreachSearch {
3+ function Invoke-ExecBreachSearch {
44 <#
55 . FUNCTIONALITY
66 Entrypoint
@@ -15,13 +15,13 @@ Function Invoke-ExecBreachSearch {
1515 Write-LogMessage - headers $Headers - API $APIName - message ' Accessed this API' - Sev ' Debug'
1616
1717 # Interact with query parameters or the body of the request.
18- $TenantFilter = $Request.query .tenantFilter
18+ $TenantFilter = $Request.body .tenantFilter
1919
2020 # Move to background job
2121 New-BreachTenantSearch - TenantFilter $TenantFilter
2222 Push-OutputBinding - Name Response - Value ([HttpResponseContext ]@ {
2323 StatusCode = [HttpStatusCode ]::OK
24- Body = @ { Results = " Executing Search for $TenantFilter " }
24+ Body = @ { Results = " Executing Search for $TenantFilter . This may take up to 24 hours to complete. " }
2525 })
2626
2727}
You can’t perform that action at this time.
0 commit comments