Server hardening
9 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| PUT | /api/v1/tenants/{tid}/servers/{id}/blocked-ips | Replace the addresses the server's firewall refuses (ADR 0024) |
| GET | /api/v1/tenants/{tid}/servers/{id}/hardening | One-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/scan | Deep check through the broker (Guest, lockout policy, IIS headers and the rest); kept and audited |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/apply | Apply 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}/preview | What a fix would change, its warnings and whether it needs a restart; nothing is written |
| POST | /api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/revert | Put back the state kept by the last apply; refused for Defender (never turned off) |
| GET | /api/v1/tenants/{tid}/servers/{id}/preset | The set of software this server is installing by itself, item by item (ADR 0049) |
| POST | /api/v1/tenants/{tid}/servers/{id}/preset/retry | Put 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/stop | Stop the plan; an install already started finishes |