create_antivirus_profile
Creates an antivirus profile in FortiManager to configure virus scanning settings, scan mode, and logging for firewall policy enforcement.
Instructions
Create an antivirus profile.
Args: adom: ADOM name name: Profile name comment: Optional comment feature_set: Flow/proxy feature set - "proxy" or "flow" (optional) scan_mode: Scan mode - "default" or "legacy" (optional) av_virus_log: Enable/disable AntiVirus logging - "enable" or "disable" (optional)
Returns: dict: Create result with keys: - status: "success" or "error" - name: Created profile name - message: Status or error message
Example: >>> result = await create_antivirus_profile( ... adom="root", ... name="strict-av", ... feature_set="flow", ... av_virus_log="enable", ... )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| name | Yes | ||
| comment | No | ||
| scan_mode | No | ||
| feature_set | No | ||
| av_virus_log | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||