create_waf_profile
Creates a Web Application Firewall profile in FortiManager with default nested sections, enabling you to establish a baseline WAF profile for later tuning via GUI or CLI.
Instructions
Create a WAF (Web Application Firewall) profile.
The profile is created with FortiManager/FortiOS defaults for its nested signature/constraint/method/url-access sections. Fine-grained control of those sections is out of scope for this tool; adjust them via the FortiManager GUI/CLI or a follow-up tool once this profile exists.
Args: adom: ADOM name name: Profile name comment: Optional comment external: Enable/disable external HTTP inspection ("enable" or "disable") extended_log: Enable/disable extended logging ("enable" or "disable")
Returns: dict: Create result with keys: - status: "success" or "error" - name: Created profile name - message: Status or error message
Example: >>> result = await create_waf_profile( ... adom="root", ... name="Custom-WAF", ... extended_log="enable", ... comment="Baseline WAF profile", ... )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| name | Yes | ||
| comment | No | ||
| external | No | ||
| extended_log | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||