Server security
Imunify360 on a server: its firewall, web application firewall, bot checks, kernel patches and WordPress plugin. For the same in the control panel, see Protect a server with Imunify360.
Operations
| Operation | Request |
|---|---|
| Get a server's security | GET / |
| Turn on a server's security | POST / |
| Turn off a server's security | POST / |
| Change a server's security settings | PATCH / |
| List a server's allowed and blocked addresses | GET / |
| Allow, block or challenge an address on a server | POST / |
| Take an address off a server's list | POST / |
| Move an address to another of a server's lists | POST / |
| Add a port to a server's port list | POST / |
| Take a port off a server's port list | DELETE / |
| Get the attacks stopped on a server | GET / |
| Scan a server's sites for malware | POST / |
| Turn off a security rule for false alarms | POST / |
| Turn a security rule back on | POST / |
| Install KernelCare on a server | POST / |
| Remove KernelCare from a server | POST / |
| Check a server's domains against blacklists | POST / |
| Turn on Imunify360's WordPress plugin | POST / |
| Turn off Imunify360's WordPress plugin | POST / |
| Let a search engine through a server's bot checks | POST / |
| Stop letting a search engine through | DELETE / |
The ServerSecurity object
Imunify360 on a server: its firewall (IP lists, ports, denial-of-service and password-guessing protection), web application firewall, bot checks, kernel patches and WordPress plugin guard every site there; its malware scanning and cleaning works for each site with malware protection on.
| Field | Type and description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
status | string Imunify360 on the server: Known values: | ||||||||||||
available | boolean Whether the server can run Imunify360: servers Rabbitflare creates and you pay for, with Intel or AMD processors and 2 GB of memory or more. Always true once it's on (or on its way in or out), so it can be turned off. | ||||||||||||
unavailableReason | string or null Why it can't run here (with | ||||||||||||
lastError | string or null What went wrong (with | ||||||||||||
extraSitePriceCents | integer What each site with malware protection on costs a month, past the server's included one, in US cents (299): billed after each month, by the days it was on. | ||||||||||||
currency | string Always Always | ||||||||||||
sites | array of objects The server's live sites (staging copies aren't among them), oldest first. Every site is guarded by the server's firewall whatever its own switch says. | ||||||||||||
siteId | string The site's id. | ||||||||||||
enabled | boolean Whether malware protection is on for the site. | ||||||||||||
included | boolean The site that comes with the server at no charge: the first to have it on. | ||||||||||||
enabledAt | string or null An ISO 8601 time, in UTC When it was turned on. Null while it's off. | ||||||||||||
openThreats | integer Threats found and not cleaned or ignored. | ||||||||||||
checkedAt | string or null An ISO 8601 time, in UTC When the server last reported its figures (newer ones are fetched in the background once they're over 30 seconds old). Null while Imunify360 isn't on. | ||||||||||||
refreshing | boolean Newer figures are being fetched from the server: read again in a few seconds. | ||||||||||||
stats | object The server's figures. Zero while Imunify360 isn't on. | ||||||||||||
attacksStopped24h | integer Attacks blocked or challenged in the last 24 hours. | ||||||||||||
openThreats | integer Threats found and not cleaned or ignored, on every site. | ||||||||||||
cleaned30d | integer Threats cleaned in the last 30 days. | ||||||||||||
blockedAddresses | integer Addresses and countries blocked now. | ||||||||||||
lastScanAt | string or null An ISO 8601 time, in UTC When the last scan started. Null when none has run. | ||||||||||||
vulnerable | integer Plugins, themes and WordPress installs with open security holes, on every site. | ||||||||||||
settings | object or null Imunify360's settings. Null until it's on. | ||||||||||||
realtime | boolean Real-time scanning: each file written to a site is checked at once. | ||||||||||||
scanInterval | string How often every site with malware protection on is scanned: Known values: | ||||||||||||
scanHour | integer The hour scheduled scans start, 0 to 23, in UTC. | ||||||||||||
scanDay | integer The day scheduled scans run: 0 (Sunday) to 6 for weekly scans, 1 to 28 for monthly ones. | ||||||||||||
intensity | string How much of the server's processor and disk scans may use: Known values: | ||||||||||||
dbScan | boolean Scheduled scans check the sites' databases too. | ||||||||||||
crontabs | boolean Scans check the server's scheduled tasks too. | ||||||||||||
rapidScan | boolean Scheduled scans skip files unchanged since the last one. | ||||||||||||
adminTools | boolean Database and file managers uploaded to sites count as threats. | ||||||||||||
cleanMode | string What happens when malware is found: Known values: | ||||||||||||
keepCopiesDays | integer Days a copy of each cleaned file is kept, so a clean-up can be undone (1 to 90). | ||||||||||||
dos | boolean Blocks an address that holds too many connections open at once (a denial-of-service attack). | ||||||||||||
dosLimit | integer How many connections an address may hold open at once (100 to 10000). | ||||||||||||
enhancedDos | boolean Also blocks an address that sends too many requests in a short time. | ||||||||||||
enhancedDosLimit | integer How many requests an address may send in | ||||||||||||
enhancedDosSeconds | integer The time | ||||||||||||
sshBruteForce | boolean Blocks addresses that keep guessing SSH passwords. | ||||||||||||
intrusionDetection | boolean Intrusion detection: blocks addresses the server's logs show attacking it. | ||||||||||||
portsMode | string
Known values: | ||||||||||||
ruleset | string The web application firewall's rules: Known values: | ||||||||||||
wpBruteForce | boolean Blocks addresses that keep guessing WordPress passwords. | ||||||||||||
cmsRules | boolean Rules for the software a site runs (WordPress and its plugins). | ||||||||||||
captcha | boolean A suspicious visitor is asked to prove it's a person (a CAPTCHA) before being blocked. | ||||||||||||
antibot | boolean Bot checks: a browser is checked before it reaches the sites, so bad bots are stopped. | ||||||||||||
cdnSupport | boolean Reads a visitor's real address behind a CDN or proxy (Cloudflare and others), so the right address is blocked. | ||||||||||||
reputation | boolean Checks the sites' domains against blacklists once a day. | ||||||||||||
alerts | object Which emails the account's owner gets about the server's sites (each site can also turn its own off). Show its 4 fields
| ||||||||||||
ports | array of objects The ports | ||||||||||||
port | integer The port. | ||||||||||||
protocol | string
Known values: | ||||||||||||
comment | string or null The note it was added with: your own words. Null when none was. | ||||||||||||
allowedAddresses | array of strings Addresses that still get through while the port is blocked. | ||||||||||||
disabledRules | array of objects Rules turned off ( | ||||||||||||
ruleId | string The rule: a web application firewall rule's number, or a WordPress plugin rule's name (like RULE-CVE-2024-1234-01). | ||||||||||||
name | string What it's for: the note it was turned off with (your own words), or the attack it stops. | ||||||||||||
source | string
Known values: | ||||||||||||
siteIds | array of strings The sites it's off for. Empty: the whole server. | ||||||||||||
domains | array of strings Those sites' domains, as the rule names them. Empty: the whole server. | ||||||||||||
scans | array of objects Recent scans of the server's sites, newest first. | ||||||||||||
siteId | string or null The site scanned. Null when it couldn't be told which. | ||||||||||||
kind | string
Known values: | ||||||||||||
status | string
Known values: | ||||||||||||
startedAt | string or null An ISO 8601 time, in UTC When it started. Null when not known. | ||||||||||||
finishedAt | string or null An ISO 8601 time, in UTC When it finished. Null while it runs. | ||||||||||||
files | integer or null Files it checked. Null when not known. | ||||||||||||
found | integer Threats it found. | ||||||||||||
kernelPatching | object KernelCare: the server's kernel gets security patches without a restart. Free with Imunify360. | ||||||||||||
status | string KernelCare on the server: Known values: | ||||||||||||
patchedTo | string or null The kernel version it has patched the server up to. Null when not known. | ||||||||||||
reputation | object Blacklist checks of the sites' domains ( | ||||||||||||
checkedAt | string or null An ISO 8601 time, in UTC When the domains were last checked. Null when they never were. | ||||||||||||
domains | array of objects Each domain of the server's sites, as last checked. Show its 4 fields
| ||||||||||||
wordpressPlugin | object Imunify360's WordPress plugin (Imunify Security). | ||||||||||||
enabled | boolean Whether the plugin is on for the server: it goes onto every site with malware protection on. | ||||||||||||
sites | array of objects The sites with malware protection on, while the plugin is on. Show its 5 fields
| ||||||||||||
crawlers | array of objects Search engines the bot checks always let through. | ||||||||||||
id | string The search engine's id on the server (digits): | ||||||||||||
name | string Its name: Imunify360's own, or the one it was added with. | ||||||||||||
url | string or null Where it says how to recognise its crawlers, as it was added. Null when none was given. | ||||||||||||
domains | array of strings Where its crawlers' addresses' names end. | ||||||||||||
builtIn | boolean One of Imunify360's own (Google, Bing, Yandex, Baidu): always let through, it can't be removed. |
Example
{
"status": "on",
"available": true,
"unavailableReason": null,
"lastError": null,
"extraSitePriceCents": 299,
"currency": "usd",
"sites": [
{
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"enabled": true,
"included": true,
"enabledAt": "2026-11-21T10:02:11.000Z",
"openThreats": 1
},
{
"siteId": "7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67",
"enabled": false,
"included": false,
"enabledAt": null,
"openThreats": 0
}
],
"checkedAt": "2026-11-25T09:14:02.000Z",
"refreshing": false,
"stats": {
"attacksStopped24h": 53,
"openThreats": 1,
"cleaned30d": 2,
"blockedAddresses": 2,
"lastScanAt": "2026-11-25T03:00:12.000Z",
"vulnerable": 1
},
"settings": {
"realtime": true,
"scanInterval": "day",
"scanHour": 3,
"scanDay": 0,
"intensity": "moderate",
"dbScan": true,
"crontabs": true,
"rapidScan": true,
"adminTools": true,
"cleanMode": "auto",
"keepCopiesDays": 14,
"dos": true,
"dosLimit": 250,
"enhancedDos": false,
"enhancedDosLimit": 250,
"enhancedDosSeconds": 30,
"sshBruteForce": true,
"intrusionDetection": true,
"portsMode": "open_except",
"ruleset": "full",
"wpBruteForce": true,
"cmsRules": true,
"captcha": true,
"antibot": true,
"cdnSupport": true,
"reputation": true,
"alerts": {
"malwareFound": true,
"cleaned": true,
"blacklisted": true,
"vulnerable": true
}
},
"ports": [
{
"port": 3306,
"protocol": "tcp",
"comment": "Database: only the office",
"allowedAddresses": [
"198.51.100.7"
]
}
],
"disabledRules": [
{
"ruleId": "77350218",
"name": "Turned off for the shop's page builder",
"source": "waf",
"siteIds": [
"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d"
],
"domains": [
"shop.example.com"
]
}
],
"scans": [
{
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"kind": "nightly",
"status": "done",
"startedAt": "2026-11-25T03:00:12.000Z",
"finishedAt": "2026-11-25T03:02:40.000Z",
"files": 4334,
"found": 1
}
],
"kernelPatching": {
"status": "installed",
"patchedTo": "6.8.0-49-generic"
},
"reputation": {
"checkedAt": "2026-11-25T04:00:00.000Z",
"domains": [
{
"domain": "shop.example.com",
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"listed": false,
"lists": []
}
]
},
"wordpressPlugin": {
"enabled": true,
"sites": [
{
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"status": "on",
"firewall": true,
"aiBotProtection": true,
"preset": "balanced"
}
]
},
"crawlers": [
{
"id": "1",
"name": "Google",
"url": "https://support.google.com/webmasters/answer/80553?hl=en",
"domains": [
".google.com",
".googlebot.com"
],
"builtIn": true
},
{
"id": "12",
"name": "DuckDuckGo",
"url": "https://duckduckgo.com/duckduckbot",
"domains": [
".duckduckgo.com"
],
"builtIn": false
}
]
} The SecurityAddress object
An address, range or country on a server's allowed, blocked or challenged list.
| Field | Type and description |
|---|---|
id | string The entry's id in this list: its kind and key, like |
key | string The address, range (203.0.113.0/24) or two-letter country code (DE) the entry is for: what |
kind | string
Known values: |
ip | string or null The address or range. Null for a country. |
country | string or null The two-letter country code. Null for an address. |
comment | string or null The note it was added with: your own words, or Imunify360's reason when it added the entry itself. Null when none. |
automatic | boolean Added by Imunify360 itself (an attack, a passed check), not by you. |
addedAt | string or null An ISO 8601 time, in UTC When it was added. Null when not known. |
expiresAt | string or null An ISO 8601 time, in UTC When it comes off the list by itself. Null: it stays. |
Example
{
"id": "block:185.191.171.0/24",
"key": "185.191.171.0/24",
"kind": "block",
"ip": "185.191.171.0/24",
"country": null,
"comment": "SSH password guessing",
"automatic": false,
"addedAt": "2026-11-25T08:59:40.000Z",
"expiresAt": null
} The ServerSecurityIncidents object
The attacks Imunify360 stopped (or logged) on a server in the last 24 hours.
| Field | Type and description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
incidents | array of objects The attacks of the last 24 hours (at most 500), newest first. Not paged: an incident's id isn't kept from one look to the next, so look again for a newer list. Empty while Imunify360 isn't on. | ||||||||||||
id | string The incident's id. | ||||||||||||
occurredAt | string An ISO 8601 time, in UTC When it happened (the last time, when it happened more than once). | ||||||||||||
ip | string or null The address it came from. Null when not known. | ||||||||||||
country | string or null Where that address is, as a two-letter country code. Null when not known. | ||||||||||||
siteId | string or null The site attacked. Null when it was the server, or the site isn't known. | ||||||||||||
domain | string or null The domain attacked. Null when it was the server. | ||||||||||||
kind | string
Known values: | ||||||||||||
description | string What it was. | ||||||||||||
ruleId | string or null The rule that matched, when it can be turned off for false alarms ( | ||||||||||||
severity | string
Known values: | ||||||||||||
action | string What Imunify360 did: Known values: | ||||||||||||
times | integer How many times it happened. | ||||||||||||
wordpress | object or null With Show its 5 fields
|
Example
{
"incidents": [
{
"id": "1",
"occurredAt": "2026-11-25T09:10:02.000Z",
"ip": "45.146.165.10",
"country": "DE",
"siteId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"domain": "shop.example.com",
"kind": "waf",
"description": "Information disclosure attempt via WordPress plugins",
"ruleId": "77350218",
"severity": "high",
"action": "challenged",
"times": 12,
"wordpress": null
}
]
}