/security/status
0.1.0Unchanged since publicationGet the server's security status
securityreadallReturns the firewall's enabled state, which ports are open and why, the configured rules, protected loopback ports and customer UIDs, and any pending automatic revert. The sshd_ports value reflects the SSH listener ports recorded when UrbeStack last generated the firewall configuration. The response also includes firewall problems and notices shown throughout the web interface.
The client object reports the caller's IP address and whether an allow rule covers it. The IP address is null when unavailable, and allowed_by is null when no rule matches.
The day object counts failed sign-ins in the current hour and the preceding 24 hours, bans issued in the past 24 hours, IP addresses currently refused by the sign-in policy, and active bans. The response also reports how many active administrators have no confirmed second factor, the total number of active administrators, and whether the caller has confirmed a second factor.
Example
See the API overview for how to set $API and $TOKEN.curl -sS -X GET "$API/security/status" \ -H "Authorization: Bearer $TOKEN"
200 OK{
"administrators": {
"total": 1,
"without_second_factor": 1
},
"client": {
"address": "info@example.com",
"allowed": true,
"allowed_by": "text"
},
"day": {
"bans_now": 1,
"failed_sign_ins": 1,
"new_bans": 1,
"refused_now": 1
},
"enabled": true,
"loopback": {
"customers": [
1
],
"ports": [
{
"port": 8443,
"why": "text"
}
]
},
"notices": [
{
"deadline": "text",
"key": "panel.port",
"kind": "profile",
"level": "error",
"message": "text",
"new_port": 8443,
"old_port": 8443,
"since": "text"
}
],
"panel_port": 8443,
"panel_ports": [
8443
],
"pending": {
"armed_at": "text",
"deadline": "text",
"kind": "ssh-port",
"new_port": 8443,
"old_port": 8443,
"what": "text"
},
"phpmyadmin_active": true,
"phpmyadmin_port": 8443,
"plugins_active": true,
"plugins_port": 8443,
"ports": [
{
"closed": {
"id": 1,
"note": "added by hand",
"since": "text"
},
"port": 8443,
"proto": "tcp",
"why": "text"
}
],
"problems": {},
"rules": [
{
"created_at": "2026-09-09T10:15:00Z",
"id": 1,
"kind": "port",
"note": "added by hand",
"value": 8443
}
],
"self_second_factor": true,
"ssh_port": 8443,
"sshd_ports": [
8443
],
"webmail_active": true,
"webmail_port": 8443
}Errors
1 error, each a status and a sentence401Authentication requiredurbestack.com/docs/api/get-security-status/