Palo Alto Networks · Schema

TimeRange

TimeRange schema from Palo Alto Networks Prisma Cloud CSPM API

Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Properties

Name Type Description
type string
value object
View JSON Schema on GitHub

JSON Schema

prisma-cloud-cspm-api-time-range-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TimeRange",
  "description": "TimeRange schema from Palo Alto Networks Prisma Cloud CSPM API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-cloud-cspm-api-time-range-schema.json",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "relative",
        "absolute",
        "to_now"
      ]
    },
    "value": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "integer"
        },
        "unit": {
          "type": "string",
          "enum": [
            "minute",
            "hour",
            "day",
            "week",
            "month",
            "year"
          ]
        }
      }
    }
  }
}