Templates
A template is a predefined set of WAF configurations that can be applied to an application. Assigning a template automatically configures the application with its settings, making it easy to standardize settings across multiple applications.
FortiAppSec Cloud provides the following predefined templates which contain the most commonly used WAF configurations for different scenarios:
- StandardProtection
- SharePoint
- Drupal
- Exchange
- ExtendedProtection
- Wordpress
The WAF configurations in these predefined templates are un-editable. If you want to create an variation of the pre-defined template, click the Clone icon in the predefined template row to create a new template based on it.
|
|
When an application's API Gateway module starts or stops inheriting settings from a template, the system automatically regenerates API keys for all users within that module. This ensures that the new keys are unique and independent from those defined in the source template. Inheritance can stop in the following cases:
Important:To prevent service disruptions, replace all existing API keys with the newly generated ones wherever they are in use. |
To create a template:
- Go to WAF > Templates.
- Click Create Template. Or click the Clone icon in the row of an existing template to create a new template which inherits the configurations of the selected template.
- Enter a name for this template.
- Select the application(s) to be applied with this template.
You can skip this step, then go back selecting applications after you have finished configuring WAF settings for this template. - Click OK. The template will be created.
To configure WAF settings for a template:
- Go to WAF > Templates. Click the name of the template.
- Configure WAF settings for this template. Click Add Modules to display WAF features in the left side menu. See WAF modules for more information on each WAF feature.
- After all the settings are done, click SAVE at the bottom right of the page to save the settings.
If you change the settings in a template, the changes will be applied to all the applications associated with this template.
To apply a template to application(s):
|
|
To manage an application's template settings, the following permission levels apply: Read Only: Allows viewing the application list and dashboard. Read & Write: Allows creating, deleting, or modifying applications and modules. Ensure your account has the appropriate access level to perform the actions you need. |
- Go to WAF > Templates.
- Find the template you want to use, then click the Edit icon
in this row. - Select the application(s) to be applied with the template, then click the right arrow to move them to the right column.
- Click OK.
The configurations in the template will overwrite the existing configurations of the selected applications.
If certain configurations in the template do not fit the application, you can select the application in WAF > Applications, and disable Inherit Template on the specific WAF module page, then edit configurations for the module. The configurations edited in an application apply only to this application.