This feature adds support for calling Google Cloud functions when an automation stitch is triggered.
- Go to Security Fabric > Automation.
- Configure an Automation Stitch and set the Action to Google Cloud Function.
When the automation stitch is triggered, FortiGate shows the stitch trigger time.
config system automation-action edit "google-echo" set action-type google-cloud-function set gcp-function-region "us-central1" set gcp-project "dev-project-001-166400" set gcp-function-domain "cloudfunctions.net" set gcp-function "jlum-echo" set headers "echo-header:echo-value" next end config system automation-trigger edit "auto-google1" set event-type security-rating-summary next end config system automation-stitch edit "auto-google1" set trigger "auto-google1" set action "google-echo" next end
- Go to Google Cloud Platform > Logs.
The function log shows that the configured function was called, executed, and finished.