Palo Alto Networks · JSON Structure

Dlp Api Content Snippet Structure

ContentSnippet schema from Palo Alto Networks Enterprise DLP API

Type: object Properties: 5
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

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

Properties

pattern_id pattern_name snippet position masked

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/dlp-api-content-snippet-structure.json",
  "name": "ContentSnippet",
  "description": "ContentSnippet schema from Palo Alto Networks Enterprise DLP API",
  "type": "object",
  "properties": {
    "pattern_id": {
      "type": "string",
      "description": "Data pattern identifier that matched."
    },
    "pattern_name": {
      "type": "string",
      "description": "Data pattern name that matched."
    },
    "snippet": {
      "type": "string",
      "description": "Context snippet around the data pattern match."
    },
    "position": {
      "type": "int32",
      "description": "Character offset position of the match within the document."
    },
    "masked": {
      "type": "boolean",
      "description": "Whether the matched content within the snippet is masked."
    }
  }
}