Fortinet white logo
Fortinet white logo

CLI Reference

system automation-stitch

system automation-stitch

Use this command to configure the stitch in the Automation feature.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

config system automation-stitch
  edit <stitch_name>
    set status {disable | enable}
    set action_interval <int>
    set comments <string>
    set trigger <trigger_name>
    config  actions
      edit "email"
        set type email
        set email-name <string>
        set delay 1
      next
      edit "script"
        set type script
        set script-name <string>
        set delay 0
      next
    end
  next
end
Variable Description Default

status {enable | disable}

Select whether to enable or disable this stitch. disable

action_interval <int>

Specify the interval time to execute each action. 3 (seconds)

comments <string>

Enter a description for the stitch. No default.

trigger <trigger_name>

The name of the trigger you have defined by config system automation-trigger.

No default.

email-name <string>

The name of the email action you have defined by config system automation-email.

No default.

script-name <string>

The name of the script action you have defined by config system automation-script.

No default.

Related topics

system automation-stitch

system automation-stitch

Use this command to configure the stitch in the Automation feature.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

config system automation-stitch
  edit <stitch_name>
    set status {disable | enable}
    set action_interval <int>
    set comments <string>
    set trigger <trigger_name>
    config  actions
      edit "email"
        set type email
        set email-name <string>
        set delay 1
      next
      edit "script"
        set type script
        set script-name <string>
        set delay 0
      next
    end
  next
end
Variable Description Default

status {enable | disable}

Select whether to enable or disable this stitch. disable

action_interval <int>

Specify the interval time to execute each action. 3 (seconds)

comments <string>

Enter a description for the stitch. No default.

trigger <trigger_name>

The name of the trigger you have defined by config system automation-trigger.

No default.

email-name <string>

The name of the email action you have defined by config system automation-email.

No default.

script-name <string>

The name of the script action you have defined by config system automation-script.

No default.

Related topics