Palo Alto Networks · Schema

list_groups_user_belongs_to

Retrieve all groups containing specific users based on user-filter.

Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Properties

Name Type Description
filter object
View JSON Schema on GitHub

JSON Schema

cloud-identity-engine-api-list_groups_user_belongs_to-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "list_groups_user_belongs_to",
  "description": "Retrieve all groups containing specific users based on user-filter.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cloud-identity-engine-api-list_groups_user_belongs_to-schema.json",
  "properties": {
    "filter": {
      "type": "object",
      "required": [
        "type",
        "name"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "user"
          ]
        },
        "name": {
          "type": "object",
          "description": "Attribute-based filter.",
          "required": [
            "attrName",
            "attrValue",
            "match"
          ],
          "properties": {
            "attrName": {
              "description": "Attribute name",
              "type": "string",
              "enum": [
                "User Principal Name",
                "Common-Name",
                "Name",
                "Distinguished Name",
                "SAM Account Name",
                "Unique Identifier"
              ],
              "example": "Distinguished Name"
            },
            "attrValue": {
              "description": "Attribute value",
              "type": "string",
              "example": "CN=Jack,UID=Park,DC=example,DC=com"
            },
            "match": {
              "description": "Value you want to match.",
              "type": "string",
              "enum": [
                "equal",
                "textSearch"
              ],
              "example": "equal"
            }
          }
        },
        "attrs": {
          "type": "array",
          "description": "group attributes part of the response",
          "items": {
            "type": "string"
          },
          "example": [
            "Common-Name",
            "Unique Identifier",
            "Name",
            "Distinguished Name",
            "SAM Account Name"
          ]
        }
      }
    }
  },
  "required": [
    "filter"
  ],
  "allOf": [
    {
      "type": "object",
      "description": "Domain name for a specific directory.",
      "required": [
        "domain"
      ],
      "properties": {
        "domain": {
          "type": "string",
          "description": "Domain name of the target directory.",
          "example": "paloaltonetworks.com"
        }
      }
    },
    {
      "type": "object",
      "description": "Optional pagination parameters.",
      "properties": {
        "pageNum": {
          "type": "integer",
          "description": "Page number to retrieve (starting from page 1).",
          "example": 1
        },
        "pageSz": {
          "type": "integer",
          "description": "Number of records per page (max is 1000 per page).",
          "example": 500
        }
      }
    }
  ],
  "type": "object"
}