Fortinet Document Library

Version:


Table of Contents

New Features

6.2.0
Download PDF
Copy Link

Action - AliCloud Function

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

To configure an AliCloud function automation stitch in the GUI:
  1. Go to Security Fabric > Automation.
  2. Select AliCloud Function and configure its settings.

  3. Click OK.
To configure an AliCloud function automation stitch in the CLI:
config system automation-action
    edit "Ali-Action-1"
        set action-type alicloud-function
        set alicloud-account-id "5594200612296301"
        set alicloud-region "us-east-1"
        set alicloud-version "2016-08-15"
        set alicloud-service "jlum-test-function"
        set alicloud-function "echoBodyAuth"
        set alicloud-function-authorization function
        set alicloud-access-key-id "LTAIKmERWEuEOChg"
        set alicloud-access-key-secret xxxxxx
    next
end

config system automation-trigger
    edit "auto-ali"
        set event-type security-rating-summary
    next
end

config system automation-stitch
    edit "auto-ali"
        set trigger "auto-ali"
        set action "Ali-Action-1"
    next
end

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

In AliCloud, the function log shows that the function was called, executed, and finished.

Action - AliCloud Function

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

To configure an AliCloud function automation stitch in the GUI:
  1. Go to Security Fabric > Automation.
  2. Select AliCloud Function and configure its settings.

  3. Click OK.
To configure an AliCloud function automation stitch in the CLI:
config system automation-action
    edit "Ali-Action-1"
        set action-type alicloud-function
        set alicloud-account-id "5594200612296301"
        set alicloud-region "us-east-1"
        set alicloud-version "2016-08-15"
        set alicloud-service "jlum-test-function"
        set alicloud-function "echoBodyAuth"
        set alicloud-function-authorization function
        set alicloud-access-key-id "LTAIKmERWEuEOChg"
        set alicloud-access-key-secret xxxxxx
    next
end

config system automation-trigger
    edit "auto-ali"
        set event-type security-rating-summary
    next
end

config system automation-stitch
    edit "auto-ali"
        set trigger "auto-ali"
        set action "Ali-Action-1"
    next
end

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

In AliCloud, the function log shows that the function was called, executed, and finished.