API referenceSections

Server hardening

9 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
PUT/api/v1/tenants/{tid}/servers/{id}/blocked-ipsReplace the addresses the server's firewall refuses (ADR 0024)
GET/api/v1/tenants/{tid}/servers/{id}/hardeningOne-click security fixes of a server, its last deep check and what can be undone (ADR 0111); provider administrators only
POST/api/v1/tenants/{tid}/servers/{id}/hardening/scanDeep check through the broker (Guest, lockout policy, IIS headers and the rest); kept and audited
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/applyApply a fix through a signed broker job, read it back, keep the state before for undo, audit and re-check
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/previewWhat a fix would change, its warnings and whether it needs a restart; nothing is written
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/revertPut back the state kept by the last apply; refused for Defender (never turned off)
GET/api/v1/tenants/{tid}/servers/{id}/presetThe set of software this server is installing by itself, item by item (ADR 0049)
POST/api/v1/tenants/{tid}/servers/{id}/preset/retryPut the entries that failed or were skipped back in line and run the plan again, also a stopped one (ADR 0114)
POST/api/v1/tenants/{tid}/servers/{id}/preset/stopStop the plan; an install already started finishes