Palo Alto Networks · JSON Structure

Prisma Cloud Cspm Api Policy Input Structure

PolicyInput schema from Palo Alto Networks Prisma Cloud CSPM API

Type: object Properties: 8 Required: 4
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

PolicyInput is a JSON Structure definition published by Palo Alto Networks, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name policyType severity description recommendation cloudType enabled rule

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-policy-input-structure.json",
  "name": "PolicyInput",
  "description": "PolicyInput schema from Palo Alto Networks Prisma Cloud CSPM API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "policyType": {
      "type": "string"
    },
    "severity": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "recommendation": {
      "type": "string"
    },
    "cloudType": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean",
      "default": true
    },
    "rule": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "criteria": {
          "type": "string",
          "description": "RQL query for the policy rule."
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "criteria",
        "type"
      ]
    }
  },
  "required": [
    "name",
    "policyType",
    "severity",
    "rule"
  ]
}