audit_admin_access
Run read-only audit of FortiGate admin access for missing trusted hosts or MFA, default admin accounts, exposed WAN management, API keys, and legacy password hashes; returns graded findings and fixes.
Instructions
Read-only audit of how the FortiGate can be administered: admins without trusted hosts or MFA, the default 'admin' account, API keys, HTTPS/SSH/HTTP/telnet admin access on WAN interfaces, local-in policies, and admin passwords still stored as legacy SHA-256 instead of PBKDF2. Returns findings graded critical/warn/info, each with a suggested fix. The hash check reads a config backup, which the FortiGate logs as a config download; set check_hashes=false to skip it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| check_hashes | No | Check stored password hashes via a config backup (default true) |