Palo Alto Networks · JSON Structure

Prisma Cloud Cspm Api Time Range Structure

TimeRange schema from Palo Alto Networks Prisma Cloud CSPM API

Type: object Properties: 2
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

TimeRange is a JSON Structure definition published by Palo Alto Networks, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type value

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

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