Fortinet black logo

New Features

Action - Azure Function

Action - Azure Function

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

To configure an Azure function using the GUI:
  1. Go to Security Fabric > Automation.
  2. Configure an Automation Stitch and set the Action to Azure-function.

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

To configure an Azure function using the CLI:
config system automation-action
    edit "azure_function"
        set action-type azure-function
        set azure-app "liang01-no-delete-jlum"
        set azure-function "headersResponse"
        set azure-function-authorization function
        set azure-api-key xxxxxx
        set headers "header1:value1" "header2:value2"
    next
end
config system automation-trigger
    edit "auto-azure"
        set event-type security-rating-summary
    next
end
config system automation-stitch
    edit "auto-azure"
        set trigger "auto-azure"
        set action "azure_function"
    next
end
To see the function log in Azure:
  1. The function log shows that the configured function was called, executed, and finished.

Action - Azure Function

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

To configure an Azure function using the GUI:
  1. Go to Security Fabric > Automation.
  2. Configure an Automation Stitch and set the Action to Azure-function.

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

To configure an Azure function using the CLI:
config system automation-action
    edit "azure_function"
        set action-type azure-function
        set azure-app "liang01-no-delete-jlum"
        set azure-function "headersResponse"
        set azure-function-authorization function
        set azure-api-key xxxxxx
        set headers "header1:value1" "header2:value2"
    next
end
config system automation-trigger
    edit "auto-azure"
        set event-type security-rating-summary
    next
end
config system automation-stitch
    edit "auto-azure"
        set trigger "auto-azure"
        set action "azure_function"
    next
end
To see the function log in Azure:
  1. The function log shows that the configured function was called, executed, and finished.