Palo Alto Networks Permission Sets API

The PermissionSets API from Palo Alto Networks — 2 operation(s) for permissionsets.

OpenAPI Specification

palo-alto-networks-permissionsets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Permission Sets API
  version: '1.0'
  contact: {}
  description: 'Operations tagged PermissionSets across 2 of this provider''s published API definitions: palo-alto-sase-iam-permissionsets-openapi.yaml, palo-alto-scm-iam-permissionsets-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sase.paloaltonetworks.com
tags:
- name: PermissionSets
paths:
  /iam/v1/permission_sets:
    get:
      description: "List all permission sets. Permission sets are used when defining \n[custom roles](/sase/api/iam/post-iam-v-1-custom-roles/) \nfor user access to the UI.\n"
      operationId: get-iam-v1-permission_sets
      responses:
        '200':
          $ref: '#/components/responses/permission_set_list'
      security:
      - Bearer: []
      summary: List permission sets
      tags:
      - PermissionSets
    servers:
    - url: https://api.sase.paloaltonetworks.com
  /iam/v1/permission_sets/{name}:
    get:
      description: 'Retrieve the details for a specific permission set.

        '
      operationId: get-iam-v1-permission_sets-name
      parameters:
      - content:
          text/plain:
            schema:
              $ref: '#/components/schemas/custom_role_id'
        description: A unique identifier for a permission_set.
        in: path
        name: name
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/permission_set'
          description: Successful response - returns a single `permission_set`.
      security:
      - Bearer: []
      summary: Get a permission set
      tags:
      - PermissionSets
    servers:
    - url: https://api.sase.paloaltonetworks.com
components:
  schemas:
    permission_set:
      description: ''
      example:
        aggregated_permissions:
        - iam.role.get
        - iam.role.list
        - iam.accessPolicy.get
        - iam.accessPolicy.list
        - iam.group.create
        - iam.group.update
        - iam.group.delete
        children:
        - iam.access_policy
        description: Grants all Permissions used on the page "Identity and Access Management".
        display_name: Identity and Access Management
        name: iam.management
        parent: common_services
        permissions:
        - iam.role.get
        - iam.role.list
        - iam.group.create
        - iam.group.update
        - iam.group.delete
      properties:
        aggregated_permissions:
          description: 'Identifies all of the permissions in the permission set, as well

            as all the permissions defined for the current TSG''s child TSGs.

            '
          items: {}
          type: array
        children:
          description: 'All of the child permission sets contained in the parent permission set.

            '
          items: {}
          type: array
        description:
          description: 'Descriptive text displayed by the UI.

            '
        display_name:
          description: 'Label used in the UI to identify the permission set.

            '
          example: Identity and Access Management Read /  Write
          type: string
        name:
          description: 'Permission set''s unique identifier. Used in API calls to identify this permission

            set.

            '
          example: iam_read_write
          type: string
        parent:
          description: 'Name of the permission set''s parent.

            '
          example: iam_all
          type: string
        permissions:
          description: 'All permissions contained by the permission set.

            '
          items: {}
          type: array
      required:
      - description
      - display_name
      - name
      title: Root Type for permission_set
      type: object
    custom_role_id:
      description: A unique identifier.
      example: log_viewer:1234567890
      maxLength: 256
      minLength: 12
      readOnly: true
      title: ID for custom Role
      type: string
    _pagination:
      properties:
        count:
          default: 1
          description: Total count of the items
          type: integer
      required:
      - count
      - items
      type: object
  responses:
    permission_set_list:
      content:
        application/json:
          schema:
            allOf:
            - $ref: '#/components/schemas/_pagination'
            - properties:
                items:
                  items:
                    allOf:
                    - $ref: '#/components/schemas/permission_set'
                  type: array
              type: object
      description: Successful response.
  securitySchemes:
    Bearer:
      scheme: bearer
      type: http
x-refined-from:
- palo-alto-sase-iam-permissionsets-openapi.yaml
- palo-alto-scm-iam-permissionsets-openapi.yaml