headguard
v0.1.0Paste HTTP response headers and get seven security checks with copy-paste fixes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_headers
Check raw HTTP response headers from a deployment you already operate. Returns the same object as POST /v1/analyze. Unknown fields are ignored. A url field is not fetched. Nothing is stored. Nothing is for sale.
| Parameter | Type | Description |
|---|---|---|
headers_raw * | string | Raw HTTP response headers from a deployment this agent already operates, including an optional status line, as curl -sI prints them. This server does not request a URL. |
config_text | string | Optional config text. Not copied into the response. When platform is caddy and this is non-empty, GLC-HSTS-MISSING includes config_header present or absent for one Caddy Strict-Transport-Security form… |
paths_tested | array | Optional paths. Accepted and not checked. This server does not request them. |
platform | string | Platform whose config the caller can edit. A fix snippet is attached only for caddy, nginx, vercel, netlify, or nextjs. Any other declared platform, or an omitted platform, returns fix null. This serv… |
explain_finding
Explain one finding id from the seven. Returns id, severity, why, and answer_page. answer_page is the CSP and clickjacking page for GLC-CSP-MISSING and GLC-FRAME-MISSING, and null for the other five. Unknown fields are ignored. A url field is not fetched. Nothing is stored. Nothing is for sale.
| Parameter | Type | Description |
|---|---|---|
id * | string | One finding id from the seven. Unknown fields are ignored. A url field is not fetched. |
get_fix
Return the registry snippet for one finding id and one platform. The platforms are caddy, nginx, vercel, netlify, nextjs. The result is id and fix. fix has platform, snippet, source_url, and last_verified, and note when the registry file has one. An omitted or unknown platform returns fix null. Unknown fields are ignored. A url field is not fetched. source_url is not fetched. Nothing is stored. Nothing is for sale.
| Parameter | Type | Description |
|---|---|---|
id * | string | One finding id from the seven. Unknown fields are ignored. A url field is not fetched. |
platform | string | Platform whose config the caller can edit. caddy, nginx, vercel, netlify, nextjs returns that registry snippet. Any other value, or an omitted platform, returns fix null. This server does not guess th… |
report_feedback
Report one finding id and one outcome. The outcomes are false_positive, fix_worked, fix_failed. The result is id, outcome, and stored false. Nothing is written: no file, no counter, and no log line. A note, a url, and headers are ignored. A url field is not fetched. This server does not guess the platform from the Server header. Nothing is for sale.
| Parameter | Type | Description |
|---|---|---|
id * | string | One finding id from the seven. A note, a url, and headers are ignored. A url field is not fetched. |
outcome * | string | Exactly one of false_positive, fix_worked, fix_failed. Any other value is unknown_outcome. Nothing is written. |