Skip to main content
POST
Repair named drifted host security controls

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

serverId
string
必填

Canonical server runtime ID

请求体

application/json
controls
enum<string>[]
必填
Required array length: 1 - 12 elements
可用选项:
firewall.default_inbound,
ssh.password_authentication,
ssh.root_login,
ssh.port,
bruteforce.fail2ban,
updates.unattended_upgrades,
updates.pending_security,
updates.reboot_required,
kernel.sysctl,
exposure.listeners,
exposure.published_ports,
tls.certificate_expiry

响应

The repair was admitted and is running

data
object
meta
object