Fortinet Document Library

Version:


Table of Contents

New Features

6.2.0
Download PDF
Copy Link

Action - Google Cloud Function

This feature adds support for calling Google Cloud functions when an automation stitch is triggered.

To configure a Google Cloud function using the GUI:
  1. Go to Security Fabric > Automation.
  2. Configure an Automation Stitch and set the Action to Google Cloud Function.

    When the automation stitch is triggered, FortiGate shows the stitch trigger time.

To configure a Google Cloud function using the CLI:
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
To see the function log in Google Cloud using the GUI:
  1. Go to Google Cloud Platform > Logs.

    The function log shows that the configured function was called, executed, and finished.

Action - Google Cloud Function

This feature adds support for calling Google Cloud functions when an automation stitch is triggered.

To configure a Google Cloud function using the GUI:
  1. Go to Security Fabric > Automation.
  2. Configure an Automation Stitch and set the Action to Google Cloud Function.

    When the automation stitch is triggered, FortiGate shows the stitch trigger time.

To configure a Google Cloud function using the CLI:
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
To see the function log in Google Cloud using the GUI:
  1. Go to Google Cloud Platform > Logs.

    The function log shows that the configured function was called, executed, and finished.