Fastly · Schema

CspPolicy

CDNEdge CloudEdge ComputeWebAssemblySecurityAIObservabilityAsyncAPIStreamingWebhooksLogging

Properties

Name Type Description
id string
directives object
report_only boolean
View JSON Schema on GitHub

JSON Schema

fastly-csppolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CspPolicy",
  "title": "CspPolicy",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "directives": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "report_only": {
      "type": "boolean"
    }
  }
}