Palo Alto Networks · Schema

check_user_in_particular_group

Check if a specific group has a particular user in it, filtered using attribute-based filter (to filter the group) and group-based filter (to filter the user)

Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Properties

Name Type Description
name object Attribute-based filter.
filter object
View JSON Schema on GitHub

JSON Schema

cloud-identity-engine-api-check_user_in_particular_group-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "check_user_in_particular_group",
  "description": "Check if a specific group has a particular user in it, filtered using attribute-based filter (to filter the group) and group-based filter (to filter the user)",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cloud-identity-engine-api-check_user_in_particular_group-schema.json",
  "properties": {
    "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"
        }
      }
    },
    "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": [
    "name",
    "filter"
  ],
  "allOf": [
    {
      "description": "Retrieve all groups in a particular domain.",
      "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
            }
          }
        }
      ],
      "required": [
        "attrs"
      ],
      "properties": {
        "attrs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Group attributes included as part of the response.",
          "example": [
            "Common-Name",
            "Unique Identifier",
            "Name",
            "Distinguished Name",
            "SAM Account Name"
          ]
        },
        "useNormalizedAttrs": {
          "type": "string",
          "enum": [
            "True",
            "False"
          ]
        }
      },
      "example": {
        "domain": "paloaltonetworks.com",
        "pageNum": "1,",
        "pageSz": 80
      }
    }
  ],
  "type": "object"
}