GoBuildWP
Free9 abilities

Website protection ability reference

Reference for the GoBuildWP Free 1.22.1 source. Installed schemas and policy remain authoritative.

This Website protection ability reference lists every call GoBuildWP Free registers for Website protection, with the exact slug an agent sends and what the plugin's own contract says it does. Of the 9, 3 read, 6 write and 0 are marked destructive in the source.

Read-only, write and destructive groups describe the source annotations. They do not establish a minimum safety profile, human approval or undo support. Those controls are separate: check the installed ability, the connected user and the active site policy before calling it. A read can still return sensitive data. These pages are not evidence that every operation passed an end-to-end runtime test.

What Website protection needs before these load

Website protection ships inside GoBuildWP Free 1.22.1, so none of its 9 calls waits on a licence. Whether a connected agent sees a given call still depends on the site's safety profile and the capabilities of the user behind the credential.

Website protection reads

AbilityWhat it does
gobuildwp/protection-blocksList Blocked AddressesLists the addresses and ranges website protection is blocking now: why, what blocked them (manual, login_lockout, firewall, flood) and when the block ends (null = until unblocked). Read-only.
gobuildwp/protection-eventsList Website Protection EventsLists website protection events, newest first: firewall hits, failed logins and lockouts, blocks and unblocks, enumeration and 404-flood blocks, and settings changes. Each has the address, rule and path, never request values. Kept 30 days, at most 500. Read-only.
gobuildwp/protection-statusWebsite Protection StatusShows this site's website protection: firewall mode, login protection, XML-RPC, user-enumeration and 404-flood settings, the allowlist, counts for the last 24 hours, the number of active blocks, the 20 newest events, how many virtual patches are stored and active, the Cloud feed (rule pack and reputation blocklist) counts and digest, and whether the pre-WordPress firewall is installed and active. Read-only.

Website protection writes

AbilityWhat it does
gobuildwp/protection-block-ipBlock an IP AddressBlocks an IPv4 or IPv6 address or a CIDR range from the whole site, for minutes (0 = until unblocked). Ranges wider than /16 (IPv4) or /48 (IPv6) are refused, as is any block that covers the caller's own address or an address the signed-in user logged in from. Allowlisted addresses can't be blocked, and signed-in administrators are never blocked. Undo with gobuildwp/protection-unblock-ip.
gobuildwp/protection-configureConfigure Website ProtectionChanges website protection settings; only the fields given change, and the previous settings are returned so the change can be reverted. firewall: off, log (record only; the default) or block. login.enabled and block_user_enumeration are on by default. login: enabled, max_failures (3-50), window_minutes, lockout_minutes, generic_errors. xmlrpc: on or off. block_user_enumeration. flood: enabled, max_404_per_minute. ip_source: remote_addr, cloudflare or x_forwarded_for (set only when the site really sits behind that proxy; Cloudflare's header is only believed from Cloudflare's own addresses, and X-Forwarded-For only from proxies listed in trusted_proxies or the GOBUILDWP_TRUSTED_PROXIES constant). trusted_proxies: addresses or CIDR ranges of the reverse proxy or load balancer (replaces the list; /8 or /32 at the widest); read client_ip and proxy_headers_seen from protection-status first. If protection ever locks the owner out, define GOBUILDWP_DISABLE_PROTECTION as true in wp-config.php to switch all of it off. allowlist: addresses or CIDR ranges that are never blocked. Signed-in administrators and administrator API calls are never blocked.
gobuildwp/protection-feedProtection FeedReplaces the Cloud feed on this site: a pack of extra firewall rules (id, label, where to look: path, args, ua or files, and a pattern) that run with the site's firewall mode, and a fleet-wide reputation blocklist of addresses and ranges (with an optional expiry) that are refused everywhere. The whole feed is replaced each time; empty lists clear it. A digest names the feed version. The allowlist and signed-in administrators are never affected. The reply counts what is stored and reports the pre-WordPress firewall, which also enforces the feed when installed.
gobuildwp/protection-prependPre-WordPress FirewallInstalls or removes the pre-WordPress firewall: a small PHP file under wp-content/gobuildwp-protection that PHP loads through auto_prepend_file (from .user.ini, and .htaccess under mod_php) before WordPress and every plugin, and that refuses blocked addresses, the reputation blocklist, XML-RPC when it is off and, with the firewall in block mode, the firewall rules. Blocks keep working while the site is broken. Requests with a WordPress login cookie or an Authorization header are left to WordPress. The reply says whether it is installed, how, whether this request passed through it, and what is in the way if it could not be installed.
gobuildwp/protection-unblock-ipUnblock an IP AddressRemoves the block on an address or range, whether manual, a login lockout, or an automatic firewall or 404-flood block, and clears its failed-login count.
gobuildwp/protection-virtual-patchesVirtual PatchesLists, or replaces, the virtual patches the cloud service keeps on this site: narrow rules that block a known exploit against a plugin or theme version the site still runs, until it is updated. With rules, the whole set is replaced (an empty list removes them all); without, the set is listed. Each rule names a component and version range, an endpoint (admin-ajax or admin-post action, REST route or path), optionally a request field and a test on its value, methods, and who it applies to. The site checks installed versions itself and applies a rule only while the installed version is in its range. Signed-in administrators are never blocked. Blocks are recorded as firewall events.