Create address object (safe)
fortigate_create_addressCreate a firewall address object on FortiGate with dry-run safety to test changes before applying.
Instructions
Safely create a firewall address object. Defaults to dry_run=true. To apply, set FORTIGATE_ENABLE_WRITE=true and pass confirm exactly as the configured confirmation phrase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New address object name | |
| type | No | Address type. Defaults to ipmask. | |
| subnet | No | Subnet for ipmask type, e.g. '192.0.2.10 255.255.255.255' | |
| fqdn | No | FQDN for fqdn type, e.g. 'example.com' | |
| comment | No | Optional FortiGate comment | |
| dry_run | No | Defaults to true (plan only). Set false to apply a real change. | |
| confirm | No | Required only when dry_run=false; must equal exactly 'APPLY FORTIGATE CHANGE'. |