Properties
| Name | Type | Description |
|---|---|---|
| url | string | Normalized start URL of the crawl |
| origin | string | |
| pagesCrawled | integer | Number of same-origin pages successfully crawled (max 20) |
| pagesFailed | integer | |
| truncated | boolean | True when more pages were discovered than the crawl budget allowed |
| currentCsp | object | The policy currently deployed, if any |
| findings | array | Weaknesses detected in the current policy (or the absence of one) |
| inventory | array | Observed resource origins grouped by CSP directive ('self' first, externals sorted) |
| inlineScripts | integer | Total inline script blocks across crawled pages |
| inlineStyles | integer | |
| eventHandlerAttrs | integer | Total inline event-handler attributes (onclick, onload, ...) |
| synthesis | object | Generated starter policy built from observed resources |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/intodns-ai/json-schema/intodns-ai-csp-scan-result-schema.json",
"title": "CspScanResult",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/intodns-ai-openapi.json#/components/schemas/CspScanResult",
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Normalized start URL of the crawl"
},
"origin": {
"type": "string"
},
"pagesCrawled": {
"type": "integer",
"description": "Number of same-origin pages successfully crawled (max 20)"
},
"pagesFailed": {
"type": "integer"
},
"truncated": {
"type": "boolean",
"description": "True when more pages were discovered than the crawl budget allowed"
},
"currentCsp": {
"type": "object",
"description": "The policy currently deployed, if any",
"properties": {
"source": {
"type": [
"string",
"null"
],
"enum": [
"header",
"report-only",
"meta"
],
"description": "Where the policy was found; null when the site has no CSP"
},
"policy": {
"type": [
"string",
"null"
]
}
}
},
"findings": {
"type": "array",
"description": "Weaknesses detected in the current policy (or the absence of one)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"critical",
"high",
"medium",
"info"
]
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"directive": {
"type": "string"
}
}
}
},
"inventory": {
"type": "array",
"description": "Observed resource origins grouped by CSP directive ('self' first, externals sorted)",
"items": {
"type": "object",
"properties": {
"directive": {
"type": "string"
},
"origins": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"inlineScripts": {
"type": "integer",
"description": "Total inline script blocks across crawled pages"
},
"inlineStyles": {
"type": "integer"
},
"eventHandlerAttrs": {
"type": "integer",
"description": "Total inline event-handler attributes (onclick, onload, ...)"
},
"synthesis": {
"type": "object",
"description": "Generated starter policy built from observed resources",
"properties": {
"policyString": {
"type": "string",
"description": "Ready-to-deploy Content-Security-Policy value"
},
"reportOnlyString": {
"type": "string",
"description": "Content-Security-Policy-Report-Only value for safe rollout"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/intodns-ai-csp-scan-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.