Skip to content

Send FalconWebhook

bk-cs edited this page Apr 28, 2023 · 18 revisions

Send-FalconWebhook

SYNOPSIS

Send a PSFalcon object to a supported Webhook

DESCRIPTION

Sends an object to a Webhook, converting the object to an acceptable format when required

PARAMETERS

Name Type Description Min Max Allowed Pipeline PipelineByName
Type String Webhook type Slack
Path Uri Webhook URL
Label String Message label
Object Object Response object to format X

SYNTAX

Send-FalconWebhook [-Type] <String> [-Path] <Uri> [[-Label] <String>] [-Object] <Object> [<CommonParameters>]

USAGE

Send objects to Slack

Any [PSCustomObject] can be sent to a Slack webhook.

Get-FalconHost -Limit 1 -Detailed | Send-FalconWebhook -Type Slack -Uri https://hooks.slack.com/services/... 
$Object = [PSCustomObject]@{ Example = 'my_string' }
Send-FalconWebhook -Type Slack -Uri https://hooks.slack.com/services/... -Object $Object

2023-04-25: PSFalcon v2.2.5

Clone this wiki locally