check_headers
Validate provided HTTP security headers (CSP, HSTS, X-Frame-Options) against best practices. Use to test header configuration before deployment or validate non-public servers.
Instructions
Validate HTTP security headers you provide (JSON): CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Permissions-Policy, Referrer-Policy against best practices. Use to test header config before deployment or validate non-public servers; use scan_headers to fetch live. Free: 30/hr, Pro: 500/hr. By default header values are truncated to 500 chars; pass include='full' for the full raw value. Returns {total, by_severity, findings}. No external requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | Yes | JSON string of HTTP header name-value pairs to validate. Example: '{"Strict-Transport-Security": "max-age=31536000", "X-Frame-Options": "DENY"}'. Include only security-relevant headers you want to analyze. | |
| include | No | Detail level. Default ('') returns slim findings — raw header values capped at 500 chars with total_value_length carrying the honest pre-truncation length. Pass 'full' to restore the full raw value. Allowed: '' or 'full'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |